Tools

What Is a Trusted Platform Module (TPM)

Learn what a Trusted Platform Module (TPM) is, how it stores cryptographic secrets in hardware, and why it underpins Secure Boot, BitLocker, and Windows 11.

Editorial Team ·
9 min read intermediate

Introduction

When Microsoft announced that Windows 11 would require a Trusted Platform Module (TPM) 2.0, millions of users discovered their hardware was incompatible — and many had no idea what a TPM was or why it mattered. The backlash was significant: people resented being forced to buy new computers for a feature they didn’t understand. But the requirement was not arbitrary. A TPM fundamentally changes what security guarantees are possible on a PC. Without it, encryption keys for BitLocker live in software where sophisticated malware can extract them. Without it, there is no way for a remote server to verify that a laptop has not been tampered with before you connect it to a corporate VPN. Without it, Credential Guard — which protects Windows login credentials against pass-the-hash attacks — cannot function. Understanding what a TPM actually does, what it protects against, and what it cannot do gives you the technical foundation to make informed decisions about hardware security in enterprise environments.

What Is a Trusted Platform Module?

A Trusted Platform Module (TPM) is a dedicated cryptographic microcontroller that provides a hardware-isolated environment for generating, storing, and using cryptographic keys, certificates, and random numbers. It also measures the integrity of the platform’s boot process and stores those measurements in Platform Configuration Registers (PCRs) — tamper-evident logs of what software ran during startup.

TPMs are defined by the Trusted Computing Group (TCG) specification and standardized as ISO/IEC 11889. They come in three physical forms: a discrete TPM (a separate chip on the motherboard), a firmware TPM (fTPM) (implemented in firmware running on the CPU’s management engine, such as AMD PSP or Intel ME), or an integrated TPM (built directly into the CPU silicon). All three present the same software interface but have different security properties.

The essential property is hardware isolation: private keys generated inside the TPM cannot be extracted by software, even by code running at ring 0 (the OS kernel) or in the hypervisor. The TPM performs cryptographic operations internally and returns only the result — the private key material never traverses the system bus in plaintext.

How a Trusted Platform Module Works

The TPM’s security model is built around three key capabilities:

  1. Sealed storage: The TPM can seal (encrypt) data — such as a disk encryption key or an application credential — against a specific set of PCR values. The data can only be unsealed (decrypted) when the platform is in exactly the same measured state as when sealing occurred. If the boot chain changes — a different bootloader, a different OS, a modified firmware — the PCR values change and the sealed data becomes inaccessible.

  2. Key generation and binding: The TPM contains a hardware random number generator and can generate RSA or ECC key pairs internally. Key binding ties a key to the TPM itself — the private key never leaves the chip. Applications send data to the TPM for signing or decryption; the TPM performs the operation and returns the result.

  3. Remote attestation: The TPM can generate a cryptographically signed quote of its current PCR values, signed by an Attestation Key (AK) that is itself certified by the TPM’s Endorsement Key (EK). The EK has a manufacturer-signed certificate proving it belongs to a genuine TCG-certified TPM. A remote server can verify the quote, the AK certificate, and the EK certificate to confirm: “This is a real TPM, and the software state measured in these PCRs is what was actually running.”

The PCR measurement process works as follows during boot:

  • The CPU firmware (UEFI) starts and extends PCR[0] with a measurement (hash) of the firmware itself.
  • The bootloader is measured and extends PCR[4].
  • The OS kernel is measured and extends PCR[8]–PCR[9].
  • Each extension is irreversible: PCR[n] = SHA-256(PCR[n] || new_measurement). By the time the OS is running, PCRs contain a chain of hashes representing the entire boot path.
TPM key hierarchy and PCR measurement chain: the Endorsement Key (EK) proves hardware authenticity, Platform Configuration Registers (PCRs) record every boot measurement, and sealed storage binds secrets to a specific PCR state so they only unlock on a trusted platform.
Computerphile explains what a TPM is and what it actually protects — watch how they clarify the difference between what the TPM secures (key storage and boot measurements) versus what it cannot protect against (attacks after the OS has booted).

Discrete TPM vs Firmware TPM vs Software TPM

FeatureDiscrete TPMFirmware TPM (fTPM)Software TPM
Physical locationSeparate chip on motherboardCPU firmware (AMD PSP / Intel ME)Software library (no hardware)
Key isolationHardware-enforcedFirmware-enforced (shares CPU attack surface)None — extractable by privileged software
Bus sniffing riskYes — LPC/SPI bus is attackableLower — no external busN/A
PerformanceSlower (dedicated co-processor)Faster (CPU speed)Fastest (pure software)
CostHigher (dedicated chip)Included in modern CPUsFree
Common useEnterprise, high-assurance devicesConsumer PCs (AMD Ryzen, Intel 8th gen+)Testing, VMs
Windows 11 compliantYes (if TPM 2.0)Yes (if TPM 2.0 firmware)No

Real-World Use Cases

BitLocker full disk encryption: Windows BitLocker uses the TPM to seal the Volume Master Key (VMK) to specific PCR values representing a trusted boot state. When the PC boots, the TPM measures the firmware and bootloader. If they match the expected state, the TPM unseals the VMK and BitLocker decrypts the drive transparently. If someone removes the hard drive and puts it in another machine — or modifies the bootloader to run malware — the PCR values change, the TPM refuses to unseal the VMK, and the drive remains encrypted. This is the core defence against evil maid attacks. For more on how full disk encryption works, see Full Disk Encryption: BitLocker and FileVault Explained.

Windows Credential Guard: Windows Credential Guard uses the TPM in combination with virtualization-based security (VBS) to store NTLM password hashes and Kerberos tickets in an isolated enclave. Even if an attacker achieves kernel-level access, they cannot extract credentials because the credential store lives in a separate hardware-isolated execution environment. This directly defeats pass-the-hash attacks, which were previously devastating in Active Directory environments.

Device identity in enterprise MDM: Modern endpoint management platforms — Microsoft Intune, Jamf, VMware Workspace ONE — use TPM-backed device attestation to verify that connecting devices are genuine, uncompromised corporate hardware. The MDM platform requests a TPM quote during device enrollment, verifies the EK certificate against the manufacturer’s CA, and stores the AK for ongoing health attestation checks. Devices that fail attestation are quarantined before they can access sensitive resources.

Common Mistakes to Avoid

Assuming the TPM protects against post-boot attacks: The TPM measures the boot chain and seals secrets to it. Once the OS is running and the sealed keys are unsealed, the TPM’s job is largely done. A piece of malware running after boot cannot easily steal BitLocker keys from the TPM — but it can read the decrypted filesystem directly. The TPM protects against cold-boot attacks and physical drive theft, not against OS-level compromise.

Ignoring discrete TPM bus-sniffing attacks: Researchers from Dolos Group demonstrated in 2021 that a BitLocker-encrypted laptop with a discrete TPM could be defeated by soldering probe leads onto the LPC bus and reading the Volume Master Key in plaintext as it transits from the TPM to the CPU during boot. This attack requires physical access and specialized equipment but is well within the reach of a sophisticated attacker with a stolen device. Mitigations include using a TPM PIN (so the key is only released after PIN input, not automatically on boot) and preferring fTPMs which eliminate the external bus.

Not setting a TPM PIN for high-value data: BitLocker’s default configuration in many environments is “TPM-only” — the disk decrypts automatically on boot with no user interaction. This is convenient but means a stolen laptop can be booted and accessed. Adding a BitLocker PIN (which must be entered before the TPM unseals the VMK) protects against this scenario at the cost of requiring user interaction at every boot.

Skipping TPM provisioning in enterprise deployments: A factory-reset or newly deployed PC may have the TPM in an uninitialized state. Enterprise imaging processes must include TPM initialization (taking ownership, clearing old keys, and establishing the Storage Root Key hierarchy) as part of the deployment workflow. Unprovisioned TPMs may prevent BitLocker or Credential Guard from working correctly.

Getting Started

To put your TPM to work:

First, verify TPM presence and version. On Windows, run tpm.msc (TPM Management Console) or check Device Manager → Security Devices. On Linux, check for /dev/tpm0 and use the tpm2-tools package to inspect the TPM. Confirm it is TPM 2.0 — TPM 1.2 devices lack the algorithm agility and architecture needed for modern workloads.

Second, enable Secure Boot alongside the TPM. Secure Boot and the TPM work together to establish a hardware root of trust — Secure Boot prevents unsigned bootloaders from running, while the TPM measures what actually ran. Enable both in UEFI firmware settings. Without Secure Boot, an attacker can substitute a malicious bootloader that passes the TPM measurement stage by pre-computing modified PCR values.

Third, for BitLocker, configure a PIN or startup key. In Group Policy, navigate to Computer Configuration → Administrative Templates → Windows Components → BitLocker Drive Encryption and configure “Require additional authentication at startup.” Choose TPM + PIN for the best balance of security and usability. This prevents automatic decryption of stolen devices.

Fourth, use TPM attestation for conditional access. If you use an MDM platform, enable Device Health Attestation — in Intune this is the “Require the device to be reported as healthy” compliance policy setting. This ensures only devices with a healthy, measured boot state can access corporate resources. For the hardware isolation concepts that complement TPM, see Hardware Security Modules: HSM vs KMS Explained and Encryption Key Rotation: When and How to Rotate Securely.

FAQ

Common questions — answered in plain English.

What is a Trusted Platform Module (TPM)?
A TPM is a dedicated security microcontroller — either a discrete chip or firmware integrated into the CPU — that provides hardware-isolated storage for cryptographic keys, certificates, and measurements of the system's boot state. It performs cryptographic operations in a tamper-resistant environment, so secrets never leave the chip in plaintext.
Why does Windows 11 require TPM 2.0?
Windows 11 mandates TPM 2.0 because it enables hardware-backed security features that are impossible with software alone: Credential Guard stores credentials in a hardware-isolated enclave, Secure Boot measures the boot chain, and BitLocker can seal disk encryption keys to a verified system state. Microsoft determined that these controls require hardware attestation to be meaningful.
What is the difference between TPM 1.2 and TPM 2.0?
TPM 2.0 (ISO/IEC 11889:2015) is a complete redesign of TPM 1.2. It supports modern cryptographic algorithms (ECC in addition to RSA, SHA-256 in addition to SHA-1), has a more flexible authorization model, supports multiple hierarchies for platform/owner/endorsement keys, and fixes several architectural limitations of 1.2. TPM 1.2 is considered legacy and lacks algorithm agility.
What is a TPM's Endorsement Key (EK)?
The Endorsement Key (EK) is an asymmetric key pair permanently embedded in the TPM during manufacturing. The private EK never leaves the TPM. The public EK certificate, signed by the TPM manufacturer, proves the device contains a genuine, certified TPM. The EK is used for attestation — proving to a remote party that keys were generated inside a real TPM — but is not directly used for application encryption.
Can a TPM be bypassed or hacked?
Physical attacks on discrete TPM chips — bus sniffer attacks on the LPC or SPI bus between the TPM and the CPU — have been demonstrated in research and used against BitLocker-encrypted laptops. Firmware TPMs (fTPMs) running in CPU firmware are faster and cheaper but share the CPU attack surface. TPMs resist logical software attacks well but are not immune to determined physical adversaries with specialized equipment.
What is TPM remote attestation?
Remote attestation is the process by which a TPM proves to a remote server that a specific software configuration was running when measurements were made. The TPM signs a quote containing the values in its Platform Configuration Registers (PCRs) — cryptographic hashes of the boot chain — with its Attestation Key. The remote server verifies the quote and the EK certificate to confirm the software state is trusted.

References

  1. [1]
  2. [2]
  3. [3]
  4. [4]
  5. [5]