How to use DEVICETrust™ with MobileBOT™ Defense Using AI
This Knowledge Base article describes how to use Appdome’s AI/ML in your CI/CD pipeline to continuously deliver plugins that Enforce DEVICETrust™ in Mobile apps.
What Is Appdome DeviceTrust?
DeviceTrust is a feature within Appdome’s MobileBOT Defense that enables customizable trust levels for mobile devices and applications before initiating any network connections. By analyzing device and app risk factors such as root access, Magisk, Frida toolkits, emulators, and simulators, DeviceTrust ensures that connections are only made from trusted devices. The system supports both Zero-Trust, which blocks connections until all checks are complete, and Runtime-Trust, which allows connections to proceed while checks are ongoing. This feature is essential in identifying and mitigating risks associated with compromised or modified devices, helping to safeguard sensitive data and transactions. DeviceTrust is critical in preventing unauthorized access from compromised or modified devices, aligning with compliance standards that emphasize device integrity for secure transactions.
How Appdome Protects Mobile Apps with DeviceTrust?
Appdome’s dynamic DeviceTrust plugin integrates with MobileBOT Defense to assess device and application risk factors before any connection is made. It checks for indicators such as root access, emulators, Magisk, Frida, and other common attack vectors. If these threats are detected, DeviceTrust reports the findings to the Web Application Firewall (WAF) for action. Appdome does not directly enforce connection decisions but ensures that the necessary information is relayed to the WAF, enabling informed security actions while maintaining flexibility in how these threats are handled. This multi-layered defense enhances app security and ensures safe user experiences.
Prerequisites for Using Appdome's DEVICETrust™ Plugins:
To use Appdome’s mobile app security build system to Enforce DEVICETrust™ , you’ll need:
- Appdome account (create a free Appdome account here)
- A license for DEVICETrust™
- Mobile App (.ipa for iOS, or .apk or .aab for Android)
- Signing Credentials (see Signing Secure Android apps and Signing Secure iOS apps)
How to Implement Enforce DEVICETrust™ in Mobile Apps Using Appdome
On Appdome, follow these 3 simple steps to create self-defending Mobile Apps that Enforce DEVICETrust™ without an SDK or gateway:
-
Designate the Mobile App to be protected.
-
Upload an app via the Appdome Mobile Defense platform GUI or via Appdome’s DEV-API or CI/CD Plugins.
-
Mobile App Formats: .ipa for iOS, or .apk or .aab for Android
-
DEVICETrust™ is compatible with: Obj-C, Java, JS, C#, C++, Swift, Kotlin, Flutter, React Native, Unity, Xamarin, and more.
-
-
Select the defense: DEVICETrust™.
-
-
Follow the steps in Sections 2.2-2.2.2 of this article to add the DEVICETrust™ feature to your Fusion Set via the Appdome Console.
-
When you select the DEVICETrust™ you'll notice that the Fusion Set you created in step 2.1 now bears the icon of the protection category that contains DEVICETrust™.
Figure 2: Fusion Set that displays the newly added DEVICETrust™ protection
Note: Annotating the Fusion Set to identify the protection(s) selected is optional only (not mandatory). -
Open the Fusion Set Detail Summary by clicking the “...” symbol on the far-right corner of the Fusion Set. Copy the Fusion Set ID from the Fusion Set Detail Summary (as shown below):
Figure 3: Fusion Set Detail Summary
-
Follow the instructions below to use the Fusion Set ID inside any standard mobile DevOps or CI/CD toolkit like Bitrise, Jenkins, Travis, Team City, Circle CI or other system:
-
Refer to the Appdome API Reference Guide for API building instructions.
-
Look for sample APIs in Appdome’s GitHub Repository.
-
Create and name the Fusion Set (security template) that will contain the DEVICETrust™ feature as shown below:Figure 1: Fusion Set that will contain the DEVICETrust™ feature
-
-
Add the DEVICETrust™ feature to your security template.
-
Navigate to Build > Anti Bot tab > MobileBOT™ Defense section in the Appdome Console.
-
Toggle OnDEVICETrust™.
Figure 4: Selecting Enforce DEVICETrust™
-
Congratulations! The DEVICETrust™ protection is now added to the mobile app -
-
Certify the DEVICETrust™ feature in Mobile Apps
After building DEVICETrust™, Appdome generates a Certified Secure™ certificate to guarantee that the DEVICETrust™ protection has been added and is protecting the app. To verify that the DEVICETrust™ protection has been added to the mobile app, locate the protection in the Certified Secure™ certificate as shown below:
Figure 5: Certified Secure™ certificate
Each Certified Secure™ certificate provides DevOps and DevSecOps organizations the entire workflow summary, audit trail of each build, and proof of protection that DEVICETrust™ has been added to each Mobile app. Certified Secure provides instant and in-line DevSecOps compliance certification that DEVICETrust™ and other mobile app security features are in each build of the mobile app.
Using Appdome, there are no development or coding prerequisites to build secured Mobile Apps by using DEVICETrust™. There is no SDK and no library to code or implement in the app and no gateway to deploy in your network. All protections are built into each app and the resulting app is self-defending and self-protecting.
Releasing and Publishing Mobile Apps with DEVICETrust™
After successfully securing your app by using Appdome, there are several available options to complete your project, depending on your app lifecycle or workflow. These include:
- Customizing, Configuring & Branding Secure Mobile Apps.
- Deploying/Publishing Secure mobile apps to Public or Private app stores.
- Releasing Secured Android & iOS Apps built on Appdome.
Related Articles:
How to Use Payload Timestamps In Mobile Bot Defense
How to Use Session Headers in Mobile Bot Defense
How to Validate a Nonce Payload with Appdome MobileBOT™ Defense
How to Use Appdome MobileBOT™ Defense
How to use Threat-EKG with Appdome Mobile EDR
How Do I Learn More?
If you have any questions, please send them our way at support.appdome.com or via the chat window on the Appdome platform.
Thank you!
Thanks for visiting Appdome! Our mission is to secure every app on the planet by making mobile app security easy. We hope we’re living up to the mission with your project.