iOS Security Assessment (MSTG)

iOS application security assessment following OWASP MSTG

About This Service

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

1
Scoping & App Discovery
We agree the boundary and success criteria, then map the app: its architecture, the data it stores, the platform features it uses, and the backend it talks to. We ask for the IPA (or TestFlight access) and test accounts for the different roles.
2
Static Analysis
We inspect the IPA and its resources for hardcoded secrets, insecure storage, weak cryptography, misconfigured App Transport Security, exposed URL schemes, and vulnerable third-party libraries — the MASVS storage, crypto, network, and code groups.
3
Dynamic & Runtime Testing
On a device we watch the app run: what it writes to storage, the pasteboard and logs; how it enforces biometrics and session; whether TLS and pinning hold; and how its jailbreak, anti-tampering, and anti-debugging resilience stands up to runtime instrumentation.
4
Validation & Impact Analysis
Every finding is verified with a reproducible proof of concept, mapped to its MASVS control, and rated with CVSS and the real business impact — so a hardening gap is not confused with a flaw that exposes user data.
5
Reporting & Re-testing
You receive a report both management and engineers can act on, mapped to MASVS with a prioritized remediation path. After you fix, we re-test the findings to confirm the fixes hold and did not open anything new.
Deliverables
  • 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

MASVS/MASTG Methodology
Testing structured by the OWASP MASVS control groups and its testing guide, so coverage of each iOS security area is explicit and checkable, not assumed.
iOS Platform Depth
Deep, current understanding of iOS security — the Keychain and Data Protection, the Secure Enclave and biometrics, and the platform interactions that generic scanners do not model.
Static and Dynamic
We combine static analysis of the IPA with dynamic testing on a device, because storage, biometric, and resilience flaws only reveal themselves while the app runs.
Actionable, Prioritized Findings
Clear guidance prioritized by risk, with a reproducible proof of concept and concrete remediation steps for every finding.

Frequently Asked Questions

What is an iOS Security Assessment?

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.

What is the difference between MASVS, MASTG, and the old MSTG?

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.

How is data protected on iOS, and what do you check?

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.

How do you test Face ID and Touch ID?

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.

Is jailbreak detection a real security control?

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.

What do you need from us to start?

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.

How is the severity of findings decided?

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.

Is re-testing after remediation included?

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.

How long does an iOS security assessment take?

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.

Ready to Get Started?
Contact our team to discuss your security assessment needs