Cross-platform OWASP MASVS hub

Android vs iOS OWASP MASVS security testing matrix

Although Android and iOS apps share the same eight OWASP MASVS control groups, their packaging formats, OS security primitives, and real-device verification limits differ sharply. Use this side-by-side matrix to align build preparation, static checks, and runtime evidence across both mobile platforms.

Why Android and iOS require different build preparation

Accurate mobile testing starts before any analyzer runs: submitting the wrong binary hides entire layers of code. Modern Android releases distributed via Google Play are built from Android App Bundles (.aab) into signed split APK archives (.apks) containing base.apk alongside ABI-specific native splits (such as split_config.arm64_v8a.apk) and resource splits. Inspecting only base.apk misses compiled native libraries, Flutter snapshots, and split resources—and fails installation on physical hardware. Export a complete signed .apks split set from your .aab via bundletool for both static review and hardware testing following our Android split APK testing guide.

iOS builds introduce a different obstacle: Apple FairPlay DRM encrypts the Mach-O __TEXT executable segment inside every App Store download (LC_ENCRYPTION_INFO_64 with cryptid=1). While Info.plist, entitlements, and privacy manifests remain readable in an App Store IPA, compiled Swift or Objective-C instructions and embedded frameworks cannot be inspected statically. Engineering teams should export an unencrypted development or ad-hoc .ipa (cryptid 0) from the same release commit and plan for AWS public iPhone re-signing rules as documented in our iOS IPA FairPlay testing guide.

All 8 OWASP MASVS domains: Android vs iOS comparison

Each row maps one official OWASP MASVS control domain to the concrete Android and iOS artifacts, platform controls, and deep-dive technical guides used during an authorized assessment. Scroll horizontally on small screens.

Side-by-side mapping of all eight OWASP MASVS domains across Android and iOS security controls
OWASP MASVS domain Android artifacts & checks iOS artifacts & checks
Storage MASVS-STORAGE Audit SharedPreferences, SQLite/Room, external storage, AndroidKeyStore, FLAG_SECURE, and logcat output via our Android insecure data storage and sensitive data in logs guides. Inspect Keychain item accessibility (kSecAttrAccessible*), NSFileProtection* classes, NSUserDefaults, local caches, and app-switcher snapshots using our iOS Keychain and data protection guide.
Cryptography MASVS-CRYPTO Review javax.crypto.Cipher modes, static IVs or salts, hardcoded keys, PBKDF2/Argon2 parameters, and hardware-backed KeyGenParameterSpec in our Android cryptography mistakes guide. Check CommonCrypto (CCCrypt) and CryptoKit (AES.GCM, ChaChaPoly) usage, Secure Enclave key flags (kSecAttrTokenIDSecureEnclave), and elimination of weak CC_MD5/CC_SHA1 or hardcoded secrets.
Authentication MASVS-AUTH Verify BiometricPrompt with CryptoObject binding, session expiration, and cross-account API ownership in our Android biometric authentication and mobile API IDOR/BOLA testing guides. Audit LocalAuthentication (LAContext) vs Keychain SecAccessControl (biometryCurrentSet), server-side token validation, and two-account mobile API IDOR/BOLA boundaries.
Network MASVS-NETWORK Examine network_security_config.xml cleartext or user-CA rules, OkHttp CertificatePinner, and custom X509TrustManager overrides in our Android network security config and certificate pinning guides. Inspect Info.plist App Transport Security (NSAppTransportSecurity) exceptions, URLSession delegate validation, and NSPinnedDomains in our iOS ATS and pinning guide.
Platform MASVS-PLATFORM Review IPC entry points, intent filters, App Links (assetlinks.json), and JavaScript bridges with our exported components, Android deep links, and Android WebView security guides. Audit code-signature entitlements, CFBundleURLTypes custom URL schemes, Universal Links (applinks: / AASA), and WKWebView boundaries via our iOS entitlements, URL schemes, and Universal Links guide.
Code MASVS-CODE Check release flags, native splits, and cross-platform bundles via Android manifest review, backup and debuggable flags, Flutter, and React Native guides. Verify Mach-O hardening (PIE, ARC, stack canaries), unencrypted cryptid 0 dev exports, embedded framework hygiene, and cross-platform Flutter (App.framework) or React Native bundles.
Resilience MASVS-RESILIENCE Evaluate root, emulator, and Frida detection controls plus Play Integrity server-side attestation as defense-in-depth; see our root and emulator detection analysis. Assess jailbreak, debugger (ptrace/sysctl), and hooking checks plus Apple App Attest server-side validation alongside the defense-in-depth limits in root and emulator detection.
Privacy MASVS-PRIVACY Inspect dangerous permissions, advertising identifiers, and bundled analytics or attribution SDKs using our Android third-party SDK privacy guide. Verify PrivacyInfo.xcprivacy required-reason API declarations, tracking domains, NS*UsageDescription strings, and ATT prompts in our iOS privacy manifests guide.

How real-device evidence differs across Android and iOS

Static analysis of an Android .apk/.apks or unencrypted iOS .ipa surfaces manifest, plist, binary, and SDK candidates quickly, but physical hardware verification does not yield identical telemetry on both operating systems. Recording those platform differences explicitly keeps audit reports truthful.

  • Android physical device runs: An authorized run installs a single APK or full signed split-APK set (.apks) cleanly on retail hardware, confirms foreground launch, performs passive FLAG_SECURE window checks on active screens, and captures masked runtime log-canary observations to detect accidental token or PII emission.
  • iOS physical device runs: An authorized real iOS device run installs an unencrypted development or ad-hoc IPA and records foreground launch evidence on real Apple hardware. Because AWS Device Farm re-signs the IPA with a test provisioning profile on public iOS devices, the signed authorization scope must explicitly permit re-signing, and the report discloses that foreground proof applies to the installed test build while original App Store signatures and effective production entitlements remain unverified.
  • Shared governance and regional boundaries: Hosted static analysis runs in AWS Ireland (eu-west-1), while optional physical Android and iOS device runs execute in AWS Device Farm Oregon (us-west-2) only when authorized in the signed scope. Static indicators on both platforms stay candidates until reviewed by a human validator.

Honest coverage boundaries: Automated real-device execution provides partial dynamic coverage on both platforms. Encrypted HTTPS API traffic remains unmeasured unless an authorized tester supplies a Record Mode capture, and aligning checks to OWASP MASVS organizes evidence rather than conferring OWASP certification or regulatory compliance.

Compare redacted Android and iPhone evidence side by side in our sample reports, or review EU static-only and real-device pilot tiers on pricing and pilots.

Related reading