OWASP MASVS v2.0 & MASTG · Android APK/AAB & iOS IPA

Mobile security, tested from device enclave to backend API.

Manual reverse engineering and physical-device runtime testing for native Android, native iOS, Flutter, and React Native apps—exposing SSL pinning bypasses, insecure Keychain/Keystore storage, biometric hook flaws, exported IPC, and backend API BOLA.

Interactive Mobile Attack Surface Blueprint
04 Mobile Trust Planes
SELECTED · BINARY & MANIFEST AUDIT

APK, IPA, native .so & AOT snapshots

Engineers unpack Dalvik bytecode, ARM64 Mach-O binaries, native JNI .so libraries, Flutter libapp.so snapshots, and React Native Hermes bytecode to catch embedded secrets, weak R8 obfuscation, allowBackup exposure, and insecure ATS exceptions.
MASVS-CODE & RESILIENCE Binary Disassembly
01 · Static Scan vs. Live Device Exploit

Why APK/IPA upload portals miss runtime bypasses

Automated mobile scanners grep decompiled strings for BiometricPrompt or CertificatePinner and mark controls present. They never boot the binary on rooted Android or jailbroken iOS hardware to test whether an attacker can hook boolean return gates or siphon backend session tokens through exported WebViews.

Automated mobile scanner: Manifest XML & SDK string checklists without live execution.

Manual mobile pentest: Frida instrumentation, Keychain/Keystore inspection & chained backend API replay.

STATIC SCANNER: "BiometricPrompt Detected (PASS)" MANUAL FRIDA HOOK: HIGH · MASVS-AUTH-2
FRIDA RUNTIME TRACE · ANDROID BIOMETRICPROMPT HOOK MASVS-AUTH-2 · CRYPTO OBJECT ABSENT
Java.perform(() => {
  const Callback = Java.use("androidx.biometric.BiometricPrompt$AuthenticationCallback");
  Callback.onAuthenticationFailed.implementation = function () {
    const dummyResult = Java.use("androidx.biometric.BiometricPrompt$AuthenticationResult").$new(null, 2);
    this.onAuthenticationSucceeded(dummyResult); // Skips fingerprint & unlocks wallet UI
  };
});
# Root Cause: authenticate(promptInfo) called without CryptoObject cipher bound to Android Keystore.
02 · Offensive Mobile Toolchain

Frida hardware hooking backed by mobile binary reverse engineering

Every utility below is purpose-built for Android APK/AAB and iOS IPA analysis—moving from static bytecode and Mach-O disassembly into live runtime instrumentation and companion API verification.

01 · Binary & Static Analysis Decompilation
Android Bytecode & Manifest

JADX & APKTool

Decompiles Dalvik DEX to Java, unpacks AndroidManifest.xml and Smali resources, and exposes hardcoded secrets and exported IPC routes.

Baseline IPA / APK Triage

MobSF (Human-Verified)

Screens IPA/APK permissions, Info.plist ATS transport policies, and embedded third-party SDK signatures—always vetted manually by testers.

ARM64 Mach-O & JNI Native

Hopper & Ghidra

Disassembles stripped iOS Mach-O binaries and native Android .so libraries to inspect custom C++ crypto keys and anti-tamper checks.

02 · Runtime Hooking & Proxy Dynamic Testing
Core Workbench

Frida & Objection

Injects live Java, Kotlin, Swift, and Objective-C instrumentation on rooted Android & jailbroken iOS hardware to verify pinning, jailbreak, and biometric resilience.

Device-to-API Interception

Burp Suite Pro (Device Proxy)

Captures decrypted mobile API traffic post-unpinning across multiple device accounts to test BOLA, SMS/OTP throttling, and session token reuse.

OS Telemetry & IPC

ADB & Xcode Instruments

Monitors live OS logcat/syslog secret leaks, launches deep links and exported Activities, and inspects iOS Keychain and sandbox snapshot files.

03 · Sandbox, Hybrid & IPC Device Internals
IPC & Cross-Platform

Drozer & ReFlutter / Hermes

Probes Android ContentProviders and BroadcastReceivers, dumps React Native Hermes JS bundles, and patches libflutter.so proxy traffic.

Keychain & Memory Bypass

Custom Frida & Storage Inspectors

Bespoke hooks targeting custom native pinning libs, LAContext biometrics, encrypted Realm/SQLite buffers, and memory-resident tokens.

Hardware-Matched Lab

+ And Many More Utilities

Depending on native or hybrid frameworks, engineers also apply Medusa, Grapefruit, iMazing, Blutter (Dart), and ilspycmd (.NET MAUI) on physical devices.

03 · Interactive Mobile Scope Estimator

Estimate your testing window by OS parity & hardening

Mobile pentest duration depends on single vs. dual-OS scope, user role workflows, runtime anti-tamper protections, and hybrid frameworks. Configure your build profile below.

01 · Target Platforms & Compliance
02 · App Workflows & Hardening Depth
03 · Mobile Controls & Stack Risk (Multi-Select)
Calculated Mobile Scope Profile OWASP MASVS v2.0
Estimated active test window
7–10 business days
Recommended testing model
Dual Android/iOS MASVS v2.0 + Companion API BOLA
Primary mobile focus
parallel Android APK/AAB + iOS IPA parity checks & shared backend BOLA; Frida/libflutter SSL pinning & root/jailbreak bypasses.
Kickoff builds needed
Release Android APK/AAB + TestFlight/ad-hoc IPA + 2 role logins + unpinned QA build (optional for speed).
04 · Tangible Deliverable Specimen

What a verified mobile security finding looks like

Engineering teams receive sanitized Frida hook scripts, exact Kotlin or Swift enclave fixes, and clean OWASP MASVS v2.0 verification records ready for Play Store MASA and customer security reviews.

HIGH · CVSS 8.2

MOB-01: Local Biometric Lock Bypassed via Boolean Auth Callback Tampering

OWASP MASVS-AUTH-2 · MASTG-TEST-0018

Because the app triggered an authentication UI callback without binding a Keystore CryptoObject cipher, attaching Frida lets an attacker with device access skip biometrics and retrieve the cached unlock token cleanly.

REPRODUCTION TRACE · SANITIZED FOR ANDROID / IOS TICKET PACKAGE: com.fintech.wallet (RELEASE)
Java.perform(() => {
  const BioCallback = Java.use("com.fintech.wallet.auth.WalletBioCallback");
  BioCallback.onAuthenticationError.implementation = function (code, err) {
    return this.onAuthenticationSucceeded(null); // Unlocks vault state & releases cached PIN flag
  };
});

# Observed: Vault transitions straight to PortfolioScreen with decrypted session cookie intact.
# Fix Required: Wrap Keystore AES-GCM Cipher in BiometricPrompt.CryptoObject to decrypt vault token only post-TEE verification.
05 · OWASP MASVS v2.0 Coverage

Four-plane mobile device & cloud testing matrix

Structured coverage across local device enclaves, TLS transport, IPC schemes, anti-tamper resilience, and the backend APIs embedded inside every release binary.

PLANE 01 · STORAGE & CRYPTO

Sandbox Data & Key Enclaves

MASVS-STORAGE · CRYPTO
Audits device filesystems, SharedPreferences, CoreData, SQLite/Realm caches, cloud backup manifests, pasteboards, Android Keystore StrongBox ACLs, iOS Keychain accessibility flags, and static IV/key reuse.
High-impact flaws caught Plaintext refresh tokens in backups or logs, hardcoded AES secrets, and weak Keychain uninstall persistence.
PLANE 02 · AUTH & TRANSPORT

Biometrics & TLS Pinning

MASVS-AUTH · NETWORK
Tests TouchID/FaceID and Android BiometricPrompt hardware crypto binding, OkHttp/NSURLSession and BoringSSL pinning strength via Frida, cleartext traffic exceptions, and OTP/session expiry.
High-impact flaws caught Event-based biometric bypasses, weak TrustManager callbacks enabling MITM token theft, and unlimited OTP retries.
PLANE 03 · PLATFORM & IPC

Deep Links, Intents & WebViews

MASVS-PLATFORM
Exploits exported Activities, ContentProvider SQL injection/traversal, mutable PendingIntents, custom URL schemes, unvalidated assetlinks.json / Apple AASA files, and risky WKWebView bridges.
High-impact flaws caught Rogue-app OAuth token hijacking, arbitrary local sandbox file reads via WebView, and silent intent execution.
PLANE 04 · CODE & CLOUD API

Resilience & Companion APIs

MASVS-RESILIENCE · API1
Verifies R8/Mach-O symbol stripping, root/jailbreak bypass, APK repackaging defense, Dart/Hermes logic extraction, and multi-user backend API testing (BOLA, mass assignment, Firebase/S3 bucket exposure).
High-impact flaws caught Hardcoded third-party cloud secrets, trojanized repackaged store clones, and cross-customer mobile API leaks.
06 · Engineering Readiness

Four inputs for a clean Day-1 mobile kickoff

Clean build handoff lets researchers start Frida device instrumentation and backend API verification on day one instead of fighting broken TestFlight invites.

01 · RELEASE & QA BUILDS

APK/AAB & Unencrypted IPA

Signed release build for R8/resilience audit plus TestFlight/ad-hoc IPA—optional unpinned staging build speeds companion API probing.

02 · MULTI-ROLE LOGINS

2+ Accounts & OTP Setup

Pre-provisioned user A / user B test accounts (and static OTP/MFA test numbers in staging) for cross-account API BOLA checks.

03 · DEDICATED EGRESS IP

RoE Staging Allowlist

Device-proxy backend API traffic originates from an engagement-scoped egress IP disclosed privately under Rules of Engagement.

04 · RAPID ESCALATION

P0 Alerts & 30-Day Retest

Immediate reporting for leaked API keys or biometric bypasses, plus complimentary 30-day APK/IPA fix verification and Attestation LoA.

07 · Mobile Testing FAQs

Builds, pinning, frameworks & MASA audits

Practical answers covering Android APK/AAB and iOS IPA artifacts, SSL pinning, source code requirements, and Play Store / compliance reporting.

What build files do you need for Android and iOS penetration testing?

For Android, provide the release-signed APK or AAB package so engineers can audit ProGuard/R8 obfuscation and Play Integrity defenses. For iOS, provide an unencrypted ad-hoc IPA or TestFlight invite. If strong anti-tampering or SSL pinning delays live proxy analysis, an additional debuggable or unpinned staging build speeds up companion API testing while the release binary proves true resilience.

Do you require mobile source code to run a penetration test?

No. Grey-box testing requires only compiled APK/IPA builds, test credentials for two or more accounts, and staging API access. Engineers decompile and instrument compiled binaries directly, though sharing Git repository access optionally upgrades coverage to white-box depth for cryptography and subtle code flaws.

Do you test both the mobile app and its backend APIs together?

Yes. Testing the Android or iOS binary alongside the backend APIs it consumes is standard in our scope, because attackers routinely extract endpoints and headers from client binaries to attack backend BOLA/IDOR, OTP rate limits, and token validation directly.

Can you test Flutter, React Native, or Xamarin/MAUI cross-platform mobile apps?

Yes. Beyond native Kotlin/Java and Swift/Objective-C applications, we regularly pentest Flutter (Dart AOT snapshots / libflutter.so), React Native (Hermes / JSC bundles), Ionic/Capacitor, and .NET MAUI binaries using framework-specific runtime hooks and binary analysis.

How long does an Android and iOS mobile pentest take?

A single-platform mobile app typically completes in 5 to 7 business days. Joint Android + iOS engagements sharing a common backend API usually complete in 8 to 12 business days, including full report QA and PoC validation.

Does your OWASP MASVS v2.0 report support Google Play MASA, SOC 2, and financial audits?

Yes. Reports map findings cleanly to OWASP MASVS v2.0 / MASTG controls and include a formal Letter of Attestation post-retesting, providing the structured evidence required by customer security teams, SOC 2, PCI-DSS v4.0, HIPAA, and mobile compliance reviews.

Ready to scope your mobile app penetration test?

Share your target platforms (Android, iOS, or both), hybrid framework stack, and compliance drivers for a scoped test plan within 1–2 business days.