Why it matters

Secure storage, biometrics and sandboxing assume the OS is intact. On a rooted or jailbroken device those assumptions can fail, and checks inside the app run on the attacker's device and can be patched out.

How to meet it

  • Use platform attestation, Play Integrity on Android or App Attest on iOS, and judge the verdict on your server.
  • Return graded outcomes, such as step-up or limited features, rather than a single allow or deny.
  • Plan for the attestation service being unavailable without granting extra authority.

MASTG tests in the local projects

Neither local project runs a MASTG test for MASVS-RESILIENCE-1. The guides below explain the platform mechanisms, and the control’s page on mas.owasp.org links the MASTG tests and weaknesses OWASP maps to it.

Guides on this site

Practice

References

  1. MASVS-RESILIENCE-1 (OWASP MASVS v2.1.0)
  2. MASVS-RESILIENCE: Resilience Against Reverse Engineering and Tampering (OWASP MASVS v2.1.0)

List data from the publisher. A guide is listed as the main subject when the weakness or risk is what the guide is about, and as covering it when a dedicated section or worked example addresses it.

Control statements are quoted from OWASP MASVS v2.1.0, licensed CC BY-SA 4.0; the rest is this site's summary. MASTG tests are those the iOS and Android projects here run, with their titles from mas.owasp.org. License.