Course
Mobile App Security
Android and iOS app internals, on-device storage pitfalls, certificate pinning, mobile reverse engineering, and the platform-specific bug classes — from APK anatomy to Play Integrity attestation.
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.
Reviews
Enrolled members can rate this course.
No reviews yet.
How Mobile Apps Actually Work
What an APK or IPA really is, what the sandbox and permissions actually gate, and which components other apps on the device can reach.
- 01Inside the PackageAn APK is a zip with DEX, a binary manifest, and a signature scheme whose v1 design let Janus prepend hostile DEX code — an IPA is the same archive shape under Apple's per-byte code signature.12mOpen
- 02The Sandbox and the Permission LieEvery Android app is a separate Linux UID under SELinux and seccomp; the permission list gates framework APIs, not what the app does with Accessibility and overlay powers users hand it.12mOpen
- 03Intents, Deep Links, and Exported ComponentsManifest-declared components are callable IPC — implicit exported defaults pre-Android 12, unverifiable custom schemes, intent redirection, mutable PendingIntents, and provider path traversal.13mOpen
Where Apps Leak: Storage and Secrets
The real destinations for stored data — prefs, backups, logs, clipboard, snapshots — and how Keystore, Keychain, and key hygiene actually protect it.
- 01Where Data Actually LandsSharedPreferences and NSUserDefaults are plaintext XML/plist, backups ship private dirs off-device, logcat and switcher snapshots leak the screen — the sandbox only stops other apps on a stock phone.13mOpen
- 02Keystore and Keychain: Doing It RightAndroid Keystore and the iOS Keychain keep key bytes in hardware and hand you a handle — accessibility classes, biometric gating, and synchronizable flags decide who can ever read them.12mOpen
- 03There Are No Secrets in the BinaryEvery constant you ship is extractable in minutes, so mobile OAuth runs PKCE without client secrets and privileged keys live server-side — obfuscation renames names, never data.11mOpen
Talking to the Server
Cleartext and trust-anchor policy on both platforms, what certificate pinning buys and breaks, and how to intercept your own app's traffic in a lab.
- 01TLS Is Not a GivenCleartext permission is a per-app, per-SDK policy decision set in networkSecurityConfig and the ATS dict — one staging exemption or NSAllowsArbitraryLoads silently undoes it.10mOpen
- 02Certificate Pinning: What It Buys and What It BreaksPin the intermediate's SPKI with a backup pin, accept that expiry is a brick event and objection defeats it on-device in minutes — pinning fights the network, not the device owner.13mOpen
- 03Seeing Your Own TrafficNougat 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.13mOpen
Breaking It: Analysis and Hardening
Static and dynamic analysis of mobile binaries, the platform bug classes that actually ship, and what attestation can and cannot prove.
- 01Reading the Binaryapktool and jadx turn a release APK into a searchable codebase, smali grep finds the dangerous calls, and a FairPlay-encrypted Mach-O needs a jailbroken dump before Ghidra can read it.12mOpen
- 02Frida, objection, and the Rooted DeviceFrida hooks the live process — objection's `sslpinning disable` proves pinning is a speed bump — while Magisk, Gadget repacks, and jailbreaks decide how deep instrumentation goes.13mOpen
- 03The Bugs You'll Actually FindaddJavascriptInterface RCE, intent redirection, overlay tapjacking, StrandHogg task hijack, pasteboard snooping, and scheme collisions — the recurring platform bug classes with their CVEs.14mOpen
- 04Hardening, Detection, and AttestationR8 obfuscates names, root/jailbreak detection is a cost dial bypassable in one Frida session, and Play Integrity or App Attest only mean anything when verified on your server.12mOpen