Hardware Security: Advanced Topics and Trends
Which correctly describes the mechanism of DICE (Device Identifier Composition Engine) defined by the TCG?
- AThe same secret value is placed in every device, and even when firmware is updated and changes, the same key as at manufacturing continues to be used forever
- BA new key is downloaded from a server over the network at every boot, and the device is made to hold no secret value at all
- CEach layer's secret is derived from the device-unique secret and the measurement of the next layer's firmware, and each layer makes its own secret unreadable before moving on
Show answer and explanation
Answer: C. Each layer's secret is derived from the device-unique secret and the measurement of the next layer's firmware, and each layer makes its own secret unreadable before moving on
In DICE, the small piece of hardware or ROM code that runs right after power-on derives a secret called the CDI with a one-way function from the device-unique secret (UDS) and the hash of the firmware that runs first. That firmware in turn uses the measurement of the next layer to derive the next layer's CDI and erases its own CDI before handing over control. If firmware is rewritten, the derived secrets change, so tampered firmware cannot claim the correct key, and even if a later layer is taken over, the secrets of earlier layers do not leak. Device identity and attestation can be realized with little hardware even on small microcontrollers without a TPM.
- A. Because keys are derived from per-device secrets and measurements, they differ per device and per firmware.
- B. The secret is derived inside the device; it is not received from a server each time.
- C. Correct. Each layer derives secrets from measurements and hides its own secret from the next layer.
Continue: 9 more Hardware Security: Advanced Topics and Trends questions