The robot encrypts its research file and thinks the job is done. MY asks: where is the unlocking secret? What if someone takes the drive or changes the boot software? This lesson starts with those two threats. It follows the TPM's role in protecting the use of particular secrets, then asks how a company evaluates evidence from the computer. Characters, scenes and dialogue are fictional teaching devices; technical claims have cited sources.
Try local key-use conditionsTry evidence and service decisions
Useful background: Key management · Measured Boot & Attestation
01 · Why Does a Computer Need a TPM?

The robot encrypts its research file before taking its laptop to the company. MY asks where the unlocking secret is kept. Encryption prevents someone with ciphertext alone from reading the content. But if that person also obtains a directly usable unlocking secret, the protection may fail. Protecting the file therefore raises another question: who holds the secret, and who may use it?[1][2]
An attacker might also alter boot software to obtain secrets as the system starts. Software that may have been altered cannot provide a convincing assurance merely by declaring itself safe. Designers need a protected boundary for conditional key operations and records of selected boot state. The TPM was designed to support platform trust needs of this kind.[1][2]
TPM stands for Trusted Platform Module. It can protect key operations and constrain the use of small secrets under configured conditions. Platform firmware and software perform measurements and send the values to the TPM for recording. Policy and verification processes then determine how those records are used. The TPM does not scan the whole computer or establish that every program is safe from a record alone.[1][2]
The module in the illustration represents a functional boundary. Implementations may use a discrete chip, integrated hardware or firmware; their protection depends on the specific design. Compromised software may still misuse operations it is authorized to request. Authorization, recovery management and surrounding defenses remain necessary. Start with a concrete case: disk encryption is enabled and unlocking protection is bound to the original TPM. What is an attacker missing if they take only the drive?[1][2][7]
02 · Can a transplanted drive reveal its files?

Whether a moved drive reveals its files depends first on whether they were encrypted. Our example assumes disk encryption is enabled and its unlocking protection is bound to the original TPM. The research file is stored as ciphertext. Reading those bits on another computer does not automatically recover the original content. The conclusion does not apply to data that was never encrypted.
A drive copy may contain ciphertext, file-system information and protected key material. That material is not a plaintext key that any host can immediately use. Under the configured TPM protection path, the original protection relationship and unlocking conditions still matter. Moving storage does not copy the original TPM's capabilities with it.[2][7]
Recovery is a separate path that must also be considered. An organization may keep valid recovery material for authorized access. Possession of that material changes what an attacker or administrator can do. A failed drive transplant therefore cannot prove that the files are permanently inaccessible. Controlled recovery must not be presented as a shortcut requiring no authority.[6]
The robot can draw a limited conclusion: a drive copy alone does not imply a usable unlocking secret. This is an offline drive-removal scenario. An already unlocked host, secrets in memory and other valid unlocking methods require separate analysis. The next question follows naturally: if the TPM helps protect the file, must all of its data pass through the TPM?
03 · Does the whole drive fit inside the TPM?

A research file can be large, while the TPM participates in protecting only a small unlocking secret. Divide the job into two stages: obtain a secret under the required conditions, then let the host's data-encryption components process the files in bulk. A small module can thereby help protect an entire drive without receiving every byte of every read and write.
In this example, once the operating system obtains the required unlocking material, the data-encryption path handles plaintext and ciphertext on the drive. The TPM participates in the earlier secret-access step; other components perform bulk processing. Asking what the TPM exchanges with the host and asking how much file data the drive processes per second concern different layers of that design.[2][7]
This division has a boundary. After the required conditions are met, a secret may enter the host's controlled usage flow. Protecting memory, software authority and subsequent data output becomes part of the system's responsibility. TPM protection at one stage does not establish that every program is unable to reach the content after unlocking.
The robot writes two separate jobs in its notebook: protect the unlocking secret and process bulk data. A small module can therefore contribute to protecting a large drive without storing all its contents. The next page considers a different output. For a digital signature, can the caller receive only the result while the private key remains protected?
Engineer extension: disk keys can have several layers
Designs such as BitLocker distinguish bulk data-encryption keys from the keys or mechanisms protecting them. The comic uses “unlocking secret” for this dependency without asserting a universal key hierarchy. For a real device, trace storage, release conditions, entry into host memory and valid recovery paths. Finding a TPM alone does not answer those questions.[2][7]
04 · Can you sign without copying the private key?

Some operations need a result without giving the private key to the caller. This page uses a signing private key configured as non-exportable. The host submits a request and the digest to be signed. The TPM checks the required conditions and performs the operation. The host receives a signature that it can pass to a verifier.
A signature is different from the private key. The verifier uses a public key to check the relationship between the signature, the specified data and that verification key. Sharing the signature does not share the private key. The example separates using a protected capability from copying the secret behind that capability.[1][2]
This signing key is configured as non-exportable, allowing the specified operation's result to leave. Other objects can have different rules: a sealed secret may later be released under policy. Protected object data can also be stored on the drive in encrypted packaging, often called a blob. Copying that package does not provide a directly usable private key; use still requires the corresponding protection and authorization process.
The robot can now obtain a legitimate signature without requesting the private key itself. That raises another question. What if software never steals the key, but keeps asking it to sign the wrong things? Understanding that risk requires moving beyond key storage to the authorization of each operation.
Engineer extension: non-exportable does not mean every object is permanently resident
TPM objects may use external protected storage and loading mechanisms. Copying or using an object depends on its attributes, parent protection and authorization settings. This lesson chooses a non-exportable signing-key example rather than assigning one rule to all keys or migratable objects. “The private key stays inside” describes protected use; it does not claim that all object data permanently resides on a physical chip.[1][2]
05 · Can a protected key still be misused?

Non-exportability limits direct copying of a private key. It does not decide whether the current request should run. Host software may have authority to use a key, or it may lack a required authorization. The TPM checks the conditions configured for that object and operation. Allowing every request is not a safe design merely because the key remains protected.
This example requires both a specified boot state and other authorization before allowing the operation. It aims to ensure that an authorized user also uses the key in an expected state. Products can choose different authorization methods, and keys can have different conditions. Policy design starts with the threat and then determines which conditions need checking.[1][2]
Compromised software that already has authority may still misuse the key within that authority. The TPM checks commands, objects and configured conditions. It cannot automatically understand the user's real intention. “The key was not extracted” and “every signature served an authorized business purpose” are separate claims.
The robot now needs two questions. Can the secret be copied, and who may request which operation under which conditions? The second question connects key use to platform state. If a policy uses boot state as a condition, someone must obtain the relevant clues and someone must preserve them.
06 · Who measures, and who records?

Boot measurement begins with a measurer on the platform. A trusted starting component measures what follows, and later components continue the record. Measurement values, commonly represented as hashes, are sent to Platform Configuration Registers, or PCRs, in the TPM. The TPM updates those records under defined rules. It does not independently inspect every program on the computer.[2][4]
Think of a PCR as a record that accumulates measurements in order. For each new measurement, the extend operation hashes the old PCR value together with the new measurement to produce the next value. Different content or ordering can therefore produce different results. The PCR holds the accumulated digest; other records are needed for the individual events. It does not need to store every file inside the register.
A PCR record still has prerequisites. An untrusted first measurer or an omitted component leaves a gap that later recording cannot repair. Initialization, reset authority and reset timing depend on the PCR type and platform rules. Accumulation through extend must not become a claim that all PCRs can only grow or can only reset on reboot.
A later policy can require an expected PCR state, but its designer must know which boot steps that digest covers. The Measured Boot lesson explains how an event log supports reconstruction and checking. Here, connect the measurements back to the secret: how can the recorded boot result become a condition for unsealing it?
Engineer extension: PCR digests and event logs do different jobs
A final PCR value does not list each measured component. An event log supplies event context, and verification can replay the defined updates to compare selected PCRs. Matching results still require trustworthy measurement roots, provenance and coverage. Replay consistency is one check, not proof of software safety. This lesson does not assign universal PCR numbers or reset timing to all products.[4]
07 · What unlocks a sealed secret?

Sealing binds release of a small secret to specified conditions. In this example, a protected object holds an unlocking secret needed by the research-file workflow. Protected object data can reside outside as a blob. The host follows the design to load the object, satisfy its policy and request unsealing.
The pictured conditions include selected PCR state and other authorization. If they are satisfied, the TPM can release the small secret protected by this sealed object. Otherwise it does not permit that operation. This is the policy configured for our example, not automatic approval of any PCR value. The designer must explain what the expected state represents and which other authorizations are required.[1][2]
The distinction from page 4 is explicit. The non-exportable signing-key example returns a computation result. The sealed-secret example may return the secret itself. Both can receive TPM protection while allowing different outputs. “The secret is protected” therefore cannot be translated into “the secret never leaves the TPM.”
Protecting and using the secret after unsealing remains a responsibility of the surrounding system. Meeting a boot-state condition does not prove that software has no vulnerabilities. The robot can now open its file under configured conditions, but ordinary maintenance raises another question: what happens if an approved update changes the state referenced by that policy?
08 · An approved update—and now it will not unlock?

An approved update can change measured content. Our unlocking example depends on selected PCR state and originally expects state A. After a platform firmware update, relevant measurements may produce state B. If the original policy still accepts only A, the old usage condition may no longer hold. That does not mean the update automatically destroyed the encrypted data.
A mismatch initially establishes only that the current state fails the original arrangement. It may result from unauthorized change or approved maintenance. The robot needs update records, versions, applicable settings and authorization before deciding what happened. Treating every recovery prompt as malware would confuse legitimate maintenance with an actual incident.[6]
Maintenance needs controlled handling of approved changes, such as verifying a new policy arrangement and managing necessary recovery material. Recovery material is itself sensitive. Its usefulness does not justify broadening access to it. This lesson explains responsibilities and conditions without giving instructions to disable protection or clear the TPM.
The actual effect depends on the protection configuration. A policy's relevant state need not change with every version update, and products may manage an update transition differently. A and B are teaching states, not universal PCR values. Once local access is restored, the company still has a separate question: does the evidence it receives answer this particular request?[2][7]
Engineer extension: a policy need not permanently pin one version
Update compatibility depends on selected PCRs, measured content, policy mechanisms and maintenance. Directly matching a fixed digest differs from controlled authorization of a new state. A real design must also consider the policy authority, rollback handling and recovery-material protection. Those details are outside this introduction. The illustration does not imply that every firmware update triggers BitLocker recovery.[2][6][7]
09 · Is that evidence a response to this request?

To connect evidence to the current login, the company first sends a new challenge value called a nonce. The device asks the TPM to produce a Quote whose signed attestation data include that challenge and a digest of selected PCRs. The signing key is an Attestation Key, or AK. Checking both the signature and challenge connects the response to the current request.[4]
An attacker could record an earlier response and send it again unchanged. This is a replay. The old response carries challenge N1, while the company now expects N2. Correct checking finds the mismatch and rejects it. A challenge keeps yesterday's acceptable response from being reused as an answer to today's request.
The company must also establish that the AK belongs to a device it recognizes. Any public key can verify signatures made with its corresponding private key; that alone does not identify the machine to the company. Deployment therefore needs trusted registration, provenance or endorsement information binding the key to the device. Verification can then ask both whether the signature matches and whether this is the intended device.[4][5]
A new challenge binds this response; it does not repeat earlier measurements. PCR state recorded during boot can be quoted later in a fresh exchange. A different change after boot may remain outside that evidence's coverage. The robot therefore needs measurement time, response time and coverage, rather than a single unqualified label saying “fresh.”
Engineer extension: a Quote signs attestation data
A Quote can include PCR selection and digest, challenge data and other attestation fields. It is not a signature over every byte of an event log. Verification checks the structure, selected PCRs and challenge under the protocol and may also check an event log. RFC 9683 is an Informational workflow for network-device integrity verification. We use it to explain mechanisms, not to claim that the fictional laptop implements that deployment profile.[4]
10 · Who decides after the signature checks?

A valid signature is one part of checking evidence. The company verifier also needs a trusted AK, the challenge, measurement coverage and applicable reference information. It then applies an evidence-appraisal policy: do these clues support the device state the company needs to assess? Missing information must not turn “no problem observed” into automatic acceptance.[4][5]
The verifier produces an appraisal result. The company service then applies its access policy. An acceptable device state does not authorize the user for every service. The same laptop may satisfy service A's requirements while lacking permission for service B. That difference does not invalidate the TPM signature; it reflects additional access requirements.
This introduces another policy, distinct from the local object policy on page 5. Local policy restricts operations on a TPM object. Evidence-appraisal policy governs interpretation of evidence. Service access policy governs requests for a particular resource. They may cooperate, but they must not be collapsed into a single decision supposedly made by the TPM.
The company must also bind the appraisal result to the right device, request and timing. Otherwise, acceptable information could be attached to the wrong access attempt. The robot now knows what evidence it needs to bring. Explaining the protection of the whole computer still requires drawing the parts outside the TPM's boundary.
11 · What remains outside the protected boundary?

TPM protection has a boundary. Where measurement begins, how the host communicates with the module and which software holds operation authority all affect the outcome. Drawing those parts outside the box exposes conditions that still need to hold. A protected capability inside cannot automatically provide isolation or correctness for an external workflow.
Runtime state needs separate attention. A boot measurement record describes the events it covers. If software is later exploited and that change is absent from the evidence being used, earlier state cannot establish that the current system is entirely sound. A new Quote can answer a new challenge without rescanning all runtime activity.[4][5]
Discrete, integrated and firmware TPMs are different implementation forms. A security comparison also needs the actual isolation, protection mechanisms, host interface and threat model. Ranking appearances alone misses those integration conditions. This lesson assigns no automatic winner to a form, and functional compatibility does not establish identical physical protection.[3]
The robot replaces its note saying “I have a secure box” with a system map. A TPM can be an important protective component while the device still needs appropriate boot, authorization, runtime and maintenance arrangements. Back at the service entrance, the robot can now provide reasons with identifiable sources, coverage and conditions.
Engineer extension: define the threat before comparing forms
Offline drive removal, host-software control, host-interface observation and physical intrusion are different attacker conditions. An assessment needs attacker capabilities, secret lifetime and trust boundaries before comparing implementations or certification scope. A discrete chip label cannot replace that evidence, and firmware form alone does not establish an absence of isolation.[3][4]
12 · What does the robot bring back?

Return to the opening question. Encrypting the research file also requires protecting use of its unlocking secret. A drive copy alone does not provide the original TPM-bound unlocking conditions. Altered boot software may change selected measurements; actual policy still determines whether a secret is available. To use the company service, the robot also needs checkable evidence and service permission. Each job has a responsible component. A TPM label cannot replace the reasons.
Revisit the three cases. For a moved drive, ask whether the attacker also has a usable unlocking secret. For a replayed Quote, check whether its challenge matches the current request. For a compromise after boot, ask whether the evidence covers that later change. Each case requires different conditions to be examined. This distinction explains where the same TPM helps and which tasks the rest of the system must handle.
We can now answer the lesson's question: a computer's trust claim needs concrete reasons. TPM protection and signing capabilities must be used within stated boundaries and prerequisites. Evidence has provenance and coverage; policies apply to particular decisions. Those conditions are more useful for design and communication than a permanent safety label for the whole computer.[1][4][5]
The interactions let you change conditions and observe how local key operations, evidence appraisal and service access work together. Dedicated units can develop commands, object hierarchies, AK registration and product recovery. Other approaches to establishing device trust, such as DICE, can provide later comparisons. This lesson follows one laptop to connect the TPM's purposes and responsibilities.
Lab A: The key stays protected. Should this request run?
Fixed assumptions: the object was correctly provisioned and is loadable. This example requires both the selected boot state and other authorization. The signing key is non-exportable; the sealed object permits secret release when its conditions hold.
Conceptual teaching model: no real TPM calls, device-security rating, recovery operations or disabling of protection.
Lab B: Separate evidence, appraisal and access
Fixed assumptions: the signature is cryptographically valid, the Quote structure is correct, and measurement coverage and reference values are known. No clock or protocol-encoding simulation. This example checks AK trust and challenge, appraises selected state, then applies service permission.
Measurement time stays at earlier boot; a fresh challenge does not rescan the device. This is a teaching condition model, not an attestation product or compliance assessment.
Recap: make the reasons for trust checkable
A TPM can protect specified key operations and small secrets, record platform-supplied measurements and sign evidence. The operating system, verifier and service have other responsibilities. Unlocking conditions, evidence coverage and access rights must correspond to the actual design.
#TPM #HardwareSecurity #KeyProtection #MeasuredBoot #Attestation
Glossary
- TPM
- Trusted Platform Module; supports protected operations and relevant state recording.
- PCR
- Platform Configuration Register; accumulates measurement-related state under platform rules.
- Sealing
- Bind release of a small secret to specified policy.
- AK
- Attestation Key; used here to sign a Quote, with a trusted provenance and device relationship.
- Quote
- TPM-signed attestation data that can cover selected PCR digest and a challenge.
- Nonce
- A challenge value used here to bind a response to this request.
- Appraisal
- Evaluate evidence using applicable reference information and policy.
Five learning checks with explanations
1. What do the TPM, operating system and company service each do?
The TPM performs protected operations, records platform-supplied measurements and can sign evidence. The OS data-encryption component handles bulk data. A verifier appraises evidence, and the service applies access policy. The TPM does not declare the whole computer safe.
2. Do a non-exportable signing key and a sealed secret permit the same output?
No. In this example, the first returns a signature while protecting the private key. The second may release a secret after its policy is satisfied. Protection does not give them identical output rules. An externally stored protected blob is not a plaintext private key.
3. Does failure to unlock after an approved update prove malware?
Not by itself. The selected PCR-dependent condition may have changed after an approved update. Check maintenance records and policy settings, then use controlled maintenance or recovery. Effects depend on configuration; not every update triggers recovery, and the lesson does not ask you to disable protection.
4. Why reject an old Quote even if its signature remains valid?
The old Quote carries N1 while this request expects N2. A valid signature does not repair a challenge mismatch. The verifier must also establish a trusted AK and device relationship. A new nonce does not remeasure every program.
5. Why restrict software authority if boot measurements match and the signing key is non-exportable?
Software may be compromised after boot and use existing authority to request signatures. Boot records may not cover that change, and non-exportability does not prevent all authorized-interface misuse. The design needs appropriate authority limits, runtime defenses and service policy.
Primary sources and verification date
Sources checked on 2026-10-22. Microsoft documentation supports the Windows examples. Both RFCs are Informational; the fictional laptop is not presented as a universal deployment standard. Access to the TCG PDF was limited, so no latest-revision claim is made.
- Microsoft Learn — Trusted Platform Module technology overview
- Microsoft Learn — How Windows uses the TPM
- Microsoft Learn — TPM recommendations
- RFC 9683 — Remote Integrity Verification of Network Devices Containing TPMs (Informational)
- RFC 9334 — RATS Architecture (Informational)
- Microsoft Learn — BitLocker recovery overview
- Microsoft Learn — BitLocker countermeasures