Course contentsShow
← Security
Lesson 2771 of 3,05252. Embedded and IoT SecurityFree lesson

Hardware Root of Trust and TPM

Trusted Platform Modules and hardware security modules that provide cryptographic key storage and attestation capabilities.

Hardware Root of Trust and TPM

You'll learn how dedicated hardware modules provide tamper-resistant cryptographic foundations for device security.

What Is a Hardware Root of Trust?

A Hardware Root of Trust (HRoT) is a dedicated, tamper-resistant component built into a device's hardware that serves as the ultimate anchor for security operations. Think of it as a vault manager who never leaves the vault—it's a separate processor with its own secure storage that handles cryptographic keys and security-critical operations in complete isolation from the main system.

Unlike software-based security (which an attacker can modify if they compromise the OS), hardware roots of trust are physically isolated and extremely difficult to tamper with. They provide a foundation of trust that even privileged software cannot undermine.

Trusted Platform Module (TPM)

The Trusted Platform Module is the most common implementation of a hardware root of trust. It's a dedicated microcontroller (either discrete chip or integrated into the CPU) that provides:

  • Secure key storage: Cryptographic keys never leave the TPM in plaintext
  • Platform attestation: Proves the device's identity and boot state to remote parties
  • Sealed storage: Encrypts data that can only be decrypted when specific system conditions are met
  • Random number generation: High-quality entropy for cryptographic operations

The TPM maintains Platform Configuration Registers (PCRs) that record measurements of firmware and boot components, creating an immutable audit trail of what software has run. This enables remote attestation—proving to a verifier that your device is in a known-good state.

Real-World Use

TPMs enable BitLocker disk encryption, Windows Hello authentication, and enterprise device health verification. They ensure that even if malware compromises your OS, it cannot extract encryption keys or forge your device's identity.

Key Takeaway: Hardware Roots of Trust and TPMs provide a physically isolated, tamper-resistant foundation for cryptographic operations and system integrity verification that software-only security cannot match.