Learn · Specialist

Confidential Computing & TEEs

6 sections

TEE architectures, remote attestation, memory encryption, TEE-HSM integration, and quantum threat analysis for confidential computing.

For you, every role: what this means
Developer / Engineer
Compare seven TEE architectures in Step 1, step through remote attestation for Intel DCAP, ARM CCA and AMD SEV in Step 2, then design the TEE-to-HSM trusted channel in Step 4: the same flow the TEE-HSM Secure Channel tool runs live.
Security Architect
Step 4's TEE-HSM Trusted Channel designs mutual attestation and PQC key provisioning between an enclave and an HSM, and Step 5 assesses quantum risk per TEE component into a prioritised migration plan.
Researcher / Academic
Step 3 covers memory encryption engines, sealing-key derivation and the Grover margin on symmetric keys; the attestation flows in Step 2 are per vendor, which is where the differences live.
IT Ops / DevOps
Step 5's per-component quantum risk assessment and migration plan is the operational output; Step 1's architecture comparison says which TEE features your platforms expose today.

A is a hardware-isolated region of a processor designed to protect the confidentiality and integrity of the code and data loaded inside it, within the platform's stated threat model. Unlike traditional OS-level isolation, a TEE is designed to hold up when the host operating system, hypervisor or host firmware is compromised or malicious. It still relies on a smaller trusted layer: the CPU hardware and microcode, the vendor's security firmware (for example Intel's TDX module, AMD's secure-processor firmware or Arm's Realm Management Monitor) and, for VM-level TEEs, the guest's own operating system and application. A flaw in that layer can break the guarantee, which is why relying parties check attestation evidence against a version policy and why patching matters.

Code running inside a TEE operates within an — a protected memory region where the processor enforces access control in hardware. Data inside the enclave is encrypted in DRAM, decrypted only within the CPU cache, and inaccessible to any software outside the enclave boundary.

TEEs Protect Against

  • • Compromised or malicious host operating system, hypervisor and host firmware
  • • Malicious cloud administrator or co-tenant
  • • Cold boot extraction and passive reads of DRAM
  • • DMA attacks from peripheral devices
  • • Software-level privilege escalation on the host

TEEs Do NOT Protect Against

  • • Flaws in the trusted layer itself (CPU microcode, vendor security firmware, guest TCB): patch and re-attest
  • • Microarchitectural side channels (Spectre, Meltdown)
  • • Supply chain attacks on CPU manufacturing
  • • Bugs within the enclave code itself
  • • Denial-of-service (host can starve enclave)
  • • Physical decapping and FIB probing
  • • Active tampering with the memory bus (varies by platform)

Trusted Computing Base (TCB)

The TCB is the set of all hardware, firmware, and software components that must function correctly for the security guarantees to hold. A smaller TCB means fewer components can undermine security. Process-level TEEs (SGX) have the smallest TCB — the CPU with its microcode and the vendor-signed architectural enclaves that handle attestation, plus the enclave code. VM-level TEEs (TDX, SEV-SNP) include the guest OS, resulting in a larger but more practical TCB. Because the vendor's security firmware is in the TCB, a flaw there weakens the TEE's guarantee until it is patched, and attestation evidence is how a relying party sees which firmware version is running.

Data Protection Comparison

Data at Rest

Encrypted on disk via AES-XTS or similar. Protected by volume encryption (LUKS, BitLocker) or database-level TDE.

WELL-ESTABLISHED
Data in Transit

Encrypted over the network via TLS 1.3, IPsec, or WireGuard. Protects against eavesdropping and tampering during transmission.

WELL-ESTABLISHED
Data in Use

Encrypted in memory while being processed. TEEs provide hardware-enforced isolation so data remains protected during computation.

EMERGING (TEE-DEPENDENT)

Protect data in use without trusting the hardware

A TEE asks you to trust the chip vendor and an attestation chain. Fully homomorphic encryption (FHE) trusts the mathematics instead: the server computes on ciphertexts and never sees the data, at the cost of speed. It has its own module, including how an HSM holds the FHE keys.

Homomorphic Encryption

Ready to explore TEE architectures?

Compare vendor security properties, simulate attestation flows, and assess PQC migration readiness in the interactive workshop.

Check off all sections and mark this reading done.

Try it

workshop steps that practise this lesson
  • Step 4: TEE-HSM Trusted Channel

    Design mutual attestation and PQC key provisioning between TEE enclaves and HSMs.
  • Step 1: TEE Architecture Explorer

    Compare 7 TEE architectures by isolation scope, encryption, attestation, and PQC readiness.
  • Step 2: Attestation Workshop

    Step through remote attestation flows for Intel DCAP, ARM CCA, AMD SEV-SNP, and AWS Nitro.

Your comments on Confidential Computing & TEEs(0)

Stored on this device only. A comment never counts toward your progress.

    Related resources

    Loading terms, documents and more…

    Production Tool Capabilities & Verification ChecklistCloud Security Architects & Confidential Workload Engineers

    Capabilities to require in your production tools:

    • Remote attestation quote signing and endorsement key hierarchies (AMD SEV-SNP, Intel TDX, Arm CCA, Nitro Enclaves) roadmap/support for PQC signatures (`ML-DSA` / `SLH-DSA`).
    • Attested TLS (RA-TLS) channel binding using hybrid `X25519MLKEM768` key exchange terminated inside the Trusted Execution Environment (TEE).
    • Sealed storage and KMS key-release policies bound to verified TEE measurement registers (`MRTD` / `RTMR`) over PQC channels.

    How to evaluate in your environment

    Verify a TEE attestation quote in staging, establish an RA-TLS session with `X25519MLKEM768`, and test that altered enclave measurements are rejected by KMS.

    Production evidence to collect

    Attestation verification report, RA-TLS cipher transcript, and KMS attestation-policy denial log for mismatched measurements.

    Completing this Hub module and its browser-based sample exercises teaches the technical and governance decision criteria for your role; it does not test, validate, or certify your deployed production systems.

    Record evidence for your environment

    Identify the tested build and configuration. Use reference IDs for observations. For a proposed exclusion, record the system boundary or rule and why it excludes this build.

    Remote attestation quote signing and endorsement key hierarchies (AMD SEV-SNP, Intel TDX, Arm CCA, Nitro Enclaves) roadmap/support for PQC signatures (`ML-DSA` / `SLH-DSA`).
    Attested TLS (RA-TLS) channel binding using hybrid `X25519MLKEM768` key exchange terminated inside the Trusted Execution Environment (TEE).
    Sealed storage and KMS key-release policies bound to verified TEE measurement registers (`MRTD` / `RTMR`) over PQC channels.

    Evidence missing. 0 of 3 requirements have a reference or scope rationale.

    Learning module content can be inaccurate. Please double-check its information. Report inaccuracies in PQC Today GitHub Discussions.