← Back to section · Hardware & Chips
The Secure Boot Chain: Every Stage Verifies the Next Before Handing Over
Secure boot starts from a small immutable ROM and verifies signatures stage by stage, so the trust of the whole software stack traces back to one hash in the fuses. The chain's strength depends on its weakest stage — and on revocation and anti-rollback keeping up.
Why should the first line of code a device runs at power-on be trusted? Secure boot answers with a chain: starting from a small piece of code in hardware that cannot be changed, every stage verifies the digital signature of the next before handing over control, and if any stage fails verification, boot stops there. The trust of the entire software stack — bootloader, kernel, system services — ultimately traces back to a single public-key hash burned into fuses at manufacture. This chain is the most fundamental contract between secure chips and platform security.
The Start of the Chain: ROM and Fuses
The first link must be immutable, or the whole chain is meaningless. The processor’s boot ROM is fixed at mask time and never changes for the life of the chip; it contains the initial verification logic and the hash of the root public key. The root key itself may live in external flash, but its hash is burned into one-time-programmable fuses (eFuses): the ROM checks the key against the fused hash, then uses the key to verify the signature of the first-stage bootloader. Even if an attacker rewrites the public key in flash, they cannot produce another key matching the fused hash.
This starting point has a price: rigidity. A defect in ROM code cannot be fixed by update, only worked around by later stages; a wrongly burned fuse is irreversible. For exactly this reason, the boot ROM undergoes formal verification and review far beyond ordinary code before tape-out: every line of it must answer for the fact that it can never be changed. The ROM is therefore deliberately kept tiny and simple, doing only a few things — fetch the key, check the hash, verify the signature, jump — leaving complexity to updatable later stages. The design philosophy of a root of trust is already visible here: the closer to the root, the smaller, dumber and more immutable it must be.
Extending Stage by Stage: Verify, Measure, Hand Over
From the first-stage bootloader onward, every stage repeats the same pattern: load the next image, check its integrity and signature, check its version if required, then jump to it. In addition, each stage’s configuration data — boot parameters, device trees, security policies — must equally fall within signature coverage: genuine code with tampered configuration still yields an untrustworthy boot, and quite a few real-world bypasses have entered precisely through unprotected configuration data. Signature verification guarantees the code comes from an authorised party and is unmodified; some implementations also extend the next stage’s measurement into a TPM’s PCRs before jumping, so one chain produces two kinds of evidence at once: local “allow/block” decisions and records usable for remote attestation.
Two philosophies should be distinguished here. Verified (secure) boot aims to block: wrong signature, no execution. Measured boot aims to record: everything runs, but every step is faithfully logged for later judgement by local policy or a remote verifier. They are not mutually exclusive: phones and game consoles emphasise the former, while enterprise servers commonly use both — the sealing and attestation discussed in the TPM article are built exactly on such measurement records. Each stage of the chain is also an interception point for attackers: fault injection that skips verification, debug interfaces left open, and flaws in signature-verification implementations have all, on real devices, reduced entire chains to decoration.
One Chain, Different Devices
The boot chain’s shape varies by device. UEFI Secure Boot on PCs places the root of trust in motherboard firmware and vendor-provisioned key databases; users can add or remove keys in the setup interface — flexible, but the management responsibility lands on users and system manufacturers. Verified boot on phones binds the chain to system updates and rollback protection, and must show the user boot warnings about whether the device runs the official system or an unlocked state. Embedded and IoT devices often fold the whole chain into the processor vendor’s ROM-and-fuse system — simple and reliable, but keys and revocation bits are fixed at the factory with almost no room for later adjustment.
Different shapes fail differently: PCs have seen poorly managed signature databases and bootloader vulnerabilities, phones have seen abused unlocking mechanisms and ignored warnings, and embedded devices have fallen to debug interfaces left open and production fuses never burned. This is also why comparing devices by “does it have secure boot” is of limited use — having a chain is merely the entry ticket; how the chain is custodied is the watershed. When examining a boot chain, first establish which shape it takes and in whose hands the root of trust rests; that is more useful than auditing signature algorithms item by item.
Revocation and Anti-Rollback: Keeping the Chain from Depreciating
After deployment, the chain must face time. Signing keys may leak or need rotation, and vulnerabilities will be found in old firmware — if a device accepts any historically signed firmware, an attacker need only roll back to a holed old version. The chain therefore needs two maintenance mechanisms. First, key revocation: reserved revocation bits in the fuses can void old root keys one by one, and the ROM trusts only keys not yet revoked. Second, anti-rollback: a fuse counter or a monotonic version number in protected storage records the lowest acceptable version seen, and images below it are refused even with valid signatures.
Both mechanisms cost irreversible resources: revocation bits and counters only move forward, so their quantity must be planned for the product’s whole lifecycle. The update mechanism itself must join the chain: upgrade packages are signature-verified too, and a power loss mid-update must not brick the device, hence engineering arrangements such as A/B partitions and recovery images. The full picture of secure boot is thus more than a few seconds of verification at power-on; it is a long-term order spanning manufacture, deployment, update and retirement: immutable at the start, revocable along the way, and versions that only move forward.
Tags: Secure BootChain of TrustFirmware VerificationAnti-Rollback