iOS Security Assessment (MSTG)
iOS application security assessment following OWASP MSTG
An iOS Security Assessment evaluates an iOS app against the OWASP Mobile Application Security Verification Standard (MASVS) and its testing guide, the MASTG (formerly the MSTG). We work through the MASVS control groups — storage, cryptography, authentication, network, platform interaction, code quality, and resilience — with the iOS-specific weight that matters: Keychain and Data Protection, the Secure Enclave and Face ID/Touch ID, App Transport Security and certificate pinning, IPC through URL schemes and universal links, and jailbreak and anti-tampering resilience. We combine static analysis of the app with dynamic analysis on a device, carry every finding through to a working proof, and rate its severity with CVSS alongside the real business impact.
What's Included
Local storage: Keychain, Data Protection classes, and secrets leaking to plists, logs, the pasteboard, or backups
Cryptography: use of the Secure Enclave, key handling, and no hardcoded keys or weak algorithms
Authentication and biometrics: Face ID/Touch ID bound to the Secure Enclave, and local-vs-server enforcement
Network: App Transport Security, TLS configuration, and certificate pinning
Platform interaction: URL schemes, universal links, IPC, WebViews, and pasteboard exposure
Code quality: outdated third-party libraries and known-vulnerable components
Resilience: jailbreak detection, anti-tampering, and anti-debugging, and how far they actually hold
Static analysis of the IPA and dynamic analysis on a device (runtime instrumentation)
Backend and API surface the app depends on, in scope by agreement
How It Works
- Executive summary with a risk overview for decision-makers
- Detailed technical report, each finding with a reproducible proof of concept
- Findings mapped to the OWASP MASVS control groups
- CVSS severity and business impact for every finding
- Coverage summary against the MASVS verification levels
- iOS hardening guidance across storage, crypto, network, and platform
- Prioritized remediation roadmap with concrete steps
- Re-testing after remediation
Why HafezSecure
Frequently Asked Questions
It evaluates an iOS app for security weaknesses — insecure storage, weak cryptography, flawed authentication and biometrics, weak network protection, unsafe platform interactions, and thin resilience — measured against the OWASP MASVS and its testing guide, the MASTG, with each finding proven and rated.
MASVS is OWASP's standard of what a secure mobile app must do, grouped into control areas and verification levels. The MASTG is the testing guide that shows how to verify those controls; it is the current name for what used to be called the MSTG. We assess against MASVS and test with the MASTG.
iOS offers the Keychain for secrets and Data Protection classes that tie file encryption to the device being unlocked. We check that sensitive data uses them correctly and does not leak elsewhere — into plists, logs, the pasteboard, screenshots, or unencrypted backups — which is where mobile data exposure most often happens.
The question is whether biometrics gate something real or are only a UI check. Done well, a successful biometric unlocks a key held in the Secure Enclave; done poorly, the app just shows a prompt and continues if it returns success, which runtime instrumentation can bypass. We test which of the two it is, and whether sensitive actions are also enforced on the server.
It is defense in depth, not a substitute for the other controls. Jailbreak detection, anti-tampering, and anti-debugging raise the effort for an attacker, but a determined one can bypass them, so they must sit on top of correct storage, cryptography, and server-side authorization — never replace them. We test how far the resilience holds and, more importantly, what is exposed once it is bypassed.
The app as an IPA or TestFlight build, test accounts for each role, and agreement on whether the backend and APIs are in scope. Source access (a white-box or grey-box engagement) makes the review deeper and faster, but we can also test from the compiled app alone. We agree the scope before we begin.
Each finding gets a CVSS score for a common baseline, adjusted by the real impact in your context — what data or action it exposes, and whether it needs a jailbroken device or physical access. That is why a hardening gap and a data-exposure flaw with the same CVSS can be prioritized differently.
Yes. After you remediate, we re-test the reported findings to confirm each fix holds and did not introduce a new issue, and we update their status in the report.
It depends on the size of the app, the features it uses, and whether the backend is in scope; a typical assessment runs about two to four weeks. We give a firm estimate after scoping.
Related Services
Complementary services that might be useful for you