Mobile Pentest
Tools and Common vulnerabilities
CheckList
Create a Lab for Android Pentest
Emulator
Genymotion is not compatible with last app running only on ARM devices. Create a AVD with Android Studio for this kind of apps
Intercept traffic
Dex2jar
MobSF
cSploit
Apepe
Apktool
Troubleshooting: "Could not decode"
Androguard
Drozer
Frida
SSL-bypass
This Frida script bypasses root detection and SSL pinning in Android apps by blocking root checks, hiding root management tools, and overriding SSL/TLS trust settings to intercept encrypted traffic.
APKLeaks
APKx
Find sensitive info (key, etc.)
Firebase checker
MobApp-Storage Inspector
A tool for inspecting and analyzing mobile application storage files.
PAPIMonitor
Monitor user-select APIs during the app execution.
Code Analysis
Code AnalysisSearch for API Keys
Open the APK with JADX:
Search for API Keys:
Look for hardcoded strings, especially in files like
BuildConfig.java,Constants.java, or any class that handles network requests.
Common Vulnerabilities
Cleartext Communications
In Android applications before 7.0 (API level 24), cleartext traffic was allowed by default. The 7.0 release introduced the Network Security Configuration (NSC) feature, allowing developers to customize network security settings through a declarative XML file. It wasn't until the release of Android 9 (API level 28) that cleartext traffic was disabled by default.
To use an NSC file, it must be declared in the application's AndroidManifest.xml file:
The res/xml/network_security_config.xml file must be manually created with the cleartextTrafficPermitted set to "false" to override the insecure default setting:
ZipSlip
Resources
iOS Pentesting
Jailbreak for iPhone 5s through iPhone X, iOS 12.0 and up
Interesting Books
Interesting BooksLearning Pentesting for Android Devices A practical guide to learning penetration testing for Android devices and applications
Support this Gitbook
I hope it helps you as much as it has helped me. If you can support me in any way, I would deeply appreciate it.
Last updated
