Hardware Secure Boot
Open Compute Project · Bryan Kelly (editor)
An OCP specification defining hardware-based firmware-integrity requirements for cloud server components: a trusted key anchor, signature verification, revocation and change of ownership. The revision history of version 1.0 carries no date.
CC BY-SA 4.0: share with attribution under the same licence
On this page
Overview
The document notes that cloud servers consist of many processing devices and peripherals (accelerators, storage devices), all of which run firmware, internal or external. Until this document, servers had no standardised, open and consistent mechanism for authorising the devices that make up the server. Questions such as whether a network adapter still holds its manufacturer's initial firmware or has been reflashed by another party cannot be settled by procurement agreements or attestation alone; device integrity must be enforced by protection mechanisms across design, manufacturing, shipping, installation and operation.
The document asks three things of platform components: a mechanism to anchor a root-of-trust public key securely, verification of the device firmware signature with that key, and a way to revoke previously signed firmware. The terminology is deliberately limited: Secure Boot verifies the integrity of every piece of code before it executes (for example the signature of an approved signer), while Measured Boot collects hashes of every piece of code loaded and reports them securely through attestation. A secure-boot failure does not mean the device is bricked; a recovery policy is followed.
The design principles and requirements are: the first stage is an immutable source (for example a mask ROM) that authenticates the next mutable bootloader; authentication uses an immutable public key, key hash or hash table (hardware rooted) and no local secret such as an asymmetric private key; mutable code is authenticated at every boot or reload; and unauthenticated ROM patching and code are not permitted. Key or hash tables need at least SHA2-384 strength; recommended signature algorithms are RSA (3072 bit or higher, PSS) and ECDSA (384 bit or higher), with AES 256-bit for flash encryption.
The revocation and change-of-ownership section requires that manufacturer keys can be fully replaced by customer keys, or that both signatures are equally enforced on dual-signature devices; manufacturers must not keep master unlock keys, escrow keys, backdoor keys or recovery keys. Revoking active keys may be done only if one valid key remains, and revocation should be multi-phase and include updating redundant and recovery images. A boot or authentication failure must not leave the device unrecoverable, but all recovery paths must enforce digital signature verification of mutable code.
Key points
- Platform components must anchor a root-of-trust public key, verify firmware signatures with it and provide a way to revoke previously signed firmware.
- Secure Boot verifies every piece of code before execution; Measured Boot collects code digests and reports them via attestation; the document deliberately avoids other terms (verified boot, trusted boot).
- The first stage is an immutable source (such as a mask ROM) that authenticates the next mutable bootloader; no local secret or private key is used.
- Minimum strength for key or hash tables is SHA2-384; recommended signature algorithms are RSA 3072 bit or higher and ECDSA 384 bit or higher.
- Flash encryption is specified as AES 256-bit; encryption does not remove the need for digital signature and integrity checks.
- Manufacturers must not keep master unlock, escrow, backdoor or recovery keys; manufacturer keys must be replaced by customer keys or become secondary signatories.
- On dual-signature devices both signatures are equally enforced; the manufacturer signature cannot override the customer signature.
- Active keys may be revoked only if at least one valid key remains; revocation should be multi-phase and cover redundant and recovery images.
- A secure-boot failure must not leave the device unrecoverable; all recovery paths enforce signature verification.
Using it in design
- In server, BMC and peripheral specifications, write hardware-rooted secure boot (immutable first stage, key anchor, signature verification) with at least SHA2-384 and RSA 3072 or ECDSA 384 strength.
- In the purchase contract, require that the manufacturer holds no master unlock, escrow or backdoor keys and that keys can be replaced with customer keys on transfer of ownership.
- Verify that the device has enough OTP space for more than one root key or digest and supports revocation and key rotation; add key transfer and revocation steps to commissioning and maintenance procedures.
- Add to the design checklist that secure-boot failures are logged and that the recovery path also enforces signature verification (together with the secure firmware recovery document).
- Ask the supplier to confirm that the secure-boot configuration is attestable and works with the attestation document.
Who should read it
System and component designers, SIEM developers, and security and procurement teams at cloud service providers.
Document contents
- Executive Summary
- Purpose, audience, scope, syntax and conventions
- Guiding Principles
- Secure Boot Requirements
- Revocation and change of ownership Requirements
- Required Algorithms (measurements and digests, secure boot signatures, strength of algorithm)
- Secure Boot Flow (embedded public key, key manifest, manifest with hash table)
- Confidentiality
- Ownership and Revocation
- Device Recovery
Read the document
ocp-security-secure-boot-r4.pdf
CC BY-SA 4.0: share with attribution under the same licence
The document is provided unaltered because its licence permits redistribution.
Publication details
- Authors
- Bryan Kelly (editor)
- Publisher
- Open Compute Project
- Year
- Year not stated
- Document number
- Hardware Secure Boot
- Document language
- English
- Source type
- Industry body
- Access
- Open licence (downloadable)
- Licence
- CC BY-SA 4.0: share with attribution under the same licence
- Licence evidence
- www.opencompute.org
Original licence note
Creative Commons Attribution-ShareAlike 4.0 International; licence verified from the licence statement in the document itself. Attribution to the authors and publisher is kept; adaptations must keep the same licence.
Citation
Bryan Kelly (editor) Hardware Secure Boot. Open Compute Project. Hardware Secure Boot. https://www.opencompute.org/documents/secure-boot-2-pdf/
All content and rights belong to the respective authors and publishers. SoSo CAD provides only the citation, its own summary and a link to the source, and is not responsible for the sources' content.
