Skip to content
VITI Security

Mobile App Pentesting: iOS and Android Methodology

by VITI Security TeamMay 13, 2026

A mobile app pentest tests three things: the app on the device, the traffic it sends and the API behind it. A step-by-step methodology for iOS and Android, mapped to OWASP MASVS, and what to expect in the report.

Mobile App Pentesting: iOS and Android Methodology - VITI Security

A mobile app penetration test is close to a web application test, with two additions: an app binary that anyone can download and take apart, and a device that stores data and can be rooted or jailbroken. In practice, the most serious findings are usually in the backend API the app talks to, not in the app itself. This guide walks through how a mobile app pentest works on iOS and Android, the OWASP standards it follows, how to scope one and what a useful report contains.

The standards: OWASP MASVS and MASTG

Most mobile tests follow the OWASP Mobile Application Security Verification Standard (MASVS), which sets out what a secure app should do, and the Mobile Application Security Testing Guide (MASTG), which describes how to test each requirement. MASVS groups controls into areas such as storage, cryptography, authentication, network communication, platform interaction, code quality, resilience against reverse engineering and privacy. Using them gives you a report that maps to a recognised standard, which helps with SOC 2, ISO 27001 and customer security reviews.

Scoping a mobile app test

Good scoping decides most of the value of the test. Agree these points before work starts.

  • Platforms and builds: iOS, Android or both, and whether the tester gets a debug build, a release build or both.
  • User roles: each role needs test accounts, so the tester can check whether one user can reach another's data.
  • Backend APIs: whether the API is in scope, which it should be in most cases.
  • Third-party SDKs and services the app uses, such as payments, analytics or chat.
  • Test environment: a staging backend with realistic data is safer than production.

Step 1: Static analysis of the app

The tester unpacks the APK or IPA and reviews the code and configuration. Typical findings include API keys and secrets hard-coded in the app, debug settings left on, overly broad permissions, exported Android components that other apps can call, weak or custom cryptography and backend URLs for test environments. Remember that anything shipped in the app is public; obfuscation slows an attacker but does not hide secrets.

Step 2: Dynamic testing on a device

Next the tester runs the app on test devices, usually including a rooted Android phone and a jailbroken iPhone, and watches what it does. This covers data stored on the device (in preferences, databases, logs, caches and screenshots), behaviour when the app goes to the background, deep links and intents that can be abused, biometric and PIN checks that can be bypassed, and whether root or jailbreak detection and certificate pinning work as intended. Instrumentation tools let the tester change the app's behaviour at runtime to test these controls.

Step 3: Network traffic and the backend API

The tester routes the app's traffic through an intercepting proxy to see and change every request. This is where the highest-impact findings usually appear: broken object-level authorisation that lets one user read another's records by changing an ID, missing server-side checks the app enforces only on the client, weak session handling, excessive data in responses and missing rate limits on logins and one-time passwords. The API is tested as an attacker would use it, without the app in the way.

Step 4: Business logic

Automated tools miss logic flaws, so this step is manual. Can a discount be applied twice? Can a payment be confirmed without being paid? Can a booking be made for another user's account? These issues depend on how your app works and are often the most valuable findings.

Common findings in mobile app tests

Across engagements, a short list of issues appears again and again. Knowing them lets your developers fix the easy ones before the test, so the tester's time goes on the harder problems.

  • API keys, cloud credentials or third-party tokens hard-coded in the app.
  • Session tokens or personal data stored unencrypted on the device or written to logs.
  • API endpoints that trust a user ID sent by the app instead of the logged-in session.
  • One-time password and login endpoints with no rate limit.
  • Certificate validation turned off in a release build, left over from development.
  • Old API versions still live and missing the fixes made to the current one.

The report and the retest

A useful report ranks each finding by real risk, shows how it was found with evidence a developer can reproduce, maps it to MASVS, and explains how to fix it. It should also note what was tested and found secure. After your team fixes the issues, a retest confirms each fix and updates the report, which is what customers and auditors want to see.

Our VAPT services include mobile app and API testing for iOS and Android, with the retest included. You can see the level of detail in our sample VAPT report, and if you need testing for a compliance framework, see our pages on SOC 2 penetration testing and PCI DSS penetration testing.

Frequently asked questions

How long does a mobile app pentest take?

For a typical app on one platform plus its API, often one to two weeks. Both platforms, lots of user roles or a big API add time. The tester should give you a day count when scoping.

Should the backend API be included?

Almost always. The worst problems, like one user reading another's data, usually sit in the API, and an attacker can call it directly without the app.

Do we need to test both iOS and Android?

If you ship both, yes. They're built separately and store data differently, so a flaw on one may not exist on the other. The shared API only needs testing once.

What is OWASP MASVS?

The OWASP Mobile Application Security Verification Standard - a list of security requirements for mobile apps. It's the usual reference for mobile pentests, along with the MASTG testing guide.

Get your mobile app tested

We test iOS and Android apps and their APIs against OWASP MASVS, with evidence your developers can reproduce and the retest included.