Functional Safety and Automotive Cybersecurity · Platform security
Hardware Root of Trust
Also known as HW RoT, Root of trust, RoT, Hardware trust anchor
A hardware-protected component, such as immutable boot ROM with protected key material or an on-chip security module, that is trusted by design because nothing beneath it can check it, and that anchors functions such as secure boot, key storage and attestation.
Explanation
NIST SP 800-193 describes a root of trust as an element that provides the basis for security functions such as measurement, storage, reporting, verification, recovery and update. Because its misbehaviour cannot be detected by anything below it, it must be designed always to behave as expected; it usually anchors a chain of trust, and vendors protect it by making it immutable or by authenticating any change to it.
Implementing the root in hardware makes it harder to alter than a firmware-only root and, according to NIST IR 8320, can present a smaller attack surface when its code base is small. Automotive examples include immutable boot ROM combined with a root key hash in protected on-chip storage, hardware security modules (HSMs) integrated in microcontrollers, and the AUTOSAR-specified Secure Hardware Extension (SHE), which moves control of cryptographic keys from software into hardware and performs its operations with AES-128.
A hardware root of trust does not make a system secure by itself. Its guarantees extend only as far as each later stage verifies the next, keys must be provisioned and managed securely, and physical attacks such as fault injection or side-channel analysis need separate evaluation.
How it works
During manufacturing, a root public-key hash or secret key is written into protected storage and locked. At reset, immutable code or a security engine uses it to verify the first mutable firmware, and each stage then verifies the next. The root can also hold measurements for attestation, keep keys used for secure communication out of reach of host software, and verify authenticated firmware updates and recovery images.
Automotive applications
- Secure boot of ECUs and SoCs
- Protected key storage for authenticated in-vehicle communication
- Authenticating firmware and over-the-air update packages
- Device identity and attestation for connected vehicles
Example
A zonal controller's microcontroller contains an HSM whose boot ROM and key store cannot be modified by host software. The HSM verifies the host firmware at start-up and only then releases the keys the host needs to authenticate its messages to other ECUs.
An illustrative example: any figures in it are worked numbers, not measurements.
References
- NIST SP 800-193 Platform Firmware Resiliency Guidelines (May 2018) (opens in a new tab)
- 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)
- Specification of Secure Hardware Extensions (AUTOSAR FO R25-11) (opens in a new tab)
Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.