Boot ROM Security on Silicon Macs (M1/M2/M3) - Olivia A. Gallucci

· Olivia A. Gallucci ·

9 min read Original article ↗

On an Apple silicon Mac, the very first code that runs is burned into the chip and can never be updated. That makes it the root of trust for everything that follows. It is also why a Boot ROM bug can never be patched on existing hardware, as checkm8 showed on every iPhone from the 4S to the X. This post covers what the Boot ROM does, how it protects the boot chain, and the exploits that shaped its design.

Booting is the process of starting a computer by loading the operating system into memory. It’s called that as a shorthand for “bootstrapping,” referring to the system metaphorically pulling itself up by its own bootstraps to become fully operational. It has multiple steps to progressively verify and load components, while maintaining the computer’s security. Apple Silicon (M1/M2/M3) introduced a new macOS boot architecture resembling that of iPhones and iPads. The entire boot process follows a chain of trust, where each stage cryptographically verifies the next. 

Today, I am starting a 4-part series. It will explore the boot stages on Apple Silicon Macs, and the security designs within them. When possible, I will cover how to see these boot stages on your Mac! Best of all, I document the history of boot exploits in each stage. If I missed an important exploit, please let me know. 

The series so far: Part 1, Boot ROM (you are here) → Part 2, Low-Level Bootloader (LLB) → Part 3, iBoot.

Boot ROM (SecureROM) stage

When a Silicon Mac powers on, the on-chip Boot ROM (also called SecureROM) executes first. A Boot ROM is read-only memory that stores the initial code a device runs at startup to initialize hardware and load the operating system or firmware. On Apple silicon, it is built into the SoC rather than sitting on a separate chip.

Want to see your Mac’s boot firmware version without digging through menus? In Terminal, run system_profiler SPHardwareDataType | grep -E "Firmware|Loader". On Apple silicon, this prints the System Firmware Version (iBoot) and the OS Loader Version. macOS doesn’t show a Boot ROM version, and firmware updates never change the Boot ROM.

​The Boot ROM code is built into the system-on-a-chip (SoC) hardware, and cannot be altered by software updates. Its primary job is to initialize the processor and verify and load the next-stage boot loader.

The Boot ROM contains Apple’s root of trust (public key material) used to validate the signature of the next component (aka, the Low-Level Bootloader, which will be my next post). If this verification fails (e.g., due to corruption or an unauthorized component), the Boot ROM will not proceed to normal boot. Instead, the Mac falls back to DFU mode. 

Device Firmware Update (DFU)

In DFU mode, the Mac waits for a host computer to connect over USB and restore a valid image. ​

This design ensures that unsigned or tampered boot code cannot run. Either the chain of trust continues successfully, or the Mac stops for repair: DFU mode if the Boot ROM can’t verify LLB, or recoveryOS for some later failures.

Flowchart of the Apple silicon boot chain: Boot ROM verifies LLB, LLB verifies and loads iBoot2, and verification failures fall back to DFU mode.

Diagram by Dr. Howard Oakley 

How can I see the SecureROM stage on my mac? The best I’ve found on the Mac today is: an easier method to put a MacBook into DFU mode by Kevin M. Cox 

SecureROM security

Apple’s diagram of the Mac boot process, from the Boot ROM validating the LLB signature, through LocalPolicy checks and iBoot stage 2, to macOS.

Boot process for a Mac with Apple silicon (source). 

The Boot ROM is stored in read-only memory on the SoC, preventing malware from modifying it. 

Its code is minimal and purpose-built, reducing potential attack surface. It includes only basic hardware support (e.g., just enough USB for DFU, basic flash storage access) to minimize vulnerabilities. 

The Boot ROM holds Apple root certificates or public keys used to check that the next-stage bootloader is genuinely Apple-signed. 

A root certificate is a trusted cryptographic credential embedded in the Boot ROM that verifies the authenticity of Apple’s digital signatures during the boot process.

On iOS and Silicon, this often involves a personalized signature tied to the device’s unique ID for the highest security. On Macs configured for “Full Security” (the default), the Boot ROM and LLB help ensure that the bootloader’s Apple signature was issued for that specific Mac. Full Security also only allows software that was the latest available when it was installed, which helps prevent rollback to older, possibly vulnerable, boot code. Thus, from the first instruction, Silicon Macs enforce Secure Boot via cryptographic signature checks.

Boot ROM attacks

Because the Boot ROM is read-only and executed before any user control, vulnerabilities here are rare but mega powerful if found. A Boot ROM exploit enables code execution at the earliest stage, potentially bypassing all subsequent signature checks.

Historically, iOS devices had these exploits. For example, Checkm8 (2019) was an exploit targeting the Boot ROM (“SecureROM”) of iPhones up to the A11 chip. Checkm8 could not be patched on existing hardware, so those devices can always be jailbroken, although the exploit has to be rerun after each reboot. 

The same vulnerability was found to affect the Apple T2 security chip, which is essentially an A10 in older Intel Macs. In 2020, researchers demonstrated that the T2’s Boot ROM was vulnerable to Checkm8, allowing untrusted code execution in the T2 at boot. This meant an attacker with physical access could put a T2-equipped Mac in DFU mode, use the exploit to gain code execution in the T2’s secure boot process, and thereby bypass its security functions (e.g., disabling firmware password, altering Secure Boot settings, or installing a keylogger in the T2 which manages keyboard input). 

Apple could not patch this on existing T2 chips because the flaw was in ROM. Fortunately, code running via this exploit was not persistent; it had to be redone after each reboot, since the Boot ROM itself can’t be modified.

Apple silicon (M-series)

To my knowledge, no Boot ROM exploits have been publicly disclosed for M-series chips. The Boot ROM in these newer chips appears to have avoided the mistakes present in earlier designs. Nonetheless, any flaw in the Boot ROM would be “game over,” as it could permanently undermine the chain of trust.

Update (November 2026): In June 2026, researchers disclosed usbliter8, a Boot ROM exploit for A12, A13, S4, and S5 chips. It needs physical access and DFU mode, and it cannot be patched on existing hardware. It does not change the checkm8 history above, and I still know of no public Boot ROM exploit for M1, M2, or M3.

Past iPhone exploits (like the 2010 “limera1n” on A4, or Checkm8 on A5-A11) illustrate the risk. If I had this type of exploit, I could execute arbitrary code early in the boot process, potentially subverting all higher-layer defenses. 

​Here, Apple’s approach has been to keep the Boot ROM as simple and heavily audited as possible, and to address any discovered flaws by revising the hardware in the next chip generation. For example, A12 and later chips (including M1, M2, and M3) were already not exploitable by checkm8 when it became public. The lack of UEFI firmware on Silicon (unlike Intel Macs) also eliminates an entire class of firmware attacks. The Boot ROM implements secure boot directly, without a legacy BIOS/EFI, so I could not hook into option ROMs or UEFI drivers as I could on older systems.

Evolution

Because a Boot ROM bug cannot be patched post-manufacture, I think Apple’s strategy is prevention. In practice, this means auditing and limiting the Boot ROM’s capabilities. 

Silicon’s Boot ROM doesn’t support booting from arbitrary external media in the Boot ROM itself. 

Again, this is unlike Intel Macs, which could boot a UEFI bootloader directly from a USB drive. Apple silicon also doesn’t support option ROMs. 

Someone on Hacker News noted that iBoot (the later stage bootloader) “doesn’t support USB host mode to boot from USB disks, because the attack surface there is massive.” I agree with this assessment. 

Silicon achieves external boot by delegating more of it to higher-level code with user authorization, rather than in the immutable ROM. This design decision was probably intended to reduce potential vulnerabilities in the early boot processes.  

TLDR: Defenses at the Boot ROM stage include locked-down hardware, cryptographic verification of the next stage, minimal features, and a secure fallback (DFU) if anything is amiss. Everything here makes it extremely hard for an attacker to ever execute unauthorized code at this fundamental level.

🌸👋🏻 Enjoying this post? Get the next issue of [ret]2read. Once a month, I’ll email you whatever’s on my mind, usually Apple security research, offensive security, open source software freedom, and operating system internals.

After the Boot ROM authenticates and launches it, the Low-Level Bootloader (LLB) runs. Next in the series: Low-Level Bootloader (LLB) Security on macOS, which picks up exactly where this post leaves off.

Also, if you enjoyed this post, consider reading EDR Evasion with Lesser-Known Languages & macOS APIs.

Sources, thanks, and where to learn more 

A special thanks to Dr. Howard Oakley for all of his documentation on this process. I have never met him, but he is one of the primary inspirations and reasons (his blogs and tools) I can accessibly research Macs. Many of the sections in this post cite his work as the starting point. 

Standing on the shoulders

Media publications 

Wikis 

Apple documentation