01
## The hardware root of trust
iOS and modern Android stake everything on a hardware-isolated security processor. Apple's Secure Enclave is a separate coprocessor on the A-series and M-series SoC running its own kernel (sepOS), holding the device UID fused at manufacture, and gating Face ID, Touch ID, and key material. Apple's Platform Security Guide (https://support.apple.com/guide/security/welcome/web) is the canonical reference. On Android, the analogous component is the Titan M2 on Pixel and StrongBox-backed Keystore on most flagships, with Trusty TEE running on ARM TrustZone. The practical effect: even with full root on the application processor, an attacker cannot extract the device key or brute-force the user passcode without rate-limiting from a separate chip.
02
iOS: sandbox, signing, and the closed loop
Every iOS app runs inside a sandbox (App Sandbox / Seatbelt) with entitlements declared at signing time. Code signing is mandatory; the kernel refuses to execute unsigned pages, which is why iOS jailbreaks historically required a kernel exploit plus a code-signing bypass. App Store review and the notarization pipeline add a human and automated gate before binaries reach users. The 2021 introduction of BlastDoor (Samuel Gross, Project Zero, https://googleprojectzero.blogspot.com/2021/01/a-look-at-imessage-in-ios-14.html) re-architected iMessage parsing into a tightly sandboxed Swift service specifically to kill the zero-click attack class. Lockdown Mode, shipped in iOS 16, disables JIT, link previews, attachment types, and configuration profiles — accepting a worse UX for a smaller attack surface.
03
Android: verified boot, SELinux, and Play Protect
Android Verified Boot (AVB) chains trust from the bootloader through every partition, rolling back compromised devices on boot. SELinux runs in enforcing mode, partitioning system, vendor, and app domains so that a compromised app cannot trivially escalate. Project Mainline (https://source.android.com/docs/core/ota/modular-system) ships security-critical modules — media codecs, conscrypt, DNS resolver — through Play Store rather than carrier OTAs, closing the historical "Stagefright patched in three months if you're lucky" gap. Play Protect scans 125 billion installed apps daily per Google's 2024 report (https://security.googleblog.com/2024/04/google-protects-your-accounts-even-when.html). The Android Security Bulletin (https://source.android.com/docs/security/bulletin) publishes monthly CVE-level disclosure; Pixel patches arrive day-of, OEM patches arrive whenever.
04
MDM: managing fleets without owning them
Microsoft Intune, Jamf Pro (Apple-only, the de facto standard for Mac and iOS fleets), and VMware Workspace ONE are the three platforms most enterprises run. They use Apple's MDM protocol or Android Enterprise APIs to push configuration profiles, enforce passcode policy, install managed apps, wipe lost devices, and segment work data via Work Profiles (Android) or User Enrollment (iOS). The hard problem is BYOD: an employee owns the device, so the MDM has to manage corporate data without surveilling personal apps. Apple's User Enrollment and Android's Work Profile both implement cryptographic separation — managed apps cannot read personal data, IT cannot read personal apps. The 2024 NIST SP 800-124 Rev 2 (https://csrc.nist.gov/pubs/sp/800/124/r2/final) is the current federal guidance.
05
NSO Pegasus and the zero-click era
Pegasus, sold by Israeli vendor NSO Group, became the canonical mobile mercenary spyware after Citizen Lab's 2016 disclosure of the Trident exploit chain against UAE dissident Ahmed Mansoor (https://citizenlab.ca/2016/08/million-dollar-dissident-iphone-zero-day-nso-group-uae/). The FORCEDENTRY chain analyzed by Project Zero in 2021 (https://googleprojectzero.blogspot.com/2021/12/a-deep-dive-into-nso-zero-click.html) — an integer overflow in CoreGraphics JBIG2 parsing inside iMessage, escalated via a virtual CPU built out of JBIG2 boolean operators — is one of the most technically impressive offensive engineering writeups ever published. The US Commerce Department added NSO to the Entity List in November 2021. Pegasus is the reason Lockdown Mode exists.
06
Operation Triangulation
Kaspersky's June 2023 disclosure of Operation Triangulation (https://securelist.com/operation-triangulation/109842/), affecting Kaspersky's own employees' iPhones, revealed a four-vulnerability iMessage chain abusing an undocumented hardware feature — a debug interface in the Apple SoC that bypassed the page protection layer (CVE-2023-38606). Boris Larin's Chaos Communication Congress talk laid out the chain in full. The campaign had run for years undetected. The lesson for defenders: even fully patched, attended-by-experts iPhones get owned by nation-state chains, and the only mitigation in real time is the network telemetry that revealed Triangulation in the first place.
07
Android banking trojans
Cerberus, leaked publicly in 2020 after its operators tried to auction the source for $100K, spawned the Alien, ERMAC, Hook, and Octo families that still dominate Android banking fraud. They abuse Accessibility Services to read screen contents, inject overlay attacks on banking apps, and intercept SMS 2FA. ThreatFabric's quarterly mobile threat reports (https://www.threatfabric.com/blog) track the lineage. The 2023 Anatsa campaign distributed through Google Play droppers infected 30,000+ devices before takedown. Defense is mostly platform-side: Play Protect heuristics, restricted Accessibility access for sideloaded apps in Android 13+, and Google's 2024 anti-fraud restrictions on sideload-installed apps in pilot markets.
08
SIM swap and the carrier weak link
The phone number, treated as an authenticator since SMS 2FA went mainstream, is owned by the carrier, not the user. SIM-swap fraud — convincing or bribing a carrier rep to port a number to an attacker-controlled SIM — drained $72M from US victims in 2023 per the FBI IC3 report (https://www.ic3.gov/Media/PDF/AnnualReport/2023_IC3Report.pdf). Joseph Cox's reporting in 404 Media (https://www.404media.co/) and his book *Dark Wire* document the criminal economy around T-Mobile insider access. Mitigation: move every account possible off SMS 2FA, use carrier port-out PINs, and treat SMS as a notification channel, not an authentication factor.
09
BYOD and the expanding surface
The 2020s phone holds Slack, Teams, Okta Verify, Authy, the corporate VPN client, customer PII in email, and the SSH key the engineer uses to push to production. Verizon's 2024 Mobile Security Index (https://www.verizon.com/business/resources/reports/mobile-security-index/) reports 53% of organizations suffered a mobile-related compromise in the prior year. The defensive playbook is unglamorous: enforce MDM enrollment for any device touching corporate data, require passcode and biometric, mandate OS version floors, scope BYOD access to managed apps only, and run a mobile threat defense (MTD) product — Lookout, Zimperium, Wandera — for jailbreak/root detection and network anomaly alerts.
10
Where to read more
- Apple Platform Security Guide — https://support.apple.com/guide/security/welcome/web
- Android Source — Security — https://source.android.com/docs/security
- Citizen Lab Pegasus archive — https://citizenlab.ca/category/research/targeted-threats/
- Project Zero on FORCEDENTRY — https://googleprojectzero.blogspot.com/2021/12/a-deep-dive-into-nso-zero-click.html
- Kaspersky Operation Triangulation — https://securelist.com/operation-triangulation/109842/
- ThreatFabric mobile threat reports — https://www.threatfabric.com/blog
- NIST SP 800-124 Rev 2 — https://csrc.nist.gov/pubs/sp/800/124/r2/final