Android app penetration testing methodology: phases and public standards

A documented Android test is measured against named OWASP standards and follows clear phases from scoping to retest. This page shows what to ask a tester for before you sign.

On this page

Android app penetration testing methodology: why a documented method matters to your audit

A documented method is what lets a buyer judge an Android app penetration test before the work starts and after the report arrives. Whether the trigger is a launch, a customer security review, a compliance requirement or an insurer asking for evidence, the question is the same: can the tester show which published standard each finding is measured against? For Android app penetration testing, that standard is the OWASP Mobile Application Security Verification Standard (MASVS), with the OWASP Mobile Application Security Weakness Enumeration (MASWE) describing weakness categories and the OWASP Mobile Application Security Testing Guide (MASTG) describing the test procedures. A tester who names these three sources, and the versions used, gives you a method you can check against a neutral reference.

The risks an Android test addresses fall into a few recurring areas. Sensitive data may be left in local storage, logs, backups or the clipboard. Components the app exposes to other apps may accept requests they should refuse. Network trust may depend on configuration that accepts certificates it should not. Authentication and session handling may be weaker on the device than on the backend, and code protections may be absent in an app that handles payments or health data. Each area maps to a MASVS control group, which gives the report a fixed structure your auditor or customer can read. Ask the tester to state which MASVS control groups are in scope and which testing profile applies: L1 for baseline requirements, L2 for apps handling sensitive data, or R for resilience against reverse engineering and tampering. Confirm which MASTG version the tester follows, since the guide has had major releases.

Ask for the method in writing before you sign: the standards and versions, the profile, the control groups covered, the test devices and accounts you must provide, and how each finding will reference its MASVS or MASWE identifier. Confirm whether the tester's reports are measured against MASVS Level 1 requirements for the Google Play Data safety context, and remember that the App Defense Alliance describes its MASA review as limited and not a guarantee of complete safety. If a tester cannot name its method, or a quote describes a "full test" without a profile, treat that as a gap in the scope rather than a detail to settle later.

How an Android app penetration test runs, phase by phase

The sequence turns a vague request for an Android test into a scoped, standards-based assessment with severity-rated findings, a clear report and a verified retest. Each phase names the public OWASP reference it uses so a buyer can check the method against documentation rather than trust.

  1. Agree scope and the target profile

    The tester and client agree in writing which app versions, builds, environments, accounts and backend endpoints are in scope, and which are excluded. The client names the target: a MASVS level (L1 or L2) or a MAS testing profile, with R added where resilience against reverse engineering and tampering is required. The phase closes when the signed scope lists the target profile, the build identifiers, the test accounts and the rules of engagement.

  2. Plan tests against MASVS control groups

    The tester maps the in-scope profile to the MASVS control groups: STORAGE, CRYPTO, AUTH, NETWORK, PLATFORM, CODE, RESILIENCE and PRIVACY. For each group, the plan lists the requirements that apply, the MASTG Android test procedures that will verify them, and any requirement the tester expects to mark as not applicable with a reason. The plan closes when the client can see every in-scope requirement mapped to a test, which gives the final report a fixed structure to measure against.

  3. Prepare builds, devices and accounts

    The client provides the agreed build, test devices or emulator images, user accounts at each privilege level, and any test data needed for the flows under review. The tester confirms the build version and installation method, records the Android version and device configuration, and checks that the environment matches what users run. The phase closes with a short environment record that goes into the report, so a retest can reproduce the same conditions.

  4. Execute MASTG procedures and manual analysis

    The tester runs the MASTG Android procedures for each planned requirement, combining static analysis of the app package with dynamic testing on a device. Work covers exported components, local storage, cryptography, authentication flows, network configuration and, where in scope, code protections. Backend API behavior is tested against the OWASP API Security Top 10 2023 and ASVS V4 where the app depends on it. Each requirement ends as pass, fail, or not applicable with a documented reason, and the notes record the evidence used.

  5. Validate findings and rate severity

    Each suspected weakness is reproduced and confirmed before it is reported, and false positives are removed. The tester maps each confirmed issue to its MASVS requirement and to a weakness entry in the OWASP Mobile Application Security Weakness Enumeration (MASWE) where one applies, then assigns a severity with the reasoning stated, including the data or function exposed and the conditions needed. The client can ask the tester to explain how severity was set, since this drives remediation order.

  6. Deliver the report and remediation guidance

    The report lists the scope, the target profile, the MASTG version followed, the environment record, every requirement tested with its result, and each validated finding with evidence, severity, affected version and a fix that the development team can act on. Findings are written so they can be read without the tester present. The phase closes when the client has accepted the draft and the report is final, and the client knows which findings are blocking for their release.

  7. Retest fixed findings

    After the development team ships fixes, the tester retests each finding against a new build identified in the scope, and records whether each fix resolves the issue. The retest also checks that the fix did not introduce a new weakness in the same control group. The phase closes with a retest addendum that states the status of every original finding. Retest scope and any additional work are agreed in writing before the retest starts.

What can be in scope for an Android app test

An Android test is only as useful as the scope behind it. The items below are what a tester needs fixed in writing before work starts, because each one changes what can be tested and how findings map to MASVS control groups. Confirm every input with your tester before the test window opens.

Build and version under test

Agree the exact application build, including version name, version code, build variant and the signing channel it came from. A debug build, a release candidate and the production build can behave differently in logging, certificate pinning and code protections, so findings must reference one identified artifact. Ask the client for the APK or App Bundle output and its checksum, and confirm whether the test covers only that build or later builds too.

Test accounts and roles

Request test accounts for each role the app supports, such as a standard user, an administrator and a user with restricted permissions, plus accounts in each state the app treats differently, such as unverified or suspended. Role coverage drives authorization testing against MASVS-AUTH and the backend checks described in the mobile backend API testing guidance. Confirm in writing who creates, resets and removes these accounts.

Backend APIs the app calls

List every backend host, API version and third-party service the app contacts, including authentication endpoints and any SDKs that send data elsewhere. Most serious mobile findings sit in these APIs, so an app test that stops at the device leaves them unexamined. Agree whether the API tests are inside this engagement or in a separate web and API scope, and record that decision in the statement of work.

Environments and data

Choose between staging, a production-like environment or production itself, and agree which backend services and data sets sit behind it. Staging is usually safer to test, but it may not match production configuration, so ask the client to confirm where differences exist. Agree in writing how test data is created, labeled and deleted, and who may view any personal data the app returns.

Test devices and Android versions

Specify the physical devices, emulators and Android versions the test must cover, along with any managed device or mobile device management profile the client enforces. Behavior differs across Android releases in areas such as backup, network security configuration and permission prompts, so a single device rarely covers the risk. Ask the client to supply devices or confirm which versions the tester may use.

Rules of engagement

Document permitted testing hours, source IP ranges, rate limits, prohibited actions such as denial-of-service or destructive tests, and an escalation contact for critical findings. Also agree how the tester handles credentials, screenshots and captured traffic, including where they are stored and when they are destroyed. Confirm these rules in the signed statement of work, and ask the tester to name the MASTG version and MAS profile the test follows.

How MASVS, MASWE and MASTG fit together for a buyer

A documented Android test rests on three OWASP layers, and a buyer should be able to name all three. The Mobile Application Security Verification Standard (MASVS) sets the requirements, grouped into eight control groups: MASVS-STORAGE, MASVS-CRYPTO, MASVS-AUTH, MASVS-NETWORK, MASVS-PLATFORM, MASVS-CODE, MASVS-RESILIENCE and MASVS-PRIVACY. The Mobile Application Security Weakness Enumeration (MASWE) catalogs the specific weaknesses behind those requirements and maps each one to a control, so a finding can be traced to the requirement it breaches. The Mobile Application Security Testing Guide (MASTG) then supplies the procedures that test each control on Android and iOS. A proposal that names control groups but never mentions the weaknesses or procedures behind them is hard to verify, so ask the tester to show that chain for the controls that matter most to your app.

The current version of the standard is MASVS v2.1.0, which introduced the MASVS-PRIVACY category. That category covers minimizing access to sensitive data, preventing user identification, transparency about data collection and user control over personal data. For an app that handles personal data, the test plan should show how the tester checks data minimization and the consent and deletion behavior the app actually implements, and compare it with what the privacy policy states. Ask which MASVS version the plan is written against and whether the report will use that version's control IDs, since findings keyed to a different version are harder for your auditor or customer to match to their own requirements.

Ask which MASTG version the tester follows, because the procedures a tester runs can change between guide versions. MASTG v2.0.0 is the version to ask about, and the answer should be stated in the proposal. Also ask which testing profile (L1, L2 or R) the test targets and whether each finding names the MASWE entry it relates to. The MAS project introduction explains how the three layers fit together and gives you a neutral reference for judging whether a tester's method is documented or only described in general terms. A method that states its guide version, profile and mapping can be checked against the public standards, while one that states none of these can only be taken on trust.

Choosing the MAS testing profile: L1, L2 or R

The OWASP MAS project defines Level 1 as the basic set of security requirements that applies to most apps. An L1 test checks the controls every app should meet, such as sensible local storage, correct use of platform components, transport security and basic authentication behavior. It suits an app that handles little sensitive data, such as a content, retail or utility app whose main risk is a poor default that could expose a user or a little personal information.

  • Typical fit: an app with limited personal data, no payment handling and no regulated record-keeping.
  • Requirement source: controls are drawn from the MASVS control groups and tested with the MASTG Android procedures.
  • Play listing link: an L1 test aligns with the scope Google's MASA review covers, which is useful when a developer wants independent review evidence for the Data safety section.
  • Limit of the result: MASA reviews are limited in nature and do not guarantee complete safety, so the test report should not be presented as a guarantee.
  • Developer duty: the developer stays responsible for accurate Data safety declarations regardless of the review.

Check that the test plan names L1 explicitly, lists the MASVS control groups in scope, and states the MASTG version the tester follows.

Which weakness categories an Android test examines, and why they matter

This table maps each MASVS control group to what it looks like in an Android app and the business risk it carries. Use it to check that a tester's plan covers every group, or to explain to a stakeholder why each area is in scope. The main takeaway is that the categories with the most exposure, usually authentication, network and platform interaction, should be explicit in the test plan rather than implied.

Control groupWhat it looks like in an Android appBusiness risk
MASVS-STORAGESensitive data kept in app-private files, shared preferences, databases, logs or backups without adequate protectionCustomer or account data exposed on a lost or compromised device, or through backup extraction
MASVS-CRYPTOUse of outdated algorithms, weak key handling or custom cryptography in place of platform key storesProtected data can be decrypted by someone who obtains the app's stored material
MASVS-AUTHSession handling, biometric prompts, local credential checks and how tokens are issued, refreshed and revokedAccount takeover or access to a session that should have expired
MASVS-NETWORKNetwork security configuration, certificate validation, cleartext traffic and trust of user-added certificatesInterception of traffic carrying credentials or personal data on untrusted networks
MASVS-PLATFORMExported components, intents, deep links, WebViews and how the app uses Android permissionsOther apps on the device invoking functions or reading data the app did not intend to share
MASVS-CODEOutdated libraries, debuggable builds, unsafe input handling and error handling that leaks detailKnown vulnerable components shipped to users and avoidable exposure in production builds
MASVS-RESILIENCERoot and tamper detection, anti-debugging and code obfuscation, assessed only where the profile requires itEasier cloning, modification or abuse of app logic in high-value or fraud-exposed apps
MASVS-PRIVACYCollection of personal data beyond need, identifiers that enable tracking, and user control over stored dataMismatch with Data safety declarations, privacy regulation exposure and loss of user trust

What drives the cost and duration of an Android app test

An Android app test is priced and scheduled from its scope, not from a flat rate. The drivers below show what a buyer should define in writing, and which parts of the work are paid once and which recur when the app ships again.

Screens, features and user roles

The number of screens, flows and features is the main effort driver, because each flow must be exercised against the MASTG Android tests that apply to it. User roles multiply that effort: an admin, a customer and a support role each need their own authorization checks. Ask the tester to list screens and roles in the quote and to state which are excluded.

Backend APIs in scope

Most mobile findings sit in the backend, so every API the app calls is part of the effort if it is in scope. Ask whether APIs are tested through the app only, directly, or both, and whether they are tested against the OWASP API Security Top 10 2023. Confirm who owns the backend and whether the client can provide test accounts and staging access.

Target MASVS level or profile

The target controls the depth of work. A test aimed at MASVS L1 covers baseline requirements for most apps, while L2 adds controls for apps handling sensitive data. Ask the tester to name the MAS testing profile and MASVS version in the quote, so two quotes can be compared on the same basis.

Reverse engineering and resilience testing

Testing resilience against reverse engineering and tampering is a separate block of work with its own tooling and time. It applies only when the app needs those protections, so the quote should say whether the MASVS-RESILIENCE controls are in scope or excluded. Ask for the decision to be recorded in the statement of work rather than assumed.

Devices, Android versions and builds

Test effort grows with the number of physical devices, Android versions and build variants the tester must cover. Ask which devices and OS versions are in scope, whether the client supplies them, and which build the test targets. Confirm how a debug or release build affects the work.

Client readiness and retest scope

Readiness sets how much tester time goes to setup rather than testing: documentation, test accounts, environment access and a stable build. Retesting is the recurring cost. Ask whether one retest of fixed findings is included, how it is priced, and what triggers a new test after a release, such as a major feature change or a new MASVS version.

Questions buyers ask before commissioning an Android app penetration test

Does a MASVS-aligned Android test satisfy a customer or auditor?

Not on its own, because MASVS is a standard for what an app should meet, not a certification or attestation. A test aligned to MASVS gives a customer or auditor a structured basis for evaluation, but acceptance depends on what that party requires. Before the test starts, ask the customer's security team or auditor which MASVS profile they expect, whether they require an independent assessor, and whether each finding must map to a MASVS control ID in the report. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies do that work.

Which MASTG version should an Android penetration tester follow?

The tester should name the version in the written test plan. The OWASP Mobile Application Security Testing Guide (MASTG) is currently at v2.0.0, and OWASP announced that release on its project site. The guide holds the test procedures for MASVS controls on Android and iOS, so the version determines which procedures and expected evidence the tester applies. Ask whether the tester has moved its method to v2.0.0 or still follows an earlier version, and how it handles guide updates during an engagement. A report that cites one version is harder to compare with a retest run against another, so the version should be recorded in the scope document and repeated in the report.

What must the client provide before an Android app test begins?

The client supplies the access the tester needs, and missing inputs are a direct driver of schedule. Typical inputs include:

  • A release or debug build that behaves like production, with signing details agreed in advance
  • Test accounts for each user role, plus accounts for paid, administrative or partner features
  • Access to the staging or test backend APIs in scope, with the test data needed to exercise them
  • Written rules of engagement, including permitted testing windows, documentation or source access, and named incident contacts
  • Confirmation of the Android versions and test devices in scope

Agree in the statement of work who supplies each item and by what date, so the schedule reflects the client's own delivery commitments.

Can our own team run an Android app penetration test internally?

Your team can run MASTG-based checks internally, and many teams do so during development. The open question is whether the result will satisfy the parties who rely on it. Internal reviews help find issues early and build skills, but a customer's security review, an insurer or an auditor may expect an independent tester with a documented method, a defined scope and a report they can rely on. Internal staff also share assumptions with the developers who built the app, which can reduce coverage of design flaws. A practical split is to run continuous internal checks during development and commission an independent test at defined release or assessment points. Confirm the expectation with the party requesting the test before deciding.

How long does an Android app penetration test take, and what drives it?

No duration figure applies to this page, so the reliable answer comes from the written scope. The main drivers are the number of distinct user flows, the number of backend APIs and user roles in scope, the MASVS profile (L1, L2 or R), whether resilience testing against reverse engineering and tampering is included, how many Android versions and devices must be covered, and how quickly the client delivers builds and accounts. Retesting after fixes adds its own time and should appear as a separate phase. Ask each tester for a phase-by-phase schedule tied to the scope, including the draft report date, the client review window and the retest. DeployOpen's engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How does a Google MASA review differ from a full penetration test?

A MASA review validates an app against MASVS Level 1 requirements using the MASTG. Google's Mobile Application Security Assessment runs through the App Defense Alliance with authorized lab partners, and developers can show the independent review in the Data safety section of their Google Play listing. A full penetration test is scoped by the client and can cover MASVS Level 2, resilience, the backend APIs and attack paths beyond the Level 1 requirements, with findings, evidence and retesting delivered to the client. The App Defense Alliance states that MASA reviews are limited in nature, do not guarantee complete safety, and leave developers responsible for accurate Data safety declarations. Treat the two as complementary checks, and ask any tester whether it is an authorized MASA lab partner before assuming it can provide that review.

Which MASVS testing profile should our Android app test target?

Name the profile in the scope document: L1 for basic security requirements applicable to most apps, L2 for advanced security in apps that handle sensitive data, or R for resilience against reverse engineering and tampering. The OWASP Mobile Application Security project publishes these testing profiles so a test can state what it targets, instead of using a vague label. An app that stores financial, health or identity data may call for L2 requirements, and an app whose logic or embedded keys would cause harm if extracted may add R. Profiles can be combined, so ask the tester which controls each profile covers for your app and how the report will label findings by profile. Confirm the choice with the party requiring the test, since their expectation determines what the report must demonstrate.

How DeployOpen scopes, tests, reports and retests Android apps

DeployOpen runs Android app penetration tests as fixed-scope engagements, with the scope, deliverables and timeline agreed in writing before work starts. Each phase is measured against the OWASP MASVS control groups and the MASTG Android tests, and the findings are delivered with fixes and a retest.

How we scope

  • Scope is agreed in writing before work starts, covering the app, versions, platforms and tests included.
  • We confirm which MAS testing profile (L1, L2 or R) the test targets and why it fits the app's data.
  • The written scope lists the backend APIs, accounts, test devices and builds the client must provide.

How we build

  • Testing follows the MASVS control groups, with each requirement mapped to a MASTG test procedure.
  • We confirm which MASTG version the tester follows so the method can be checked against the published guide.
  • Backend API testing is covered in scope when the app's tokens and data depend on server-side authorization.

How we hand over

  • The report is organized by MASVS control group so results can be checked against each requirement.
  • Each finding describes the weakness category, evidence, affected component and a recommended fix.
  • A retest confirms whether the agreed fixes resolve each finding, and the report records the outcome.

How we support

  • Engagements are fixed-scope, so changes to the app or scope are handled as written amendments.
  • Ongoing support, upgrades and continuous testing are available as a retainer after the initial test.
  • Ask us to confirm how the report maps to your auditor's or customer's review questions before testing starts.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.