Chain of Trust

A chain of trust is a sequence of components where each component verifies the next one before passing control to it. Trust in the final component follows from trust in the first.

Each verification relies on hash functions or digital signatures.

The first component is the root of trust. It is trusted without verification, so it must be immutable, typically a boot ROM or a hardware module.

Trust Chain

Boot Chain

Chain of Trust Six stages on a 3 by 2 grid, read as a snake. Each stage verifies the next one before passing control to it, starting from the root of trust. 1 Root of trust Boot ROM, TPM 2 Firmware UEFI 3 Bootloader GRUB 4 Kernel and initramfs Kernel image, ramdisk 5 Kernel modules and init Drivers, init system 6 Applications and data User programs, stored data
Each arrow means verifies: the stage it leaves checks the next one before passing control. Trust flows along the numbered path from the root of trust.

At each link:

  1. The current component computes a hash of the next one.
  2. The hash is compared against a known-good value or a digital signature.
  3. Control is passed only if the check succeeds.

Properties

  • Transitive
    Each link is trusted only because the previous link is trusted.
  • Broken at the weakest link
    A single unverified component lets an attacker compromise everything after it.
  • Ordered
    A component must be verified before it executes. Code that runs first can lie about everything after it.

A rootkit that infects a bootloader or the kernel breaks the chain, since the components below it can no longer be trusted.

Verification Modes

Secure Boot

Each stage checks the next stage’s signature against keys held by the firmware. A stage that fails the check is not executed.

Measured Boot

Each stage records a hash of the next stage in tamper-resistant storage before running it. Nothing is blocked. A separate party later decides whether the recorded values are acceptable.

Written by October 30, 2026 2 min read
Was this helpful?