Skip to content
Home / Services / Mobile Pentest
Pillar I · Offensive Security

Mobile Pentest Android & iOS

A mobile pentest is a penetration test of Android and iOS apps run with the OWASP MASVS/MASTG methodology, assessing data storage, network communication, cryptography, authentication and resistance to reverse engineering and tampering to prove, with evidence, what an attacker could extract or manipulate in your app.

What is a mobile pentest?

A mobile pentest is a penetration test of a mobile app — Android or iOS — from a real attacker's perspective, covering the app code, the data it stores on the device, its communication with the backend and its embedded security controls. Unlike a traditional web pentest, a mobile app pentest must deal with the binary installed on the device, the mobile operating system and the possibility that the device is compromised (rooted or jailbroken).

Berghem follows the OWASP MASVS (Mobile Application Security Verification Standard) and the OWASP MASTG testing guide, combining static analysis of the binary, reverse engineering, dynamic runtime instrumentation and testing of the API the app consumes. The result is a concrete map of what an attacker could reach — from sensitive data left on disk to authentication that can be bypassed — with proof of concept, evidence and impact-prioritized recommendations.

For regulated institutions, mobile scope must also meet sector requirements — including the BACEN/CMN resolutions on cybersecurity. Apps that process payments require additional controls, and we structure the test to produce evidence useful to your compliance process.

What's included

•Android (APK) and iOS (IPA)
•OWASP MASVS and MASTG methodology
•Insecure on-device data storage
•Network communication and SSL pinning
•Cryptography and key management
•Authentication, session and biometrics
•Reverse engineering, tampering and root/jailbreak detection
•Testing of the API the app consumes
•Report with PoC, evidence and remediation
Attack surface

What do we test in a mobile pentest?

We follow the OWASP MASVS verification categories. Each domain below is analyzed statically and dynamically, manually validated and chained into attack scenarios that demonstrate real impact — never just an isolated tool finding.

MASVS-STORAGE

Insecure data storage

Data left on the device is the first target. We inspect SQLite databases, SharedPreferences, plists, cache files, logs and the Keychain/Keystore for credentials, tokens, personal data and sensitive information stored without protection. We also review backups, background screenshots and leakage through keyboard and clipboard.

MASVS-NETWORK

Network communication

We intercept traffic between the app and backend to assess TLS usage, certificate validation and the robustness of SSL pinning. We test whether pinning can be bypassed, whether cleartext endpoints exist, protocol downgrade and data exposure in transit — the classic man-in-the-middle vector against mobile apps.

MASVS-CRYPTO

Cryptography and key management

We analyze the algorithms, modes and crypto libraries the app uses, looking for weak implementations, keys and IVs hardcoded in the code, predictable randomness and inadequate storage of cryptographic material. We verify that sensitive data is actually encrypted and that the Keystore/Keychain is used correctly.

MASVS-AUTH

Authentication, session and biometrics

We test login flows, tokens, session expiration, logout and local authentication logic — including PIN and biometrics. We assess whether authentication can be bypassed with a modified app, whether validation happens server-side and not only on the client, and whether sessions can be reused or fixed.

MASVS-PLATFORM

Platform interaction and IPC

Each platform exposes its own surfaces. We test exported Activities, Services, Broadcast Receivers and Content Providers on Android, URL schemes and universal links on iOS, WebViews, deep links and inter-process communication. We look for exposed components that let controls be bypassed or data be injected.

MASVS-RESILIENCE

Resilience, reversing and tampering

We reverse-engineer the binary to assess obfuscation, embedded secrets and the app's resistance to manipulation. We test root/jailbreak detection, anti-hooking and anti-debug, and how well those controls hold up against Frida instrumentation and repacking of a modified app.

Platforms

Coverage by platform

Android and iOS have distinct security models, binary formats and attack surfaces. We adapt the methodology to each system's specifics, using real and emulated test devices.

Android · APK/AAB

Android pentest

Penetration test of Android apps starting from the APK/AAB: decompilation with jadx and apktool, analysis of the AndroidManifest and exported components, storage inspection, dynamic instrumentation with Frida and bypass of root detection and SSL pinning. We assess Java/Kotlin apps and native code.

iOS · IPA

iOS pentest

Assessment of iOS apps from the IPA: analysis of the binary and Objective-C/Swift classes, inspection of the Keychain and local storage, URL schemes and universal links, and on-device instrumentation on a jailbroken device. We test data protection, biometrics (Face ID/Touch ID) and tampering resistance.

Methodology

How do we run the test?

We work with agreed rules of engagement and a secure channel with the client from start to finish. The test combines static analysis of the binary, dynamic on-device testing and assessment of the API the app consumes, aligned with the OWASP MASTG.

01 · Scope

Scope and preparation

We define the platforms and versions in scope, the target MASVS level, test credentials, environments and limits. We receive the binaries (APK/IPA) and, where applicable, backend access, and agree on the goals and model of the exercise.

02 · Static analysis

Static analysis and reversing

We decompile and analyze the binary for embedded secrets, endpoints, authentication logic, crypto usage and exposed components. We map the app's attack surface before moving to dynamic exploitation.

03 · Dynamic analysis

Dynamic analysis and exploitation

We run the app on an instrumented device, intercept traffic, bypass security controls where possible and exploit storage, authentication, network and IPC flaws — chaining findings into full attack scenarios while preserving environment stability.

04 · Report

Report and remediation

We deliver each finding with proof of concept, evidence, severity rating and impact-prioritized remediation, mapped to the MASVS. We run a technical debrief and offer a retest to validate the applied fixes.

Frequently asked

Frequently asked questions about mobile pentest

What is a mobile pentest?
A mobile pentest is a penetration test of an Android or iOS app. We assess the binary, the data stored on the device, communication with the backend and embedded security controls, following the OWASP MASVS/MASTG, to find and prove flaws before an attacker does.
What is the difference between a mobile pentest and a web pentest?
A web pentest focuses on the application served in the browser. A mobile app pentest deals with the binary installed on the device, the mobile OS and a possibly compromised device — testing local storage, reverse engineering, tampering and resistance to root or jailbreak, plus the API the app consumes.
What is the OWASP MASVS and why do you follow it?
The MASVS is OWASP's mobile app security verification standard, complemented by the MASTG testing guide. It organizes controls into categories such as storage, network, cryptography, authentication and resilience, giving the app pentest consistent, verifiable coverage mapped to a recognized standard.
Do you need the app's source code?
It is not required. We test from the binary (APK or IPA) via reverse engineering, in a black-box or gray-box model. Having the source code, when available, makes the analysis deeper and more efficient, but the mobile pentest works even without it.
Does the mobile pentest include testing the app's API?
The app is one end; the other is the API it consumes. We assess how the app communicates with the backend and recommend combining it with a dedicated API pentest to fully cover server-side authentication, authorization and business logic.

Ready to test your app?

In a 30-minute conversation we map your Android or iOS app and design the ideal mobile pentest scope.

Talk to a specialist