← Back to section · Hardware & Chips
The Role and Limits of the TPM: An Anchor of Trust, Not a Vault
The TPM is a passive root of trust: it measures boot, seals keys and produces attestations — but it does not monitor runtime, does not replace disk encryption, and cannot repair compromised software. Knowing its boundaries is what makes it useful.
The TPM (Trusted Platform Module) is often mistaken for a generic synonym for “security chip”, as if installing one made a machine secure. In reality its role is very specific: it is the platform’s root of trust, a passive device that only answers commands, responsible for turning “in what state did this machine boot” into a fact that can be recorded, sealed against, and proven to a remote party. To understand the TPM you must know not only what it does, but also draw the line at what it cannot do — deployed in the wrong place, it provides a feeling of security rather than security itself.
The Four Things It Does
First, it custodies keys. The TPM generates and stores non-exportable keys internally; signing and decryption happen inside the chip and private keys never leave it. It can also “seal” external data — encrypt it bound to a set of Platform Configuration Register (PCR) values, so it can only be unsealed when the platform is in the expected state. Second, it anchors measured boot: starting from the first code that runs, each stage of firmware and bootloader extends the hash of the next stage into a PCR before handing over control, forming a boot record that cannot be forged after the fact. The TPM does not itself perform the measurements — the boot code at each stage does — the TPM merely provides register banks that can only be extended, never rewritten.
Third is remote attestation: the TPM signs the current PCR values with its attestation key, and a remote verifier can judge whether the machine really runs the expected software stack before deciding to release data or admit it to a network. Fourth are supporting capabilities: monotonic counters, dictionary-attack lockout, a protected random source and clock. Together they make the TPM a “notary of platform state”.
Where the Boundaries Lie
The TPM’s greatest boundary is that it witnesses boot but does not monitor runtime. Measurements happen at boot-chain hand-offs; once the system is up, an injected process or a compromised kernel changes no PCR, and the TPM raises no alarm — runtime integrity needs other mechanisms. Moreover, the measurement chain starts outside the TPM: if the first piece of measuring code (the root of trust for measurement) is itself subverted, the tidy records that follow are merely faithful records of a lie, which is why platforms pair the TPM with a boot root of trust anchored in the chipset or ROM.
Another easily overlooked boundary is that the TPM’s internal state can be “cleared”. Clearing resets its ownership hierarchy, and data sealed before the clear can never be unsealed again — a legitimate feature when a device changes hands, but it also means anything sealed in a TPM must have another recovery path; the TPM cannot be the sole custodian. Likewise, a failed TPM or a replaced motherboard permanently orphans sealed data, so availability design must keep a way back for this low-probability but inevitable case.
Nor is the TPM a substitute for an encryption engine. It does not encrypt your disk for you — disk-encryption software merely seals its key in the TPM, and once the TPM unseals it into memory, the key’s fate is that of ordinary software. Treating the TPM as a wholesale “anti-theft” solution is equally misguided: sealing does block offline reading of a stolen machine, but once the machine boots normally, the TPM is powerless against the person sitting at the screen. Its threat model has always been narrow: prove state, bind to state — nothing more.
Where the Trust Comes From: Endorsement Keys and Certificates
For a TPM’s attestation to convince a remote party, the TPM itself must first be genuine. At manufacture, each TPM generates an endorsement key pair (EK) internally, and the chip vendor issues a certificate for its public key that ships with the chip — the TPM’s birth certificate, anchoring the claim “this is a real TPM” in the vendor’s reputation. The system manufacturer additionally issues a platform certificate binding a specific TPM to a specific platform model; together they form the evidence chain of device identity. But the EK is bound to a particular chip, and using it directly in every attestation would let verifiers track one device across services, so actual attestations use attestation keys (AKs) protected by the EK, or credentials issued through a privacy intermediary, balancing “this really is a genuine TPM” against “you cannot track the user by it”.
This chain also reveals the ultimate source of TPM trust: it is not unconditional mathematical trust, but the organisational fact that “the vendor injected correctly at manufacture and the certificate system has not been abused”. In high-assurance settings, buyers additionally check the issuer and batch of EK certificates. Understanding this, one stops treating TPM attestation as truth from nowhere — like every certificate system, it hands trust down, level by level, to accountable parties.
Three Form Factors, Three Trust Placements
The same TPM specification lands in different forms. A discrete TPM is a standalone chip with the strongest isolation, but its bus traffic with the host processor has demonstrably been eavesdropped physically; plaintext on low-pin-count buses is a known, real weakness that calls for mitigations such as encrypted sessions. A firmware TPM (fTPM) runs inside an isolated environment within the processor, eliminating the physical bus problem at the price of placing trust in the processor vendor’s isolation implementation and microcode. A virtual TPM is emulated by the hypervisor for each virtual machine; its state is migratable, snapshot-able data, so cloud environments must additionally handle trust transfer and rollback during migration.
The improvements of TPM 2.0 over 1.2 are also clarifications of role: algorithm agility, more flexible authorisation policies and extensible PCR usage let one chip serve more scenarios. In a post-quantum context one more question applies: the migration path for the TPM’s internal algorithms and attestation keys is determined by vendor firmware, so what users can do is put algorithm agility on their selection checklist. The TPM’s value is not omnicompetence; it is doing one small thing credibly — letting a machine answer honestly: “in what state did you wake up?”
Tags: TPMTrusted ComputingRemote AttestationMeasured Boot