Testing OWASP Mobile M5:2024 Insecure Communication means validating every network channel a mobile app uses — TLS handshakes, certificate validation, pinning logic, and protocol fallback — against interception and downgrade attacks. The direct path to test for insecure mobile communication is to intercept traffic through a proxy, attempt a certificate pinning bypass with Frida or Objection, and confirm the app rejects invalid certificates and refuses cleartext fallback on every endpoint it calls, not just the login screen. Automated scanners flag missing HTTPS; they rarely catch broken pinning logic or a backend that silently accepts a self-signed certificate once the app is under load, which is exactly where M5 exposure hides in production in 2026.
TL;DR
- Testing insecure mobile communication requires proxy interception plus a certificate pinning bypass, not a single HTTPS check.
- OWASP Mobile M5:2024 covers TLS configuration, certificate validation, pinning, and cleartext fallback across every endpoint the app calls.
- Manual dynamic instrumentation with Frida or Objection catches pinning bypass and downgrade paths that static scanners miss entirely.
- AppSecure Security runs M5 testing as part of manual mobile app penetration testing engagements covering iOS Network Security Config and Android ATS.
- Findings on third-party SDK traffic and analytics beacons are as common as findings on the primary API channel.
Why This Matters
Insecure communication is not a cosmetic finding. An app that fails M5 testing exposes session tokens, PII, and payment data to any attacker positioned on the same network — a coffee shop Wi-Fi, a compromised router, or a rogue cell tower running a downgrade attack. For fintech and healthcare apps, this is the exact data class that PCI DSS Requirement 4 and HIPAA's transmission security rule were written to protect.
Regulators and auditors treat M5 failures as evidence of a weak secure development lifecycle, not an isolated bug. A pinning bypass that works in five minutes with a rooted device and a proxy tells an assessor the mobile release process has no dynamic security testing gate. That finding follows the app through every SOC 2 and PCI DSS cycle until it is fixed and retested.
Business impact scales with what the channel carries. A logistics tracking app leaking device location over an unpinned connection is a privacy incident. A digital wallet app with the same flaw is a fraud incident with regulatory notification obligations. Teams building mobile app penetration testing for fintech apps treat M5 as a release-blocking category, not a backlog item.
How to Test for Insecure Mobile Communication
M5 testing follows a fixed sequence. Skipping steps produces false negatives — the app looks compliant until an attacker with slightly more capability than an automated scanner gets involved.
- Map every network destination. Capture traffic from the app across its full feature set, not just login and checkout. Include analytics SDKs, crash reporters, push notification services, and any embedded WebViews.
- Test TLS configuration on each endpoint. Check protocol version, cipher suite negotiation, and certificate chain validity independent of the app.
- Attempt a man-in-the-middle interception. Route traffic through Burp Suite or a comparable proxy with a self-signed CA installed on the test device.
- Attempt a certificate pinning bypass. Use Frida or Objection to hook the app's pinning logic on a rooted or jailbroken device and confirm whether traffic decrypts.
- Force protocol downgrade. Attempt to push the connection to HTTP or an outdated TLS version and observe whether the app or the backend rejects it.
- Inspect WebViews separately. WebViews often use a different network stack than native HTTP clients and can bypass pinning entirely.
- Test third-party SDK traffic. Advertising, analytics, and crash-reporting libraries frequently transmit data outside the app's primary TLS configuration.
TLS handshake
- What to Verify: Protocol version, cipher strength, certificate chain
- Tooling: testssl.sh, Burp Suite
Certificate validation
- What to Verify: App rejects self-signed or expired certs
- Tooling: Proxy interception
Certificate pinning
- What to Verify: Pinning survives a rooted-device MITM attempt
- Tooling: Frida, Objection
Cleartext fallback
- What to Verify: No HTTP fallback on any endpoint
- Tooling: Network Security Config / ATS review
Third-party SDKs
- What to Verify: Analytics, ads, crash reporters use TLS
- Tooling: Full traffic capture
TLS Configuration and Certificate Validation Testing
Start at the transport layer before touching the app's pinning logic. Confirm the backend enforces TLS 1.2 or higher, rejects weak cipher suites, and serves a certificate chain that validates against a public root. This step alone catches misconfigured load balancers and staging endpoints accidentally left reachable from production builds.
Verdict: mandatory first step — skip. Testing pinning before confirming the underlying TLS configuration wastes time chasing a symptom instead of the root cause.
Certificate Pinning Bypass Testing
Pinning is the control that stops a valid-but-attacker-controlled certificate from being trusted. Testing it requires dynamic instrumentation because static analysis cannot tell whether pinning logic actually executes at runtime or is silently skipped in a debug build that shipped to production.
On Android, testers hook OkHttp or TrustManager implementations with Frida scripts designed to bypass SSL pinning. On iOS, testers target NSURLSession delegate methods or third-party networking libraries. A pinning implementation that only checks the certificate's public key hash — without verifying the hash matches an expected pinned value — passes a casual code review and fails immediately under a real bypass attempt.
This category overlaps with credential handling covered in OWASP Mobile M1 improper credential usage: a successful pinning bypass often exposes the same tokens that M1 testing evaluates for insecure storage.
Verdict: highest-value manual test in the M5 category — do not skip.
Cleartext Traffic and Protocol Downgrade Testing
Even apps with correct pinning can leak data through a secondary channel that never got TLS enforcement. Common gaps include deep-link handlers, push notification payloads, and debug logging endpoints left active in release builds. Testers force a downgrade attempt on every discovered endpoint and confirm the app terminates the connection rather than silently continuing over HTTP.
Verdict: test every endpoint individually — partial coverage produces false confidence.
Network Security Configuration and ATS Review
Android's Network Security Config and iOS's App Transport Security are declarative controls that should enforce TLS at the platform level, independent of application code. Testing confirms these configurations are actually restrictive rather than left permissive with domain exceptions that quietly allow cleartext traffic to specific hosts.
A Network Security Config with a broad <base-config cleartextTrafficPermitted="true"> entry defeats every downstream control the development team believes is enforced. This is a configuration review finding, not a code-level bug, and it is missed by scanners that only inspect network traffic rather than the manifest.
Verdict: review the configuration file directly — do not infer it from traffic alone.
Why M5 Findings Vary Across Apps
- Pinning implementation quality — hash-based pinning implemented correctly resists bypass far longer than certificate-object comparison.
- Third-party SDK count — apps with more analytics, ads, and crash-reporting libraries have more unmanaged network paths.
- WebView usage — hybrid apps that render web content inside a WebView often inherit a separate, less-scrutinized network stack.
- Backend TLS hygiene — staging and internal APIs reachable from production builds frequently run outdated TLS configurations.
- Platform-level configuration — permissive Network Security Config or ATS exceptions override otherwise correct application code.
- Release process maturity — apps without a dynamic security testing gate in CI/CD ship pinning regressions that code review alone would not catch.
Manual Testing Finds What Scanners Miss
Static and automated dynamic scanners can confirm HTTPS is present and flag an obviously missing certificate check. They cannot hook runtime pinning logic, force a live downgrade attempt against a running session, or judge whether a WebView's separate network stack actually enforces the same policy as the native client. That gap is why manual mobile app penetration testing remains the control that regulators and enterprise customers ask for by name, not a scan report.
AppSecure Security runs M5 testing as one module inside a broader mobile assessment that also covers the authentication and authorization boundaries described in OWASP Mobile M3 insecure authentication and authorization, because a communication-layer bypass is frequently the entry point attackers use to reach an authorization flaw underneath it.
Common M5 Findings and Business Impact
Pinning bypassed on rooted device
- Root Cause: Hash comparison logic missing or disabled in release build
- Business Impact: Session tokens and PII exposed to on-path attackers
Cleartext fallback on secondary endpoint
- Root Cause: Deep-link or logging endpoint excluded from TLS enforcement
- Business Impact: Data leakage outside monitored traffic
Weak cipher suite accepted
- Root Cause: Backend TLS configuration not hardened
- Business Impact: Regulatory finding under PCI DSS Requirement 4
Third-party SDK sends plaintext data
- Root Cause: SDK integrated without traffic review
- Business Impact: Unmonitored PII exposure via vendor channel
Permissive Network Security Config
- Root Cause: Debug-era config shipped to production
- Business Impact: Platform-level control silently disabled
Is Certificate Pinning Enough to Pass M5 Testing?
Certificate pinning alone is not enough to pass OWASP Mobile M5:2024 testing; it must be paired with correct TLS configuration, cleartext fallback prevention, and coverage across every network destination, including third-party SDKs. Pinning that only checks the public key without validating against a known pinned value fails a bypass attempt in minutes.
Does HTTPS Alone Satisfy OWASP Mobile M5?
HTTPS alone does not satisfy OWASP Mobile M5 requirements because the standard also requires certificate validation, resistance to downgrade attacks, and enforcement across secondary channels like deep links and analytics SDKs. An app can run entirely over HTTPS and still fail M5 testing if pinning logic never executes or a fallback path accepts HTTP silently.
How Often Should Mobile Apps Be Retested for M5 Compliance?
Mobile apps should be retested for M5 compliance after every release that touches networking code, SDK versions, or the certificate pinning implementation, and at minimum on an annual cycle aligned with broader penetration testing schedules. Teams shipping frequent releases often fold this into a mobile app penetration test cadence tied to CI/CD rather than a single annual engagement.
Compliance Mapping for Insecure Mobile Communication
PCI DSS
- What It Requires: Strong cryptography for cardholder data in transit (Requirement 4)
- Testing Implication: Verify TLS version, cipher strength, and pinning on payment endpoints
HIPAA
- What It Requires: Transmission security for ePHI
- Testing Implication: Confirm no cleartext fallback on any endpoint carrying health data
SOC 2
- What It Requires: Logical access and transmission controls (Security criteria)
- Testing Implication: Evidence of dynamic M5 testing supports the control narrative
ISO 27001
- What It Requires: Cryptographic controls (Annex A.8.24)
- Testing Implication: Document pinning implementation and TLS configuration review
MASVS-NETWORK
- What It Requires: Explicit network communication requirements for mobile apps
- Testing Implication: Direct mapping to the M5 test cases above
M5 Testing Checklist
- Full traffic map across every app feature, including background and SDK calls
- TLS version and cipher suite verified independent of app behavior
- Certificate chain validation confirmed against a public root
- Pinning bypass attempted with Frida or Objection on a rooted/jailbroken device
- Downgrade attempt forced on every discovered endpoint
- WebView traffic tested separately from native network calls
- Network Security Config / ATS manifest reviewed directly
- Third-party SDK traffic captured and inspected
- Findings retested after remediation, not just reported
FAQ
What is OWASP Mobile M5:2024 Insecure Communication?
OWASP Mobile M5:2024 Insecure Communication covers vulnerabilities in how a mobile app transmits data over the network, including weak TLS configuration, broken certificate validation, missing or bypassable certificate pinning, and cleartext fallback. It is tested through traffic interception and pinning bypass, not code review alone.
How do you test for insecure mobile communication?
Testing insecure mobile communication starts with mapping every network destination the app calls, then intercepting traffic through a proxy, attempting a certificate pinning bypass with Frida or Objection, and forcing a protocol downgrade on each endpoint to confirm the app rejects it.
What tools are used to test M5 insecure communication?
Burp Suite handles traffic interception, Frida and Objection handle dynamic certificate pinning bypass, and testssl.sh verifies TLS configuration independent of app behavior. Manual review of the Network Security Config or ATS manifest completes the coverage.
Is certificate pinning required to pass M5 testing?
Certificate pinning is expected for apps handling sensitive data but is not sufficient by itself; the pinning implementation must actually execute at runtime and resist a bypass attempt, and TLS configuration on the backend must also be hardened.
Can automated scanners detect M5 vulnerabilities?
Automated scanners can detect missing HTTPS and some weak cipher configurations, but they cannot reliably detect a broken pinning implementation or a downgrade path that only appears under a live man-in-the-middle attempt. Manual dynamic testing is required for full M5 coverage.
Does M5 testing cover third-party SDKs?
Yes, M5 testing covers every network destination the app calls, including analytics, advertising, and crash-reporting SDKs, which frequently transmit data outside the app's primary TLS configuration.
How is M5 different from M1 improper credential usage?
M5 tests the communication channel itself — TLS, pinning, and downgrade resistance — while M1 tests how credentials are stored and handled on the device. A pinning bypass under M5 often exposes the same tokens that M1 testing evaluates separately.
What frameworks require M5-style testing?
PCI DSS Requirement 4, HIPAA's transmission security rule, SOC 2 security criteria, and ISO 27001 Annex A.8.24 all require evidence that data in transit is protected with strong cryptography, which maps directly to M5 testing requirements.
How long does M5 testing take in a mobile pentest?
M5 testing is typically one module within a broader mobile application penetration test rather than a standalone engagement, scoped alongside authentication, authorization, and binary protection testing across the same build.
One Last Thing
The most overlooked M5 failure is not the login flow — it is the analytics SDK a team never reviewed because it shipped inside a third-party package. Full traffic mapping before any pinning bypass attempt catches this category of finding that endpoint-focused testing consistently misses.
Apps handling payment or health data cannot treat M5 as a one-time check. Pair it with OWASP Mobile M7 insufficient binary protections testing in the same engagement, since an attacker who defeats binary protections can often extract the pinning logic itself and script around it offline.
Get your mobile app tested for M5
Manual pinning bypass and TLS testing across every endpoint, not just login.
Related Guides

Tejas K. Dhokane is a marketing associate at AppSecure Security, driving initiatives across strategy, communication, and brand positioning. He works closely with security and engineering teams to translate technical depth into clear value propositions, build campaigns that resonate with CISOs and risk leaders, and strengthen AppSecure’s presence across digital channels. His work spans content, GTM, messaging architecture, and narrative development supporting AppSecure’s mission to bring disciplined, expert-led security testing to global enterprises.
























































































.webp)
