android-pentesting-tricks
Android pentesting playbook. Use when testing Android applications for SSL pinning bypass, exported component abuse, WebView vulnerabilities, intent redirection, root detection bypass, tapjacking, and backup extraction during authorized mobile security assessments.
Security Assessment
Detected risks:
About android-pentesting-tricks
An expert Android application security testing playbook for authorized mobile assessments. It is meant to be loaded when probing an Android app for SSL pinning bypass, exported component abuse, WebView vulnerabilities, intent redirection, root detection bypass, tapjacking, or backup extraction, and it concentrates on the hook specifics and multi-layer bypass chains that base models tend to miss.
SSL pinning bypass is treated as a first-class topic, with a Frida universal approach and a table of hook points spanning X509TrustManager, OkHttp sslSocketFactory and CertificatePinner, HttpsURLConnection, SSLContext, WebViewClient, and TrustManagerFactory, plus quicker paths through Objection, a debug network security config, and Magisk modules such as LSPosed with TrustMeAlready. Component exposure covers launching exported activities with crafted extras and deep links, querying content providers vulnerable to SQL injection or path traversal, sending crafted broadcasts, and starting exported services. WebView coverage ranges from JavaScript-interface remote code execution on pre-API 17 builds to modern issues around file-access flags, loadUrl on tainted input, and deep-link-to-WebView chains that reach the JavaScript bridge in app context. Intent redirection and a root detection bypass section with per-check Frida strategies round out the attack surface.
Routing guidance connects related material: a mobile-ssl-pinning-bypass skill for deeper cross-platform pinning work, an ios-pentesting-tricks skill for the iOS version of the same app, and an api-sec skill for backend testing once traffic is intercepted. A companion FRIDA_SCRIPTS.md provides ready-to-use script templates, detailed hook points for OkHttp, Retrofit, Volley, and WebView, and a root detection bypass script collection. The commands shown lean on adb, Frida, Objection, aapt, and Magisk-based tooling.
FAQ
What methods does it give for SSL pinning bypass?
A Frida universal bypass with a hook-point table, Objection's android sslpinning disable command, a debug network security config, and Magisk modules such as LSPosed with TrustMeAlready or SSLUnpinning.
Which component exposure attacks are covered?
Launching exported activities with crafted extras and deep links, content providers vulnerable to SQL injection and path traversal, crafted broadcasts to receivers, and starting exported services.
Does it address WebView vulnerabilities?
Yes, from JavaScript-interface RCE on pre-API 17 builds to file-access flag misuse, tainted loadUrl input, and deep-link-to-WebView chains that reach the JavaScript bridge.
What is in the companion FRIDA_SCRIPTS.md?
Ready-to-use Frida script templates, detailed hook points for OkHttp, Retrofit, Volley, and WebView, and a collection of root detection bypass scripts.
Is this intended for authorized testing only?
Yes. It is framed for authorized mobile security assessments, and it links to mobile-ssl-pinning-bypass, ios-pentesting-tricks, and api-sec for related work.
Install android-pentesting-tricks
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
yaklang/hack-skills