The four boxes at the back form iOS's Secure Boot Chain: Boot ROM (immutable, laser-etched into silicon — the hardware root of trust that nothing can patch), LLB (Low-Level Bootloader), iBoot, and the kernel. Boot ROM always executes as-is, then each stage must cryptographically verify the digital signature of the *next* stage, using Apple's public key, before handing off execution to it. With clean firmware every signature checks out and the chain lights up green all the way to the kernel. With tampered firmware, iBoot's signature no longer matches what Boot ROM/LLB expect — the check fails, the link turns red, and the chain halts right there: the modified stage never runs, and every stage after it stays dark and locked.
The two boxes up front are separate apps, each confined to its own sandbox container by the kernel — a per-app jail that stops one app from touching another's files, keychain entries, or memory. A direct cross-app read attempt is refused at the kernel boundary itself, no matter how the malicious app asks. The only sanctioned path to another app's data is through a system framework and the OS's permission broker, which pauses to ask the user for consent; only after the user approves does data flow back, one hop at a time, through the broker.
stage[n+1] runs ⇔ verify(sig(stage[n+1]), pubkey) == valid (chain halts otherwise)
crossAppRead(A, B.container) → DENIED by kernel, always
crossAppRead(A, B.data) via broker + user consent → ALLOWED, mediated
- Firmware toggle — chooses whether the image loaded at each stage is the one Apple signed, or one an attacker altered; only iBoot's signature is affected when tampered.
- Start boot verification — steps through Boot ROM → LLB → iBoot → kernel one signature check at a time, so you can see exactly which link breaks.
- Simulate sandbox escape attempt — the malicious app tries to read the victim app's container directly; the kernel enforces the boundary regardless of intent.
- Request permission-gated API access — the same data, requested the sanctioned way: through the broker, gated on user consent, one hop at a time.
Real-world relevance: this is why a jailbreak needs a boot-chain exploit to run unsigned code at all, and why iOS malware cannot simply "read another app's data" — every access to another app's private container has to go through an entitlement-checked system API and, for anything sensitive, the user themselves.