Svashasan Logo
Simulated data

Functional Safety and Automotive Cybersecurity · Platform security

Secure Boot

Also known as Verified boot, Authenticated boot, Trusted Board Boot, Chain-of-trust boot

IntermediateSource-checked · awaiting technical reviewLast reviewed 6 December 2026

A start-up process in which each stage of boot software is cryptographically checked before it runs, so a processor or ECU executes only firmware authenticated with keys anchored in a trusted, tamper-resistant root.

Explanation

Secure boot protects the integrity and authenticity of the code an electronic control unit (ECU) or system-on-chip executes after reset. Verification begins in a root of trust, typically immutable boot ROM together with a protected public key, key hash or secret key, and continues stage by stage: each verified stage checks the next before handing over control, forming a chain of trust.

Implementations differ. Application processors usually verify digital signatures over certificate chains; Arm Trusted Firmware-A's Trusted Board Boot is a documented example. Many automotive microcontrollers instead use a hardware security module or the AUTOSAR-specified Secure Hardware Extension (SHE), which checks an AES-based CMAC over the bootloader and keeps boot-protected keys locked unless the check succeeds.

Secure boot differs from measured boot, which records hashes of each stage for later attestation rather than blocking execution. Its protection covers only what is verified (the SHE specification notes that its secure boot does not directly protect application software), it cannot stop exploitation of signed but vulnerable code, and it is only as strong as the protection of the root and signing keys.

How it works

At reset the CPU runs immutable boot code, or a hardware security block, that holds or can verify a root key. It authenticates the first-stage bootloader by checking a signature or MAC over the image. Each verified stage then repeats the check for the next image (later bootloaders, hypervisor or RTOS, applications), comparing computed hashes with values carried in signed metadata or certificates. If a check fails, the design determines the reaction: halt, switch to a recovery image, or withhold keys. Trusted Firmware-A, for instance, panics on any verification failure.

Automotive applications

  • Preventing modified firmware from running on ECUs and domain controllers
  • Releasing boot-protected keys only after a successful integrity check
  • Anchoring the chain of trust for hypervisor, RTOS and Linux stacks on SoCs
  • Providing a verified base for over-the-air software updates

Example

A body-control microcontroller with a SHE-compatible security block stores a boot MAC key. At each reset the bootloader image is streamed through the block, which compares its CMAC with the stored reference value; if they differ, keys flagged for boot protection stay locked, so authenticated CAN messaging cannot start.

An illustrative example: any figures in it are worked numbers, not measurements.

References

  1. Trusted Board Boot (Trusted Firmware-A design documentation) (opens in a new tab)

    TrustedFirmware.org · Project documentation · Chain of trust and image verification · retrieved 6 December 2026

    “The system panics if any of the steps fail.”
  2. Specification of Secure Hardware Extensions (AUTOSAR FO R25-11) (opens in a new tab)

    AUTOSAR · Specification · Secure boot (CMD_SECURE_BOOT); read via search index · retrieved 6 December 2026

  3. NIST IR 8320: Hardware-Enabled Security: Enabling a Layered Approach to Platform Security for Cloud and Edge Computing Use Cases (opens in a new tab)

    National Institute of Standards and Technology (NIST) · Publication · 3.2 The Chain of Trust (CoT) · retrieved 6 December 2026

Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.