# OWASP MASVS and MASTG > OWASP's mobile verification pair: **MASVS** is the standard of security requirements a mobile app must meet, and **MASTG** is the testing guide that says how to verify each one. ## What they are Both belong to the **OWASP Mobile Application Security (MAS)** flagship project, which also publishes **MASWE**, a list of mobile-specific security and privacy weaknesses ([[raw/mas.owasp.org/owasp-mobile-application-security-mas-2757|OWASP MAS]]). - **MASVS (Mobile Application Security Verification Standard).** A checklist of requirements, each with an ID (e.g. `MASVS-STORAGE-1`, "the app securely stores sensitive data") and a pass/fail criterion. It gives auditors, developers and customers a shared vocabulary ([[raw/appsecsanta.com/owasp-masvs-mastg-mobile-security-guide-2026-3730|AppSec Santa]]). - **MASTG (Mobile Application Security Testing Guide).** A manual for mobile app security testing and reverse engineering that describes how to verify the MASVS controls through the MASWE weaknesses. It is split into Knowledge, Tests, Techniques, Demos, Tools, Apps and Best Practices ([[raw/mas.owasp.org/owasp-mastg-testing-guide-3729|OWASP MASTG]]). The chain is **MASVS control → MASWE weakness → MASTG test**. A MASTG test case says what to look for, which tools to use, how to reproduce on iOS and Android, and what a passing implementation looks like ([[raw/appsecsanta.com/owasp-masvs-mastg-mobile-security-guide-2026-3730|AppSec Santa]]). ## MASVS control groups MASVS v2.1.0 has eight control groups ([[raw/vervali.com/mobile-app-security-testing-in-2026-statistics-and-owasp-threats-3746|Vervali]]): | Group | Covers | Typical findings | |---|---|---| | STORAGE | Sensitive data on the device: files, logs, backups, clipboard, caches | Tokens in SharedPreferences/`NSUserDefaults`. AppSec Santa says this group yields the most findings | | CRYPTO | Primitives and key management through Keystore / Secure Enclave | AES-GCM with a key baked into the binary, where the key storage is the flaw | | AUTH | Credentials, biometrics, sessions, server-side authZ | Client-side role checks that Frida can flip, and biometric prompts that only release a boolean | | NETWORK | TLS ≥1.2, certificate validation, pinning | Trusting a user CA. The tester measures how hard the pinning is to bypass | | PLATFORM | IPC, URL schemes, Universal/App Links, WebViews, permissions | Exported components without permission checks | | CODE | Build config, debug flags, error handling, third-party libraries | Debuggable builds, outdated or over-privileged SDKs | | RESILIENCE | Obfuscation, anti-tamper, root/jailbreak, debugger and hook detection | Repackaged builds that still run, and detections that are removed in seconds | | PRIVACY | Limiting sensitive-data access and giving users control over personal data | Analytics, crash and ad SDKs that see every screen | Sources: [[raw/appsecsanta.com/owasp-masvs-mastg-mobile-security-guide-2026-3730|AppSec Santa]], [[raw/atlantsecurity.com/mobile-application-penetration-testing-ios-and-android-3032|Atlant Security]], [[raw/vervali.com/mobile-app-security-testing-in-2026-statistics-and-owasp-threats-3746|Vervali]]. **Levels.** Two secondary guides describe MASVS as having L1 (baseline, for every app), L2 (defense-in-depth, for banking, health and payment apps) and a separate R (resilience against reverse engineering) category ([[raw/appsecsanta.com/owasp-masvs-mastg-mobile-security-guide-2026-3730|AppSec Santa]], [[raw/42gears.com/mobile-app-security-testing-guide-2026-3727|42gears]]). Vervali says financial and healthcare apps need "MASVS Level 2". MASTG itself still refers to the anti-reversing controls as **MASVS-R**: if an app claims those protections, testers run a *resilience assessment* in which they play the reverse engineer and try to bypass them ([[raw/mas.owasp.org/mobile-app-tampering-and-reverse-engineering-owasp-mastg-3731|MASTG tampering chapter]]). Vervali's description of v2.1.0 lists only the control groups and does not mention levels, so check the live standard before you cite a level. ## What's in the MASTG Each kind of content in the MASTG has its own ID scheme: - **Tests**, `MASTG-TEST-xxxx`, grouped by platform and MASVS group. Examples: MASTG-TEST-0001 checks local storage on Android by inspecting `/data/data/<pkg>/` (SharedPreferences, SQLite, cache) with adb, sqlite3 or objection. MASTG-TEST-0022 covers custom certificate stores and pinning. MASTG-TEST-0236 covers cleartext traffic. MASTG-TEST-0028 covers Android deep links ([[raw/appsecsanta.com/owasp-masvs-mastg-mobile-security-guide-2026-3730|AppSec Santa]], [[raw/mas.owasp.org/bypassing-certificate-pinning-owasp-mastg-2754|MASTG-TECH-0012]], [[raw/mas.owasp.org/frida-owasp-mobile-application-security-tool-3728|MASTG-TOOL-0031]]). - **Techniques**, `MASTG-TECH-xxxx`. For example, MASTG-TECH-0012 bypasses certificate pinning with frida-multiple-unpinning, objection's `android sslpinning disable`, Xposed modules, or by statically patching the pins or truststore ([[raw/mas.owasp.org/bypassing-certificate-pinning-owasp-mastg-2754|MASTG-TECH-0012]]). - **Tools**, `MASTG-TOOL-xxxx`. For example, MASTG-TOOL-0031 is [[Frida]], with objection as -0038 and Fridump as -0106. The Frida page links back to the tests and techniques that use it ([[raw/mas.owasp.org/frida-owasp-mobile-application-security-tool-3728|MASTG-TOOL-0031]]). - **Knowledge**, `MASTG-KNOW-xxxx`, and platform setup chapters. For example, the iOS chapter's lab needs a macOS host, Xcode, a jailbroken device and an interception proxy ([[raw/mas.owasp.org/ios-security-testing-owasp-mastg-4923|MASTG iOS testing]]). ## Relation to the Mobile Top 10 The [[OWASP Mobile Top 10]] is an awareness list that says *what* to worry about. MASVS turns those risks into testable requirements, and MASTG says *how* to test them. Guides recommend using MASVS alongside the Top 10 ([[raw/42gears.com/mobile-app-security-testing-guide-2026-3727|42gears]]). Pentest vendors tag each finding with both its MASVS control and its Top 10 category, and add PCI DSS, HIPAA, SOC 2, GDPR or ISO 27001 clauses for auditors ([[raw/atlantsecurity.com/mobile-application-penetration-testing-ios-and-android-3032|Atlant Security]]). Some sources map MASVS groups onto threat areas, for example third-party SDK audits to MASVS-CODE and obfuscation or anti-tamper to MASVS-RESILIENCE ([[raw/vervali.com/mobile-app-security-testing-in-2026-statistics-and-owasp-threats-3746|Vervali]]). ## How teams use them - **Requirements and scoping.** Use MASVS to define the requirements and MASTG to choose the verification techniques ([[raw/medium.com/advanced-mobile-application-penetration-testing-complete-lab-setup-and-12504|Advanced Mobile Pentesting lab]]). Before running tests, decide what counts as "sensitive data" for this app, such as payment tokens or medical records ([[raw/appsecsanta.com/owasp-masvs-mastg-mobile-security-guide-2026-3730|AppSec Santa]]). - **Test plan and evidence.** Keep a tracker with one row per MASVS requirement: pass, fail, N/A or not tested, plus the MASTG test ID, platform, evidence and remediation status. That tracker becomes the compliance artifact ([[raw/appsecsanta.com/owasp-masvs-mastg-mobile-security-guide-2026-3730|AppSec Santa]]). - **Cadence.** AppSec Santa suggests running a scanner on every build with gates that block a release when STORAGE or CRYPTO requirements fail. Add a manual MASTG pass before major releases, about one to three days per platform, and a full MASVS review every quarter. 42gears puts a full-MASVS enterprise assessment at two to three weeks ([[raw/appsecsanta.com/owasp-masvs-mastg-mobile-security-guide-2026-3730|AppSec Santa]], [[raw/42gears.com/mobile-app-security-testing-guide-2026-3727|42gears]]). - **Reporting at scale.** NowSecure groups its findings across hundreds of apps by MASVS group: NETWORK, STORAGE plus PLATFORM for broad FileProviders, PLATFORM for WebView bridges, and CRYPTO plus STORAGE for hardcoded keys, which it links to MASWE-0003 ([[raw/nowsecure.com/your-shopping-app-does-more-than-you-think-what-holiday-shoppers-shoul-15269|NowSecure]]). - **Defensive libraries.** RASP SDKs document which MASVS-RESILIENCE controls they cover. MobShield, for example, maps each Android and iOS module to the same controls ([[raw/appsecnews.com/mobshield-open-source-rasp-for-android-and-ios-14594|MobShield]]). ## Mapping to tooling No single tool covers every MASVS requirement ([[raw/appsecsanta.com/owasp-masvs-mastg-mobile-security-guide-2026-3730|AppSec Santa]]): - **MobSF** is open source. Its static analysis covers STORAGE, CRYPTO, CODE and parts of NETWORK and PLATFORM, and dynamic mode adds runtime checks. It is the usual choice for automated baseline checks and has a REST API for CI. - **NowSecure** covers all groups. - **AppKnox** covers STORAGE, CRYPTO, NETWORK, CODE and part of AUTH, and also maps findings to PCI-DSS and HIPAA. - **Oversecured** is strongest on STORAGE, PLATFORM and CODE. - **Zimperium zScan** covers NETWORK and RESILIENCE. - Automated scanners handle presence checks. Proving that pinning or detection survives a [[Frida]] bypass needs a human with a device. **mobsfscan** rules still carry legacy `MSTG-*` IDs (e.g. `MSTG-STORAGE-3`, `MSTG-NETWORK-4`, `MSTG-RESILIENCE-1`) next to 2016-era Mobile Top 10 labels ([[raw/github.com/mobsfscan-7508|mobsfscan]]). Expect to translate these IDs when you combine tool output with a current MASVS tracker. ## Versions and notable changes - **MSTG became MASTG** in the 2023 refactor, and the test IDs were completely restructured ([[raw/appsecsanta.com/owasp-masvs-mastg-mobile-security-guide-2026-3730|AppSec Santa]]). - **MASVS v2.1.0** (18 Jan 2024) added the **MASVS-PRIVACY** group, bringing the total to eight ([[raw/vervali.com/mobile-app-security-testing-in-2026-statistics-and-owasp-threats-3746|Vervali]]). - **MASTG's** last numbered release is **v1.7.0** (31 Oct 2023). The guide has since become a continuously updated web edition on mas.owasp.org, organised by MASVS group. Vervali advises treating the live edition as authoritative and recording the exact control IDs tested against ([[raw/vervali.com/mobile-app-security-testing-in-2026-statistics-and-owasp-threats-3746|Vervali]]). - **MASTG v2 tests** are replacing the v1 tests. Deprecated v1 pages such as MASTG-TEST-0070 (iOS Universal Links, MASVS-PLATFORM-1) are marked "should not be used anymore" and point to their v2 replacements ([[raw/mas.owasp.org/mastg-test-0070-testing-universal-links-4007|MASTG-TEST-0070]]). ## Related - [[Mobile Application Security]] · [[OWASP Mobile Top 10]] · [[Android App Security]] · [[iOS App Security]] - [[Frida]] · [[Certificate Pinning Bypass]] · [[Jailbreak and Root Detection Bypass]] · [[Mobile OAuth and Deep Link Attacks]] · [[WebView Vulnerabilities]] · [[Hardcoded Secrets]] ## Sources - [[raw/mas.owasp.org/owasp-mobile-application-security-mas-2757|OWASP Mobile Application Security (MAS)]] - [[raw/mas.owasp.org/owasp-mastg-testing-guide-3729|OWASP MASTG Testing Guide]] - [[raw/appsecsanta.com/owasp-masvs-mastg-mobile-security-guide-2026-3730|OWASP MASVS & MASTG: Mobile Security Guide (2026)]] - [[raw/vervali.com/mobile-app-security-testing-in-2026-statistics-and-owasp-threats-3746|Mobile App Security Testing in 2026: Statistics and OWASP Threats]] - [[raw/mas.owasp.org/mobile-app-tampering-and-reverse-engineering-owasp-mastg-3731|Mobile App Tampering and Reverse Engineering - OWASP MASTG]] - [[raw/mas.owasp.org/bypassing-certificate-pinning-owasp-mastg-2754|Bypassing Certificate Pinning | OWASP MASTG]] - [[raw/mas.owasp.org/frida-owasp-mobile-application-security-tool-3728|Frida - OWASP Mobile Application Security Tool]] - [[raw/mas.owasp.org/ios-security-testing-owasp-mastg-4923|iOS Security Testing - OWASP MASTG]] - [[raw/mas.owasp.org/mastg-test-0070-testing-universal-links-4007|MASTG-TEST-0070: Testing Universal Links]] - [[raw/atlantsecurity.com/mobile-application-penetration-testing-ios-and-android-3032|Mobile Application Penetration Testing: iOS and Android]] - [[raw/42gears.com/mobile-app-security-testing-guide-2026-3727|Mobile App Security Testing Guide 2026]] - [[raw/github.com/mobsfscan-7508|mobsfscan]] - [[raw/nowsecure.com/your-shopping-app-does-more-than-you-think-what-holiday-shoppers-shoul-15269|Your Shopping App Does More Than You Think: What Holiday Shoppers Should Know]] - [[raw/appsecnews.com/mobshield-open-source-rasp-for-android-and-ios-14594|MobShield: open-source RASP for Android and iOS]] - [[raw/medium.com/advanced-mobile-application-penetration-testing-complete-lab-setup-and-12504|Advanced Mobile Application Penetration Testing: Complete Lab Setup and Tools Guide]]