Lesson 9 of 13 · 13m
Seeing Your Own Traffic
Nougat stopped trusting user CAs, Flutter ignores the proxy entirely, and QUIC sails past HTTP proxies on UDP 443 — lab interception needs the system store or transparent redirection.
The first wall: Nougat
The standard setup is boring on purpose: Burp Suite or mitmproxy on a laptop, the phone on the same network with its Wi-Fi proxy pointed at the laptop's port, and the proxy's CA installed on the device. On Android the CA lands in the user store — cacerts-added/ — and that used to be the whole job.
Android 7.0 ended it. Apps targeting API 24+ stopped trusting user-installed CAs by default; your release app will TLS-fail against Burp even with the cert installed correctly. The system store lives at /system/etc/security/cacerts/<subject-hash>.0 — files named like 5ed36f99.0 — and it's read-only. The paths around the wall:
<debug-overrides>innetwork_security_config.xmlwith<trust-anchors><certificates src="user"/></trust-anchors>— the intended answer: debug builds trust the user CA, release builds don't. This is why the config file exists.- Move the CA into the system store on a rooted device — Magisk modules (
MagiskTrustUserCerts,always-trust-user-certs) do it without remounting; on an emulator,-writable-systemplusadb rootlets you push5ed36f99.0directly. - Repackage the app with a modified config trusting
usercerts — works without root, but invalidates the signature and any integrity checks. - Hook the TLS layer at runtime — a Frida script that forces
checkServerTrusted/ATS to succeed, which is also how you'd disable pinning on a test build.
On Android 14 the cert store moved into the updatable Conscrypt APEX module (com.android.conscrypt), delivered via Google Play — details changed, the user-vs-system split didn't.
When the proxy sees nothing
Two failure modes eat hours.
HTTP/3. QUIC runs on UDP 443 and HTTP proxies are TCP things. An app negotiating QUIC bypasses Burp entirely while looking like normal fast traffic. The fix is crude and standard: block outbound UDP 443 at the network edge — the app falls back to TCP and appears in the proxy.
Non-proxy-aware stacks. OkHttp and HttpURLConnection honor the system proxy; raw Socket code and several native HTTP stacks don't. The notorious case is Flutter: the Dart engine ships its own BoringSSL with a compiled-in root bundle and ignores both Android's proxy setting and the user CA store. Proxying Flutter traffic requires a transparent proxy — redirect at the network layer on a rooted device or emulator (iptables REDIRECT to mitmproxy's --mode transparent, or a VPN-based tool like ProxyGen) — plus handling Dart's hardcoded CA trust. RN, Xamarin, and dart:io clients have their own CA decisions; assume nothing about HttpClient.badCertificateCallback until you've read the app's own stack.
Reading what you caught
Once TLS is open, the traffic tells you the app's actual behavior: the analytics SDKs phoning home on domains your manifest never mentions, the Authorization header shape, whether the API leaks more than the UI shows, whether Set-Cookie carries Secure/HttpOnly, which endpoints your feature list doesn't cover. MobSF's runtime view or mitmproxy's saved flows are the audit artifact — what the app does, not what the manifest intends.
iOS needs no CA drama at the device level — install the proxy CA in Settings → Profile, then enable it under Settings → General → About → Certificate Trust Settings (the second toggle people forget). Jailbroken devices plus objection's ios sslpinning disable handle pinned apps.
The wrong model
"TLS means I can't see the traffic" — the pentester's version of the user's complaint. TLS protects you from the network, not from a device whose trust store its owner controls. Your own app is inspectable end-to-end; the only question is how much labor the inspection costs.
Practice
- Keep a rooted test device (or
-writable-systememulator + Magisk viarootAVD) with the proxy CA in the system store. - Verify proxy pathing with
curl --proxyfrom the device first — fix the network before blaming the app. - Block UDP 443 when traffic looks invisible.
- Flutter/Dart: expect transparent proxying, don't waste time on the Wi-Fi proxy field.
- Document what your release build trusts:
<debug-overrides>only, never a releaseusertrust-anchor.
Was this lesson helpful?
Keep reading
Related articles from the SudoSecurity blog.
They Got Root on a Fully Patched Ivanti VPN and the Integrity Checker Said Everything Was Fine
Volexity caught an attacker chaining zero-days into unauthenticated root on an Ivanti Connect Secure appliance running the latest build. The payload never touched disk, commands rode in over the same HTTPS requests as the exploit, and Ivanti's Integrity Checker reported no modifications.
Gitea Shipped 21 CVEs in One Release and Eleven of Them Are the Same Bug
Gitea 28.3.0 landed November 1 with twenty-one CVE fixes. Read the list and a pattern jumps out: more than half are the same failure repeated across different route handlers, where a token scoped to public data gets handed private data anyway. That's not twenty-one mistakes.
php2shell: The PHP Bug That Fires Before Your Code Runs
Two critical PHP flaws landed October 21 and were in CISA's exploited-vulnerabilities catalog five days later. The 9.2 score isn't the part that should bother you. It's where the bug lives — it goes off while PHP is still assembling $_POST, before a single line of your application has run.
A Certificate Authority's Private Keys Were the Numbers 4, 56 and 66
Eight eMudhra intermediate CA keys turned out to be recoverable from their own public certificates. Not stolen — computable, because the key generation produced almost no entropy. A researcher pulled all eight in under a second and signed a message with each one to prove it.