Wireless & Mobile Security · intermediate · ~11 min
Explain static/dynamic mobile testing, certificate pinning, and the MASTG/Mobile Top 10.
Mobile testing is static (decompile APK/DEX, review manifest & secrets) plus dynamic (inspect local storage, proxy API traffic, check transport). Certificate pinning blocks proxying and is bypassed on authorized test devices. OWASP MASTG / Mobile Top 10 structure the work (the mobile WSTG).
The highest-impact mobile findings — secrets/PII in local storage and an insecure or fully-attackable API — come from static + dynamic analysis. Knowing pinning and the MASTG framework makes mobile assessments systematic.
Static. Decompile (APK→DEX), review manifest/secrets/crypto. Dynamic. Local storage plaintext, proxied API traffic (web/API bugs apply), transport. Cert pinning. Blocks proxy; bypass on authorized test device; a defense, not a substitute. MASTG / Mobile Top 10. The framework. Legal. Authorized apps/devices only.
Mobile assessment combines inspecting the app package and watching it run — structured by OWASP's mobile guidance.
Unpack the app (an APK is a zip; tools decompile DEX to readable code) and review: hardcoded secrets/API keys, the manifest (exported components, debuggable flag, cleartext-traffic allowed), and weak crypto. iOS IPAs are similarly inspected (harder without a jailbreak).
Run the app and observe:
Apps may pin their server's certificate so a proxy's cert is rejected (you can't see traffic). Testers bypass pinning (on an authorized test device) to inspect traffic; importantly, pinning is a defense that raises the bar — its absence (or trivial bypass) is worth noting, but pinning is not a substitute for server-side checks.
OWASP's Mobile Application Security Testing Guide (MASTG) and the Mobile Top 10 structure mobile testing (improper credential usage, insecure storage/communication, weak crypto/auth, etc.) — the mobile analogue of the WSTG/Top 10 you use for web.
Test only apps and accounts you're authorized to; use your own test devices.
Mobile testing pairs static package analysis with dynamic storage/traffic inspection, bypassing certificate pinning on authorized devices to reach the API — all structured by OWASP's MASTG and Mobile Top 10. Insecure storage and the backend API are the richest targets.