Attribution
The T2 security chip in 2018-2020 Macs contains a boot ROM vulnerability that allows an attacker with physical access to run unsigned code, bypassing secure boot and gaining root access. This enables tampering with the boot process, such as injecting a keylogger or bypassing activation lock.
ironpeak.be
Published on ironpeak.be
Skip to #security-issues for the technical mumbo-jumbo.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a boot ROM vulnerability in the T2 chip's SecureROM (similar to checkm8) that allows unsigned code execution in DFU mode, which cannot be patched because it is in read-only memory.
Impact
An attacker with physical access could bypass secure boot, inject a keylogger to capture passwords, bypass activation lock, and load arbitrary kernel extensions; FileVault2 encryption prevents immediate data access but the attacker could brute-force the password.
What the attacker needed
Physical access to the device; device powered off or in DFU mode; malicious USB-C cable or hardware implant
The fix
The vulnerability cannot be patched in existing hardware; Apple would need to release a new hardware revision, and users should avoid leaving devices unattended.
How it was found
- Put the T2 into DFU mode.
- Use the checkm8 exploit to run unsigned code in DFU.
- Enable debug interfaces.
- Gain root access and kernel execution on the T2.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
The T2 is a separate chip in recent Macs that checks the computer starts up safely. A flaw in its early startup code lets someone with physical access take control of that chip, so they can change how the Mac boots and spy on what you type.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.