Bootstrapping Trust in a "Trusted" Platform

Bryan ParnoHotSec 2008

Bootstrapping Trust in a "Trusted" Platform

While Trusted Platform Modules (TPMs) are designed to secure a computer's software, we currently lack a standard way to ensure the TPM itself is trustworthy. This paper formalizes the "cuckoo attack"—where an attacker proxies a user's requests to a remote, compromised TPM—and evaluates potential hardware and cryptographic solutions to bootstrap trust in the local hardware.

The Problem: A "Chicken and Egg" Dilemma

The core challenge is a classic problem in computer security: we use a TPM to verify that a computer's software hasn't been tampered with, but to trust the TPM's reports (attestations), the user needs the TPM’s authentic public key. Current industry standards often assume the user already possesses this key. In reality, without a secure way to identify the specific chip inside the machine, a user is vulnerable to a cuckoo attack.

In this scenario, malware on the local machine intercepts the user's communication and forwards it to a remote TPM that the attacker physically controls. Because the remote TPM is "genuine" (it has a valid manufacturer certificate), it can produce valid-looking proofs that the system is secure, even while the local machine is fully compromised.

The Cuckoo Attack: Malware proxies messages to a remote, attacker-controlled TPM, creating a logical equivalent that deceives the verifier.

Formalizing Trust with Predicate Logic

To analyze this vulnerability rigorously, the author, Bryan Parno, builds a formal model using predicate logic. He defines a set of predicates (such as PhysSecure(c) for a physically secure computer) and axioms that encode how trust should propagate through the system.

By applying these axioms to the assumptions of a cuckoo attack, the author demonstrates a logical contradiction ($\perp$). This proves that under current conditions, a user cannot logically distinguish between a trusted local TPM and a malicious proxy.

The formal proof demonstrating how a cuckoo attack leads to a logical contradiction, showing the system is simultaneously trusted and untrusted.

The fundamental flaw identified is the lack of a "secure channel" between the human user and the specific TPM chip. The formal model highlights that a machine can be simultaneously "trusted" (based on a valid TPM signature) and "untrusted" (because the physical hardware is compromised), leading to a logical breakdown.

Simply cutting off network access isn't enough; if an adversary has physical possession of a TPM, they can extract its private key and provide it to local malware, which can then perfectly emulate that TPM offline. We need a way to bind the digital identity of the TPM to the physical box sitting on the desk.

Proposed Solutions and Future Work

The paper evaluates various "fixes," ranking them by security and deployability:

  • Dedicated Hardware Interface: The most secure solution involves adding a special-purpose port that allows an external verifier device to talk directly to the TPM, bypassing the main CPU and potential malware.
  • "Seeing-is-Believing": A more deployable approach involves printing an alphanumeric hash of the TPM's public key on the computer's case. The user would enter this into a trusted verifier device (like a smartphone or USB fob) to ensure they are communicating with the correct chip.

The paper concludes that none of the solutions feasible with commodity hardware at the time of writing are entirely satisfactory. The development of a "fully satisfactory" and easily deployable solution remains an open challenge, emphasizing that future "trusted" platforms must prioritize the human-to-hardware trust link.

Summary updated

BibTeX
@inproceedings{parno2008bootstrapping,
  author = {Bryan Parno},
  title = {{Bootstrapping Trust in a "Trusted" Platform}},
  booktitle = {HotSec},
  year = {2008},
}
Figure