-
Q: What legal considerations must be addressed before performing mobile application assessment?A: Christopher Crowley advises consulting with legal counsel before beginning any assessment work. Some actions may be illegal depending on jurisdiction, acquisition methods, and intention. Assessments should only occur on networks and assets where you have written permission. If you own the assets and manage the network, you may grant yourself permission, but legal verification is still recommended. The distinction between legal and illegal activity often hinges on how assets were acquired and the specific intent of the analysis being performed.
-
Q: How does the DOD threat taxonomy categorize adversary resource capabilities?A: Christopher Crowley references a U.S. Department of Defense Defense Science Board report that groups threats into ten, million, and billion dollar level resource capability clubs. The $T category involves actors who reuse vulnerabilities. The $M category includes those who discover vulnerabilities. The $B category consists of adversaries capable of creating vulnerabilities. Individual efforts typically focus on defending against $T and $M levels, while protecting against $B threats requires leveraging country public resources and available threat intelligence regarding mobile attack tactics.
-
Q: Which tools are recommended for static code analysis and handling obfuscated Android applications?A: For static analysis, Christopher Crowley recommends tools like MobSF for automated reporting and Jadx for decompiling Java bytecode readable from APK files. Other options include dex2jar, Procyon, and bytecodeviewer. When encountering obfuscated code using tools like Dexguard or Proguard, simplification techniques are necessary. Jadx can remove dead or excessive code to clarify logic. Commercial tools like JEB allow refactoring and renaming within the tool, while open-source methods involve decompiling via command line and opening projects in Android Studio for manual refinement.
-
Q: How do iOS and Android security architectures differ regarding device support and control?A: Christopher Crowley states that iOS has a superior security architecture because it is more restrictive. Apple supports approximately 10 devices at any time, whereas Android supports about 1,000 different hardware devices. Apple controls the hardware design, operating system production, and app vetting centrally. This creates the world's largest application whitelisting deployment with digital signature restrictions for execution. Conversely, Android provides greater liberty but requires more responsibility from the user to protect their device due to substantial variation in hardware and lack of a single controlling entity.
-
Q: How do I intercept TLS traffic on an Android device during assessment?A: To intercept TLS traffic, install the Burp Suite CA certificate into the user store of the device. On later Android versions, applications may only trust the system container. To bypass this, decompile the APK using APKTool and edit res/xml/network_security_config.xml to add <certificates src="user" /> within trust-anchors. Alternatively, use a Magisk module to copy user store certificates into the system store at startup. This allows inspection of traffic that would otherwise be protected by certificate pinning or system trust restrictions. Christopher Crowley notes this setup helps determine if certificate pinning is in place and what data is at risk from access points or ISPs.
-
Q: What is the recommended approach for mobile application assessment methodology?A: Christopher Crowley emphasizes that being repeatable and taking great notes is more important than going fast or getting far. Every step matters, and if you think you find something, someone else should be able to reproduce the steps taken. It is best to script actions, but a concise definition of how to click through interfaces is better than nothing. This approach prevents frustration when encountering errors that cannot be reproduced later. The methodology sequence generally follows behavioral analysis, automated tools, manipulation, and static code review.
-
Q: What tools are recommended for assessing Android Inter-Process Communication security?A: Drozer is highly helpful for exploring the attack surface of Android components like Activities, Services, Content Providers, and Broadcast Receivers. It allows runtime operation to see if activities accept extras from external applications, which presents abuse opportunities. Static code analysis paired with behavioral analysis using tools like jadx-gui helps identify inadequate taint checking. Weak interconnections between apps can be abused by threat actors to trigger unintended actions, such as accessing the camera without user consent.
-
Q: What runtime manipulation techniques are available for Android application analysis?A: Frida is a popular tool requiring programming knowledge and static code analysis insight to determine capabilities for manipulation. It supports both unrooted and rooted environments. ARTist offers an elegant solution by replacing the dex2oat compilation tool on rooted devices to instrument the ELF executable, bypassing code modification checks. Other tools include Needle, Objection, XPosed, and Cydia Substrate. These allow dynamic inspection of application behavior beyond what static analysis reveals.
-
Q: Should I use a virtual device or physical hardware for mobile security testing?A: Virtual devices offer lower cost of entry, easier snapshots for consistency, and simpler network interception via emulator HTTP proxy settings. However, they may not support the Play Store without specific images and some apps detect virtual instances. Hardware is faster and provides more realistic modeling for non-Pixel devices but lacks snapshot capabilities and is more costly. Christopher Crowley suggests using a separate phone for research rather than a rooted daily driver to mitigate risk.
-
Q: How can I analyze application data stored on the Android filesystem without root?A: Use ADB to create a backup of the specific application package using the command adb backup -f myfile.ab com.company.package. This creates an encrypted backup file requiring decryption. Use android-backup-extractor (abe.jar) with AES-256 crypto library support to unpack the file into a decrypted archive. Inspect the resulting directory for SQLite databases and XML files containing sensitive data like contacts, GPS location, or messages by using sqlite3 dump commands and grep.
Ask a question
Have a doubt or need clarification?
Share your question, and I’ll add it and the response to the page for this document.
Thank you!
I have received your message and I shall get back to you shortly.