Technical insight

Mobile application penetration testing: a practical coverage model

Mobile security is often reduced to a binary scan and a quick look at transport encryption. That misses the layer where many business risks occur: the relationship between the app on a user's device and the services that trust it. A strong mobile assessment treats the app, device, developer controls and backend as one system. It asks what sensitive data the app can access, which decisions the operating system can enforce, which decisions must be made by the server, and what an attacker gains by modifying or instrumenting the client.

A-Secure Offensive Security Team23 November 2026Authorized testing focus

Scope the mobile product

Mobile scope should identify the artifact, platform, environment and business role. Record the Android package and version, iOS build and version, release channel, backend environment, test accounts, regional flows and any privileged or internal build. Confirm whether the assessment covers the app alone, the supporting API, or both.

Define the device and account context. Android and iOS enforce different platform boundaries, and behavior can change by OS version, device integrity state and app configuration. Test accounts should represent customer, staff, partner and administrator roles where the product uses them. Synthetic records are preferable when the workflow can be reproduced without real personal data.

Also document constraints: release-candidate build versus the live store build, permitted account actions, limits on creating records or notifications, monitoring contacts and any functionality that must not be interrupted.

Analyze the package and build

Static analysis inspects the packaged client without depending only on its runtime behavior. It can reveal embedded API keys, test endpoints, debug configuration, exported components, unnecessary permissions, weak cryptography, insecure local storage, backup behavior and security controls that differ between build variants.

The review should compare the supplied artifact with the expected release and note whether differences can be explained. A development build may intentionally expose features, but a production package should not silently contain a separate trust model. Secrets should not be treated as harmless configuration: an API key that grants access or bypasses a client control can change the threat model even if the server still validates a user session.

Binary hardening can reduce casual tampering and help detect repackaged or instrumented clients. It should be treated as defense in depth, not a substitute for server-side authorization.

Observe runtime data and behavior

Dynamic testing exercises the application through realistic user journeys and observes what it does on the device. Useful coverage includes files, databases, preferences, caches, logs, screenshots, clipboard content, notifications, backups and third-party SDK behavior. The assessment should identify where sensitive data is stored, how long it remains and whether it is protected in the context.

Pay particular attention to data that is not visible in the UI: tokens in preferences, credentials in logs, cached records, documents in shared storage, sensitive values exposed in WebViews or deep-link handlers, and personal data sent to analytics or crash-reporting services. A build that stores an access token may still be vulnerable if another local process, a diagnostic export or a device compromise can obtain it.

Runtime observation should be connected to business sensitivity. Finding a technical weakness is more useful when the report explains what data or workflow it affects and how it changes the attack path.

Test authentication, session and authorization

Mobile authentication begins on an untrusted client. Tests should cover login, enrollment, recovery, step-up verification, logout and account disablement. The review should establish whether the app creates a secure session, whether tokens are bound to the intended device or account, whether sensitive actions require fresh verification, and whether a password change or logout invalidates the relevant session.

Client-side bypasses are only half of the assessment. A modified client may reveal an interface or token, but the important question is whether the server enforces the same decision. Where rules permit, replay or alter a controlled mobile request to test whether the backend independently checks identity, role, object ownership and workflow state.

Account recovery and enrollment deserve special attention. They often connect email, SMS, device identifiers, support channels and identity verification. A weak recovery path can bypass stronger controls elsewhere. The mobile backend should also resist accepting an action merely because the client app is installed or reports a particular device state.

Review platform integrations and transport

Modern mobile applications use operating-system features to improve convenience and security. Review the use of deep links, universal links, custom URL schemes, WebViews, app links, inter-process communication and exported activities or services. Validate that the receiving component verifies the expected context and does not trust attacker-controlled parameters or content.

Transport review should cover the actual connection behavior. Confirm that sensitive channels use appropriate TLS validation, that cleartext fallback is not permitted where the platform can enforce policy, and that certificate errors are not accepted without a controlled and justified mechanism. Certificate pinning can reduce interception risk but can also break legitimate service transitions, so it should be designed and tested with deployment and operational needs in mind.

Device integrity signals—root or jailbreak detection, app attestation or similar controls—need careful interpretation. They may add friction to casual abuse and provide risk context, but they are bypassable and can create false confidence if the backend ignores them.

Assess backend trust and privacy flows

The mobile app's API often reveals more than the mobile package. Review endpoint inventory, role and object authorization, rate and resource controls, data minimization, replay resistance and workflow integrity. Compare supported client versions with older APIs to identify endpoints that enforce weaker rules.

Privacy review should follow data from collection to use, sharing, storage, retention and deletion. Does the application request access necessary for the feature? Are precise location, contacts, media or identifiers sent only when justified? Are analytics and advertising SDKs collecting data beyond the organization's declared practice? Are sensitive values masked in logs and crash reports?

Where the organization makes public store or privacy declarations, compare them with observed behavior and identify differences that need clarification. This is not proof of a legal breach, but it can reveal a mismatch between product behavior and user-facing claims.

Report and verify remediation

A useful report separates platform findings, backend findings and cross-layer issues. Each finding should identify the affected platform or endpoint, the role and data involved, the expected boundary, safe evidence, business impact and root cause. A cross-layer issue may be more important than an isolated client weakness because the attacker can use the client behavior to reach a sensitive server action.

Remediation should put the decisive control in the most reliable layer. Server-side authorization protects the data even when the client is modified. Secure local storage protects the device. Data minimization reduces impact across both. Sensitive logging and third-party SDK governance address privacy risk throughout the flow.

Verification should reproduce the original failure and add regression coverage. For an API authorization issue, retain a negative test with a controlled peer identity. For a local-storage issue, verify that the sensitive value no longer appears in the relevant location and that the workflow still works. Mobile apps change through app, backend, SDK and operating-system updates, so regression testing should run whenever a material component changes.

Key takeaways

Apply the guidance with a tested, authorized scope

  • Scope the package, runtime, accounts, APIs and device context as one product.
  • Treat embedded secrets and build differences as potential trust-boundary issues.
  • Follow sensitive data through local storage, logs, SDKs, APIs and backend processing.
  • Validate that the server, rather than the mobile client, enforces authorization.
  • Fix the decisive layer and retain negative regression tests for each issue.

References and further reading

  1. OWASP Mobile Application Security Verification Standard (MASVS)
  2. OWASP Mobile Application Security Testing Guide (MASTG)
  3. OWASP Mobile Top 10
  4. NIST SP 800-115: Technical Guide to Information Security Testing and Assessment
Testing notice: Only perform security testing against systems you own or have explicit written authorization to assess. Use controlled environments, agreed safety controls and the organization's escalation process.