Confidential Computing Architecture Explained

Confidential Computing Architecture Explained

Network Insight · Engineering Guides

Confidential Computing Architecture Explained

Engineering trusted cloud infrastructure with hardware-isolated workloads, encrypted memory, remote attestation and protection of data in use.
Trusted Execution Environments Intel TDX AMD SEV-SNP Remote Attestation Confidential Kubernetes Confidential AI Hardware Root of Trust

The Next Security Boundary

Modern enterprise security architectures have traditionally concentrated on protecting data while it is stored and while it travels across networks. Storage encryption, TLS, IPsec, identity management and network segmentation form the foundations of these architectures.

However, applications must also process information. Databases execute queries, artificial intelligence models perform inference, applications evaluate business logic and containers manipulate sensitive information in memory. During these operations, conventional storage and transport encryption do not necessarily protect the data from privileged components of the underlying infrastructure.

Confidential computing introduces a hardware-enforced security boundary around executing workloads. It aims to protect sensitive code and data in use through trusted execution environments, hardware-backed isolation and mechanisms that allow external parties to verify the security properties of an execution environment.

Architecture 01 · The Silicon Fortress
Attestation Verifier Evidence and trust policy Key Management Policy-controlled key release PHYSICAL COMPUTE PLATFORM Host OS / Hypervisor — Outside Protected Boundary HARDWARE-ENFORCED TRUST BOUNDARY Trusted Workload Application / VM / Enclave Protected Memory Isolation and encryption PROCESSOR SECURITY ARCHITECTURE Encrypted Input Data Encrypted Output Data CONCEPTUAL CONFIDENTIAL COMPUTING ARCHITECTURE
Hardware trust boundary Protected data and trust exchanges Trusted workload Outside trust boundary

Conceptual architecture. Exact trust boundaries, memory protections, attestation flows and key-release mechanisms depend on the selected TEE and deployment. Encrypted application input and output require appropriate application or transport security.

The Three States of Data Security

Confidential computing complements existing encryption technologies by addressing the third major state of information: data being actively processed.

▤
STATE 01

Data at Rest

Information stored on disks, databases, object storage and backup systems. Storage encryption and key management reduce exposure when storage media or stored ciphertext is accessed without authorisation.

⇄
STATE 02

Data in Transit

Information moving between applications, networks, cloud regions and infrastructure components. TLS, mTLS and IPsec provide cryptographic protection across communication paths.

◇
STATE 03

Data in Use

Information actively processed by applications and compute systems. Trusted execution environments provide hardware-backed isolation and, depending on the platform, memory encryption and integrity protection.

Core Engineering Principle

Confidential computing changes the infrastructure trust model. Rather than automatically trusting every privileged software component, engineers establish a smaller, hardware-backed trusted computing base and verify the properties of the protected execution environment.

Why Traditional Infrastructure Trust Is Changing

In a conventional virtualised environment, the hypervisor and other privileged infrastructure components may possess significant control over guest workloads. Depending on the architecture, privileged software may be able to inspect guest memory or influence execution.

Confidential virtual machine technologies such as AMD SEV-SNP and Intel TDX are designed to reduce this exposure by introducing processor-enforced protections around guest execution and private memory. Application enclave technologies such as Intel SGX establish a different, more granular protection model.

These technologies do not eliminate the need for trust. Instead, they change which components must be trusted, which security properties can be verified and which threats remain outside the protection model.

Security dimension Conventional compute Confidential compute
Workload isolation OS and hypervisor controls Additional hardware-enforced protection
Memory protection Conventional memory access controls TEE-specific encryption and isolation
Infrastructure trust Privileged infrastructure commonly trusted Reduced trust in selected privileged components
Workload verification Software and infrastructure evidence Hardware-backed attestation evidence
Secret provisioning Identity and access policy Can additionally require verified TEE evidence
Threat model Conventional infrastructure assumptions Explicit hardware and software trust boundaries

The Six Architectural Building Blocks

FOUNDATION 01

Hardware Root of Trust

Processor and platform security mechanisms provide the foundation for establishing and verifying selected security properties of the execution environment.

FOUNDATION 02

Trusted Execution Environment

A protected execution environment designed to isolate sensitive code and data from specified components outside its trust boundary.

FOUNDATION 03

Memory Protection

Hardware mechanisms restrict access to protected memory. Encryption, integrity and ownership protections vary between processor architectures.

FOUNDATION 04

Remote Attestation

Signed evidence allows a verifier to evaluate measurements, platform security state and other claims against an established trust policy.

FOUNDATION 05

Secure Key Release

A key broker or key management service can make secret provisioning conditional on successful attestation and workload authorisation.

FOUNDATION 06

Confidential Workloads

Applications, virtual machines, containers and AI workloads consume protected compute capabilities according to the security model of their platform.

From Hardware Security to Cloud Architecture

Confidential computing is increasingly relevant to public cloud infrastructure, regulated industries, distributed applications, enterprise Kubernetes platforms and artificial intelligence systems.

Consider an enterprise deploying an AI inference service that processes sensitive customer information. Network encryption protects requests travelling to the service, while storage encryption protects persisted information. A confidential execution environment can provide additional protection while the model processes the request.

Where confidential GPU computing is required, the architecture must also account for accelerator security, GPU memory, device attestation, CPU-to-GPU communication and the supported confidential computing capabilities of the complete platform.

☁

Confidential Cloud

Hardware-protected virtual machines and attestation services for sensitive enterprise workloads.

⬡

Confidential Kubernetes

Protected container execution using appropriate confidential runtimes, workload measurements and policy-controlled secret provisioning.

▦

Confidential AI

Protected model execution and sensitive inference processing across supported CPU and accelerator trust boundaries.

What Confidential Computing Does Not Solve

Confidential computing is an additional security layer, not a replacement for a complete enterprise security architecture.

Vulnerable application code, compromised identities, insecure APIs, malicious inputs, denial-of-service attacks and some side-channel attacks may remain relevant. Hardware vulnerabilities, firmware security, attestation policy design and software supply-chain integrity must also be considered.

Trust Must Be Explicit

A successful attestation does not automatically prove that an application is free from vulnerabilities. It provides evidence about specific measured components and security claims. Engineers must determine whether that evidence satisfies their threat model and authorisation requirements.

Nine Engineering Domains

Throughout this engineering guide, we will move from processor-level security mechanisms to production cloud, Kubernetes and AI architectures. Each section will be supported by a dedicated interactive engineering experience.

01 · FOUNDATIONS Understanding Confidential Computing Confidential Computing Architecture Explorer
02 · ISOLATION Trusted Execution Environments Hardware Trust Boundary Simulator
03 · PROCESSORS Intel TDX, AMD SEV-SNP and Intel SGX Confidential Hardware Architecture Explorer
04 · MEMORY Memory Encryption and Isolation Encrypted Memory Investigation Lab
05 · VERIFICATION Remote Attestation and Hardware Root of Trust Remote Attestation Simulator
06 · CLOUD Confidential Virtual Machines Confidential Cloud Deployment Builder
07 · CONTAINERS Confidential Kubernetes Confidential Kubernetes Security Explorer
08 · AI INFRASTRUCTURE Confidential AI and GPU Computing Secure AI Inference Simulator
09 · OPERATIONS Production Security and Troubleshooting Confidential Computing Incident Investigation Lab

The Engineering Objective

By the end of this guide, engineers should be able to explain confidential computing architectures, identify hardware trust boundaries, compare confidential processor technologies, interpret attestation evidence and evaluate confidential workload deployment decisions.

More importantly, they should understand how to investigate failures, distinguish infrastructure trust from application security and determine whether a confidential computing architecture actually satisfies its intended threat model.

NI
Network Insight
ENGINEERING KNOWLEDGE HUB

Confidential Computing Architecture Explorer

Explore the complete architecture of hardware-backed confidential computing, from protected processor execution and encrypted memory to remote attestation, confidential Kubernetes, secure AI infrastructure and production security engineering.

09 ENGINEERING DOMAINS
09 INTERACTIVE EXPERIENCES
03 PROCESSOR ARCHITECTURES
SILICON FORTRESS · V2
Engineering guide position 00%
01 Network Insight · Silicon Fortress Edition

Understanding Confidential Computing

Data in use, infrastructure trust models, hardware-enforced isolation and the evolution of protected enterprise computing.
Learning objectives
  • Explain why data in use requires additional protection.
  • Compare conventional and confidential infrastructure.
  • Identify hardware-enforced security boundaries.
  • Understand the trusted computing base.
  • Recognise enterprise confidential computing use cases.
  • Identify threats outside confidential computing protection.

1.1 The Problem with Conventional Data Protection

Encryption is a fundamental component of modern enterprise security architecture. Organisations encrypt storage systems, databases, network communications, backups and sensitive application information to reduce the risk of unauthorised access.

However, protecting stored information and network traffic does not automatically protect information while an application processes it.

Consider a financial application that retrieves an encrypted customer record from a database. The application establishes a secure connection, receives the information and decrypts it before performing calculations.

During conventional processing, the decrypted information may exist in application memory, processor registers and other execution-related structures. The security of this information depends on the isolation mechanisms and trust assumptions of the underlying compute environment.

In a traditional virtualised architecture, privileged infrastructure components may have sufficient access to inspect guest memory. A compromised hypervisor or another privileged component could therefore become part of the workload's security threat model.

The fundamental problem

Encryption at rest and encryption in transit do not automatically provide protection during execution. Confidential computing addresses this gap by introducing additional hardware-backed isolation around selected executing workloads.

1.2 Understanding the Data Lifecycle

Architecture 01 · The Data Protection Lifecycle
Data at Rest Storage encryption Disks · Databases · Backups Data in Transit TLS · mTLS · IPsec Networks · APIs · Services Data in Use Confidential computing Protected execution COMPLEMENTARY SECURITY CONTROLS ACROSS THE DATA LIFECYCLE
The three data states require complementary security controls. A trusted execution environment does not automatically encrypt persistent storage or network communications; these protections must also be designed into the architecture.
▤
State 01

Data at Rest

Stored information is protected using mechanisms such as disk encryption, database encryption and managed cryptographic keys. The protection depends on key security and how authorised applications access data.

⇄
State 02

Data in Transit

Information moving between systems is protected using cryptographic communication protocols. Authentication, confidentiality and integrity depend on the protocol and its configuration.

◇
State 03

Data in Use

Information being actively processed receives additional protection through hardware-backed isolation and platform-specific memory security mechanisms.

1.3 What Is Confidential Computing?

Confidential computing is an approach to protecting data in use by performing computation inside a hardware-based, attestable trusted execution environment.

A trusted execution environment, commonly abbreviated to TEE, establishes a security boundary around selected code and data. Hardware security mechanisms enforce restrictions on how components outside that boundary can access protected resources.

Different confidential computing technologies establish different protection boundaries. Some protect an entire virtual machine, while others protect selected application components inside a process.

Protection model A

Confidential Virtual Machines

Technologies such as AMD SEV-SNP and Intel TDX provide hardware-backed protection for guest virtual machines. The guest operating system and applications execute within the protected environment, while the hypervisor is outside the guest's confidentiality boundary.

Protection model B

Application Enclaves

Technologies such as Intel SGX allow selected application code and data to execute inside an enclave. The surrounding application, operating system and hypervisor can remain outside the enclave's trust boundary.

1.4 Conventional Versus Confidential Infrastructure

The most important architectural difference is not simply whether memory is encrypted. It is the relationship between the workload and the privileged infrastructure responsible for hosting it.

Architecture 02 · Infrastructure Trust Comparison
Conventional Virtual Machine Guest Virtual Machine Application Sensitive Guest Memory Privileged Hypervisor Potential memory visibility Physical Hardware PRIVILEGED INFRASTRUCTURE TRUST Confidential Virtual Machine Hardware-Protected Guest Application and Guest OS Protected Private Memory Platform-specific memory protection Privileged Hypervisor Outside guest confidentiality boundary Processor Security Architecture Hardware-enforced access restrictions REDUCED INFRASTRUCTURE TRUST
Conceptual comparison. Confidential VM technologies restrict access to protected private guest memory according to their hardware security model. Shared memory, device communication and other explicitly exposed resources require separate consideration.

A confidential virtual machine still depends on the surrounding infrastructure for resources such as CPU scheduling, networking, storage and device availability. The hypervisor does not disappear from the architecture.

Instead, hardware mechanisms restrict selected privileged operations against protected guest resources. This allows the workload to operate with a different confidentiality and integrity trust model.

Architecture dimension Conventional VM Confidential VM
Guest memory Conventional virtualisation isolation. Additional hardware-backed private memory protection.
Hypervisor trust Typically trusted for guest confidentiality. Reduced trust for protected guest confidentiality.
Guest OS Trusted by applications executing within it. Generally remains inside the guest trust model.
Attestation May use conventional measured boot and platform evidence. TEE-specific evidence about protected execution.
Device access Conventional virtual and physical device mechanisms. Requires consideration of private and shared resources.
Availability Depends on infrastructure operation. Still depends on infrastructure operation.
Application vulnerabilities Require application security controls. Still require application security controls.

1.5 The Trusted Computing Base

The Trusted Computing Base (TCB) consists of the hardware, firmware and software components whose correct operation is necessary to enforce a particular security property.

If a component belongs to the trusted computing base, a security failure in that component may undermine the protection being provided.

One objective of confidential computing is to reduce the number of components that must be trusted for selected workload security properties.

Architecture 03 · Conceptual Confidential VM Trust Model
PROTECTED GUEST EXECUTION BOUNDARY
Sensitive Application Business logic and protected data
Application Runtime Libraries and dependencies
Guest Operating System Guest kernel and privileged guest software
Private Guest Memory Hardware-enforced memory protection
Host OS and Hypervisor Outside protected guest confidentiality boundary
Processor Security Mechanisms Hardware-backed isolation and access enforcement
Security Firmware and Microcode Platform-specific trusted components
Physical Infrastructure Compute resources, devices and connectivity
The protected execution boundary is not identical to the complete trusted computing base. Trusted processor mechanisms and security firmware may sit outside the guest's execution boundary while remaining essential to its security. The precise TCB depends on the technology, deployment and security property.

In a confidential VM architecture, the guest operating system generally remains trusted by the applications running inside it. A malicious guest administrator or compromised guest kernel may still be capable of accessing application information.

An application enclave can establish a narrower protection boundary, potentially excluding the guest operating system from the enclave's confidentiality trust model. However, this approach introduces its own application design, interface and operational requirements.

Engineering insight

Reducing the trusted computing base is valuable only when the resulting trust boundary matches the threat model. Protecting an entire VM does not automatically isolate one application from another application or administrator inside that VM.

1.6 Hardware-Enforced Isolation

Conventional operating systems and hypervisors enforce isolation through privilege levels, virtual memory, page tables and access-control mechanisms.

Confidential computing extends these mechanisms with processor-specific security capabilities that can restrict access to protected execution state even when requests originate from selected privileged infrastructure components.

Mechanism 01

Memory Encryption

Hardware-managed cryptographic mechanisms protect selected memory contents against unauthorised observation. Encryption alone does not establish every required integrity or ownership property.

Mechanism 02

Memory Ownership

Platform-specific metadata and access checks help determine which protected execution environment is permitted to access particular memory resources.

Mechanism 03

Execution State Protection

Depending on the processor architecture, sensitive execution state may receive additional protection against inspection or modification by components outside the trusted environment.

Memory encryption, access restrictions, integrity mechanisms and execution-state protection are related but distinct capabilities. Their implementation and security guarantees differ between confidential computing technologies.

1.7 Establishing Trust Before Processing Sensitive Data

A workload owner must be able to determine whether a remote execution environment provides the security properties required by the application.

Remote attestation provides a mechanism for evaluating signed evidence about a platform or protected workload. A verifier evaluates that evidence against reference values, endorsements and security policies.

01 Launch Create a protected execution environment.
02 Measure Establish measurements and security claims.
03 Attest Generate hardware-backed evidence.
04 Verify Evaluate evidence, freshness and policy.
05 Authorise Release approved secrets or sensitive data.

A production architecture can combine attestation with workload identity and authorisation policies. For example, a key broker may release a database decryption key only when the requesting workload presents acceptable evidence and satisfies its access policy.

The attestation result should be securely bound to the intended workload or communication channel so that an attacker cannot simply reuse another environment's valid evidence to obtain secrets.

Zero Trust relationship

Confidential computing complements Zero Trust by introducing hardware-backed execution evidence into security decisions. It does not replace identity verification, least-privilege access, segmentation or continuous security monitoring.

1.8 Enterprise Confidential Computing Use Cases

▥

Financial Services

Protect sensitive financial records, risk calculations, transaction analysis and proprietary algorithms while executing on supported infrastructure.

✚

Healthcare

Reduce infrastructure-level exposure of sensitive medical information during analytics, research and supported AI inference workloads.

☁

Public Cloud

Deploy sensitive enterprise applications with reduced reliance on selected privileged cloud infrastructure components for confidentiality.

⬡

Kubernetes

Combine confidential container execution with workload attestation, policy enforcement and controlled access to application secrets.

▦

Artificial Intelligence

Protect sensitive prompts, proprietary models and inference data within supported CPU and accelerator security boundaries.

⇄

Collaborative Analytics

Enable organisations to contribute sensitive data to a mutually approved protected computation, subject to appropriate attestation, output controls and governance.

1.9 Threat Models and Security Limitations

Confidential computing is not a universal defence against every infrastructure or application attack. Engineers must explicitly identify which adversaries and security properties the selected architecture is designed to address.

Threat Confidential computing contribution Additional considerations
Hypervisor memory inspection Can restrict access to protected private memory. Platform capabilities and configuration.
Unauthorised memory modification May provide platform-specific integrity and ownership protections. Exact guarantees differ between TEEs.
Unapproved workload deployment Attestation can support verification of measured components. Reference measurements, identity and policy.
Application vulnerability Does not inherently prevent exploitation. Secure development, testing and patching.
Compromised application identity Does not automatically prevent identity misuse. IAM, workload identity and least privilege.
Denial of service Generally does not guarantee availability. Resilience, redundancy and recovery.
Side-channel attacks Protection varies by platform and threat. Mitigations, updates and workload design.
Unprotected output data Does not automatically protect exported information. TLS, access policy and data governance.
Firmware or hardware vulnerabilities May undermine the trusted execution environment. Security updates and attestation policy.

1.10 Production Architecture Scenario

Imagine an enterprise deploying a sensitive financial analytics application in a public cloud environment. The organisation wants to reduce the risk of privileged infrastructure components inspecting customer information during processing.

The engineering team selects a supported confidential virtual machine platform and establishes an approved workload image. The workload retrieves attestation evidence and presents it to a verification service.

Once the evidence and workload identity satisfy the organisation's policy, a key broker releases the authorised cryptographic material over a protected communication channel.

The application can then decrypt and process approved information within the confidential execution environment. Results are transmitted using appropriate transport encryption and stored using approved storage security controls.

Production engineering checklist
  • Define the adversaries and required security properties.
  • Select a supported confidential computing platform.
  • Identify the protected workload boundary and trusted components.
  • Establish approved workload measurements and reference values.
  • Validate attestation evidence and platform security versions.
  • Bind secret release to the authorised workload.
  • Protect storage, networking and shared device communication.
  • Monitor security updates, policy changes and workload health.
  • Design recovery procedures for unavailable or rejected environments.

Section 01 — Key Engineering Takeaways

Takeaway 01

Protect the Complete Data Lifecycle

Confidential computing complements storage and transport encryption by adding protection during execution.

Takeaway 02

Change the Trust Model

Hardware-backed isolation can reduce reliance on selected privileged infrastructure components.

Takeaway 03

Verify Before Authorising

Attestation provides evidence that can inform workload authorisation and controlled secret release.

Takeaway 04

Design Around the Threat Model

Security guarantees depend on the selected technology, trusted components, workload configuration and operational security controls.

Interactive Engineering Experience 01

Confidential Computing Architecture Explorer

The accompanying interactive engineering widget will allow you to compare conventional and confidential workloads, inspect infrastructure trust boundaries, experiment with privileged memory access, evaluate attestation decisions and observe how different security controls protect the data lifecycle.

NETWORK INSIGHT
INTERACTIVE ENGINEERING LABS
SIMULATION ENVIRONMENT
CONFIDENTIAL COMPUTING / LAB 01 / SILICON VAULT

Confidential Computing
Architecture Explorer

Investigate how hardware-enforced workload isolation changes the infrastructure trust model. Configure a computing environment, execute a sensitive workload and observe how different protection mechanisms affect data exposure.

EXECUTION MODEL Standard
PROTECTED DATA STATES 2 / 3
HOST TRUST Required
KEY RELEASE POLICY Standard
ARCHITECTURE CONFIGURATION
Storage Encryption Protect persistent data at rest.
TLS Encryption Protect data across the network.
Confidential Execution Model hardware-enforced guest isolation and memory protection.
Attestation-Gated Keys Release workload secrets only after approved evidence.

Change the controls independently to investigate the role of each protection mechanism.

LOGICAL INFRASTRUCTURE MODEL Data Owner Sensitive workload TLS Protected PHYSICAL COMPUTE SERVER Host OS / Hypervisor Trusted infrastructure layer HARDWARE-ENFORCED TRUST BOUNDARY Guest Application Processes sensitive plaintext CPU Standard execution Hardware platform Guest Memory Host-readable Private workload data Persistent Storage Encrypted at rest Verifier / Key Broker Gate not required
CYAN — WORKLOAD FLOW GREEN — HARDWARE TRUST BOUNDARY RED — INSPECTION POINT
01

Infrastructure Threat Simulator

Select an infrastructure threat and examine which protection mechanism applies.

Environment Ready

Configure the architecture and select a threat to investigate its effect on sensitive workload data.

02

The Three States of Data

STATE 01 / PERSISTENCE

Data at Rest

Databases, disks, object storage and persistent files. Encryption protects stored data against unauthorized offline access when keys remain secure.

PROTECTED
STATE 02 / COMMUNICATION

Data in Transit

Application requests, API traffic and network communication. Correctly configured TLS protects data between authenticated endpoints.

PROTECTED
STATE 03 / EXECUTION

Data in Use

Data being processed by applications. Confidential computing adds hardware-enforced isolation from privileged infrastructure software within the supported threat model.

EXPOSED TO HOST
03

Workload Evidence and Memory Investigation

GUEST APPLICATION VIEW
No workload executed.

The authorized application can process plaintext inside its execution environment. Confidential computing does not prevent the application itself from accessing its own data.

PRIVILEGED HOST VIEW
No memory inspection performed.

Compare the simulated host-visible evidence with the guest view. Protected private memory is not equivalent to ordinary host-readable application memory.

04

Engineering Event Console

05

Engineering Challenge Laboratory

SELECT ENGINEERING OBJECTIVE

CHALLENGES COMPLETED
0 / 5

Confidential Computing Foundations

Engineering model limitations: This is a conceptual simulator, not an actual trusted execution environment. Memory contents, threat outcomes and attestation evidence are synthetic. Real confidential computing guarantees depend on the hardware platform, firmware, guest configuration, trusted computing base and supported threat model. Shared memory, application vulnerabilities, side channels, compromised guest software and denial of service require separate consideration. Attestation provides evidence for a policy decision; it does not prove that an application is free of vulnerabilities.
02 Network Insight · Silicon Fortress Edition

Trusted Execution Environments (TEEs)

Engineering hardware-enforced execution boundaries, application enclaves, confidential virtual machines, processor isolation and protected memory communication.
Learning objectives
  • Explain the architectural purpose of a TEE.
  • Distinguish application enclaves from confidential VMs.
  • Understand processor-enforced security boundaries.
  • Identify private and shared memory resources.
  • Understand communication across a trust boundary.
  • Evaluate TEE selection against a production threat model.

2.1 What Is a Trusted Execution Environment?

A Trusted Execution Environment is a protected execution environment that uses hardware-backed security mechanisms to isolate selected code and data from components outside its security boundary.

In confidential computing architectures, the TEE provides the foundation for protecting information during execution. It changes the relationship between an application and the privileged infrastructure responsible for hosting that application.

A conventional application relies on the operating system and other privileged software to enforce memory isolation. If those trusted components are compromised, the application's confidentiality may also be compromised.

A TEE introduces additional hardware-enforced restrictions that can prevent specified privileged software components from directly accessing protected memory and execution state.

Architectural principle

Privilege does not necessarily imply access to protected execution state. A TEE introduces a hardware-backed security domain whose access rules are not determined solely by conventional operating system privilege levels.

2.2 Inside a Hardware-Protected Execution Environment

Architecture 01 · Inside the Silicon Fortress
HOST OPERATING SYSTEM / HYPERVISOR Resource management and infrastructure control PROCESSOR SECURITY ARCHITECTURE TRUSTED EXECUTION ENVIRONMENT Trusted Code Protected execution Private Memory Protected data and state HARDWARE ACCESS AND ISOLATION ENFORCEMENT External Input Untrusted data External Output Explicit release CPU · Security Firmware · Protected Memory Mechanisms CONCEPTUAL HARDWARE-ENFORCED EXECUTION DOMAIN
Conceptual security architecture rather than a literal processor floor plan. The protected memory may reside in external system RAM. Hardware access checks and memory protection mechanisms enforce the logical security boundary.
◇
Property 01

Confidentiality

Restricts unauthorised observation of protected information by components outside the defined security boundary.

⬡
Property 02

Integrity

Platform-specific mechanisms can protect selected execution state and memory against unauthorised modification. Exact guarantees vary by technology.

✓
Property 03

Attestability

Hardware-backed evidence allows an external verifier to evaluate claims about the protected environment and its security configuration.

2.3 Processor Privilege Levels and Security Domains

Modern processors implement privilege mechanisms that distinguish application execution from privileged operating system execution.

In conventional x86 architectures, applications commonly execute at Ring 3 while operating system kernels execute at Ring 0. Hardware virtualisation introduces additional execution modes that distinguish guest software from virtual machine monitors.

Confidential computing introduces security mechanisms that operate alongside these conventional privilege and virtualisation controls.

For example, a hypervisor may retain authority to schedule a confidential virtual machine without retaining unrestricted access to its protected private memory.

Architecture 02 · Privilege Versus Protected Execution
CONFIDENTIAL GUEST SECURITY DOMAIN
Guest Applications Commonly execute at Ring 3
Guest Operating System Commonly executes at Ring 0
Protected Guest Execution State TEE-specific security mechanisms
Host Hypervisor Resource control outside guest confidentiality boundary
Processor Security Enforcement Security-domain and memory-access checks
Trusted Firmware and Microcode Platform-specific security foundation
Physical Processor and Memory System Execution resources and system RAM
This is a logical trust model, not a universal processor privilege hierarchy. Confidential computing technologies introduce different hardware mechanisms, security modules and execution domains. A TEE should not be interpreted simply as an additional CPU ring.
Engineering insight

Conventional privilege determines which operations software may perform. Confidential computing adds restrictions associated with protected security domains. These are related but distinct architectural concepts.

2.4 Application Enclaves Versus Confidential Virtual Machines

Trusted execution environments can be implemented at different levels of the software architecture. Two important approaches are application enclaves and confidential virtual machines.

Application enclaves protect selected application components. Confidential virtual machines protect a broader guest execution environment that can include the operating system, application runtime and multiple applications.

Architecture 03 · Comparing TEE Protection Granularity
Application Enclave Application Process Untrusted Application Code ENCLAVE Trusted Code Protected Data Operating System Hypervisor / Host Infrastructure FINE-GRAINED PROTECTION Confidential Virtual Machine PROTECTED GUEST DOMAIN Application A Application B Guest Operating System Protected Private Guest Memory Hypervisor / Host Infrastructure VM-LEVEL PROTECTION
The gold boundaries illustrate different protection granularities. Application enclaves can exclude surrounding application and operating system code from their trust model. Confidential VMs generally include the guest operating system within the protected environment.
Architecture dimension Application enclave Confidential VM
Protection scope Selected application code and data. Protected guest VM execution environment.
Representative technologies Intel SGX. AMD SEV-SNP and Intel TDX.
Operating system trust Can exclude the OS from enclave confidentiality trust. Guest OS generally remains trusted by applications.
Application adaptation May require partitioning, libraries or enclave-aware runtimes. Often supports existing VM workloads with fewer changes.
Communication model Controlled enclave entry and exit interfaces. Guest interfaces, virtual devices and shared memory.
Software trusted computing base Potentially smaller, depending on the runtime. Generally includes a larger guest software stack.
Deployment considerations Application design and enclave lifecycle. VM images, guest configuration and platform compatibility.
Typical use cases Selected cryptographic operations and sensitive algorithms. Enterprise applications, databases and confidential cloud workloads.

2.5 Protected Execution and the Workload Lifecycle

A TEE must be established before sensitive information is processed within it. Depending on the technology, this involves creating the execution environment, configuring protected memory and establishing measurements associated with its initial state.

Hardware-backed attestation can then provide evidence about the environment. A relying party can use this evidence, together with identity and authorisation controls, to decide whether sensitive information should be provisioned.

01 Create Allocate and initialise the protected execution domain.
02 Measure Establish platform-specific measurements and security claims.
03 Attest Generate evidence about the execution environment.
04 Authorise Evaluate evidence and provision approved secrets.
05 Execute Process information using protected execution resources.
06 Terminate Destroy or release protected resources according to platform rules.

This lifecycle represents a common deployment pattern. Attestation is not necessarily a mandatory hardware gate before execution. Instead, a production architecture can require successful verification before releasing sensitive information.

The initial measurement of a protected environment also does not automatically describe every subsequent runtime operation. Runtime security, software updates and ongoing policy evaluation remain important.

2.6 Private Memory and Shared Memory

Confidential virtual machines must communicate with resources outside their protected security domain. These resources can include virtual network adapters, storage devices, host services and management interfaces.

Depending on the processor and device architecture, communication may require memory that is explicitly shared with components outside the confidential guest.

Private memory and shared memory therefore represent different security properties. Information placed in a shared buffer must not automatically be assumed to receive the same confidentiality guarantees as information stored in protected private memory.

Architecture 04 · Private and Shared Memory Communication
CONFIDENTIAL GUEST Sensitive Application Plaintext processing inside protected environment PRIVATE MEMORY Code Data Keys State Guest I/O and Cryptographic Processing Encrypt sensitive payload before sharing SHARED BUFFER Host-visible I/O Encrypted payload EXTERNAL HOST INFRASTRUCTURE Hypervisor / Host Services Virtual NIC Storage Device Shared memory is not equivalent to private memory CONCEPTUAL CONFIDENTIAL VM I/O PATH
This example assumes that sensitive network or storage payloads are encrypted within the protected guest before entering host-visible buffers. Encryption of these payloads is an additional software or device security function, not an automatic consequence of using shared memory.
Protected resource

Private Memory

Holds protected application information, guest execution state and other data covered by the selected TEE's hardware security mechanisms. Access is governed by platform-specific ownership and protection rules.

Communication resource

Shared Memory

Enables selected communication with external infrastructure. Shared buffers must be treated according to their actual visibility, integrity and access-control properties.

Critical security boundary

Sensitive information can become exposed when it leaves protected memory. Engineers must consider shared buffers, device communication, logging, application responses and other explicit data release paths.

2.7 Communication Across an Enclave Boundary

Application enclaves frequently require services provided by software outside the protected environment. These services may include file access, network communication, time information and operating system functionality.

In Intel SGX software architectures, enclave-aware interfaces commonly use the concepts of ECALLs and OCALLs to represent controlled calls into and out of an enclave.

An ECALL allows external application code to invoke an enclave function. An OCALL allows enclave code to request functionality implemented outside the enclave.

Architecture 05 · Enclave Entry and Exit Interfaces
UNTRUSTED APPLICATION Application Interface External OS Services PROTECTED ENCLAVE Trusted Function Protected Data ECALL Invoke trusted function OCALL Request external service CONTROLLED INTERFACES REQUIRE INPUT VALIDATION AND OUTPUT POLICY
ECALL and OCALL are common Intel SGX software interface concepts rather than universal TEE terminology. Other confidential computing architectures use different mechanisms for communication across protected boundaries.

Code executing inside an enclave must not automatically trust information supplied by external components. Inputs require validation, external service results require appropriate verification, and sensitive outputs must be deliberately controlled.

Hardware isolation protects the execution boundary, but the application remains responsible for the security of its interfaces and business logic.

2.8 Understanding the TEE Trusted Computing Base

The trusted computing base contains the components whose correct operation is necessary to enforce the required security properties.

For an application enclave, the software TCB may consist primarily of the trusted application code, enclave runtime and selected libraries. Processor security mechanisms and trusted firmware also form part of the wider security foundation.

For a confidential virtual machine, the guest kernel, application runtime, libraries and privileged guest software may all be relevant to application confidentiality and integrity.

TCB layer 01

Hardware

Processor security mechanisms, memory access enforcement and relevant hardware cryptographic capabilities.

TCB layer 02

Firmware and Microcode

Trusted platform components responsible for establishing or enforcing selected confidential computing security properties.

TCB layer 03

Trusted Software

Workload code, libraries, runtimes and other software whose correctness is required by the selected protection model.

The complete production system also depends on external trust services. Attestation verifiers, certificate infrastructure, key brokers and reference-value management systems can be critical to the end-to-end security decision.

These external services are not necessarily part of the local processor TEE's TCB, but their compromise may undermine the wider confidential computing deployment.

2.9 Security Threats at the Execution Boundary

Trusted execution environments are designed around explicit threat models. A security property provided by one technology should not automatically be assumed to exist in another.

Threat Architectural consideration Engineering response
Privileged host memory access Hardware restrictions can protect private memory. Verify the selected TEE protection model.
Malicious shared-buffer contents External components may influence shared data. Validate and authenticate external inputs.
Compromised trusted application The attacker may execute inside the protected boundary. Secure development, isolation and patching.
Malicious guest administrator A confidential VM may include the guest OS in its TCB. Evaluate narrower protection boundaries and guest access controls.
Side-channel observation Timing, resource usage and other metadata may reveal information. Platform-specific mitigations and workload design.
Untrusted external service results Hardware isolation does not establish external data correctness. Validate responses and protect communication integrity.
Rollback of persistent state Encrypted storage alone may not establish freshness. Use appropriate freshness and state-verification mechanisms.
Denial of service Host infrastructure may still control resource availability. Design redundancy, recovery and availability controls.

2.10 Selecting the Appropriate TEE Architecture

Choosing a confidential computing technology is fundamentally an architectural decision. The appropriate protection boundary depends on the workload, its threat model and the operational requirements of the deployment.

Deployment scenario A

Existing Enterprise Application

An organisation wants to move an existing enterprise application into a protected cloud environment while minimising application changes. A confidential VM may provide an appropriate starting point if the guest operating system remains within the accepted trust model.

Deployment scenario B

Sensitive Cryptographic Function

An application needs to isolate a selected cryptographic operation from surrounding software, including the operating system. An enclave-based architecture may provide a more suitable protection boundary.

Deployment scenario C

Confidential Containers

A Kubernetes platform needs to protect selected workloads from privileged host infrastructure. Confidential container runtimes can use protected guest environments, workload attestation and policy-controlled secret provisioning.

Deployment scenario D

Confidential AI Inference

An inference service must protect sensitive prompts and model information across CPU and GPU execution. The architecture must evaluate accelerator trust boundaries, device attestation and protected communication between components.

Production TEE architecture checklist
  • Define which privileged components are considered potential adversaries.
  • Determine whether VM-level or application-level isolation is required.
  • Identify all trusted hardware, firmware and software components.
  • Document private memory and shared-memory communication paths.
  • Validate the platform's memory confidentiality and integrity guarantees.
  • Establish attestation and workload authorisation requirements.
  • Protect external communication and persistent storage.
  • Evaluate performance, memory and device compatibility constraints.
  • Design secure update, recovery and workload termination procedures.
  • Document residual risks and threats outside the TEE security model.

Section 02 — Key Engineering Takeaways

Takeaway 01

Hardware Defines Additional Boundaries

A TEE adds security-domain enforcement beyond conventional operating system privilege and virtualisation isolation.

Takeaway 02

Protection Granularity Matters

Application enclaves and confidential virtual machines establish different trust boundaries and introduce different software dependencies.

Takeaway 03

Boundary Crossings Require Security

Shared memory, external calls, virtual devices and exported information require explicit validation and protection.

Takeaway 04

Isolation Is Not Complete Security

Hardware-backed protection must be combined with attestation, secure software, identity controls and an explicit production threat model.

Interactive Engineering Experience 02

Hardware Trust Boundary Simulator

The accompanying interactive engineering widget will allow you to construct confidential VM and enclave architectures, inspect protected execution domains, experiment with privileged access requests, compare private and shared memory, and investigate how security decisions change when trusted components are compromised.

NETWORK INSIGHT
INTERACTIVE ENGINEERING LABS
HARDWARE SECURITY SIMULATION
CONFIDENTIAL COMPUTING / LAB 02 / SILICON FORTRESS

Inside the Processor
Hardware Trust Boundary Simulator

Explore how hardware-enforced isolation changes memory access decisions. Select an execution architecture, choose a requesting component and investigate whether a memory transaction crosses an authorized trust boundary.

EXECUTION ARCHITECTURE Confidential VM
ACCESS PERMITTED 0
ACCESS DENIED 0
GUEST INTEGRITY Normal
MEMORY ACCESS REQUEST
MEMORY CONFIGURATION

Memory visibility, ownership and execution privilege are evaluated independently.

PROCESSOR SECURITY ARCHITECTURE LOGICAL EXECUTION DOMAINS CONFIDENTIAL GUEST Application Workload context Guest Kernel Guest privilege Hypervisor Host privilege Other VM Separate owner DMA Device Device access HARDWARE ENFORCEMENT ENGINE Memory Access Decision Ownership · Privilege · Visibility · Permissions AWAITING REQUEST MEMORY OWNERSHIP DOMAINS PAGE P01 Application Data Protected private PAGE P02 Kernel Memory Guest private PAGE P03 Shared Buffer Explicit I/O sharing PAGE P04 Other VM Data Separate conventional VM CONFIDENTIAL VM — HARDWARE-ISOLATED GUEST MEMORY
GREEN — PROTECTED DOMAIN CYAN — ACCESS REQUEST GOLD — HARDWARE ENFORCEMENT RED — DENIED ACCESS

Hardware Access Engine Ready

Select a requesting component, memory page and operation. Submit the request to observe the hardware access decision.

01

Hardware Access Decision Pipeline

STAGE 01 Requester Context Awaiting request
STAGE 02 Memory Ownership Awaiting request
STAGE 03 Access Policy Awaiting request
STAGE 04 Final Decision Awaiting request
02

Memory Ownership and Permission Table

These synthetic pages represent different ownership and sharing domains. All pages in this laboratory are data pages configured as non-executable.

PAGE ILLUSTRATIVE ADDRESS OWNER VISIBILITY PERMISSIONS
03

Trusted Computing Base Explorer

Observe how changing the execution architecture changes the components that must be trusted for application confidentiality and integrity.

04

Memory Transaction Evidence

REQUEST DESCRIPTOR
No transaction submitted.
HARDWARE RESPONSE
Awaiting hardware decision.
05

Hardware Security Event Console

06

Engineering Challenge Laboratory

SELECT ENGINEERING OBJECTIVE

CHALLENGES COMPLETED
0 / 6

Hardware Trust Boundary Engineering

Engineering model limitations: This laboratory uses a simplified, vendor-neutral access policy. It does not emulate real processor instructions, page tables, cryptographic memory engines or hardware exceptions. Actual confidential VM and enclave architectures differ in their memory ownership metadata, privilege transitions, page-sharing procedures, DMA protections and trusted computing bases. Shared memory is not automatically safe for plaintext secrets. Hardware isolation does not eliminate application vulnerabilities, side channels or denial-of-service risks.
03 Network Insight · Silicon Fortress Edition

Intel TDX, AMD SEV-SNP and Intel SGX

Inside confidential processor architectures: Trust Domains, Secure Processors, Reverse Map Tables, Enclave Page Cache, hardware memory protection and cryptographic attestation.
Learning objectives
  • Understand Intel Trust Domain Extensions.
  • Explain AMD SEV-SNP security architecture.
  • Understand Intel SGX application enclaves.
  • Identify PAMT, SEPT, RMP, EPC and EPCM mechanisms.
  • Compare processor memory protection and attestation.
  • Select a protection architecture based on workload requirements.

3.1 Three Approaches to Confidential Computing

Confidential computing is not implemented through a single universal processor architecture. Hardware vendors have developed different mechanisms for protecting executing workloads, enforcing memory ownership and generating cryptographic evidence about protected environments.

Intel Trust Domain Extensions, AMD Secure Encrypted Virtualization with Secure Nested Paging and Intel Software Guard Extensions represent three important approaches to hardware-backed confidential execution.

TDX
Intel

Trust Domain Extensions

Protects virtual machine execution through Trust Domains, a processor-isolated TDX Module, private memory management and hardware-backed attestation.

SNP
AMD

SEV-SNP

Protects confidential virtual machines through hardware-managed memory encryption, protected guest execution state and Reverse Map Table ownership and validation mechanisms.

SGX
Intel

Software Guard Extensions

Protects selected application code and data inside hardware-enforced enclaves using Enclave Page Cache resources and associated processor security metadata.

Core architectural distinction

Intel TDX and AMD SEV-SNP primarily provide confidential virtual machine protection. Intel SGX provides application-level enclave protection. The appropriate choice depends on which software components must remain inside or outside the workload's trust boundary.

3.2 Intel Trust Domain Extensions Architecture

Intel Trust Domain Extensions, commonly abbreviated to TDX, introduces a hardware-backed confidential virtual machine architecture based on protected execution environments called Trust Domains.

A Trust Domain can contain a guest operating system, application runtime and enterprise applications. Its protected execution state and private memory are isolated from selected privileged infrastructure components, including the conventional host virtual machine monitor.

A central component of this architecture is the Intel TDX Module. This Intel-signed security module operates within a processor-isolated environment using Secure Arbitration Mode, or SEAM.

The module participates in Trust Domain lifecycle management, protected memory management, security metadata enforcement and generation of local attestation reports.

Architecture 01 · Intel TDX Processor Security Model
HOST VIRTUAL MACHINE MONITOR Scheduling, resource allocation and device management INTEL TDX SECURITY ARCHITECTURE TRUST DOMAIN A Application and Guest OS Private Guest Memory Protected vCPU State TRUST DOMAIN B Independent Guest Workload Separate Private Memory Protected vCPU State INTEL TDX MODULE · SEAM Trust Domain management · Memory security · TDREPORT Secure EPT Private address translation PAMT Physical page metadata Memory Encryption Hardware-managed key domains LOGICAL SECURITY MODEL · NOT A PHYSICAL PROCESSOR FLOOR PLAN
Trust Domains TDX Module Security metadata Private memory protection
Conceptual Intel TDX architecture. The TDX Module and processor mechanisms cooperate to enforce protected execution. The host retains resource management responsibilities but is restricted from directly accessing protected guest resources. Exact implementation details vary by platform and TDX generation.

3.3 Intel TDX Memory Management and Trust Domains

Protecting a confidential virtual machine requires more than encrypting memory contents. The processor architecture must also control how private memory is assigned, translated, accessed and managed throughout the Trust Domain lifecycle.

TDX mechanism 01

Secure Arbitration Mode

SEAM provides a processor-isolated execution environment used by the TDX Module. It separates security-sensitive module operations from the conventional host virtual machine monitor.

TDX mechanism 02

Secure Extended Page Tables

Secure EPT structures support private guest physical address translation under TDX security controls. Their protected management helps prevent arbitrary host manipulation of private Trust Domain mappings.

TDX mechanism 03

Physical Address Metadata Table

PAMT records security-related metadata for managed physical memory pages, including ownership and page-type information used by the TDX Module.

TDX mechanism 04

Memory Encryption

TDX uses hardware memory encryption capabilities derived from Intel multi-key total memory encryption mechanisms, with protected key identifiers associated with Trust Domains.

TDX mechanism 05

Protected vCPU State

Trust Domain execution-state management restricts conventional host visibility into protected guest processor state during supported execution transitions.

TDX mechanism 06

TDREPORT and Quotes

The TDX architecture supports generation of local reports containing Trust Domain claims. Quoting infrastructure converts appropriate report evidence into remotely verifiable quotes.

Engineering insight

TDX is not simply a conventional virtual machine with encrypted RAM. Its security architecture combines protected execution state, security metadata, controlled address translation, hardware-managed encryption and attestation.

3.4 AMD Secure Encrypted Virtualization

AMD Secure Encrypted Virtualization introduces hardware-backed security capabilities for virtualised workloads running on supported AMD processors.

The architecture has evolved through several generations of protection. Understanding these generations is important because memory encryption, processor-state protection and memory ownership enforcement address different security problems.

Generation 01

AMD SEV

Introduces hardware-managed virtual machine memory encryption, reducing exposure of guest memory contents to selected infrastructure components.

Generation 02

AMD SEV-ES

Secure Encrypted Virtualization with Encrypted State extends protection to selected guest processor register state associated with virtual machine execution transitions.

Generation 03

AMD SEV-SNP

Secure Nested Paging adds stronger memory ownership and mapping protections, including Reverse Map Table mechanisms designed to address malicious hypervisor manipulation of protected guest memory mappings.

3.5 Inside AMD SEV-SNP Architecture

AMD SEV-SNP combines processor-enforced security mechanisms, hardware-managed memory encryption, protected guest state and security firmware running on the AMD Secure Processor.

The AMD Secure Processor is a dedicated security component that participates in confidential virtual machine lifecycle management, cryptographic key management and attestation operations.

A particularly important SEV-SNP mechanism is the Reverse Map Table (RMP), which associates system physical memory pages with security-related ownership and validation metadata.

Architecture 02 · AMD SEV-SNP Silicon Security Model
HOST HYPERVISOR Outside protected guest confidentiality boundary AMD SEV-SNP SECURITY ARCHITECTURE SNP CONFIDENTIAL VM A Application and Guest OS Encrypted Private Memory Protected VMSA SNP CONFIDENTIAL VM B Independent Guest Workload Separate Private Memory Protected VMSA AMD SECURE PROCESSOR Security firmware Guest lifecycle and keys Attestation reports REVERSE MAP TABLE Page 01 · Guest A · Validated Page 02 · Guest B · Validated Page 03 · Shared / Host MEMORY ENCRYPTION Hardware-managed keys Guest-associated encryption Memory controller path CONCEPTUAL SEV-SNP PROTECTION AND MEMORY OWNERSHIP MODEL
The diagram illustrates the logical relationship between confidential guests, the AMD Secure Processor, Reverse Map Table and memory encryption mechanisms. The RMP is a security metadata structure, not a network or application forwarding component. Hardware and firmware cooperate to enforce the architecture's security properties.

3.6 Reverse Map Table and Secure Nested Paging

Conventional virtualisation uses nested page tables to translate guest physical addresses into system physical addresses.

A malicious hypervisor with unrestricted control over these mappings could potentially manipulate how guest memory is associated with physical memory resources.

SEV-SNP introduces additional hardware-enforced checks using the Reverse Map Table. These checks help ensure that protected memory pages are associated with the expected guest and address mapping according to the architecture's rules.

Architecture 03 · RMP Ownership and Mapping Validation
GUEST A GPA 0x1000 Memory access request INVALID MAPPING Guest A → Guest B page Ownership mismatch HARDWARE VALIDATION Nested Page Translation RMP SECURITY METADATA Assigned guest / ASID Expected guest physical address Validation and access state PROCESSOR ACCESS CHECK PRIVATE PAGE A Owner: Guest A ACCESS PERMITTED PRIVATE PAGE B Owner: Guest B ACCESS DENIED MEMORY OWNERSHIP AND ADDRESS-MAPPING ENFORCEMENT
Simplified illustration of SNP memory access checks. The example shows an ownership mismatch being rejected before access to another guest's private memory. Actual RMP checks include architecture-specific conditions and are not limited to a guest identifier.
SNP mechanism 01

Page Ownership

RMP metadata helps associate protected physical memory with the appropriate confidential guest and restrict incompatible access or mapping operations.

SNP mechanism 02

Page Validation

Guest validation operations, including PVALIDATE, participate in establishing whether assigned private pages are accepted for use according to the SNP memory management model.

SNP mechanism 03

Mapping Integrity

Hardware checks help defend against selected malicious remapping, aliasing and page ownership violations. This is distinct from providing a universal cryptographic integrity guarantee for every byte of external memory.

3.7 AMD Secure Processor and Protected Guest State

The AMD Secure Processor executes trusted security firmware that supports important SEV-SNP operations. These operations include aspects of guest launch, security configuration, cryptographic management and attestation.

Guest processor state is another important part of the security architecture. SEV-ES and SEV-SNP protect selected state stored in the Virtual Machine Save Area, commonly abbreviated to VMSA.

Because the host still provides virtualisation services, the guest requires controlled mechanisms for communicating information that must be shared with the hypervisor.

Guest state

VMSA

The Virtual Machine Save Area contains guest processor state used during virtualised execution. SEV-ES and SNP introduce protections around this sensitive state.

Host communication

GHCB

The Guest-Hypervisor Communication Block provides a defined mechanism for exchanging selected information between an encrypted-state guest and its hypervisor.

Guest privilege

VMPL

Virtual Machine Privilege Levels allow supported SNP guest architectures to distinguish additional privilege domains and memory access permissions within a confidential guest.

3.8 Intel Software Guard Extensions Architecture

Intel Software Guard Extensions, or SGX, takes a different approach to confidential computing. Rather than primarily protecting an entire virtual machine, SGX allows selected application code and data to execute inside protected enclaves.

An enclave can establish a confidentiality boundary that excludes surrounding application code, the operating system and the hypervisor from direct access to protected enclave memory.

SGX is therefore particularly relevant when an application requires a narrower protection boundary than an entire guest operating system.

Architecture 04 · Intel SGX Enclave and EPC Model
APPLICATION PROCESS UNTRUSTED APPLICATION External logic and interfaces OS service requests PROTECTED SGX ENCLAVE Trusted Code Sensitive Data ECALL OCALL OPERATING SYSTEM / HYPERVISOR SGX PROCESSOR AND MEMORY PROTECTION ENCLAVE PAGE CACHE Code Data State EPCM METADATA Enclave ownership Page type and access permissions HARDWARE ENFORCEMENT Enclave access checks Memory protection and reports APPLICATION-LEVEL CONFIDENTIAL EXECUTION
SGX enclaves are logical protected execution environments. The Enclave Page Cache is a protected physical memory resource, not simply a conventional on-chip CPU cache. EPCM security metadata supports processor-enforced enclave page access checks.

3.9 Enclave Page Cache and EPCM

The Enclave Page Cache, or EPC, provides protected memory pages used by Intel SGX enclaves. These pages can contain enclave code, data and security-related structures.

The operating system participates in memory allocation and enclave resource management, but processor security mechanisms restrict its direct access to protected enclave contents.

The Enclave Page Cache Map, or EPCM, maintains processor-managed metadata associated with EPC pages. This metadata includes information relevant to enclave ownership, page type, address association and access permissions.

SGX mechanism 01

Enclave Page Cache

Protected physical memory resources used for enclave pages. Available EPC capacity and paging behaviour can influence application performance.

SGX mechanism 02

EPCM

Processor-managed security metadata used to enforce enclave page ownership, address association, page type and permitted access.

SGX mechanism 03

Enclave Measurement

MRENCLAVE represents a measurement of the enclave's initial construction. MRSIGNER identifies the enclave signing authority through a measurement of its signing key.

SGX mechanism 04

Enclave Transitions

Processor mechanisms control entry into and exit from protected enclave execution. Software runtimes provide interfaces for application calls and external services.

SGX mechanism 05

Memory Protection

SGX provides processor-enforced enclave memory isolation and platform-specific protections for enclave memory outside the processor package.

SGX mechanism 06

Sealing and Attestation

SGX supports mechanisms for deriving enclave-associated keys and producing attestation evidence. Sealing policies can protect persistent information, subject to appropriate freshness controls.

SGX design consideration

An enclave's protection boundary can be smaller than a confidential VM, but a smaller boundary does not automatically guarantee a small trusted computing base. Enclave libraries, language runtimes and library operating systems may substantially increase the trusted software footprint.

3.10 Comparing Hardware Memory Protection Mechanisms

Intel TDX, AMD SEV-SNP and Intel SGX use different security metadata structures and processor mechanisms to protect workload memory.

Although PAMT, RMP and EPCM all participate in memory security, they are not interchangeable implementations of an identical mechanism. Each belongs to a different processor architecture and enforces different security rules.

Mechanism Technology Architectural purpose
PAMT Intel TDX Tracks security metadata for managed physical memory pages, including ownership and page types.
Secure EPT Intel TDX Supports protected management of private guest physical address translation.
RMP AMD SEV-SNP Supports hardware enforcement of memory ownership, mapping and validation properties.
PVALIDATE AMD SEV-SNP Allows guest participation in private memory page validation.
EPC Intel SGX Provides protected physical memory resources for enclave pages.
EPCM Intel SGX Maintains processor-managed enclave page security metadata.

3.11 Hardware Attestation Across Processor Architectures

Confidential computing platforms must provide mechanisms that allow external parties to evaluate the security properties of protected workloads.

Intel TDX, AMD SEV-SNP and Intel SGX support different attestation evidence formats and cryptographic trust infrastructures.

Architecture 05 · Hardware Attestation Comparison
INTEL TDX Trust Domain AMD SEV-SNP Confidential guest INTEL SGX Application enclave TDX QUOTE MRTD · RTMRs · Attributes Report data and TCB claims SNP ATTESTATION REPORT Measurement · Guest policy Report data and TCB claims SGX QUOTE MRENCLAVE · MRSIGNER Attributes and security versions TDX EVIDENCE VERIFIER Intel trust collateral SNP EVIDENCE VERIFIER AMD endorsement certificates SGX EVIDENCE VERIFIER Intel trust collateral ENTERPRISE TRUST AND AUTHORISATION POLICY Accept or reject workload based on verified claims
A common enterprise policy engine can consume technology-specific verification results, but evidence formats, endorsement chains, measurement semantics and security version information must be interpreted according to each platform.
Intel TDX evidence

Trust Domain Measurements

TDX evidence can include MRTD, runtime measurement registers, Trust Domain attributes, report data and security-version information. Remote verification uses appropriate TDX quote and collateral validation mechanisms.

AMD SNP evidence

Signed Attestation Reports

SNP attestation reports contain claims such as launch measurement, guest policy, report data and TCB versions. Verification can use AMD endorsement infrastructure, including VCEK or supported VLEK mechanisms.

Intel SGX evidence

Enclave Identity

SGX evidence can include enclave measurements, signer identity, product identifiers, security versions, attributes and report data. DCAP-based quoting infrastructure supports remote verification deployments.

Attestation security principle

A cryptographically valid report is not necessarily an acceptable report. The verifier must also evaluate workload identity, approved measurements, security versions, debug configuration, evidence freshness and binding to the intended workload or communication channel.

3.12 Confidential Processor Architecture Comparison

Security dimension Intel TDX AMD SEV-SNP Intel SGX
Protection granularity Virtual machine / Trust Domain. Confidential virtual machine. Application enclave.
Primary security foundation Processor mechanisms and TDX Module. Processor mechanisms and AMD Secure Processor firmware. Processor-enforced enclave architecture.
Memory security metadata PAMT and Secure EPT structures. Reverse Map Table. EPCM associated with EPC pages.
Memory protection Hardware-managed private memory encryption and access controls. Guest-associated encryption and SNP ownership checks. Enclave memory isolation and platform-specific encryption protections.
Guest OS trust Generally inside application trust model. Generally inside application trust model. Can remain outside enclave confidentiality trust.
Protected execution state Trust Domain vCPU protection. Protected VMSA and guest execution state. Enclave execution-state protection.
Attestation evidence TDX quote. Signed SNP attestation report. SGX quote.
Application adaptation Often limited, subject to guest and device compatibility. Often limited, subject to guest and device compatibility. May require enclave-aware application design or runtime.
Memory considerations Private/shared memory management and platform capacity. Private/shared pages, RMP management and platform capacity. EPC capacity and enclave paging behaviour.
Representative workloads Enterprise VMs and confidential cloud workloads. Enterprise VMs and confidential cloud workloads. Protected application components and sensitive algorithms.

3.13 Confidential Computing Performance Considerations

Hardware-backed workload protection introduces additional architectural considerations that can affect performance and operational behaviour.

Performance characteristics depend on processor generation, workload behaviour, memory access patterns, virtualisation configuration, device architecture and the selected confidential computing technology.

Performance domain 01

Memory Access

Memory encryption, additional access checks and protected address translation can influence memory latency and bandwidth. The actual effect requires workload-specific benchmarking.

Performance domain 02

Execution Transitions

Protected execution transitions, virtual machine exits and enclave boundary calls can introduce additional overhead depending on the application and platform.

Performance domain 03

Device Communication

Shared buffers, protected device support, memory copying and software encryption may affect storage and networking performance.

Performance domain 04

Protected Memory Capacity

SGX EPC capacity, confidential VM memory allocation limits and platform-specific resource constraints can influence deployment scalability.

Performance domain 05

Attestation Latency

Evidence generation, certificate retrieval, verification and key provisioning may contribute to workload startup latency and dependency availability.

Performance domain 06

Operational Compatibility

Migration, snapshots, debugging, accelerators and other infrastructure capabilities may have technology-specific restrictions or require additional security mechanisms.

3.14 Selecting a Confidential Processor Architecture

Engineers should select a confidential computing platform by evaluating the required security boundary rather than simply choosing a processor technology based on its name.

01 Define the threat model Identify which infrastructure and application components must not access sensitive information.
02 Select protection granularity Determine whether VM-level or application-level protection is required.
03 Validate hardware support Confirm processor generation, firmware, cloud platform and guest compatibility.
04 Design attestation policy Establish approved measurements, security versions and evidence validation requirements.
05 Benchmark the workload Measure compute, memory, networking, storage and workload startup performance.
06 Establish operational controls Design patching, recovery, secret provisioning, monitoring and security incident procedures.
Engineering scenario A

Confidential Enterprise Database

An existing database application requires protection from privileged host infrastructure. Intel TDX or AMD SEV-SNP may provide suitable VM-level protection if the database software and guest operating system remain trusted.

Engineering scenario B

Protected Cryptographic Service

A sensitive cryptographic function must be isolated from surrounding application and operating system code. An SGX enclave may provide a more appropriate protection boundary, subject to its threat model and deployment support.

Engineering scenario C

Confidential Kubernetes Platform

A container platform requires workload isolation from privileged worker-node infrastructure. Confidential VM technologies can provide a hardware foundation for compatible confidential container runtimes and attestation services.

Engineering scenario D

Confidential AI Infrastructure

Sensitive AI workloads require protection across CPU memory, accelerator memory and communication paths. A confidential CPU environment must be combined with compatible accelerator security capabilities where required.

3.15 Production Security and Residual Risks

Confidential processor architectures reduce exposure to selected infrastructure-level threats, but they do not remove all security dependencies.

Hardware vulnerabilities, firmware defects, side-channel attacks, malicious application inputs, compromised workload software and unprotected external communication can remain relevant.

Production deployments must also account for changes in processor security versions and attestation collateral. A workload that previously satisfied a security policy may no longer satisfy it after a vulnerability disclosure or policy update.

Production confidential processor checklist
  • Confirm that the exact processor and firmware support the required technology.
  • Document the hardware and software trusted computing base.
  • Validate private memory ownership and shared memory handling.
  • Understand platform-specific confidentiality and integrity guarantees.
  • Reject unacceptable debug or security configurations.
  • Validate attestation signatures, endorsements and security versions.
  • Bind attestation evidence to workload identity and freshness requirements.
  • Benchmark representative production workloads.
  • Establish secure firmware, microcode and guest software update procedures.
  • Evaluate device, migration, snapshot and recovery requirements.
  • Document residual side-channel and availability risks.

Section 03 — Key Engineering Takeaways

Takeaway 01

Intel TDX Protects Trust Domains

TDX combines processor-isolated security module execution, protected address translation, memory metadata and hardware-managed encryption to establish confidential VM environments.

Takeaway 02

AMD SNP Strengthens Memory Ownership

SEV-SNP extends encrypted virtualisation with additional memory ownership and mapping protections using Reverse Map Table mechanisms.

Takeaway 03

Intel SGX Protects Application Enclaves

SGX provides a finer-grained protection boundary around selected application code and data using enclave memory resources and processor-enforced access controls.

Takeaway 04

Attestation Is Technology-Specific

Evidence formats, measurement semantics, endorsement infrastructure and security policies must be evaluated according to the selected processor architecture.

Interactive Engineering Experience 03

Confidential Hardware Architecture Explorer

The accompanying interactive engineering widget will allow you to switch between Intel TDX, AMD SEV-SNP and Intel SGX architectures, inspect processor security components, investigate memory ownership decisions, compare trusted computing bases and examine technology-specific attestation evidence.

NETWORK INSIGHT
INTERACTIVE ENGINEERING LABS
PROCESSOR ARCHITECTURE LAB
CONFIDENTIAL COMPUTING / LAB 03 / SILICON INTELLIGENCE

Inside Confidential Silicon
Hardware Architecture Explorer

Explore Intel TDX, AMD SEV-SNP and Intel SGX from an engineering perspective. Investigate how each architecture establishes protected execution, manages memory ownership and changes the infrastructure trust model.

PROTECTION GRANULARITY Virtual Machine
MEMORY OWNERSHIP PAMT / SEPT
SECURITY AUTHORITY TDX Module
GUEST OS IN APP TCB Yes
LOGICAL SILICON CUTAWAY — NOT TO PHYSICAL SCALE INTEL TDX — CONFIDENTIAL EXECUTION ARCHITECTURE TRUST DOMAIN — PROTECTED GUEST Guest Application Sensitive workload Guest Operating System Inside guest trust boundary Host / Hypervisor Resource management Outside protected workload SECURITY AUTHORITY TDX Module SEAM execution environment Security-sensitive operations MEMORY SECURITY METADATA PAMT / Secure EPT Ownership and address translation Platform-specific enforcement Memory Encryption Engine TD-specific key selection Hardware-managed protection Private TD Memory Protected guest pages Private memory domain TDREPORT / Quote Platform attestation evidence External verification required External KMS / HSM Application key management Separate from processor memory keys
GREEN — PROTECTED EXECUTION GOLD — SECURITY AUTHORITY LOGICAL COMPONENT RELATIONSHIPS
SILICON COMPONENT INSPECTOR
SECURITY AUTHORITY

TDX Module

01

Hardware Protection Decision Pipeline

STAGE 01 Execution Context Awaiting hardware trace
STAGE 02 Security Authority Awaiting hardware trace
STAGE 03 Memory Metadata Awaiting hardware trace
STAGE 04 Protected Memory Awaiting hardware trace

Hardware Explorer Ready

Select a processor architecture and trace its conceptual hardware protection pipeline.

02

Hardware Security Mechanism Investigation

SELECT HARDWARE INVESTIGATION

Compare the same security scenario across Intel TDX, AMD SEV-SNP and Intel SGX. The outcome depends on the selected protection boundary.

Investigation Ready

Select a mechanism to generate evidence.

SYNTHETIC HARDWARE EVIDENCE
No hardware investigation performed.
03

Confidential Hardware Architecture Comparison

ENGINEERING PROPERTY INTEL TDX AMD SEV-SNP INTEL SGX
Protection boundary Trust Domain / VM Confidential VM Application enclave
Protected memory Private TD pages Validated private guest pages Enclave pages in EPC
Security mechanisms TDX Module and processor hardware AMD Secure Processor firmware and CPU enforcement Processor enclave mechanisms
Memory metadata PAMT and Secure EPT Reverse Map Table Enclave Page Cache Map
Guest OS trusted for application data Yes, for ordinary guest applications Yes, for ordinary guest applications Outside enclave confidentiality boundary
Application changes Often limited; compatible guest stack required Often limited; compatible guest stack required Enclave integration or compatible runtime required
Attestation evidence TDREPORT and quote infrastructure Signed SNP attestation report Enclave report and quote infrastructure
Typical design objective Protect an entire guest workload Protect an entire guest workload Minimize the application trust boundary
Availability guaranteed No No No
04

Enterprise Architecture Selection Laboratory

WORKLOAD REQUIREMENTS
ENGINEERING DESIGN ASSESSMENT

Architecture Not Yet Evaluated

Configure the workload requirements and available hardware. The design engine will assess the suitable protection boundary.

Awaiting architecture assessment.
05

Hardware Security Module Integration

A Hardware Security Module (HSM) can protect application cryptographic keys and perform controlled cryptographic operations. It is not the same component as a processor memory encryption engine, and it does not automatically establish a trusted execution environment.

Intel TDX Workload Requests authorized cryptographic operation
Verifier / Key Broker Evaluates evidence and application policy
External HSM Protects non-exportable signing key

Cryptographic Service Ready

Submit a synthetic signing request. Both evidence approval and application authorization are required by this laboratory's policy.

06

Hardware Security Event Console

07

Engineering Challenge Laboratory

SELECT ENGINEERING OBJECTIVE

CHALLENGES COMPLETED
0 / 6

Confidential Hardware Engineering

Engineering model limitations: This laboratory illustrates logical architecture rather than actual processor die layouts or instruction-level execution. The hardware traces, memory access outcomes, attestation decisions and HSM responses are synthetic. Intel TDX, AMD SEV-SNP and Intel SGX guarantees depend on processor generation, firmware, configuration and the supported threat model. The laboratory does not model every integrity mechanism, side channel, speculative execution risk, device security feature or platform vulnerability. The external HSM example uses a hypothetical verifier and authorization policy rather than a native universal HSM-to-TEE protocol.
04 Network Insight · Silicon Fortress Edition

Memory Encryption and Isolation

Engineering hardware-protected memory with cryptographic key domains, processor-enforced ownership, private and shared pages, secure address translation and controlled device access.
Learning objectives
  • Understand hardware memory encryption.
  • Trace encrypted memory read and write operations.
  • Explain workload-associated cryptographic key domains.
  • Distinguish private and shared memory.
  • Understand memory ownership and address translation.
  • Investigate DMA, IOMMU and confidential I/O.
  • Distinguish confidentiality from memory integrity.
  • Diagnose confidential memory architecture failures.

4.1 Why Conventional Memory Is a Security Boundary

Traditional infrastructure security architectures protect information using storage encryption, network encryption, identity controls and operating system access restrictions.

However, applications must process information during execution. Database records, cryptographic keys, AI model parameters and sensitive application state can exist in plaintext within processor execution resources and system memory.

Conventional virtualisation relies heavily on privileged infrastructure software to enforce isolation between virtual machines. A compromised or malicious privileged component can therefore represent a significant threat to sensitive workload memory.

Protection domain 01

Data at Rest

Storage encryption protects persistent information on disks, storage systems and backup infrastructure, subject to appropriate key management.

Protection domain 02

Data in Transit

TLS, IPsec and other secure communication mechanisms protect information while it traverses communication channels.

Protection domain 03

Data in Use

Confidential computing combines hardware isolation, memory protection and protected execution to reduce exposure while information is actively processed.

Fundamental security principle

Memory encryption alone does not establish a complete trusted execution environment. Confidential execution also requires appropriate access controls, ownership enforcement, protected execution state and a verifiable security architecture.

4.2 Hardware Memory Encryption Architecture

Hardware memory encryption moves selected cryptographic operations into processor and memory subsystem hardware.

In a typical confidential computing architecture, the processor can operate on plaintext within authorised execution resources while protected memory contents are encrypted before being written to external memory.

When protected memory is subsequently accessed, hardware performs the required decryption according to the relevant key domain and access-control rules.

Architecture 01 · Hardware Memory Encryption Pipeline
LOGICAL PROCESSOR SECURITY BOUNDARY CONFIDENTIAL WORKLOAD Authorised processor execution Plaintext computation HARDWARE ACCESS CONTROLS Ownership and translation checks Protected execution context PROCESSOR CACHE AND MEMORY HIERARCHY Hardware-enforced access and isolation rules HARDWARE MEMORY ENCRYPTION ENGINE Encrypt writes · Decrypt reads Platform-specific cryptographic implementation HARDWARE KEY DOMAIN Protected key selection Workload-associated context EXTERNAL DRAM · ENCRYPTED PRIVATE MEMORY 9F A2 7C 3D E1 82 B7 04 F9 62 C8 A3 D1 8B 56 Encrypted write Encrypted read
Conceptual processor-to-memory encryption pipeline. The diagram represents logical security functions, not an exact processor floor plan. Encryption placement, cache behaviour, key selection and access enforcement vary by hardware architecture. The displayed ciphertext is illustrative.

4.3 The Memory Write and Read Lifecycle

Understanding the lifecycle of a memory transaction helps explain where confidential computing protection is applied and where additional security controls remain necessary.

01 Application execution The authorised workload generates a memory operation while processing plaintext information.
02 Address translation Processor translation mechanisms determine the relevant physical memory mapping.
03 Security enforcement Hardware evaluates applicable permissions, ownership and protected execution context.
04 Key selection The memory subsystem identifies the appropriate hardware-managed cryptographic context.
05 Encrypted memory write Protected data is encrypted when written through the relevant external memory path.
06 Authorised memory read A subsequent authorised access retrieves data and performs decryption where required.

This sequence describes logical dependencies. Real processors can cache translations, permissions and data, and may combine or pipeline operations. Not every application memory instruction results in an external DRAM transaction.

4.4 Cryptographic Key Domains

Encrypting every workload with a single shared platform key does not provide the same isolation properties as an architecture that associates protected memory with distinct workload cryptographic contexts.

Confidential virtualisation technologies can associate protected guest memory with hardware-managed encryption keys or key identifiers.

The architecture must prevent untrusted infrastructure software from freely extracting protected keys or selecting another workload's private encryption context.

Architecture 02 · Independent Memory Key Domains
WORKLOAD A WORKLOAD B WORKLOAD C Confidential database Confidential application Confidential AI workload HARDWARE-MANAGED CRYPTOGRAPHIC CONTEXTS KEY DOMAIN A KEY DOMAIN B KEY DOMAIN C PRIVATE MEMORY A PRIVATE MEMORY B PRIVATE MEMORY C 8F C2 9D A1 3B 72 F0 E6 C9 51 8A D4 INDEPENDENT CRYPTOGRAPHIC CONTEXTS · CONTROLLED KEY SELECTION
Logical illustration of workload-associated encryption domains. Actual key allocation, key identifier management and isolation mechanisms are technology-specific. Encryption domains operate together with memory access controls rather than replacing them.
Key architecture 01

Hardware Key Management

Sensitive memory encryption keys are managed through trusted hardware and firmware mechanisms rather than being exposed as ordinary application configuration.

Key architecture 02

Key Identifiers

Platform-specific identifiers associate memory operations with an appropriate cryptographic context. A key identifier is not the cryptographic key itself.

Key architecture 03

Lifecycle Management

Key allocation, guest termination, memory reclamation and context reuse must follow architecture-specific security procedures to prevent unintended exposure.

4.5 Private and Shared Memory

Confidential virtual machines still need to communicate with external infrastructure. They must send network packets, access storage, receive interrupts and interact with virtual devices.

Traditional virtual device implementations frequently require communication buffers that can be accessed by both the guest and selected host components.

Confidential computing therefore distinguishes between protected private memory and memory intentionally made available for external communication.

Architecture 03 · Private and Shared Memory Boundary
CONFIDENTIAL VIRTUAL MACHINE Application · Guest OS · Confidential Runtime PRIVATE MEMORY Sensitive application data Guest credentials and keys Protected execution state HARDWARE-PROTECTED SHARED MEMORY Virtual device queues Communication buffers Explicitly shared information OUTSIDE PRIVATE MEMORY GUARANTEE HOST INFRASTRUCTURE AND VIRTUAL DEVICES Host VMM Virtual Storage Virtual Network Interface EXPLICIT SHARING CREATES A DIFFERENT TRUST BOUNDARY
Conventional virtual I/O can require explicitly shared communication buffers. Shared memory does not receive the same guest-private confidentiality guarantees. Protected device architectures may support alternative I/O paths.
Security property Private memory Shared memory
Primary purpose Protected workload execution. External communication and device interaction.
Host visibility Restricted by confidential computing mechanisms. Accessible to authorised external components.
Encryption context Protected workload-associated context. Platform-specific shared memory context.
Sensitive plaintext Appropriate within the defined workload trust boundary. Should not be exposed without explicit security justification.
Device communication Requires compatible protected device mechanisms. Commonly used by conventional virtual devices.
Security responsibility Hardware isolation plus trusted workload software. Protocol protection, validation and controlled disclosure.

4.6 Memory Ownership and Page State Transitions

A confidential computing architecture must establish which workload owns a protected memory page and which access operations are permitted.

A page may transition between host-managed, guest-private and shared states according to technology-specific memory management rules.

These transitions are security-sensitive. Incorrect page conversion, stale mappings or failure to initialise memory appropriately can cause access violations, application failures or unintended information exposure.

Architecture 04 · Conceptual Memory Page Lifecycle
01 · ALLOCATION 02 · ASSIGNMENT 03 · ACCEPTANCE 04 · PRIVATE USE 05 · SHARED USE 06 · RECLAMATION Available physical page Establish security ownership Validate or accept as required Protected workload access Optional controlled conversion Secure release and reuse Direct private-page reclamation CONCEPTUAL LIFECYCLE · NOT A VENDOR INSTRUCTION SEQUENCE
Page state transitions vary between Intel TDX, AMD SEV-SNP and other confidential computing architectures. Sharing is optional, and private pages can be reclaimed without first being exposed as shared communication buffers.

4.7 Secure Address Translation

Virtualised workloads typically use multiple stages of address translation.

An application generates a guest virtual address. Guest page tables translate that address into a guest physical address. A second translation stage associates guest physical addresses with system physical memory.

Confidential virtualisation introduces additional security mechanisms to restrict malicious manipulation of protected memory mappings.

Architecture 05 · Protected Memory Address Translation
APPLICATION MEMORY REQUEST Guest virtual address: 0x40001000 GUEST PAGE TABLES Virtual → Guest physical GPA: 0x2000 SECOND-STAGE TRANSLATION Guest physical → System physical SPA: 0x90002000 SECURITY ENFORCEMENT Ownership · Permissions · State AUTHORISED PROTECTED PHYSICAL MEMORY Valid mapping and authorised encryption context MEMORY OPERATION PERMITTED
Logical representation of address translation and security enforcement. Real implementations can perform checks during page walks and translation caching rather than as a single independent final stage. Addresses are illustrative.
Intel TDX

Secure EPT and PAMT

TDX uses protected private address translation and physical memory metadata managed through its security architecture to enforce Trust Domain memory rules.

AMD SEV-SNP

Reverse Map Table

SNP supplements nested translation with hardware checks involving RMP ownership, address association and validation metadata.

Intel SGX

EPC and EPCM

SGX enforces enclave-specific memory access restrictions using processor-managed metadata associated with protected EPC pages.

4.8 Confidentiality, Integrity and Replay Protection

Encryption protects information confidentiality by making protected data unintelligible without the appropriate cryptographic context.

Confidentiality does not automatically provide integrity, authenticity or freshness. An architecture must separately consider whether an adversary can modify encrypted memory, substitute pages or replay previously observed data.

Security property 01

Confidentiality

Restricts unauthorised disclosure of protected memory contents.

Security property 02

Access Integrity

Enforces applicable ownership, permissions and mapping restrictions for protected memory operations.

Security property 03

Cryptographic Data Integrity

Detects unauthorised modification where supported integrity mechanisms authenticate protected data or associated metadata.

Security property 04

Freshness and Replay Resistance

Prevents or detects inappropriate reuse of older data or security state within the architecture's defined protection scope.

Important architectural distinction

Memory ownership enforcement, cryptographic integrity and replay protection are different security properties. Engineers must evaluate the precise guarantees of their processor generation, firmware and deployment model. They should not assume that every encrypted memory architecture provides identical protection against physical memory attacks.

4.9 DMA and the Confidential Computing I/O Problem

Direct Memory Access allows compatible hardware devices to transfer information to and from system memory without requiring the CPU to perform every individual data movement.

Network interface cards, storage controllers and accelerators frequently depend on DMA for efficient high-throughput operation.

In a confidential computing environment, unrestricted device access to protected memory would conflict with the workload's confidentiality boundary.

Conventional devices may therefore use shared memory buffers, while more advanced protected device architectures establish additional mechanisms for secure assignment and protected communication.

4.10 IOMMU and Device Isolation

An Input-Output Memory Management Unit, or IOMMU, provides address translation and access-control capabilities for device-generated memory transactions.

The IOMMU helps restrict devices to authorised memory mappings. However, a conventional IOMMU configuration alone does not necessarily establish a trusted confidential device path when privileged infrastructure software is outside the workload's trust boundary.

Architecture 06 · DMA, IOMMU and Memory Isolation
NETWORK NIC STORAGE DEVICE GPU ACCELERATOR DMA requests DMA requests DMA requests INPUT-OUTPUT MEMORY MANAGEMENT UNIT Device address translation DMA mapping and access permissions AUTHORISED SHARED BUFFERS Conventional device communication PERMITTED DMA PATH CONFIDENTIAL PRIVATE MEMORY Hardware-protected guest pages UNAUTHORISED DMA RESTRICTED CONVENTIONAL DMA MODEL · PRIVATE MEMORY REQUIRES ADDITIONAL PROTECTION
Conceptual device memory isolation model. IOMMU permissions and confidential computing hardware protections must cooperate to enforce the intended security boundary. Protected device assignment can introduce additional authorised private memory access mechanisms.

4.11 Confidential I/O and Trusted Device Architecture

Confidential computing increasingly extends beyond CPU execution into accelerator, storage and networking architectures.

Protecting CPU memory is insufficient when sensitive information must subsequently traverse an untrusted device interface or enter unprotected accelerator memory.

Emerging and supported confidential I/O architectures combine device identity, secure communication, protected assignment and device-specific security mechanisms.

Confidential I/O 01

SPDM

Security Protocol and Data Model supports device authentication, measurement exchange and secure session establishment between compatible components.

Confidential I/O 02

PCIe IDE

Integrity and Data Encryption provides cryptographic protection for supported PCI Express transaction streams.

Confidential I/O 03

PCIe TDISP

TEE Device Interface Security Protocol supports security-sensitive management of compatible device interfaces assigned to trusted execution environments.

Confidential I/O 04

Device Attestation

Device identity and security measurements can provide evidence about accelerator firmware, configuration and supported security properties.

Confidential I/O 05

Protected Accelerator Memory

Compatible accelerator security architectures can protect selected device execution and memory resources according to their own threat models.

Confidential I/O 06

End-to-End Trust

CPU, device, firmware, communication path and workload security properties must collectively satisfy the enterprise protection policy.

Confidential AI engineering

A confidential VM running an AI inference service does not automatically make its GPU execution confidential. The accelerator, accelerator memory, host-device communication path and attestation architecture must also be evaluated.

4.12 Secure Networking Through Shared Memory

Network communication illustrates why private memory protection must be combined with conventional cryptographic protocols.

A confidential application can establish a TLS session inside its protected execution environment. Sensitive application data is encrypted before being copied into shared network communication buffers.

The host may observe ciphertext and communication metadata, but the TLS-protected application payload remains confidential when the protocol is correctly implemented and its keys remain protected.

Architecture 07 · Confidential Workload Network Egress
CONFIDENTIAL WORKLOAD BOUNDARY APPLICATION Sensitive plaintext Customer information TLS ENDPOINT Protected session keys Encrypted TLS records SHARED NETWORK BUFFER Ciphertext and metadata TLS-protected payload HOST NIC / NETWORK External transport PLAINTEXT REMAINS INSIDE THE TRUST BOUNDARY Assuming correct TLS termination and buffer handling
TLS termination inside the confidential workload can protect application payloads before they enter host-visible shared memory. Network addresses, traffic timing, packet sizes and other metadata may remain observable.

4.13 Confidential Memory Troubleshooting

Confidential memory failures can originate from hardware configuration, guest memory management, device compatibility, firmware versions or security policy enforcement.

Engineers must distinguish an expected security rejection from an infrastructure fault. A denied memory access may indicate that the protection mechanism is operating correctly.

Observed symptom Possible cause Investigation direction
Confidential VM fails to launch Unsupported processor or firmware configuration. Inspect platform capabilities, firmware and VMM support.
Guest memory access failure Incorrect page ownership, acceptance or mapping. Inspect guest logs and architecture-specific memory state.
Virtual NIC fails Incompatible DMA or shared buffer configuration. Inspect device support, DMA mappings and guest drivers.
Storage throughput degradation Additional copying or shared buffer overhead. Benchmark I/O paths and memory copy behaviour.
GPU workload unavailable Unsupported confidential device assignment. Verify accelerator, firmware and platform compatibility.
Unexpected plaintext exposure Sensitive data copied into shared buffers. Review encryption termination and application data flow.
Attestation policy rejection Unacceptable platform security version or configuration. Inspect verified claims and approved security policy.
SGX performance degradation Protected memory pressure or excessive enclave paging. Measure EPC utilisation and workload working-set size.

4.14 Engineering Investigation — Private Memory Access Failure

Consider a confidential virtual machine that experiences a memory access failure after a virtual device configuration change.

The application starts successfully, but its network interface fails when the guest attempts to transmit information.

The investigation identifies a device buffer associated with protected private memory rather than a compatible shared I/O region.

NETWORK INSIGHT · SYNTHETIC INCIDENT EVIDENCE
[00:00:01] Confidential workload launch       SUCCESS
[00:00:02] Private memory initialisation      SUCCESS
[00:00:03] Virtual network device discovery  SUCCESS
[00:00:04] Device buffer allocation          COMPLETE
[00:00:05] DMA mapping request              REJECTED

Memory region       : PRIVATE
Device mode         : CONVENTIONAL VIRTUAL I/O
Protected assignment: NOT ESTABLISHED
Expected buffer     : AUTHORISED SHARED MEMORY

Investigation result:
Device access conflicts with memory security policy.

Remediation direction:
Use the supported confidential-guest I/O mechanism.
Protect sensitive payloads before sharing buffers.
Revalidate device mappings and connectivity.

Expected outcome:
Private memory protection remains enforced.
Supported device communication is restored.
    

This synthetic evidence illustrates an engineering investigation rather than actual Intel, AMD or Linux diagnostic output. Production error messages and remediation procedures depend on the specific platform and driver implementation.

Troubleshooting principle

Do not resolve a confidential memory access failure by indiscriminately disabling isolation or making sensitive memory shared. Restore communication using the platform's supported security architecture while preserving the intended workload protection boundary.

4.15 Production Memory Security Checklist

Confidential memory architecture validation
  • Document the exact hardware memory protection guarantees.
  • Identify which processor and firmware components are trusted.
  • Validate workload-associated encryption context management.
  • Understand private memory ownership and page state transitions.
  • Identify every shared memory communication path.
  • Protect sensitive network and storage payloads before sharing.
  • Validate DMA mappings and device isolation.
  • Confirm confidential accelerator support where required.
  • Evaluate memory integrity and replay protection separately.
  • Benchmark memory bandwidth, latency and I/O overhead.
  • Review memory reclamation and workload termination procedures.
  • Document side-channel, availability and physical attack assumptions.
  • Validate firmware updates and attestation security versions.
  • Test failure recovery without weakening memory protection.

Section 04 — Key Engineering Takeaways

Takeaway 01

Encryption Is One Security Layer

Confidential memory protection combines encryption with ownership enforcement, access restrictions and protected execution context management.

Takeaway 02

Shared Memory Changes the Trust Boundary

Information intentionally exposed through shared buffers must be protected according to its sensitivity and the trustworthiness of external infrastructure.

Takeaway 03

Devices Require Their Own Security Architecture

DMA isolation, device authentication, protected communication and compatible confidential device assignment are important components of end-to-end workload protection.

Takeaway 04

Integrity Is Not Identical to Confidentiality

Encryption, memory mapping integrity, cryptographic authentication and replay resistance must be evaluated as distinct security properties.

Interactive Engineering Experience 04

Confidential Memory Protection Simulator

The accompanying interactive engineering experience will allow you to trace memory transactions through a conceptual processor security pipeline, examine private and shared memory states, compare encryption contexts, investigate ownership violations and observe permitted or rejected device memory operations.

NETWORK INSIGHT
INTERACTIVE ENGINEERING LABS
MEMORY SECURITY LABORATORY
CONFIDENTIAL COMPUTING / LAB 04 / CRYPTOGRAPHIC MEMORY VAULT

Inside Protected Memory
Encrypted Memory Investigation Lab

Investigate what happens when sensitive application data leaves a protected CPU execution context and enters physical memory. Explore encryption boundaries, hardware-managed key contexts, private and shared memory pages, ownership enforcement and the limitations of memory encryption without additional isolation mechanisms.

EXECUTION ARCHITECTURE Confidential VM
PRIVATE MEMORY PAGES 6 / 8
MEMORY KEY CONTEXT VM-A
SECURITY VIOLATIONS 0
LOGICAL PROCESSOR AND MEMORY ARCHITECTURE PROCESSOR PACKAGE PROTECTED GUEST EXECUTION CPU Execution Usable application data CPU Cache Protected execution context Host / Hypervisor Scheduling and resource management UNTRUSTED IN CONFIDENTIAL MODE MEMORY PROTECTION Encryption Engine Hardware-managed key context Conceptual memory transformation KEY CONTEXT: VM-A MEMORY SECURITY METADATA Page Ownership Ownership and mapping enforcement Hardware isolation enabled ARCHITECTURE-SPECIFIC IMPLEMENTATION EXTERNAL MEMORY INTERFACE Private DRAM Pages Encrypted representation PAGE 00 PAGE 01 PAGE 02 PAGE 03 Shared DRAM Pages Outside guest-private memory protection SHARED I/O SHARED BUFFER DATA
GREEN — PRIVATE PROTECTION CYAN — MEMORY TRANSACTION GOLD — SHARED / HOST DOMAIN
MEMORY TRANSACTION CONTROLS

Memory Engine Ready

Select a memory page and execute a write or read transaction.

Use fictional data only. This laboratory is an educational model, not a secure environment for processing real secrets.

STAGE 01 Execution Context Awaiting transaction
STAGE 02 Ownership Check Awaiting transaction
STAGE 03 Memory Protection Awaiting transaction
STAGE 04 Physical Memory Awaiting transaction
01

Interactive Physical Memory Map

SELECT A PHYSICAL MEMORY PAGE
SELECTED PAGE METADATA
MEMORY PAGE LIFECYCLE

Changing a page between private and shared memory requires a controlled transition. This laboratory clears the existing page contents during the transition to demonstrate safe data handling.

02

Plaintext and Ciphertext Investigation

AUTHORIZED APPLICATION VIEW

CPU Execution Context

The authorized application operates on usable data inside its execution context.

No authorized memory transaction recorded.
SIMULATED EXTERNAL MEMORY VIEW

Physical DRAM Representation

Inspect the modeled representation stored outside the protected CPU execution boundary.

No memory contents recorded.
03

Hardware-Managed Encryption Key Contexts

KEY CONTEXT A

VM-A

Financial workload memory encryption context.

KEY ID: DEMO-A
KEY MATERIAL: NOT EXPOSED
KEY CONTEXT B

VM-B

Independent analytics workload encryption context.

KEY ID: DEMO-B
KEY MATERIAL: NOT EXPOSED
SHARED MEMORY

Shared Domain

Outside the guest-private encryption context.

CONTEXT: SHARED
GUEST-PRIVATE PROTECTION: NO

The following experiment compares representations of identical application data under two simulated encryption contexts. Different contexts produce different demonstration byte sequences. These sequences are not real cryptographic ciphertext.

Awaiting key-context comparison.
04

Memory Security Investigation Laboratory

MEMORY SECURITY EXPERIMENT

Investigation Ready

Write demonstration data into a memory page, select a security scenario and examine the resulting evidence.

SYNTHETIC FORENSIC EVIDENCE
No security investigation performed.
05

Physical Memory Dump Forensics

Generate a synthetic physical memory dump containing all eight simulated memory pages. Identify which pages contain readable application data and which contain modeled encrypted representations.

No physical memory capture available.
06

Encryption, Isolation and Integrity Comparison

SECURITY PROPERTY CONVENTIONAL VM MODEL ENCRYPTION-ONLY MODEL CONFIDENTIAL VM MODEL
Private DRAM representation Plaintext in this model Encrypted representation Encrypted representation
Host logical memory access Permitted Not independently prevented Restricted for private pages
Hardware page ownership Not modeled Not modeled Enforced
Unauthorized host remapping Possible Not independently prevented Restricted by ownership and mapping mechanisms
Shared page confidentiality Requires separate protection Requires separate protection Requires separate protection
Physical ciphertext replay Not applicable to plaintext model Encryption alone is insufficient Depends on platform-specific integrity mechanisms and threat model
Availability guarantee No No No
07

Memory Security Event Console

08

Engineering Challenge Laboratory

SELECT ENGINEERING OBJECTIVE

CHALLENGES COMPLETED
0 / 8

Encrypted Memory Engineering

Engineering model limitations: This laboratory uses synthetic memory pages, illustrative byte transformations and conceptual security decisions. It does not implement real memory encryption, hardware attestation, processor instructions or secure key storage. Actual processor implementations differ in encryption algorithms, address-dependent transformations, integrity mechanisms, page transitions and physical attack guarantees. The encryption-only and conventional VM modes are deliberately simplified comparison models. Shared pages may still benefit from other platform encryption mechanisms, but they do not automatically receive guest-private confidentiality guarantees.
05 Network Insight · Silicon Fortress Edition

Remote Attestation and Cryptographic Trust

Engineering verifiable infrastructure trust through hardware-backed evidence, measured execution, cryptographic identity, independent verification, security policy and controlled secret provisioning.
Learning objectives
  • Understand hardware roots of trust.
  • Distinguish measured boot from secure boot.
  • Understand attestation evidence and claims.
  • Trace endorsement certificate validation.
  • Explain nonce-based evidence freshness.
  • Understand the IETF RATS architecture.
  • Design attestation appraisal policies.
  • Understand attestation-gated key release.
  • Compare TDX, SEV-SNP and SGX evidence.
  • Troubleshoot production attestation failures.

5.1 Moving from Assumed Trust to Verifiable Trust

Traditional infrastructure security frequently relies on organisational and operational trust. An enterprise trusts its cloud provider, infrastructure administrators, virtualisation platform and security controls to protect sensitive workloads.

Confidential computing changes this relationship by introducing mechanisms through which a workload can produce cryptographically protected evidence about its execution environment.

A remote party can evaluate this evidence before deciding whether to establish a trusted communication session, release sensitive information or authorise a protected workload operation.

Trust model 01

Assumed Trust

Security decisions depend primarily on trust in infrastructure operators, administrative controls and organisational procedures.

Trust model 02

Identity-Based Trust

Authentication establishes the identity of a workload or infrastructure component, but does not necessarily establish its current security configuration.

Trust model 03

Evidence-Based Trust

Cryptographically protected claims about a workload are evaluated against explicit security requirements before trust-dependent operations are authorised.

Fundamental security principle

Attestation does not make an environment inherently trustworthy. It provides evidence that a verifier can evaluate against a defined threat model and security policy.

5.2 The Remote Attestation Architecture

Remote attestation establishes a structured relationship between an entity producing evidence, an entity evaluating that evidence and an entity making a security decision.

The confidential workload generates hardware-backed evidence. A verifier authenticates and appraises the evidence. A relying party uses the resulting assessment to decide whether a requested operation should proceed.

Architecture 01 · Cryptographic Trust Command Centre
ATTESTER Confidential Workload Measurement and Claims Hardware Security Architecture Protected attestation capability VERIFIER Evidence Authentication Reference Value Comparison Evidence Appraisal Policy Evaluate security requirements SIGNED EVIDENCE Measurements Security configuration Freshness / context binding Cryptographic authentication ENDORSEMENTS / REFERENCE VALUES Manufacturer and trusted authorities Expected measurements and TCB data RELYING PARTY Attestation Result Appraisal AUTHORISE OR DENY OPERATION HARDWARE EVIDENCE · INDEPENDENT APPRAISAL · CONTROLLED TRUST
Conceptual remote attestation architecture. The attester produces evidence, the verifier appraises evidence and the relying party makes an authorisation decision. These roles may be implemented by separate services or combined within a deployment.

5.3 Hardware Roots of Trust

A root of trust is a foundational component whose security properties are relied upon by other components within a security architecture.

Hardware roots of trust can provide protected capabilities for measurement, cryptographic identity, secure storage, firmware verification and attestation.

The precise implementation varies across processor architectures. Confidential computing platforms may use dedicated security processors, protected processor modes, immutable boot code and trusted firmware modules.

Root of trust 01

Measurement

Establishes trusted measurements of security-relevant components and configuration within a defined measurement scope.

Root of trust 02

Reporting

Produces cryptographically protected evidence that a remote verifier can authenticate.

Root of trust 03

Storage

Protects selected cryptographic keys and security state against unauthorised access according to the platform's threat model.

Architecture 02 · Hardware Trust Hierarchy
CONFIDENTIAL APPLICATION GUEST OPERATING SYSTEM / RUNTIME CONFIDENTIAL EXECUTION ENVIRONMENT TRUSTED PROCESSOR SECURITY COMPONENTS HARDWARE ROOT OF TRUST Application identity and runtime security Boot configuration and trusted guest components Protected memory and execution state Trusted firmware and attestation mechanisms Foundational hardware-backed security capabilities CONCEPTUAL TRUST DEPENDENCIES · PLATFORM-SPECIFIC MEASUREMENT SCOPE
Logical trust hierarchy. A hardware root of trust does not automatically measure or authenticate every application component. Higher-level workload identity requires appropriate measurement and evidence-binding mechanisms.

5.4 Secure Boot, Measured Boot and Attestation

Secure boot and measured boot are complementary security mechanisms, but they solve different architectural problems.

Secure boot typically verifies that software components satisfy an authorised signature policy before allowing them to execute.

Measured boot records cryptographic measurements of selected components and configuration. These measurements can subsequently be evaluated to establish what was loaded.

Remote attestation allows an external party to authenticate relevant evidence and assess whether the measured environment satisfies its security requirements.

Mechanism Primary function Security outcome
Secure Boot Verify authorised software signatures. Restrict execution of unauthorised boot components.
Measured Boot Record cryptographic measurements. Provide evidence about selected boot components.
Measured Launch Measure a protected execution environment during creation. Establish an initial workload measurement.
Runtime Measurement Record selected security-relevant runtime events. Extend visibility beyond initial launch where supported.
Remote Attestation Authenticate and appraise evidence remotely. Support evidence-based trust decisions.

5.5 Cryptographic Measurements

A cryptographic measurement is commonly derived from a hash function applied to a defined set of bytes or security-relevant information.

Measurements can represent initial memory contents, firmware components, workload configuration or other information defined by the platform's measurement architecture.

A change to measured content will normally produce a different cryptographic digest. However, the digest itself does not establish whether the measured content is trustworthy.

Architecture 03 · Measurement and Reference Value Comparison
APPROVED WORKLOAD IMAGE MODIFIED WORKLOAD IMAGE Approved initial measured content Changed initial measured content CRYPTOGRAPHIC MEASUREMENT FUNCTION Platform-defined measured content and algorithm MEASUREMENT A 9F7C...A821 MEASUREMENT B D842...F091 APPROVED REFERENCE MATCH Measurement requirement satisfied REFERENCE VALUE MISMATCH Additional appraisal required ILLUSTRATIVE DIGESTS · NOT COMPUTED HARDWARE MEASUREMENTS
A measurement mismatch does not necessarily indicate malicious modification. An authorised software update can also change measurements. Reference values and appraisal policies must accommodate approved workload evolution.

5.6 Anatomy of Attestation Evidence

Attestation evidence contains claims about an entity and its execution environment. These claims are authenticated using the relevant attestation architecture.

Evidence formats differ across technologies. A confidential virtual machine report, an SGX quote and a cloud attestation token should not be treated as interchangeable structures.

Evidence component 01

Workload Measurement

Identifies measured launch content or other security-relevant measured state.

Evidence component 02

TCB Security Version

Describes security-relevant version information associated with trusted platform components.

Evidence component 03

Security Attributes

Provides architecture-specific information about execution configuration, including debug-related settings where applicable.

Evidence component 04

Report Data

Can bind caller-supplied information, such as a challenge or public-key digest, to authenticated evidence.

Evidence component 05

Platform Identity

May include or be associated with platform-specific identity and endorsement information, subject to privacy mechanisms.

Evidence component 06

Cryptographic Authentication

Allows a verifier to authenticate the origin and integrity of evidence through the appropriate trust architecture.

NETWORK INSIGHT · NORMALISED ATTESTATION EVIDENCE EXAMPLE
{
  "evidence_type": "illustrative-confidential-vm",
  "workload_measurement": "9f7c...a821",
  "platform_security_version": {
    "status": "requires-verifier-appraisal"
  },
  "security_attributes": {
    "debug_enabled": false
  },
  "report_data": {
    "challenge_binding": "sha256:81c4...092f",
    "public_key_binding": "sha256:a721...bf30"
  },
  "authentication": {
    "signature": "illustrative-signature",
    "endorsement_reference": "platform-specific"
  }
}
    

This is a synthetic normalised representation for architectural teaching. It is not an actual AMD SNP report, Intel TDX quote, Intel SGX quote or standardised attestation token.

5.7 Endorsements and Certificate Trust Chains

A valid digital signature is meaningful only when the verifier can establish an appropriate trust relationship with the signing key.

Hardware manufacturers and other trusted authorities can provide endorsements, certificates and security collateral that help a verifier authenticate evidence.

The verifier must evaluate the relevant certificate chain, trust anchors, security version information, revocation status and platform-specific collateral.

Architecture 04 · Attestation Certificate Trust Chain
TRUSTED MANUFACTURER ROOT Configured verifier trust anchor INTERMEDIATE CERTIFICATE AUTHORITY Platform-specific endorsement hierarchy ATTESTATION SIGNING KEY ENDORSEMENT Authenticate relevant signing authority AUTHENTICATED ATTESTATION EVIDENCE Evidence signature and protected claims Certificate path Endorsement Signature validation AUTHENTICITY ESTABLISHED · POLICY APPRAISAL STILL REQUIRED
Simplified certificate trust hierarchy. Actual quote authentication can involve additional signing keys, certification data, revocation information and manufacturer-specific collateral. A valid certificate chain alone does not establish workload approval.

5.8 Freshness, Nonces and Replay Resistance

An attacker might attempt to reuse previously generated valid attestation evidence after the original workload or infrastructure environment has changed.

A verifier therefore needs a mechanism for establishing that evidence is sufficiently fresh and relevant to the current interaction.

One common approach uses a cryptographically unpredictable challenge, or nonce. The attester incorporates the challenge, or a digest that binds it, into authenticated evidence.

The verifier checks that the returned evidence corresponds to its outstanding challenge and that the challenge has not expired or already been consumed.

Architecture 05 · Challenge-Response Attestation
VERIFIER ATTESTER 01 · FRESH CHALLENGE Nonce N2 · unpredictable · time-limited GENERATE EVIDENCE Bind challenge N2 02 · AUTHENTICATED EVIDENCE Protected claims + challenge binding N2 FRESHNESS CHECK PASSED Returned N2 matches challenge 03 · REPLAYED OLD EVIDENCE Previous challenge N1 REPLAY REJECTED
Conceptual nonce-based freshness mechanism. Freshness validation requires correct challenge generation, evidence binding, expiry enforcement and replay handling. Fresh evidence does not guarantee that every aspect of workload runtime state has been measured.

5.9 The IETF RATS Architecture

The Remote ATtestation procedureS architecture, commonly known as RATS, defines a general architectural model for remote attestation.

RFC 9334 distinguishes the roles, information objects and appraisal policies involved in establishing evidence-based trust.

RATS role 01

Attester

Produces evidence containing claims about itself or an associated target environment.

RATS role 02

Verifier

Appraises evidence using applicable endorsements, reference values and evidence appraisal policy.

RATS role 03

Relying Party

Appraises attestation results and makes a trust-dependent application or authorisation decision.

RATS role 04

Endorser

Provides statements supporting the appraisal of an attester's capabilities or security properties.

RATS role 05

Reference Value Provider

Supplies expected values that can be used when appraising claims in evidence.

RATS role 06

Verifier / Relying Party Owners

Establish the respective appraisal policies that govern evidence evaluation and trust-dependent decisions.

Information object Purpose Typical consumer
Evidence Authenticated claims about the attester. Verifier
Endorsements Statements supporting evidence appraisal. Verifier
Reference Values Expected security-relevant values. Verifier
Appraisal Policy for Evidence Defines how evidence is evaluated. Verifier
Attestation Results Conveys the verifier's assessment. Relying Party
Appraisal Policy for Attestation Results Defines how results influence authorisation. Relying Party
Architectural distinction

Evidence and attestation results are different information objects. Evidence originates from the attester, while attestation results communicate the verifier's appraisal to a relying party. A cloud attestation token may represent an attestation result rather than raw hardware evidence.

5.10 Passport and Background-Check Models

The RATS architecture describes different interaction models for transferring evidence and attestation results.

Architecture 06 · RATS Interaction Models
PASSPORT MODEL ATTESTER VERIFIER RELYING PARTY Evidence Result Attester presents attestation result Result can be presented subject to validity policy BACKGROUND-CHECK MODEL ATTESTER VERIFIER RELYING PARTY Evidence Forward evidence Result Relying party obtains verifier assessment
Simplified RATS interaction models. In the passport model, the attester obtains an attestation result and presents it to the relying party. In the background-check model, the relying party forwards evidence to a verifier and obtains the appraisal result.

5.11 Attestation Verification Pipeline

Production verification requires more than checking whether a report contains a valid digital signature.

The verifier must evaluate the evidence format, authentication mechanism, endorsement collateral, freshness and security-relevant claims according to its appraisal policy.

01 Evidence parsing Identify the supported evidence format, version and required fields.
02 Trust anchor validation Establish the appropriate endorsement and certificate trust relationship.
03 Signature authentication Validate cryptographic authentication of the evidence and protected claims.
04 Freshness validation Check the expected challenge or other supported freshness mechanism.
05 TCB appraisal Evaluate security versions, applicable collateral and security status.
06 Measurement comparison Compare measured claims with approved reference values where required.
07 Configuration appraisal Evaluate debug settings, migration requirements and other relevant attributes.
08 Context binding Verify the relationship between evidence, the workload and the requested interaction.
09 Attestation result Produce an authenticated or otherwise securely conveyed appraisal result.

This is a logical verification pipeline. Actual verification order and required checks depend on the evidence format, protocol and security architecture.

5.12 Intel TDX, AMD SEV-SNP and Intel SGX Attestation

Although these technologies share the objective of providing hardware-backed evidence, they differ in their protected execution models, measurement structures and attestation mechanisms.

Architecture Measurement examples Attestation mechanism Protected scope
Intel TDX MRTD, RTMRs and additional TD identity claims. TD report and remotely verifiable TDX quote through the applicable quoting architecture. Confidential virtual machine / Trust Domain.
AMD SEV-SNP Launch measurement, guest policy and report data. Signed SNP attestation report, commonly using VCEK or supported VLEK mechanisms. Confidential virtual machine.
Intel SGX MRENCLAVE, MRSIGNER and enclave security version claims. Enclave report and remotely verifiable quote using the applicable quoting infrastructure. Application enclave.
Intel TDX

Trust Domain Measurements

MRTD represents the initial Trust Domain measurement. Runtime Measurement Registers can record additional measurements according to the guest's measurement architecture.

AMD SEV-SNP

Signed Guest Evidence

SNP reports provide authenticated claims about launch measurement, guest policy, TCB information and caller-supplied report data.

Intel SGX

Enclave Identity

MRENCLAVE identifies measured enclave content, while MRSIGNER identifies the enclave signing authority through its architecture-defined measurement.

5.13 Attestation Appraisal Policies

An attestation policy translates enterprise security requirements into explicit conditions that can be evaluated against authenticated evidence or attestation results.

For example, an organisation processing sensitive financial information might require an approved workload measurement, an acceptable TCB security status, disabled debugging and a valid binding between the attested workload and its communication key.

NETWORK INSIGHT · CONCEPTUAL APPRAISAL POLICY
policy: confidential-financial-workload-v3

require:
  evidence_authentic: true
  freshness_valid: true
  endorsement_status: acceptable
  tcb_status: approved
  workload_measurement: approved_reference_set
  debug_enabled: false
  session_key_binding: valid

on_success:
  result: eligible_for_secret_release

on_failure:
  result: deny
  record_security_reason: true

default:
  deny
    

This example is conceptual policy pseudocode. It is not directly executable by a specific cloud attestation service or policy engine.

Policy strategy 01

Exact Measurement Allowlist

Accept only explicitly approved measurements. This offers precise workload identification but requires careful management of approved software updates.

Policy strategy 02

Signer and Version Policy

Where supported, evaluate trusted software identity together with minimum security versions and other required claims.

Policy strategy 03

Platform Security Requirements

Require acceptable platform security status, supported hardware capabilities and approved security configuration.

Policy strategy 04

Context-Aware Authorisation

Combine attestation results with workload identity, tenant authorisation, requested resource and communication context.

5.14 Secure Secret Provisioning and Attestation-Gated Key Release

One of the most powerful confidential computing use cases is withholding sensitive cryptographic material until a workload demonstrates that it satisfies an enterprise security policy.

A key management service or key broker can act as a relying party. It evaluates a trusted attestation result together with the workload's identity, authorisation and cryptographic session binding.

If all required conditions are satisfied, the service can release a protected secret to the intended confidential workload.

Architecture 07 · Attestation-Gated Secret Provisioning
CONFIDENTIAL WORKLOAD GENERATE WORKLOAD KEY PAIR Private key remains protected GENERATE BOUND EVIDENCE Bind public key and fresh challenge HARDWARE ATTESTATION Authenticate security-relevant claims ATTESTATION VERIFIER Authenticate evidence Appraise measurements and TCB Validate freshness and key binding APPROVED ATTESTATION RESULT KEY BROKER / RELYING PARTY Validate attestation result Check workload authorisation Enforce secret release policy KEY MANAGEMENT SYSTEM Protected secret or data encryption key Authorised wrapping or release operation PROTECTED SECRET DELIVERY Secret encrypted for attested workload Only intended key holder can decrypt FAILED ATTESTATION OR AUTHORISATION No secret release · record decision · preserve security boundary
Conceptual attestation-gated secret delivery. Evidence must be bound to the intended recipient and interaction. The key broker must also enforce resource authorisation. Actual key wrapping, delivery and cryptographic protocols depend on the deployment architecture.
Critical engineering principle

A valid attestation result must not be treated as a transferable permission to obtain arbitrary secrets. Secret release must be bound to the intended workload identity, authorised resource, cryptographic recipient and relevant session.

5.15 Attested TLS and Communication Identity

Traditional TLS authentication establishes a cryptographic relationship between a communication endpoint and an authenticated certificate identity.

Attested communication architectures can additionally bind evidence about a protected execution environment to a communication key.

This helps a remote client determine whether the endpoint controlling the communication key is associated with an appropriately attested workload.

Communication trust 01

Endpoint Authentication

Validate the communication identity and establish possession of the relevant cryptographic private key.

Communication trust 02

Evidence Binding

Establish an authenticated relationship between the communication key and the attested execution environment.

Communication trust 03

Policy Enforcement

Evaluate the attestation evidence or results before allowing sensitive application communication.

Attestation-aware TLS designs must address evidence freshness, certificate validation, key possession, endpoint identity and protocol-specific channel binding. Merely attaching an unrelated attestation report to a TLS connection is insufficient.

5.16 Continuous Trust and Attestation Lifecycle

Attestation is an assessment based on evidence available at a particular time and within a defined measurement scope.

Workloads can subsequently change. Firmware vulnerabilities can be disclosed, reference values can be updated and previously acceptable security versions can become unacceptable.

Production systems therefore need lifecycle controls that determine when evidence must be refreshed, when trust decisions expire and how existing access is revoked.

01 Initial attestation Establish an initial evidence-based security assessment.
02 Time-limited authorisation Restrict credentials and trust decisions to an appropriate validity period.
03 Periodic reassessment Obtain new evidence according to workload and enterprise security requirements.
04 Security collateral updates Refresh revocation information, TCB assessments and trusted reference values.
05 Policy change Reassess eligibility when enterprise security requirements change.
06 Revocation and rotation Revoke access, rotate credentials or terminate sessions where appropriate.
Security limitation

Denying future secret release does not erase secrets already delivered to a workload. Effective lifecycle management may require short-lived credentials, key rotation, session termination and additional workload security controls.

5.17 Production Attestation Troubleshooting

Attestation failures can originate from hardware configuration, endorsement services, evidence generation, workload updates, verification policy or communication binding.

Engineers must identify which stage failed rather than treating every attestation rejection as a generic connectivity problem.

Observed symptom Possible cause Investigation direction
Evidence generation fails Unsupported hardware or attestation service configuration. Inspect platform capabilities, guest drivers and quoting services.
Signature validation fails Incorrect signing key, malformed evidence or invalid authentication. Validate evidence format and trusted endorsement data.
Certificate path rejected Missing intermediate certificate or incorrect trust anchor. Inspect certificate chain and configured trust roots.
TCB appraisal rejected Unacceptable security version or collateral status. Review vendor security information and enterprise policy.
Measurement mismatch Workload update, changed configuration or unexpected content. Compare against approved build artifacts and reference values.
Freshness validation fails Expired challenge, incorrect binding or replayed evidence. Inspect challenge generation, expiry and report data.
Debug policy rejected Workload launched with disallowed debug configuration. Inspect confidential workload launch policy.
Key binding rejected Evidence is not bound to the intended communication key. Inspect report data and cryptographic recipient binding.
Verifier approves but KMS denies Resource authorisation or relying party policy failure. Inspect workload identity, requested key and release policy.
Intermittent attestation failures Collateral retrieval, service availability or inconsistent policy versions. Inspect dependency health, cache validity and deployment consistency.

5.18 Engineering Investigation — The Rejected Confidential Workload

Consider an enterprise confidential database that successfully launches after a scheduled software upgrade but cannot retrieve its database encryption key.

Network connectivity is available, hardware evidence is generated successfully and the verifier authenticates the evidence.

However, the new workload measurement does not match the approved reference value set. The verifier rejects the evidence appraisal, and the key broker correctly refuses to release the database key.

NETWORK INSIGHT · SYNTHETIC INCIDENT TIMELINE
[09:00:00] Confidential VM deployment       SUCCESS
[09:00:04] Protected workload launch       SUCCESS
[09:00:06] Attestation challenge received  SUCCESS
[09:00:07] Hardware evidence generated     SUCCESS
[09:00:08] Evidence signature verified     SUCCESS
[09:00:08] Endorsement validation          SUCCESS
[09:00:08] Freshness validation            SUCCESS
[09:00:09] TCB appraisal                   ACCEPTABLE
[09:00:09] Debug policy                    COMPLIANT
[09:00:09] Workload measurement            MISMATCH
[09:00:10] Attestation appraisal           REJECTED
[09:00:10] Database key release            DENIED

Expected reference:
  workload-v2.4 : 9f7c...a821

Observed measurement:
  workload-v2.5 : d842...f091

Investigation:
  Deployment pipeline upgraded the workload.
  Approved reference values were not updated.

Required action:
  Authenticate the new build artifacts.
  Review the software and configuration changes.
  Approve the new measurement through change control.
  Update the reference value policy.
  Generate and appraise fresh attestation evidence.

Security outcome:
  No database key released to unapproved workload.
    

The investigation demonstrates why confidential computing security policy must be integrated with software delivery and infrastructure change management.

Automatically approving a new measurement simply because it appears in a failed attestation would undermine the purpose of the reference value policy.

Troubleshooting principle

A rejected attestation may indicate that the security architecture is functioning correctly. Engineers should investigate the evidence and policy decision rather than bypassing verification to restore application availability.

5.19 What Remote Attestation Does Not Guarantee

Remote attestation is a powerful security mechanism, but its guarantees remain bounded by the evidence scope, hardware threat model, verification architecture and trusted software.

Limitation 01

Application Vulnerabilities

An approved workload measurement does not prove that the application is free from exploitable software vulnerabilities.

Limitation 02

Runtime Compromise

Initial launch measurements do not necessarily reveal subsequent malicious changes to application runtime state.

Limitation 03

Availability

A malicious or compromised infrastructure operator may still be able to interrupt workload execution or communication.

Limitation 04

Side-Channel Exposure

Attestation does not automatically establish protection against every timing, access-pattern or microarchitectural side channel.

Limitation 05

Incorrect Appraisal Policy

Authentic evidence can still lead to an unsafe trust decision when the appraisal policy is incomplete or incorrectly configured.

Limitation 06

External Dependency Security

Attesting a CPU workload does not automatically establish trust in every connected device, storage service or external application.

5.20 Production Remote Attestation Checklist

Enterprise cryptographic trust validation
  • Document the platform's hardware trust model.
  • Identify the exact evidence format and measurement scope.
  • Configure approved trust anchors.
  • Validate evidence authentication and certificate chains.
  • Maintain current endorsement and revocation collateral.
  • Enforce appropriate evidence freshness requirements.
  • Maintain approved workload reference values.
  • Integrate measurement approval with CI/CD change control.
  • Define acceptable TCB security status and version requirements.
  • Evaluate debug, migration and other relevant security attributes.
  • Bind evidence to the intended communication or recipient key.
  • Authenticate attestation results received by relying parties.
  • Validate result audience, expiry and applicable policy.
  • Enforce workload identity and resource authorisation separately.
  • Use protected secret delivery mechanisms.
  • Define credential expiry, rotation and revocation procedures.
  • Protect attestation services against unauthorised policy changes.
  • Monitor verifier and endorsement service availability.
  • Minimise unnecessary exposure of platform identity information.
  • Test rejection paths without weakening security policy.

Section 05 — Key Engineering Takeaways

Takeaway 01

Trust Requires Evidence and Appraisal

Hardware-backed evidence provides security claims. A verifier must authenticate and appraise those claims before a relying party makes a trust-dependent decision.

Takeaway 02

Authenticity Is Not Approval

Valid signatures and certificate chains establish important authenticity properties, but measurements, security configuration and policy must also be evaluated.

Takeaway 03

Freshness and Binding Matter

Attestation must be relevant to the intended workload, communication endpoint and current interaction. Otherwise valid evidence may be misapplied.

Takeaway 04

Secrets Follow Verified Authorisation

Sensitive cryptographic material should be released only after applicable attestation, identity, resource authorisation and recipient-binding requirements are satisfied.

Interactive Engineering Experience 05

Remote Attestation and Trust Verification Simulator

The accompanying interactive engineering experience will allow you to generate conceptual attestation evidence, inspect cryptographic claims, evaluate certificate trust chains, modify reference values, investigate replayed evidence and observe how attestation policies control access to protected cryptographic secrets.

NETWORK INSIGHT
INTERACTIVE ENGINEERING LABS
ATTESTATION LABORATORY
CONFIDENTIAL COMPUTING / LAB 05 / HARDWARE TRUST COMMAND CENTRE

Engineering Verifiable Trust
Remote Attestation Simulator

Explore how a confidential workload presents hardware-backed evidence to a remote verifier. Investigate platform endorsements, workload measurements, freshness challenges, security version requirements, reference values and relying-party authorization before releasing sensitive application secrets.

ATTESTATION PLATFORM Intel TDX
VERIFIER RESULT Pending
POLICY CHECKS PASSED 0 / 9
SECRET RELEASE Locked
REMOTE ATTESTATION — LOGICAL TRUST ARCHITECTURE ATTESTER / CONFIDENTIAL PLATFORM Confidential Workload Intel TDX Trust Domain Measured execution environment Workload Measurements MRTD / RTMR policy values Initial and runtime claims as applicable Hardware Trust Mechanisms Platform-backed evidence generation ATTESTATION SIGNING CONTEXT REMOTE VERIFICATION DOMAIN Attestation Verifier Evidence and endorsement appraisal Freshness and authenticity checks Endorsements Vendor trust anchors Security collateral Reference Values Approved measurements Platform requirements Evidence Appraisal Policy Measurement · TCB · Debug · Freshness Produce an attestation result NONCE ATTESTATION EVIDENCE RELYING PARTY / SECRET BROKER Authorization Policy Trust result + workload identity + permissions Protected Secret Vault Secret release locked ATTESTATION RESULT ATTESTED WORKLOAD KEY BINDING Recipient Public Key Bound to attestation evidence Private key remains with workload AUTHORIZED SECRET DELIVERY NONCE
VIOLET — ATTESTATION EVIDENCE CYAN — VERIFICATION GREEN — AUTHORIZED DELIVERY
ATTESTATION EXPERIMENT CONTROLS

Attestation Engine Ready

Select a platform and execute the remote attestation transaction.

All evidence, signing claims, certificates and secret-release decisions in this laboratory are simulated.

STAGE 01 Freshness Challenge Awaiting transaction
STAGE 02 Evidence Generation Awaiting transaction
STAGE 03 Evidence Verification Awaiting transaction
STAGE 04 Policy Appraisal Awaiting transaction
STAGE 05 Authorization Result Awaiting transaction
01

Platform-Specific Attestation Architecture

INTEL TDX

Trust Domain Evidence

Attestation can provide claims about a Trust Domain, including MRTD, runtime measurement registers, attributes and platform security information. Quote verification uses Intel attestation collateral and appropriate verification procedures.

AMD SEV-SNP

SNP Attestation Report

An SNP attestation report includes guest measurement, policy, reported TCB information and REPORT_DATA. Verification uses the appropriate AMD endorsement certificates and signing-key architecture, such as VCEK or VLEK.

INTEL SGX

Enclave Evidence

SGX attestation can establish claims about enclave identity, including MRENCLAVE, MRSIGNER, attributes and security version information. An enclave is a different protection scope from a confidential virtual machine.

02

Attestation Evidence Inspector

ATTESTER-GENERATED EVIDENCE
No attestation evidence generated.
VERIFIER REFERENCE VALUES
03

Hardware Endorsements and Certificate Trust

CONCEPTUAL ENDORSEMENT TRUST PATH
Vendor Root Trust Anchor Locally trusted root established independently of the evidence. NOT VERIFIED
Platform Endorsement Authority Architecture-specific intermediate or issuing authority. NOT VERIFIED
Attestation Endorsement Certificate Endorsement material associated with evidence authentication. NOT VERIFIED
Attestation Evidence Authentication Architecture-specific signature and evidence binding checks. NOT VERIFIED
ENDORSEMENT VERIFICATION EXPLANATION

Why a valid signature is not enough

A signature must be evaluated against trusted endorsement material. Accepting a signing certificate supplied by an untrusted workload without establishing its trust path does not establish genuine hardware-backed evidence.

Verification may also require certificate revocation information, signed TCB information, quoting-enclave identity checks and other platform-specific collateral.

Architecture-specific trust paths

The adjacent diagram is a normalized educational representation. Intel DCAP quote verification includes additional certification and quoting-enclave relationships; AMD SNP report verification follows a different endorsement and signing architecture.

Awaiting endorsement verification.
04

Configurable Attestation Appraisal Policy

VERIFIER POLICY CONFIGURATION
MANDATORY SECURITY CHECKS

Non-bypassable laboratory requirements

The following checks remain mandatory in both production and relaxed test policies:

01 — Evidence authentication and signature validation
02 — Trusted platform endorsement path
03 — Freshness and challenge binding
04 — Valid verification collateral
05 — Recipient public-key binding
06 — Relying-party workload authorization

Production Policy

Measurement, debug and minimum TCB requirements are enforced.

05

Attestation Verification Decision Matrix

SECURITY CHECK EXPECTED CONDITION OBSERVED EVIDENCE DECISION

A skipped optional policy check is not a successful verification of that security property. Relaxing appraisal requirements may permit workloads that would be rejected under a production policy.

06

Freshness, Nonces and Replay Detection

CURRENT VERIFIER CHALLENGE
Not issued

Fresh challenge generated for the current attestation transaction.

EVIDENCE-BOUND CHALLENGE
Not available

Challenge represented in the modeled evidence binding.

FRESHNESS DECISION
Awaiting verification

Previously valid evidence must not satisfy an unrelated fresh challenge.

First execute a healthy attestation, then replay its evidence. The simulator issues a new challenge and checks the old evidence-bound challenge against it.

07

Attestation-Based Secret Release

VAULT LOCKED

Complete successful attestation and authorization before requesting a demonstration secret.

RELYING-PARTY AUTHORIZATION EVIDENCE
SECRET BROKER: READY ATTESTATION RESULT: NONE WORKLOAD AUTHORIZATION: PENDING RECIPIENT KEY BINDING: PENDING SECRET RELEASE: DENIED BY DEFAULT

Production secret delivery must bind authorization to the intended workload and recipient key. A successful attestation result should not become an unrestricted bearer credential for accessing unrelated secrets.

08

Attestation Security Event Console

09

Remote Attestation Engineering Challenges

SELECT ENGINEERING OBJECTIVE

CHALLENGES COMPLETED
0 / 10

Remote Attestation Engineering

Engineering model limitations: This simulator uses normalized synthetic attestation evidence, illustrative measurements, modeled signature decisions and conceptual endorsement chains. It does not generate or verify genuine Intel TDX quotes, AMD SNP reports or Intel SGX quotes. The TCB version is simplified to a single integer for teaching; real TCB appraisal uses architecture-specific component versions and security collateral. The simulated secret release is not cryptographic encryption or secure key delivery. Attestation establishes specific claims under a defined trust policy and threat model; it does not prove that an application is free from vulnerabilities or malicious behavior.
06 Network Insight · Silicon Fortress Edition

Confidential Virtual Machines and Cloud Infrastructure

Engineering trusted cloud execution environments with hardware-enforced virtual machine isolation, remote attestation, protected storage, secure networking and evidence-driven workload authorisation.
Learning objectives
  • Understand confidential virtual machine architecture.
  • Compare conventional and confidential cloud execution.
  • Understand cloud hypervisor trust boundaries.
  • Explore Microsoft Azure Confidential VMs.
  • Understand AWS Nitro Enclaves architecture.
  • Explore Google Cloud Confidential Computing.
  • Design attestation-gated cloud deployments.
  • Understand confidential storage and network security.
  • Evaluate performance and operational trade-offs.
  • Troubleshoot confidential cloud infrastructure.

6.1 Moving Confidential Computing into the Cloud

Cloud computing has fundamentally changed how enterprises deploy and operate infrastructure. Applications execute on shared physical systems managed through virtualisation platforms, orchestration services and distributed control planes.

Conventional virtualisation provides strong logical isolation between virtual machines. However, privileged infrastructure components can remain within the security trust boundary of the workload.

Confidential cloud computing introduces additional hardware-enforced protections designed to reduce the extent to which sensitive workloads must trust the underlying infrastructure.

Rather than relying exclusively on hypervisor access controls, confidential virtual machines use processor security mechanisms to protect selected guest memory and execution state according to the platform's threat model.

Cloud security layer 01

Infrastructure Isolation

Virtualisation, network segmentation and infrastructure access controls separate workloads and administrative domains.

Cloud security layer 02

Hardware-Enforced Protection

Processor security mechanisms protect confidential guest memory and selected execution state from unauthorised access.

Cloud security layer 03

Verifiable Execution

Attestation provides evidence about security-relevant workload and platform properties before sensitive operations are authorised.

6.2 Conventional VM versus Confidential VM

In a conventional virtual machine architecture, the hypervisor manages memory allocation, processor scheduling, virtual devices and communication with physical infrastructure.

Confidential virtual machines retain many of these virtualisation mechanisms while introducing hardware-enforced restrictions on access to protected guest memory and execution state.

Architecture 01 · Virtual Machine Trust Boundary Comparison
CONVENTIONAL VIRTUAL MACHINE CONFIDENTIAL VIRTUAL MACHINE APPLICATION WORKLOAD Sensitive data processing GUEST OPERATING SYSTEM Guest security controls GUEST MEMORY Privileged host access may be possible HYPERVISOR PHYSICAL HARDWARE APPLICATION WORKLOAD Protected execution environment GUEST OPERATING SYSTEM Guest remains security-critical PROTECTED PRIVATE MEMORY Hardware-enforced access restrictions HYPERVISOR Restricted access to private guest state CONFIDENTIAL CPU ARCHITECTURE Memory protection and attestation CONCEPTUAL ARCHITECTURE · PRIVATE MEMORY PROTECTION IS PLATFORM-SPECIFIC
Confidential VMs reduce the trust placed in privileged host software for protected guest state. The guest operating system, application, processor security components and relevant firmware remain security-critical. Shared memory and virtual I/O require separate security consideration.
Security property Conventional VM Confidential VM
Guest isolation Hypervisor-enforced isolation. Virtualisation plus additional hardware-enforced protection.
Private guest memory Privileged host access may be possible. Protected against specified host access mechanisms.
Execution state Depends on conventional virtualisation architecture. Additional protection according to processor architecture.
Remote attestation May support TPM-based or software attestation. Hardware-backed confidential execution evidence.
Storage encryption Requires storage encryption controls. Still requires appropriate storage encryption controls.
Network encryption Requires TLS, IPsec or equivalent controls. Still requires end-to-end communication protection.
Guest compromise Application and guest vulnerabilities remain relevant. Application and guest vulnerabilities remain relevant.
Availability Depends on infrastructure operation. Host infrastructure can still interrupt execution.

6.3 Confidential Cloud Infrastructure Building Blocks

A production confidential cloud deployment consists of more than a hardware-protected virtual machine. It requires an integrated security architecture spanning identity, attestation, networking, storage, key management and operational lifecycle controls.

Component 01

Confidential Compute

Hardware-supported virtual machines or isolated execution environments that protect sensitive processing.

Component 02

Attestation Service

Authenticates and appraises evidence about workload and platform security properties.

Component 03

Key Management

Protects cryptographic material and controls authorised key operations and secret release.

Component 04

Workload Identity

Establishes the identity and resource permissions associated with a confidential workload.

Component 05

Secure Networking

Provides network segmentation, private connectivity, authenticated communication and controlled egress.

Component 06

Protected Storage

Protects persistent data, boot volumes, application datasets, snapshots and backups using appropriate encryption.

6.4 Enterprise Confidential Cloud Reference Architecture

Consider an enterprise application that processes sensitive customer information in a public cloud. The application must protect data in transit, at rest and during processing while limiting access to cryptographic secrets.

The architecture combines a confidential virtual machine with private network connectivity, a remote attestation verifier and an attestation-aware key broker.

Architecture 02 · Confidential Cloud Command Centre
ENTERPRISE CLIENTS Authenticated and encrypted application traffic CLOUD SECURITY BOUNDARY PRIVATE NETWORK / CONTROLLED INGRESS Routing · Firewall Policy · Private Connectivity CONFIDENTIAL VIRTUAL MACHINE SENSITIVE APPLICATION Authenticated TLS endpoint PROTECTED DATA PROCESSING Plaintext remains within intended protected scope HARDWARE SECURITY ARCHITECTURE Protected private memory and attestation ATTESTATION VERIFIER Evidence and policy appraisal KEY BROKER Identity and release authorisation KMS / HSM Protected key operations ENCRYPTED PERSISTENT STORAGE Boot volumes · Application data · Protected backups CONFIDENTIAL COMPUTE · VERIFIED IDENTITY · PROTECTED DATA LIFECYCLE
Provider-neutral reference architecture. Attestation, key management and identity services are shown as logical components. Their actual deployment locations, supported evidence formats and integration mechanisms vary between cloud platforms.

6.5 Microsoft Azure Confidential Computing

Microsoft Azure provides confidential computing capabilities across supported virtual machine families and selected managed services.

Azure Confidential VMs can use hardware technologies such as AMD SEV-SNP and Intel TDX to establish protected guest execution environments, depending on the selected virtual machine family and configuration.

Confidential VM deployment can be combined with Microsoft Azure Attestation, Azure Key Vault, Managed HSM, managed identities, virtual networks and private connectivity to construct an enterprise confidential computing architecture.

Azure component 01

Confidential Virtual Machines

Hardware-protected guest execution using supported confidential VM families and compatible operating system images.

Azure component 02

Microsoft Azure Attestation

Provides attestation capabilities for supported trusted execution environments and security evidence formats.

Azure component 03

Azure Key Vault / Managed HSM

Supports protected cryptographic operations and applicable secure key release configurations.

Azure component 04

Managed Identity

Provides workload authentication for authorised access to supported Azure resources without embedded credentials.

Azure component 05

Private Networking

Virtual networks, network security groups, private endpoints and controlled routing reduce unnecessary public exposure.

Azure component 06

Confidential OS Disk Protection

Supported confidential VM configurations can provide additional OS disk protection. Data disks require their own appropriate encryption configuration.

Architecture 03 · Azure Confidential VM Deployment
MICROSOFT AZURE · LOGICAL DEPLOYMENT VIRTUAL NETWORK · PRIVATE SUBNET · NETWORK SECURITY GROUP AZURE CONFIDENTIAL VM Enterprise Application Guest OS / Managed Identity Client Supported Confidential Processor MICROSOFT AZURE ATTESTATION Evidence appraisal MICROSOFT ENTRA ID Workload authentication KEY VAULT / MANAGED HSM Authorised key operations ENCRYPTED OS DISK · DATA DISKS · CONTROLLED BACKUPS
Conceptual Azure architecture. Secure key release requires compatible key types, release policies, attestation configuration and supported services. Managed identity authentication alone does not establish confidential execution properties.

6.6 AWS Nitro Enclaves and Confidential Execution

AWS Nitro Enclaves provides a different confidential execution model from a full confidential virtual machine.

An enclave is an isolated execution environment created from resources allocated to a supported Amazon EC2 parent instance.

The enclave receives dedicated processor and memory resources. It does not have conventional external network connectivity, persistent storage or interactive administrative access.

Communication between the parent instance and enclave uses a local virtual socket mechanism known as vsock.

This architecture is particularly useful for isolating sensitive cryptographic operations, credential processing and selected application functions from the larger parent instance.

Architecture 04 · AWS Nitro Enclave Isolation
AMAZON EC2 · NITRO ENCLAVE ARCHITECTURE PARENT EC2 INSTANCE APPLICATION FRONT END Network-facing processing NETWORK / STORAGE ACCESS Parent-managed external I/O VSOCK COMMUNICATION ISOLATED NITRO ENCLAVE SENSITIVE APPLICATION FUNCTION Isolated cryptographic processing DEDICATED CPU AND MEMORY No conventional external networking NITRO ATTESTATION AWS NITRO SYSTEM / ISOLATION ARCHITECTURE AWS KEY MANAGEMENT SERVICE Attestation-aware recipient and key policy Parent-proxied requests
AWS Nitro Enclaves isolates selected application functionality from the parent EC2 instance. Supported AWS KMS operations can evaluate enclave attestation and return protected results encrypted for the enclave recipient. External requests are mediated through the parent instance rather than direct enclave networking.
Important architectural distinction

AWS Nitro Enclaves is not equivalent to protecting an entire parent EC2 instance with AMD SEV-SNP or Intel TDX. The enclave model protects a smaller, explicitly isolated execution environment. AWS also offers AMD SEV-SNP capabilities on selected EC2 configurations, representing a different confidential computing model.

6.7 Google Cloud Confidential Computing

Google Cloud Confidential Computing provides hardware-backed protection for supported Compute Engine virtual machine configurations and selected higher-level cloud services.

Depending on the machine family and deployment configuration, supported confidential computing technologies can include AMD SEV, AMD SEV-SNP and Intel TDX.

These technologies have different security properties. For example, memory encryption alone should not be treated as equivalent to the additional memory ownership and integrity protections introduced by more advanced architectures.

Google Cloud component 01

Confidential VM

Supported Compute Engine configurations provide hardware-backed confidential execution capabilities.

Google Cloud component 02

Confidential Space

A confidential workload environment designed for controlled processing and collaboration involving sensitive data.

Google Cloud component 03

Attestation

Supported attestation mechanisms provide evidence about security-relevant workload and execution environment properties.

Google Cloud component 04

Cloud KMS

Protects cryptographic keys and authorises cryptographic operations according to configured access policies.

Google Cloud component 05

Workload Identity Federation

Can support credential exchange based on trusted identity assertions and configured attribute conditions.

Google Cloud component 06

VPC Security Architecture

Private networking, firewall policies and supported private service connectivity complement confidential execution.

Architecture 05 · Confidential Data Collaboration
DATA OWNER A Encrypted financial dataset Independent access policy DATA OWNER B Encrypted risk dataset Independent access policy ATTESTATION AND RESOURCE AUTHORISATION Approved workload identity · Evidence appraisal · Data owner policy CONFIDENTIAL COLLABORATION WORKLOAD Approved Analytics Application Controlled processing of both protected datasets AUTHORISED ANALYTICS RESULT Application-enforced output restrictions
Confidential collaboration pattern relevant to services such as Google Cloud Confidential Space. Independent data owners can restrict access to approved workloads. Confidential computing does not automatically prevent an authorised application from disclosing sensitive information through its outputs.

6.8 Comparing Confidential Cloud Platforms

Cloud platform 01
Microsoft Azure

Confidential virtual machines and integrated enterprise identity, attestation and cryptographic key management.

  • Supported AMD SEV-SNP and Intel TDX VM families.
  • Microsoft Azure Attestation.
  • Key Vault and Managed HSM.
  • Managed identities.
  • Confidential disk protection options.
Cloud platform 02
Amazon AWS

Nitro-based isolation, enclave execution and selected confidential EC2 capabilities.

  • AWS Nitro Enclaves.
  • Selected AMD SEV-SNP EC2 configurations.
  • Nitro attestation documents.
  • Attestation-aware AWS KMS operations.
  • IAM and VPC security architecture.
Cloud platform 03
Google Cloud

Confidential virtual machines and controlled confidential data collaboration architectures.

  • Supported confidential Compute Engine configurations.
  • AMD SEV, SEV-SNP and Intel TDX options.
  • Confidential Space.
  • Cloud KMS and IAM.
  • Workload Identity Federation.
Architecture Protected scope Typical use case Engineering consideration
Azure Confidential VM Supported confidential guest VM. Enterprise application migration. VM family, image and disk compatibility.
AWS Nitro Enclave Isolated enclave execution environment. Cryptographic services and sensitive application functions. Application partitioning and parent-mediated I/O.
EC2 AMD SEV-SNP Supported protected guest VM. Hardware-protected EC2 workloads. Instance compatibility and attestation integration.
Google Confidential VM Supported confidential guest VM. Sensitive compute workloads. Machine type and security technology selection.
Google Confidential Space Controlled confidential workload environment. Multi-party data collaboration. Workload identity, data access and output policy.
Platform selection principle

Select a confidential computing architecture based on the required protected scope, threat model, evidence properties and application requirements. Cloud products with similar marketing descriptions may provide substantially different security guarantees and operational capabilities.

6.9 Confidential Virtual Machine Deployment Lifecycle

A confidential cloud workload should follow a controlled deployment lifecycle that establishes both infrastructure security and workload authorisation before sensitive data becomes available.

01 Define security requirements Establish the threat model, data classification and required protected scope.
02 Select confidential hardware Choose supported processor technology, VM family and cloud deployment region.
03 Prepare trusted workload image Validate operating system compatibility, image provenance and security configuration.
04 Configure network and storage Establish private connectivity, firewall rules and persistent encryption.
05 Launch protected workload Instantiate the confidential environment with the required launch configuration.
06 Generate attestation evidence Obtain authenticated evidence about the protected execution environment.
07 Evaluate security policy Appraise evidence, workload identity, security versions and required bindings.
08 Authorise sensitive resources Release protected secrets or permit authorised cryptographic operations.
09 Operate and reassess Monitor workload health, rotate credentials and maintain security policy.

6.10 Infrastructure as Code for Confidential Deployments

Confidential infrastructure should be provisioned through repeatable, reviewed and version-controlled deployment processes.

Infrastructure as Code can help enforce approved machine families, trusted image references, network isolation, storage encryption and identity configuration.

However, successful infrastructure provisioning does not prove that a workload satisfies its attestation policy.

NETWORK INSIGHT · PROVIDER-NEUTRAL DEPLOYMENT SPECIFICATION
confidential_workload:

  compute:
    execution_model: confidential_vm
    hardware_protection: required
    approved_platforms:
      - amd_sev_snp
      - intel_tdx

  image:
    source: approved_image_registry
    provenance_validation: required
    reference_values: approved_release_set

  identity:
    workload_identity: required
    embedded_credentials: prohibited

  network:
    public_ip: prohibited
    ingress: authorised_private_networks
    egress: explicitly_allowed_services
    application_tls: required

  storage:
    boot_volume_encryption: required
    data_volume_encryption: required
    backup_encryption: required

  attestation:
    evidence_authentication: required
    freshness_validation: required
    acceptable_tcb_status: required
    debug_enabled: false
    recipient_key_binding: required

  secret_provisioning:
    identity_authorisation: required
    attestation_policy: required
    protected_delivery: required
    default_decision: deny

  lifecycle:
    credential_rotation: required
    security_update_review: required
    reference_value_change_control: required
    recovery_testing: required
    

This is a conceptual deployment specification, not an executable Terraform, ARM, Bicep, CloudFormation or Google Cloud configuration. Actual implementations require provider-specific resource definitions and supported integrations.

6.11 Confidential Storage and the Data Lifecycle

Hardware-enforced memory protection does not automatically protect every copy of application data outside the confidential execution environment.

Persistent storage, temporary files, swap space, application logs, crash dumps, snapshots and backups require explicit security controls.

Architecture 06 · Protected Data Lifecycle
DATA IN TRANSIT DATA IN USE DATA AT REST Authenticated encryption TLS-protected communication Controlled endpoints Protected guest execution Private memory protection Sensitive plaintext processing Approved application Encrypted volumes Application-level encryption Protected backups KEY MANAGEMENT AND AUTHORISATION Distinct key lifecycles · Resource policies · Attestation-aware provisioning ADDITIONAL DATA EXPOSURE PATHS Logs · Swap · Crash Dumps · Temporary Files · Snapshots Require independent security controls
Confidential computing complements rather than replaces encryption in transit and at rest. Each stage of the data lifecycle requires an explicit protection strategy.
Storage architecture 01

Infrastructure-Level Encryption

Protects stored data according to the cloud storage service's encryption and key management architecture. It does not necessarily exclude the storage service from the plaintext trust boundary.

Storage architecture 02

Guest-Level Encryption

Encryption performed within the guest can protect data before it reaches underlying virtual storage infrastructure, provided key handling is appropriately secured.

Storage architecture 03

Application-Level Encryption

Protects selected records, files or datasets within the application and enables more granular control over plaintext exposure.

Storage architecture 04

Attestation-Gated Decryption

Restricts access to decryption material or cryptographic operations based on applicable attestation, identity and resource authorisation requirements.

6.12 Confidential Networking and Virtual I/O

Confidential virtual machines still require communication with external networks, virtual devices and storage systems.

Many confidential VM architectures distinguish private guest memory from shared memory used for communication with host-managed devices.

Virtual network and storage drivers may use shared buffers or bounce buffers to exchange data with infrastructure outside the protected private memory boundary.

Sensitive plaintext should not be placed into externally accessible buffers without an appropriate security justification. Application-layer encryption can protect data before it crosses this boundary.

Architecture 07 · Confidential Virtual I/O Boundary
CONFIDENTIAL VM · PRIVATE EXECUTION BOUNDARY APPLICATION DATA Sensitive plaintext Protected private memory TLS ENCRYPTION Authenticated encryption Protected session keys ENCRYPTED RECORD Ciphertext and authentication tag Ready for external transport SHARED I/O BUFFER / VIRTUAL DEVICE INTERFACE Outside private-memory confidentiality guarantee HOST VIRTUAL NETWORK / PHYSICAL NETWORK Transports ciphertext · Metadata may remain observable
Simplified confidential virtual networking path. TLS terminates inside the protected workload before ciphertext is passed to shared I/O infrastructure. Network metadata, timing and traffic volume may remain visible outside the confidential boundary.
Network engineering principle

A private subnet establishes a network reachability boundary. A confidential virtual machine establishes a hardware-backed execution boundary. TLS establishes a cryptographic communication boundary. These mechanisms solve different problems and should be combined appropriately.

6.13 TLS Termination and Confidential Trust Boundaries

The location of TLS termination is particularly important in confidential cloud architectures.

If a conventional reverse proxy or load balancer terminates TLS outside the confidential execution environment, sensitive application data may become available in plaintext within that external component.

Architecture A · Expanded trust boundary

External TLS Termination

Client TLS terminates at a conventional application gateway. The gateway processes plaintext before establishing a separate connection to the confidential workload.

Architecture B · Reduced plaintext exposure

Protected TLS Termination

Encrypted traffic is forwarded to the confidential workload, where TLS terminates inside the intended protected environment. External infrastructure handles encrypted application traffic.

External TLS termination may be appropriate when the gateway is explicitly trusted. However, it changes the confidentiality guarantees of the complete application path.

Layer 4 forwarding, TLS passthrough or confidential proxy architectures can help reduce plaintext exposure where supported. These choices also affect application-layer inspection, web application firewall functionality and operational visibility.

6.14 Identity, Attestation and Resource Authorisation

Cloud identity services and confidential computing attestation provide complementary security properties.

A workload identity establishes which application or service is requesting access to a cloud resource.

Attestation provides evidence about security-relevant properties of the workload's execution environment.

Resource authorisation determines whether that identity, operating within the required security context, may access a specific resource or perform a cryptographic operation.

Security question 01

Who Is Requesting Access?

Managed identity, service identity or another authenticated workload credential establishes the requester.

Security question 02

Where Is It Executing?

Attestation evidence establishes relevant properties of the protected execution environment.

Security question 03

What May It Access?

Resource policy evaluates the identity, applicable attestation result and requested operation before authorisation.

NETWORK INSIGHT · CONCEPTUAL CLOUD AUTHORISATION DECISION
REQUEST
  workload_identity: confidential-payments-service
  resource: customer-data-key
  operation: protected_key_release

IDENTITY EVALUATION
  authenticated: true
  resource_permission: granted

ATTESTATION EVALUATION
  evidence_authentic: true
  approved_measurement: true
  acceptable_tcb: true
  freshness_valid: true
  recipient_binding_valid: true

RESOURCE POLICY
  confidential_execution_required: true
  identity_authorised: true
  attestation_approved: true

FINAL DECISION
  protected_key_release: authorised

NOTE
  Identity approval alone is insufficient.
  Attestation approval alone is insufficient.
  Both must satisfy the applicable resource policy.
    

6.15 Confidential Computing Performance Considerations

Confidential computing introduces additional security mechanisms that can affect workload performance and infrastructure compatibility.

The actual performance impact depends on processor architecture, workload characteristics, memory access patterns, virtual I/O behaviour and cloud implementation.

It is therefore inappropriate to assume a universal confidential computing performance overhead.

Performance domain Potential impact Engineering validation
Memory access Encryption and memory protection mechanisms. Measure memory bandwidth and access latency.
Virtual I/O Shared buffer transitions and additional copying. Measure storage IOPS, throughput and network latency.
CPU processing Architecture-specific protected execution costs. Benchmark representative application transactions.
Workload startup Measurement, attestation and secret provisioning. Measure time to application readiness.
Elastic scaling Attestation and key service dependency. Measure concurrent instance launch behaviour.
Accelerator access Device compatibility and protected I/O limitations. Validate supported GPU and device architectures.
Benchmarking recommendation

Compare conventional and confidential deployments using equivalent processor resources, operating systems, workload versions, storage configurations and network conditions wherever possible. Measure application-level outcomes rather than relying exclusively on synthetic processor benchmarks.

6.16 Availability, Scaling and Disaster Recovery

Confidential computing protects selected security properties of execution environments. It does not remove the requirement for resilient infrastructure design.

A confidential workload may become unavailable because of host failures, capacity constraints, network interruptions, attestation service outages or key management failures.

Architecture 08 · Multi-Zone Confidential Infrastructure
RESILIENT TRAFFIC DISTRIBUTION Encrypted traffic forwarding AVAILABILITY ZONE A AVAILABILITY ZONE B CONFIDENTIAL VM A Independently authorised workload CONFIDENTIAL VM B Independently authorised workload ATTESTATION AND KEY ACCESS ATTESTATION AND KEY ACCESS RESILIENT SECURITY AND DATA SERVICES Attestation service availability Protected key management and credential lifecycle Encrypted data replication and recovery INDEPENDENT WORKLOAD ATTESTATION · RESILIENT DEPENDENCIES
Multi-zone confidential deployment pattern. Each replacement or scaled-out workload must independently satisfy applicable authorisation requirements. Availability zone support, live migration, snapshot capabilities and recovery mechanisms depend on the selected platform.
Resilience requirement 01

Confidential Capacity

Validate supported hardware availability across the required regions and zones, including failover capacity.

Resilience requirement 02

Security Service Availability

Account for attestation, identity, key management and endorsement dependencies during outages.

Resilience requirement 03

Protected Recovery

Restore encrypted data only into appropriately authorised environments using approved recovery procedures.

6.17 Operational Visibility and Confidential Workloads

Confidential computing can change how infrastructure teams observe and troubleshoot applications.

Traditional host-level memory inspection, debugging and crash analysis may be restricted or unavailable within protected execution environments.

Engineers must therefore design observability into the guest operating system and application while preventing monitoring systems from becoming unintended plaintext exposure paths.

Observability domain 01

Guest-Level Metrics

Collect application health, resource utilisation and performance measurements from authorised guest monitoring agents.

Observability domain 02

Security Decision Logs

Record attestation outcomes, policy decisions, credential issuance and key access events without exposing secrets.

Observability domain 03

Network Telemetry

Monitor connection health, latency, routing and traffic metadata while respecting encrypted application payloads.

Observability domain 04

Controlled Diagnostics

Use approved guest diagnostic procedures. Avoid enabling insecure debugging modes merely to simplify troubleshooting.

6.18 Engineering Investigation — The Confidential VM That Cannot Start Its Application

Consider an enterprise deploying a confidential payment processing service into a private cloud subnet.

The virtual machine starts successfully, the application authenticates using its workload identity and hardware-backed attestation completes successfully.

However, the application remains unavailable because it cannot retrieve the cryptographic material required to decrypt its database.

NETWORK INSIGHT · SYNTHETIC CLOUD INCIDENT TIMELINE
[10:00:00] Infrastructure deployment       SUCCESS
[10:00:08] Confidential VM allocation      SUCCESS
[10:00:21] Guest operating system boot     SUCCESS
[10:00:25] Private network configuration   SUCCESS
[10:00:28] Workload identity authentication SUCCESS
[10:00:30] Hardware evidence generation    SUCCESS
[10:00:31] Attestation verification        SUCCESS
[10:00:32] Application initialisation      STARTED
[10:00:34] Key service DNS resolution      SUCCESS
[10:00:36] Key service connection          TIMEOUT
[10:00:41] Key service retry               TIMEOUT
[10:00:46] Application readiness           FAILED

NETWORK INVESTIGATION

  Key service DNS:
    private address returned

  Route lookup:
    expected private path selected

  Outbound firewall:
    TCP 443 to key service denied

  Key service authorisation:
    request not received

ROOT CAUSE

  Confidential workload subnet policy does not
  permit the required private key service connection.

REMEDIATION

  Validate the expected service destination.
  Confirm private endpoint and DNS configuration.
  Approve the required restricted egress rule.
  Retry the authorised key operation.
  Verify application readiness.

SECURITY OUTCOME

  No bypass of attestation or key policy required.
    

This incident illustrates why confidential cloud troubleshooting requires a layered investigation across networking, identity, attestation and resource authorisation.

A successful attestation result does not guarantee that every infrastructure dependency is reachable or correctly configured.

6.19 Production Confidential Cloud Troubleshooting Matrix

Observed symptom Possible cause Investigation direction
VM allocation fails Unsupported machine type, region or capacity. Validate confidential hardware availability and quotas.
Guest boot fails Incompatible image or launch configuration. Inspect supported OS images and boot requirements.
Attestation evidence unavailable Guest driver or attestation component failure. Inspect guest attestation interfaces and dependencies.
Attestation rejected Unapproved measurement or unacceptable security status. Inspect verifier appraisal and approved reference values.
Identity authentication fails Incorrect workload identity configuration. Inspect identity assignment and credential acquisition.
Key service unreachable DNS, routing, firewall or private endpoint failure. Validate the complete network path.
Key release denied Resource policy or attestation binding failure. Inspect identity permissions and release conditions.
Unexpected plaintext exposure TLS terminates outside intended protected boundary. Trace application data and encryption termination points.
Reduced network throughput Virtual I/O overhead or resource contention. Compare guest, application and network performance metrics.
Scaling failures Confidential capacity or security service limits. Inspect quotas, launch dependencies and attestation throughput.
Recovery fails Unsupported migration or incompatible key policy. Validate recovery architecture and destination authorisation.
Sensitive logs detected Application exports plaintext through telemetry. Review log sanitisation and monitoring trust boundaries.

6.20 Enterprise Confidential Cloud Security Checklist

Production architecture validation
  • Document the complete confidential computing threat model.
  • Identify the exact protected execution scope.
  • Select an approved confidential processor architecture.
  • Validate cloud machine family and regional availability.
  • Use supported and reviewed operating system images.
  • Establish trusted workload image provenance.
  • Define approved workload reference values.
  • Configure appropriate attestation appraisal policies.
  • Require authenticated workload identity.
  • Enforce resource-specific authorisation.
  • Bind sensitive key release to the intended recipient.
  • Protect boot volumes and application data disks.
  • Review shared memory and virtual device exposure.
  • Use appropriate end-to-end application encryption.
  • Document every TLS termination point.
  • Restrict unnecessary public network connectivity.
  • Validate private endpoint DNS and routing.
  • Protect application logs, crash dumps and temporary files.
  • Benchmark representative production workloads.
  • Validate scaling and confidential hardware capacity.
  • Design resilient attestation and key service dependencies.
  • Test encrypted backup restoration and recovery.
  • Maintain processor and trusted firmware security updates.
  • Integrate attestation policy with release change management.
  • Test security rejection paths without bypassing controls.

Section 06 — Key Engineering Takeaways

Takeaway 01

Confidential Computing Changes the Trust Boundary

Hardware-enforced protection reduces reliance on selected privileged infrastructure components but does not eliminate every hardware, software or operational dependency.

Takeaway 02

Cloud Execution Models Differ

Full confidential virtual machines, isolated enclaves and confidential collaboration environments provide different protected scopes and application integration requirements.

Takeaway 03

Security Extends Beyond Protected Memory

Networking, storage, identity, cryptographic keys, virtual I/O and operational telemetry must be designed around the intended confidentiality boundary.

Takeaway 04

Production Requires Integrated Engineering

Confidential infrastructure must combine verifiable security properties with performance, availability, observability, change management and recovery planning.

Interactive Engineering Experience 06

Confidential Cloud Deployment Builder

The accompanying interactive engineering experience will allow you to construct confidential cloud architectures, select execution models, configure private networks, choose TLS termination points, establish attestation-aware resource policies and investigate deployment failures.

The objective is to understand how individual cloud infrastructure decisions influence the complete workload confidentiality boundary.

NETWORK INSIGHT
INTERACTIVE ENGINEERING LABS
CLOUD ENGINEERING LABORATORY
CONFIDENTIAL COMPUTING / LAB 06 / CLOUD ENGINEERING COMMAND CENTRE

Engineering Trusted Infrastructure
Confidential Cloud Deployment Builder

Design a confidential cloud deployment across Azure, AWS or Google Cloud. Configure hardware isolation, private networking, boot integrity, encrypted storage, attestation and key-management policies. Execute the deployment pipeline and investigate how infrastructure configuration affects workload security.

CLOUD PLATFORM Azure
DEPLOYMENT STATE Not deployed
SECURITY POSTURE 100%
PROTECTED WORKLOAD Pending
01

Select Confidential Cloud Architecture

AZ

Microsoft Azure

Confidential virtual machines, AMD SEV-SNP or Intel TDX where supported, Azure Virtual Network, attestation and Azure Key Vault or Managed HSM integration.

AWS

Amazon Web Services

EC2 parent instances, Nitro Enclaves, isolated enclave memory, vsock communication, signed attestation documents and AWS KMS attestation-aware authorization.

GC

Google Cloud

Confidential VM architectures, supported AMD or Intel confidential computing technologies, VPC networking, workload attestation and Cloud KMS integration patterns.

02

Interactive Confidential Cloud Architecture

CONFIDENTIAL CLOUD — LOGICAL DEPLOYMENT TOPOLOGY Enterprise Client Authorized application request AZURE VIRTUAL NETWORK Private Application Access Restricted ingress / private connectivity Management Access Restricted administration PROTECTED COMPUTE SUBNET Azure Confidential VM Confidential guest execution environment HARDWARE-ENFORCED TRUST BOUNDARY Sensitive Payments Application Protected execution and application data AMD SEV-SNP Hardware-backed isolation Secure Boot Boot integrity enforced Encrypted Persistent Storage Storage encryption enabled CLOUD TRUST SERVICES Managed Identity Least-privilege access Attestation Service Verify workload evidence Azure Key Vault Attestation-gated release Security Telemetry Audit and deployment logs EVIDENCE KEY DEPLOY
CYAN — NETWORK FLOW VIOLET — TRUST BOUNDARY GOLD — KEY MANAGEMENT

Architecture Builder Ready

Configure the cloud environment and execute the deployment.

INFRASTRUCTURE CONFIGURATION
STAGE 01Network Pending
STAGE 02Compute Pending
STAGE 03Boot & Storage Pending
STAGE 04Attestation Pending
STAGE 05Key Authorization Pending
STAGE 06Workload Ready Pending
03

Cloud-Specific Hardware Trust Boundaries

AZURE TRUST ARCHITECTURE
Cloud host and virtualization infrastructure

The cloud host provides compute, scheduling, networking and virtual devices. Confidential guest protection reduces trust placed in privileged host software for protected guest memory.

Confidential virtual machine

The guest operating system and sensitive application execute inside the confidential VM protection boundary.

ARCHITECTURE-SPECIFIC ENGINEERING NOTES

Azure Confidential Virtual Machines

Important protection boundary

04

Confidential Cloud Security Posture

ILLUSTRATIVE ARCHITECTURE SCORE
100% DESIGN CHECKLIST

Hardened Design

This score is a weighted teaching checklist, not a measured probability of compromise or a compliance certification. Runtime failures are evaluated separately.

ARCHITECTURE RECOMMENDATIONS
SECURITY CONTROL CONFIGURATION WEIGHT ASSESSMENT
05

Cloud Deployment Fault Injection

INJECT INFRASTRUCTURE FAILURE

Select a fault, apply it and redeploy the infrastructure.

DEPLOYMENT DIAGNOSTICS
No deployment evidence available.
06

Generated Confidential Infrastructure Blueprint

LOGICAL CONFIGURATION — JSON
PRODUCTION IMPLEMENTATION CONSIDERATIONS

From logical design to cloud deployment

Before translating this blueprint into Terraform, Bicep, CloudFormation or other infrastructure-as-code tooling, validate the selected region, machine family, operating system, image compatibility and confidential computing capabilities.

01 — Verify supported confidential compute SKU and regional capacity.
02 — Establish approved image and boot-integrity requirements.
03 — Configure identity, network paths and private service access.
04 — Implement provider-specific evidence verification.
05 — Bind key authorization to the intended workload and evidence.
06 — Validate operational telemetry and recovery procedures.

The generated JSON is an educational architecture description. It is not executable cloud-provider configuration.

07

Sensitive Application Request Investigation

APPLICATION TRANSACTION
REQUEST: NOT SENT DEPLOYMENT: PENDING WORKLOAD: NOT READY KEY AUTHORIZATION: PENDING
SECURITY AND AVAILABILITY

Available does not necessarily mean confidential

A workload can be operational while missing hardware isolation, attestation enforcement or other security requirements. Conversely, a securely configured deployment may be unavailable because its key service, network or attestation dependencies fail.

Awaiting Application Request

Deploy the infrastructure before testing application processing.

08

Confidential Cloud Architecture Comparison

ARCHITECTURE AZURE CONFIDENTIAL VM AWS NITRO ENCLAVE GOOGLE CONFIDENTIAL VM
Protection scope Confidential guest VM Isolated enclave associated with a parent EC2 instance Confidential guest VM
Hardware architecture AMD SEV-SNP or Intel TDX on supported offerings AWS Nitro System isolation Supported AMD SEV-family or Intel TDX offerings
Application networking Guest VM networking Parent-mediated communication using vsock Guest VM networking
Persistent storage VM disk and application storage Parent-mediated external storage; no enclave persistent disk VM disk and application storage
Attestation Platform-specific evidence and attestation services Nitro attestation document and PCR claims Technology-specific attestation mechanisms
Key management Key Vault / Managed HSM secure-release patterns where supported AWS KMS attestation-aware policy conditions Cloud KMS with appropriate verification and authorization integration
Migration model VM-oriented workload deployment Application decomposition into parent and enclave components VM-oriented workload deployment
09

Cloud Deployment Engineering Event Console

10

Confidential Cloud Engineering Challenges

SELECT ENGINEERING OBJECTIVE

CHALLENGES COMPLETED
0 / 10

Confidential Cloud Engineering

Engineering model limitations: This is a logical infrastructure simulator, not a live cloud deployment service. Cloud-provider capabilities vary by machine type, region, operating system and product version. AWS Nitro Enclaves do not have independent external networking or persistent storage; their application traffic and external service access are mediated through the parent instance. The diagram abstracts these communication paths. Attestation, boot checks, key release and application processing are simulated rather than cryptographically implemented. Disabling a modeled storage-encryption requirement does not imply that a cloud provider's mandatory encryption at rest can actually be disabled.
07 Network Insight · Silicon Fortress Edition

Confidential Kubernetes and Containers

Engineering hardware-isolated cloud-native workloads with Confidential Containers, Kata Containers, Kubernetes RuntimeClass, remote attestation, Trustee, protected container images and evidence-driven secret provisioning.
Learning objectives
  • Understand conventional container trust boundaries.
  • Understand Confidential Containers architecture.
  • Explore Kata Containers and VM-backed isolation.
  • Understand Kubernetes RuntimeClass selection.
  • Trace confidential pod creation.
  • Understand Trustee and Key Broker Services.
  • Explore protected container image delivery.
  • Design confidential Kubernetes networking.
  • Understand confidential workload scheduling.
  • Investigate production confidential pod failures.

7.1 Why Kubernetes Needs Confidential Computing

Kubernetes provides a powerful platform for orchestrating distributed applications across shared infrastructure. Containers enable applications to execute within isolated environments while sharing operating system resources.

Conventional container isolation relies on mechanisms such as Linux namespaces, control groups, capabilities, seccomp profiles and mandatory access control frameworks.

These mechanisms are essential security controls. However, conventional containers generally share the worker node's operating system kernel, making that kernel a critical component of the workload's trust boundary.

Confidential Kubernetes introduces hardware-backed execution environments designed to reduce reliance on selected privileged infrastructure components, including the host operating system and hypervisor where supported by the underlying confidential computing technology.

Isolation model 01

Conventional Containers

Process-level isolation using operating system security mechanisms and a shared host kernel.

Isolation model 02

VM-Isolated Containers

Container workloads execute inside a lightweight virtual machine with a separate guest kernel.

Isolation model 03

Confidential Containers

VM-backed or other supported isolated workloads combined with hardware-backed protection and attestation mechanisms.

7.2 Container Isolation versus Hardware Isolation

Architecture 01 · Evolution of Container Trust Boundaries
CONVENTIONAL VM-ISOLATED CONFIDENTIAL CONTAINER A Application CONTAINER B Application SHARED HOST KERNEL Security-critical boundary HOST OPERATING SYSTEM Container runtime PHYSICAL HARDWARE POD CONTAINERS Lightweight VM sandbox KATA AGENT GUEST KERNEL HOST / HYPERVISOR PHYSICAL HARDWARE CONFIDENTIAL POD Protected workload GUEST SECURITY AGENTS PROTECTED GUEST KERNEL HOST / HYPERVISOR Restricted private-state access CONFIDENTIAL CPU Hardware-backed protection CONCEPTUAL COMPARISON · PROTECTION DEPENDS ON RUNTIME AND HARDWARE CONFIGURATION
Conventional containers share a host kernel. Kata Containers introduces a separate guest kernel and virtual machine sandbox. Confidential Containers can extend that isolation using hardware-backed confidential execution and attestation. VM isolation alone does not establish confidential computing guarantees.
Security property Conventional container VM-isolated container Confidential container
Kernel architecture Shared host kernel. Separate guest kernel. Guest kernel inside protected environment.
Isolation mechanism Operating system controls. Virtualisation boundary. Virtualisation and hardware security.
Host memory access Privileged host access possible. Depends on hypervisor trust. Restricted for protected private memory.
Hardware attestation Not inherent. Not inherent. Supported by applicable confidential architecture.
Secret provisioning Conventional Kubernetes mechanisms. Runtime-dependent. Can be gated by attestation policy.
Application compatibility Broad container compatibility. Guest and runtime constraints. Additional platform and security constraints.
Resource overhead Typically lower sandbox overhead. Additional guest VM resources. Guest VM and confidential security costs.

7.3 What Is the Confidential Containers Project?

Confidential Containers, commonly abbreviated as CoCo, is a cloud-native project focused on enabling confidential workloads within container orchestration environments.

Its architecture combines container runtimes, trusted execution environments, attestation mechanisms and protected resource provisioning to support workloads that need stronger confidentiality guarantees than conventional container isolation provides.

A central architectural objective is to keep sensitive workload data and cryptographic material within an intended protected execution environment while reducing the trust placed in the infrastructure hosting it.

CoCo component 01

Kubernetes Orchestration

Schedules and manages workload lifecycle using familiar Kubernetes APIs and deployment abstractions.

CoCo component 02

Confidential Runtime

Creates an isolated workload environment using supported runtime and confidential computing technologies.

CoCo component 03

Guest Security Components

Support attestation, protected resource retrieval, container image handling and enforcement of applicable guest policies.

CoCo component 04

Trusted Execution Environment

Establishes hardware-backed protection for supported private memory and execution state.

CoCo component 05

Trustee

Provides attestation and resource provisioning capabilities for confidential workloads.

CoCo component 06

Protected Resources

Encryption keys, application credentials, certificates and other resources released according to applicable security policy.

7.4 Kata Containers Architecture

Kata Containers provides an OCI-compatible container runtime architecture that uses lightweight virtual machines to strengthen workload isolation.

Instead of executing every container directly against the worker node's kernel, Kata Containers can create a virtual machine sandbox containing a guest kernel and an agent responsible for managing container processes inside that environment.

When integrated with supported confidential computing hardware and guest security components, this architecture can form the foundation of a confidential pod.

Architecture 02 · Kata Confidential Pod Runtime Stack
KUBERNETES WORKER NODE KUBELET CONTAINERD / CRI KATA RUNTIME / VMM INTEGRATION CONFIDENTIAL POD SANDBOX APPLICATION CONTAINER Sensitive processing SIDECAR CONTAINER Trusted supporting process GUEST SECURITY AGENTS Attestation and resource access KATA AGENT · GUEST KERNEL · PROTECTED PRIVATE MEMORY SUPPORTED CONFIDENTIAL HARDWARE ARCHITECTURE
Simplified Kata-based confidential runtime stack. Containers within the same pod sandbox can share a guest kernel and associated trust boundary. A sidecar must therefore be included in the workload security assessment. Actual runtime and virtual machine monitor integration varies by implementation.

7.5 Kubernetes RuntimeClass and Confidential Runtime Selection

Kubernetes RuntimeClass allows workloads to select a configured container runtime handler rather than relying exclusively on the cluster's default runtime.

A confidential Kubernetes cluster may support conventional containers alongside VM-isolated and hardware-protected confidential workloads.

RuntimeClass provides a Kubernetes-level abstraction for selecting the intended runtime configuration.

KUBERNETES · ILLUSTRATIVE RUNTIMECLASS
apiVersion: node.k8s.io/v1
kind: RuntimeClass

metadata:
  name: confidential-snp

handler: kata-snp

scheduling:
  nodeSelector:
    confidential-computing: sev-snp

overhead:
  podFixed:
    memory: "256Mi"
    cpu: "100m"
    

This illustrative configuration associates a RuntimeClass with a runtime handler, compatible node selection and an example fixed pod resource overhead.

The runtime handler, node labels and resource overhead values must match the actual confidential runtime installation. The example values are not measured performance or capacity recommendations.

KUBERNETES · ILLUSTRATIVE CONFIDENTIAL POD
apiVersion: v1
kind: Pod

metadata:
  name: confidential-analytics

spec:
  runtimeClassName: confidential-snp

  automountServiceAccountToken: false

  containers:
    - name: analytics
      image: registry.example.com/analytics:1.0

      resources:
        requests:
          cpu: "500m"
          memory: "512Mi"

        limits:
          cpu: "1"
          memory: "1Gi"

      securityContext:
        allowPrivilegeEscalation: false
        runAsNonRoot: true
        capabilities:
          drop:
            - ALL
    
Important engineering distinction

Selecting a RuntimeClass does not prove that the workload is executing inside an approved confidential environment. RuntimeClass expresses orchestration intent. Hardware-backed attestation provides evidence that can be evaluated against the intended security requirements.

7.6 Confidential Kubernetes Scheduling Architecture

A Kubernetes cluster can contain multiple worker node pools with different processor architectures, runtime capabilities and security configurations.

Confidential workloads must be scheduled onto infrastructure that supports the requested trusted execution environment and associated runtime.

Architecture 03 · Mixed Kubernetes Worker Node Pools
KUBERNETES CONTROL PLANE API Server · Scheduler · Admission Policy WORKLOAD PLACEMENT POLICY RuntimeClass · Node Selection · Tolerations STANDARD NODE POOL AMD SEV-SNP POOL INTEL TDX POOL STANDARD POD DEFAULT RUNTIME CONFIDENTIAL POD SNP RUNTIME Protected guest VM CONFIDENTIAL POD TDX RUNTIME Protected trust domain SCHEDULING INTENT MUST BE COMPLEMENTED BY ATTESTATION
Illustrative mixed-runtime Kubernetes cluster. Node labels and scheduling constraints help place workloads on suitable infrastructure. They are not cryptographic evidence of hardware protection.
Placement control 01

Node Labels and Affinity

Identify compatible worker nodes and constrain placement according to workload infrastructure requirements.

Placement control 02

Taints and Tolerations

Reserve specialised confidential computing capacity for appropriate workloads.

Placement control 03

Admission Policies

Enforce approved runtime selection, workload configuration and other deployment requirements before scheduling.

7.7 Confidential Pod Creation Lifecycle

Confidential pod creation introduces additional dependencies beyond conventional Kubernetes container startup.

A protected sandbox must be established, security-relevant evidence generated, and required resources authorised before sensitive application processing can begin.

01 Pod submission Kubernetes receives a workload specification requesting an approved runtime.
02 Admission evaluation Cluster policies evaluate the requested workload configuration.
03 Worker node selection The scheduler selects a compatible worker node with sufficient resources.
04 Confidential sandbox creation The runtime establishes a protected guest execution environment.
05 Guest initialisation Guest kernel and required security components initialise inside the sandbox.
06 Attestation evidence Guest components obtain security-relevant evidence from the supported TEE.
07 Evidence appraisal Trusted verification services evaluate evidence against applicable policies.
08 Protected resource retrieval Approved workloads retrieve authorised image keys or application resources.
09 Application readiness The workload completes its protected startup sequence and readiness checks.

This sequence represents a conceptual attestation-gated deployment. The precise ordering of image retrieval, guest policy initialisation and attestation depends on the runtime and deployment configuration.

7.8 Trustee — Attestation and Trusted Resource Provisioning

Trustee provides infrastructure for attestation and controlled resource provisioning to confidential workloads.

Its architecture separates the protected workload from the services responsible for evaluating evidence and deciding whether sensitive resources may be released.

Trustee component 01

Key Broker Service — KBS

Coordinates attestation-related interactions and authorises access to protected resources according to applicable resource policies.

Trustee component 02

Attestation Service — AS

Evaluates attestation evidence using supported verification mechanisms and appraisal policies.

Trustee component 03

Reference Value Provider Service

Supplies trusted reference values used when evaluating applicable workload and platform measurements.

Guest component 01

Attestation Agent

Obtains evidence and participates in attestation interactions from within the protected guest environment.

Guest component 02

Confidential Data Hub

Supports protected resource retrieval and applicable confidential data operations within the guest.

Resource component

Protected Resource Repository

Holds authorised resources such as image decryption keys, application credentials or other sensitive material.

Architecture 04 · Trustee Security Command Centre
CONFIDENTIAL POD APPLICATION WORKLOAD Protected resource consumer CONFIDENTIAL DATA HUB Resource retrieval ATTESTATION AGENT Evidence generation HARDWARE TEE Protected private memory Hardware-backed evidence TRUSTEE SECURITY SERVICES KEY BROKER SERVICE Resource access decision ATTESTATION SERVICE Evidence verification and appraisal REFERENCE VALUE PROVIDER Trusted reference values PROTECTED RESOURCE STORE Image keys · Credentials · Certificates EVIDENCE-DRIVEN RESOURCE PROVISIONING Authentic evidence · Approved security state · Resource-specific policy
Logical Trustee architecture. The KBS coordinates protected resource access, the Attestation Service appraises evidence, and reference values support measurement evaluation. The diagram abstracts internal APIs and implementation-specific component placement.

7.9 Evidence-Driven Secret Provisioning

Conventional Kubernetes Secrets are commonly delivered through environment variables or mounted volumes.

These mechanisms can be appropriate for conventional workloads, but they do not automatically exclude the Kubernetes control plane, kubelet or other privileged infrastructure from the secret's trust boundary.

Confidential workload architectures can instead retrieve selected sensitive resources directly from a trusted provisioning service after the protected environment has satisfied applicable attestation and authorisation requirements.

Conventional provisioning

Infrastructure-Mediated Secrets

Secrets may pass through the Kubernetes API, backing storage, kubelet and workload configuration mechanisms. Encryption at rest protects stored representations but does not remove every privileged plaintext access path.

Confidential provisioning

Attestation-Gated Resources

A protected guest retrieves authorised resources through a security protocol that evaluates applicable evidence and binds delivery to the intended confidential recipient.

CONCEPTUAL CONFIDENTIAL RESOURCE POLICY
resource:
  identifier: production/database/decryption-key

requirements:

  evidence:
    authentic: required
    freshness: required
    acceptable_tcb: required

  platform:
    approved_tee: required
    debug_mode: prohibited

  workload:
    approved_guest_measurement: required
    approved_workload_binding: required

  delivery:
    protected_recipient_binding: required

decision:
  default: deny
  release: only_when_all_requirements_pass
    

This is a conceptual policy specification, not executable Trustee policy syntax. Actual attestation claims, resource policy formats and workload bindings depend on the selected implementation.

7.10 Confidential Container Images

Container images can contain proprietary application code, intellectual property, configuration and other sensitive material.

Conventional container image security mechanisms include registry authentication, TLS, image signing, vulnerability scanning and immutable image digests.

Confidential Containers can introduce additional protection by retrieving and decrypting protected image content within the confidential guest rather than exposing plaintext image layers to conventional host-side image handling.

Architecture 05 · Protected Container Image Supply Chain
TRUSTED IMAGE BUILD PIPELINE Build · Scan · Sign · Encrypt TRUSTED KEY PROVISIONING Protected image decryption key OCI IMAGE REGISTRY Encrypted image content KEY BROKER SERVICE Attestation and resource policy CONFIDENTIAL GUEST BOUNDARY ENCRYPTED IMAGE CONTENT Guest-side image handling AUTHORISED DECRYPTION KEY Protected resource delivery VERIFIED APPLICATION IMAGE Policy-checked execution inside protected guest
Protected image delivery pattern. Encrypted image content and authorised decryption material converge within the confidential guest. Image encryption, signature verification and workload authorisation address different security properties. Registry metadata may remain visible.
Supply chain control 01

Image Encryption

Protects selected image content from unauthorised plaintext access before execution in the intended environment.

Supply chain control 02

Image Signing

Supports verification of image provenance and integrity according to trusted signing and verification policies.

Supply chain control 03

Immutable Image References

Image digests help identify exact image content rather than relying exclusively on mutable registry tags.

7.11 Guest Policy and the Untrusted Control Plane

Confidential computing does not automatically make every Kubernetes API request trustworthy.

The control plane and host runtime may still influence workload creation, configuration, lifecycle and communication.

Where these components are outside the intended confidentiality trust boundary, the protected guest must not blindly accept every externally supplied instruction.

Guest-side policy enforcement can restrict operations such as container creation, process execution, mounting resources and other runtime requests according to the supported implementation.

Potential exposure 01

Unauthorised Container Injection

An additional container or sidecar may expand the workload trust boundary. Guest policy should restrict unapproved container creation where supported.

Potential exposure 02

Unauthorised Process Execution

Administrative execution requests may expose sensitive application state. Supported guest policies can restrict process execution operations.

Potential exposure 03

Configuration Manipulation

Environment variables, command arguments and mounted configuration can influence application behaviour and must be validated against security requirements.

Potential exposure 04

Untrusted Storage Mounts

Externally supplied filesystems and volumes can introduce untrusted data or expose sensitive writes unless appropriate protections are applied.

Attestation measurement scope

A valid hardware attestation report does not necessarily identify every container image, environment variable or application configuration inside a pod. Engineers must establish how approved workload identity, image verification and guest policy are bound to the attested environment.

7.12 Confidential Kubernetes Networking

Confidential pods continue to participate in Kubernetes networking architectures. They require connectivity to other workloads, services, registries and trusted security infrastructure.

The host-side Container Network Interface implementation may manage interfaces, routing, network policy and traffic forwarding outside the protected guest.

Confidential memory protection does not automatically extend to packets after they cross into shared virtual I/O buffers or host networking infrastructure.

Architecture 06 · Confidential Pod Packet Journey
CONFIDENTIAL POD A CONFIDENTIAL POD B APPLICATION A Sensitive plaintext APPLICATION B Authorised plaintext TLS / mTLS ENCRYPTION Inside protected guest TLS / mTLS DECRYPTION Inside protected guest SHARED VIRTUAL I/O SHARED VIRTUAL I/O HOST CNI / SERVICE NETWORK / PHYSICAL FABRIC NETWORK METADATA, TIMING AND AVAILABILITY REMAIN SEPARATE SECURITY CONCERNS
Encrypted application traffic leaves the confidential guest through virtual I/O and traverses host-managed networking. TLS or mTLS terminates inside the intended protected endpoints. Host networking can still observe metadata and influence traffic delivery.
Network layer 01

Container Network Interface

Establishes workload connectivity using supported runtime and host networking integrations.

Network layer 02

NetworkPolicy

Restricts workload communication where enforced by the selected network plugin. Host-enforced policy is not a substitute for guest cryptographic protection.

Network layer 03

Application Encryption

Protects application payloads across virtual networking, service forwarding and physical network infrastructure.

7.13 Service Mesh and Confidential Workload Identity

Service mesh architectures commonly provide workload authentication, mutual TLS, traffic policy and application telemetry.

In confidential Kubernetes environments, the placement of service mesh proxies becomes a security architecture decision.

A proxy terminating TLS outside the protected environment can introduce an additional plaintext exposure point. A trusted proxy executing inside the confidential sandbox can preserve a narrower plaintext boundary, subject to runtime compatibility and policy.

Mesh architecture Plaintext location Security consideration
External gateway termination Gateway and protected workload. Gateway must be included in the trust model.
Guest-resident sidecar Inside confidential pod sandbox. Sidecar code and configuration become security-critical.
Host-resident proxy Potentially outside protected guest. Evaluate exact encryption termination points.
Application-native mTLS Protected application endpoints. Requires application-managed identity and certificate lifecycle.
Layer 4 passthrough Protected TLS endpoint. Limits external application-layer inspection.

Workload identity frameworks such as SPIFFE can complement confidential computing by establishing authenticated service identities.

However, a workload identity credential does not inherently prove confidential hardware execution. That relationship requires an appropriate attestation-aware identity issuance or authorisation design.

7.14 Confidential Persistent Storage

Kubernetes workloads frequently depend on persistent volumes provisioned through Container Storage Interface drivers.

These volumes can exist outside the confidential execution environment and may be managed by infrastructure that is not part of the intended trusted computing base.

Confidential applications must therefore explicitly address persistent data encryption, key management, integrity, snapshots, backup and recovery.

Architecture 07 · Protected Persistent Volume Path
CONFIDENTIAL POD BOUNDARY APPLICATION DATA Plaintext in protected memory GUEST ENCRYPTION Protected encryption keys ENCRYPTED BLOCKS External storage representation VIRTUAL STORAGE I/O / CSI-BACKED INFRASTRUCTURE PERSISTENT VOLUME Encrypted data SNAPSHOT / BACKUP Protected recovery data
Conceptual guest-side encryption pattern. Data is encrypted before leaving the protected execution environment. The storage implementation must also address integrity, replay or rollback threats where these are relevant. CSI compatibility varies by runtime.

7.15 Enterprise Confidential Kubernetes Reference Architecture

Consider an enterprise deploying a sensitive financial analytics platform onto a shared Kubernetes cluster.

The platform must protect proprietary application images, customer datasets and database credentials while supporting elastic workload scaling and controlled communication between microservices.

Architecture 08 · Enterprise Confidential Kubernetes
ENTERPRISE CLIENTS / PRIVATE CONNECTIVITY Authenticated encrypted application traffic KUBERNETES CLUSTER CONTROL PLANE / WORKLOAD ORCHESTRATION CONFIDENTIAL WORKER NODE POOL CONFIDENTIAL POD A Analytics service Guest attestation Protected processing CONFIDENTIAL POD B Risk analysis service Guest attestation Protected processing CONFIDENTIAL HARDWARE / RUNTIME TRUSTEE Key Broker Service Attestation Service Reference values OCI IMAGE REGISTRY Protected image content Trusted image provenance ENTERPRISE KMS Protected cryptographic material Controlled resource lifecycle PROTECTED ENTERPRISE DATA SERVICES Encrypted databases · Persistent storage · Protected backups Resource-specific authorisation and controlled recovery
Provider-neutral enterprise reference architecture. Trustee and key management services must operate within an explicitly trusted administrative and security domain. Their physical placement alone does not establish trust. Data services require their own appropriate confidentiality and authorisation controls.

7.16 Confidential Kubernetes Performance Engineering

Confidential container architectures introduce additional resource requirements associated with guest virtual machines, protected memory, image handling, attestation and resource provisioning.

The resulting performance characteristics depend on the workload, runtime, confidential processor architecture and infrastructure implementation.

Performance domain Potential impact Engineering measurement
Pod startup Guest VM boot and security initialisation. Time from scheduling to readiness.
Attestation Evidence generation and remote verification. Attestation latency and failure rate.
Image handling Guest-side retrieval, verification and decryption. Image preparation and startup duration.
Memory utilisation Guest kernel and runtime overhead. Per-pod memory and node density.
Network I/O Virtual device transitions and shared buffers. Throughput, latency and CPU utilisation.
Storage I/O Guest encryption and virtual storage path. IOPS, throughput and tail latency.
Elastic scaling Concurrent guest creation and attestation demand. Scale-out completion and service readiness.
Resource provisioning Dependency on KBS and key services. Resource retrieval latency and availability.

7.17 Autoscaling and Confidential Workload Availability

Kubernetes autoscaling can increase the number of workload replicas in response to application demand.

Confidential workloads introduce additional considerations because each new protected sandbox may require its own attestation and resource provisioning sequence.

Scaling dependency 01

Confidential Node Capacity

Ensure sufficient compatible hardware is available to accommodate additional protected workload replicas.

Scaling dependency 02

Attestation Throughput

Verification services must accommodate concurrent confidential workload initialisation and policy evaluation.

Scaling dependency 03

Resource Broker Capacity

Key and resource provisioning services must handle increased authorised resource requests during scale-out.

Availability principle

Do not silently fall back to conventional containers when confidential hardware or attestation services are unavailable. A workload that requires confidential execution should fail safely rather than lose its required security properties.

7.18 Engineering Investigation — The Pod That Cannot Decrypt Its Image

Consider a confidential Kubernetes deployment that retrieves an encrypted application image from a private container registry.

The workload is scheduled successfully, the confidential virtual machine starts, and hardware attestation evidence is generated.

However, the application container never becomes ready because the Key Broker Service refuses to release the required image decryption key.

NETWORK INSIGHT · SYNTHETIC CONFIDENTIAL POD INCIDENT
INCIDENT: CC-K8S-007

WORKLOAD
  pod: confidential-analytics
  runtime: confidential-snp
  requested_resource: analytics-image-key

TIMELINE

[12:00:00] Pod admission             SUCCESS
[12:00:02] Worker node scheduling    SUCCESS
[12:00:05] Runtime selection         SUCCESS
[12:00:09] Confidential VM boot      SUCCESS
[12:00:12] Guest initialisation      SUCCESS
[12:00:14] Registry connectivity     SUCCESS
[12:00:16] Attestation evidence      GENERATED
[12:00:17] Evidence signature       VALID
[12:00:17] Hardware security state   ACCEPTABLE
[12:00:18] Guest measurement policy  REJECTED
[12:00:18] Image key request         DENIED
[12:00:20] Image decryption          UNAVAILABLE
[12:00:25] Application readiness    FAILED

INVESTIGATION

  Previous guest image:
    approved-release-A

  Current guest image:
    release-B

  Reference value configuration:
    approved-release-A only

ROOT CAUSE

  A guest image update changed an evaluated
  measurement. The corresponding trusted
  reference values were not updated through
  the approved release process.

REMEDIATION

  1. Verify the provenance of release-B.
  2. Review its security configuration.
  3. Validate the expected measurements.
  4. Approve the new reference values.
  5. Retry confidential pod creation.
  6. Verify resource authorisation.
  7. Confirm application readiness.

SECURITY OUTCOME

  Resource access remains denied until
  the approved security policy is satisfied.
    

The failure is not caused by Kubernetes scheduling, container registry connectivity or invalid hardware evidence.

The attestation policy is correctly rejecting an environment whose evaluated measurement is not currently approved.

7.19 Production Troubleshooting Commands

Conventional Kubernetes commands remain useful for identifying the infrastructure layer at which confidential workload creation has failed.

KUBERNETES · INFRASTRUCTURE INVESTIGATION
# Inspect workload state
kubectl get pods -o wide

# Inspect pod configuration and events
kubectl describe pod confidential-analytics

# Inspect available runtime classes
kubectl get runtimeclass

# Inspect selected runtime configuration
kubectl get runtimeclass confidential-snp -o yaml

# Inspect node labels
kubectl get nodes --show-labels

# Inspect recent cluster events
kubectl get events \
  --sort-by=.metadata.creationTimestamp

# Discover security service deployments
kubectl get deployments -A

# Discover security service pods
kubectl get pods -A

# Discover service endpoints
kubectl get services -A
    

Runtime-specific logs, guest diagnostics and Trustee service logs can provide additional evidence. Their locations and availability depend on the installed components and deployment configuration.

Operations such as interactive guest execution, container log retrieval or debugging may be restricted by guest security policy. Engineers should not weaken these controls merely to make conventional troubleshooting commands work.

7.20 Confidential Kubernetes Troubleshooting Matrix

Observed symptom Possible cause Investigation direction
Pod remains Pending No compatible confidential worker node. Inspect scheduling events, affinity and capacity.
Runtime handler unavailable Incorrect RuntimeClass or runtime installation. Validate configured handler and node runtime.
Sandbox creation fails Unsupported hardware or VMM configuration. Inspect runtime and virtualisation diagnostics.
Guest fails to boot Incompatible guest image or configuration. Validate supported guest components.
Evidence unavailable Attestation interface or guest agent failure. Inspect supported guest evidence interfaces.
KBS connection timeout DNS, routing or network policy failure. Validate connectivity from the protected guest.
Attestation rejected Measurement or platform policy mismatch. Inspect verifier results and reference values.
Resource access denied Resource-specific authorisation failure. Inspect resource identifier and applicable policy.
Image decryption fails Missing or incompatible decryption material. Validate protected image and key configuration.
Container creation rejected Guest policy violation. Compare requested workload against approved policy.
Persistent volume fails Unsupported storage integration. Validate runtime and CSI compatibility.
Service mesh connection fails Certificate, proxy or identity configuration. Trace TLS termination and identity issuance.
Slow pod startup Guest boot, image retrieval or attestation latency. Measure each startup dependency independently.
Scaling fails under load Hardware capacity or security service saturation. Inspect node resources and provisioning throughput.
Unexpected data exposure External logging, storage or TLS termination. Trace every plaintext boundary.

7.21 Production Confidential Kubernetes Security Checklist

Enterprise architecture validation
  • Document the confidential workload threat model.
  • Identify the intended protected execution boundary.
  • Validate supported confidential processor technologies.
  • Deploy compatible confidential runtime components.
  • Configure approved Kubernetes RuntimeClasses.
  • Validate confidential worker node scheduling.
  • Protect node placement configuration from unauthorised modification.
  • Enforce appropriate workload admission policies.
  • Establish trusted guest image provenance.
  • Configure supported guest-side security policies.
  • Validate approved container image provenance.
  • Use immutable image references where appropriate.
  • Protect sensitive container image content.
  • Configure trusted attestation verification services.
  • Maintain approved reference values.
  • Validate evidence freshness and security status.
  • Establish appropriate workload-to-attestation bindings.
  • Require resource-specific authorisation.
  • Bind protected resource delivery to the intended recipient.
  • Review conventional Kubernetes Secret exposure paths.
  • Validate network connectivity to trusted security services.
  • Document every application TLS termination point.
  • Protect persistent data outside the confidential guest.
  • Validate service mesh and storage compatibility.
  • Prevent sensitive plaintext from entering external telemetry.
  • Benchmark confidential pod startup and application performance.
  • Validate confidential hardware and attestation scaling capacity.
  • Integrate reference value changes with release management.
  • Test security rejection and dependency failure scenarios.
  • Prevent unauthorised fallback to non-confidential execution.

Section 07 — Key Engineering Takeaways

Takeaway 01

Container Isolation Is Not Confidential Computing

Namespaces, separate guest kernels and hardware-backed confidential execution provide different isolation properties and trust boundaries.

Takeaway 02

Runtime Selection Is Not Security Evidence

Kubernetes RuntimeClass and scheduling policies establish deployment intent. Attestation provides evidence about the resulting protected environment.

Takeaway 03

Trustee Enables Controlled Resource Provisioning

Confidential workloads can obtain authorised resources after evidence appraisal and applicable resource policy evaluation.

Takeaway 04

Guest Policy Matters

Hardware protection alone does not prevent unauthorised workload configuration changes or unsafe application behaviour.

Takeaway 05

Networking Extends Beyond the TEE

Host-managed networking, shared I/O, service meshes and storage systems require explicit confidentiality and integrity controls.

Takeaway 06

Confidential Kubernetes Is a Systems Engineering Problem

Secure production deployment requires coordination across hardware, runtime, orchestration, networking, identity, attestation and operational lifecycle.

Interactive Engineering Experience 07

Confidential Kubernetes Security Explorer

The accompanying interactive engineering experience will explore confidential pod creation, runtime selection, worker node placement, guest policy, protected image retrieval and Trustee resource decisions.

Engineers will investigate failed scheduling, incompatible runtime configurations, rejected guest measurements, denied resource requests and unintended plaintext exposure across Kubernetes networking boundaries.

NETWORK INSIGHT
INTERACTIVE ENGINEERING LABS
CONFIDENTIAL KUBERNETES LAB
CONFIDENTIAL COMPUTING / LAB 07 / KUBERNETES SILICON FORTRESS

Beyond Container Isolation
Confidential Kubernetes Security Explorer

Deploy sensitive Kubernetes workloads into hardware-isolated guest environments. Investigate RuntimeClass selection, confidential node scheduling, encrypted container images, Trustee attestation services and conditional secret delivery. Observe how the workload trust boundary changes when the Kubernetes worker host is compromised.

POD RUNTIME Kata CC
POD STATE Not created
SCHEDULED NODE Pending
SECRET DELIVERY Pending
01

Kubernetes Worker Node Inventory

CPU

worker-standard-01

Conventional Kubernetes worker with a shared host kernel.

Runtime: containerd / runc
Confidential hardware: None
Available capacity: 4 vCPU

Ready · Standard workload pool

SNP

worker-confidential-01

AMD SEV-SNP worker supporting confidential guest isolation.

Runtime: Kata confidential runtime
Hardware: AMD SEV-SNP
Available capacity: 8 vCPU

Ready · Confidential workload pool

TDX

worker-confidential-02

Intel TDX worker supporting hardware-isolated trust domains.

Runtime: Kata confidential runtime
Hardware: Intel TDX
Available capacity: 8 vCPU

Ready · Confidential workload pool

02

Interactive Confidential Kubernetes Architecture

KUBERNETES — CONFIDENTIAL WORKLOAD CONTROL PLANE KUBERNETES CONTROL PLANE API Server Pod specification / RuntimeClass Scheduler Node selection / resource fit Controller Manager Desired workload state Standard Worker worker-standard-01 Kubelet containerd / runc Standard Pod No workload scheduled Namespaces / cgroups Shared Host Kernel Confidential Worker Pool AMD SEV-SNP / Intel TDX Kubelet / containerd Kata Runtime Confidential guest creation HARDWARE TRUST BOUNDARY Confidential Guest VM Guest kernel / Kata agent Attestation Agent Evidence / protected key channel Guest Image Processing Encrypted layers / decryption Sensitive Application Awaiting confidential deployment Trustee Services External trust infrastructure Key Broker Service Resource authorization policy Attestation Service Evidence appraisal Reference Values RVPS / approved measurements Trusted reference information OCI Image Registry Encrypted container image HOST THREAT INVESTIGATION No inspection executed POD
BLUE — KUBERNETES CONTROL VIOLET — TRUST BOUNDARY GOLD — TRUSTEE SERVICES

Confidential Cluster Ready

Configure the workload and deploy the pod.

POD DEPLOYMENT CONFIGURATION
01Admission Pending
02Scheduling Pending
03Guest Creation Pending
04Attestation Pending
05Resource Access Pending
06Image Processing Pending
07Pod Ready Pending
03

Container and Confidential Guest Trust Boundaries

CONVENTIONAL KUBERNETES POD
Worker host and shared operating system kernel

Container namespaces, cgroups, capabilities and security policies provide software isolation while relying on the host kernel.

Application container

A privileged compromised host may inspect or manipulate container processes and application memory.

HARDWARE-ISOLATED CONFIDENTIAL POD
Worker host, hypervisor and container orchestration

Host infrastructure manages resources but is outside the modeled confidential guest memory protection boundary.

Confidential guest VM

Guest kernel, Kata agent, attestation components and application processes operate within the protected environment.

SECURITY PROPERTY RUNC KATA WITHOUT TEE CONFIDENTIAL KATA
Application kernel Shared host kernel Separate guest kernel Separate protected guest kernel
Isolation mechanism Namespaces and cgroups Virtual machine boundary Hardware-backed confidential guest
Privileged host memory inspection Potentially accessible Not prevented by VM isolation alone Protected private guest memory
Hardware-backed guest attestation Not provided by runc Not inherent Supported with appropriate platform integration
Guest compromise protection Not guaranteed Not guaranteed Not guaranteed
Host denial of service protection Not guaranteed Not guaranteed Not guaranteed
04

Trustee and Confidential Resource Delivery

01 — EVIDENCE

Attestation Agent

A guest-side component participates in collecting hardware evidence and establishing a protected resource-access session with the external trust infrastructure.

02 — APPRAISAL

Attestation Service

Evaluates evidence against applicable verification policies and trusted reference information. Reference values help establish whether measured components meet expectations.

03 — AUTHORIZATION

Key Broker Service

Applies resource authorization policy using the relevant attestation results and delivers permitted resources through the configured protected communication mechanism.

LIVE RESOURCE DELIVERY EVIDENCE
RESOURCE DELIVERY REQUIREMENT OBSERVED RESULT
05

Confidential Pod Threat Investigation Laboratory

SELECT THREAT SCENARIO

Awaiting Investigation

Deploy a workload before investigating its security boundary.

SIMULATED FORENSIC EVIDENCE
INVESTIGATION: NOT EXECUTED Deploy a Kubernetes workload. Select a threat scenario. Inspect the resulting evidence.
06

Kubernetes Fault Injection and Troubleshooting

INJECT DEPLOYMENT FAILURE

No injected failure.

KUBERNETES DIAGNOSTIC EVIDENCE
POD: NOT CREATED No deployment evidence available.
07

Interactive Kubernetes Diagnostic Terminal

SIMULATED KUBECTL COMMANDS
$ kubectl Network Insight Kubernetes simulation terminal. Select a diagnostic command above.
08

Confidential Kubernetes Manifest Explorer

GENERATED POD YAML — ILLUSTRATIVE
MANIFEST ENGINEERING NOTES

RuntimeClass is not a security guarantee

RuntimeClass selects a configured runtime handler and can carry scheduling constraints. It does not independently establish that a workload is executing inside a valid TEE.

01 — Install and configure the intended Kata runtime handler.
02 — Establish compatible confidential worker node pools.
03 — Configure RuntimeClass scheduling requirements.
04 — Configure guest-side image processing and resource retrieval.
05 — Establish Trustee evidence and resource authorization policies.
06 — Verify guest security policies and actual runtime evidence.

Runtime handler names, node labels and annotations in this laboratory are illustrative. The YAML requires corresponding cluster configuration and a real container image before use.

09

Confidential Kubernetes Engineering Event Console

10

Confidential Kubernetes Engineering Challenges

SELECT ENGINEERING OBJECTIVE

CHALLENGES COMPLETED
0 / 10

Confidential Kubernetes Engineering

Engineering model limitations: This is an educational Kubernetes simulator, not a live Kubernetes cluster. Hardware attestation, Trustee authorization, encrypted image processing and guest isolation are modeled rather than cryptographically implemented. The scheduler uses simplified resource and runtime compatibility rules. Confidential containers do not automatically protect Kubernetes API metadata, shared buffers, external network traffic, persistent storage, compromised guest applications or workload availability. Production security depends on the actual TEE, guest image, attestation policies, runtime configuration and application threat model.
08 Network Insight · Silicon Fortress Edition

Confidential AI and GPU Computing

Engineering hardware-protected AI infrastructure with confidential GPUs, NVIDIA Hopper and Blackwell, CPU-to-GPU trust boundaries, device attestation, protected accelerator communication, secure model provisioning and confidential inference.
Learning objectives
  • Understand confidential AI infrastructure.
  • Identify sensitive AI workload assets.
  • Understand CPU-to-GPU trust boundaries.
  • Explore NVIDIA confidential GPU architecture.
  • Understand GPU memory protection.
  • Explore SPDM and device authentication.
  • Understand combined CPU and GPU attestation.
  • Trace protected model provisioning.
  • Explore confidential inference architecture.
  • Understand multi-GPU security boundaries.
  • Evaluate confidential AI performance.
  • Investigate production security failures.

8.1 Why Artificial Intelligence Needs Confidential Computing

Modern artificial intelligence infrastructure processes some of the most valuable information within an enterprise. Large language models, recommendation systems, financial analytics platforms and medical AI applications frequently operate on sensitive datasets and proprietary intellectual property.

Traditional encryption protects information while stored on disk or transmitted across networks. However, AI workloads must ultimately process usable data inside CPU and accelerator execution environments.

Model weights, prompts, embeddings, intermediate tensors and inference results may exist in system memory or GPU memory during execution. Conventional accelerator infrastructure does not automatically protect these assets from every privileged infrastructure component.

Confidential AI extends confidential computing principles into accelerated computing environments, combining protected CPU execution, supported GPU security mechanisms, authenticated device communication and evidence-driven resource provisioning.

Protected asset 01

Model Intellectual Property

Proprietary model weights, fine-tuned parameters, adapters and specialised inference algorithms.

Protected asset 02

Enterprise Data

Financial records, medical information, customer datasets, source code and confidential business documents.

Protected asset 03

Inference Requests

User prompts, uploaded documents, conversation history and application context supplied to AI models.

Protected asset 04

Intermediate Tensors

Activations, embeddings and intermediate mathematical representations created during model execution.

Protected asset 05

KV Cache

Attention key-value tensors retained during transformer inference, potentially containing sensitive derived context.

Protected asset 06

Inference Results

Generated tokens, classifications, predictions and other sensitive application outputs.

8.2 Conventional AI Infrastructure and the Accelerator Trust Gap

A confidential virtual machine can protect supported CPU-side private memory and execution state. However, an AI application frequently transfers substantial amounts of information to an external accelerator.

If the accelerator does not provide suitable confidential execution guarantees, sensitive information may leave the original CPU trust boundary when transferred to the GPU.

Architecture 01 · The Accelerator Trust Gap
CPU-ONLY PROTECTION CONFIDENTIAL AI CONFIDENTIAL CPU VM Protected system memory AI application CONFIDENTIAL CPU VM Protected system memory Trusted GPU driver UNPROTECTED TRANSFER RISK Accelerator trust gap PROTECTED DATA TRANSFER Authenticated secure channel CONVENTIONAL GPU Separate accelerator memory Outside CPU TEE protection CONFIDENTIAL GPU Protected accelerator execution Device-specific security controls CPU MEMORY PROTECTION DOES NOT AUTOMATICALLY EXTEND TO ACCELERATORS
Confidential CPU execution and confidential GPU execution establish distinct hardware security domains. A complete accelerated confidential workload must address both domains and the communication path between them.

8.3 NVIDIA Confidential Computing Architecture

NVIDIA introduced hardware-backed confidential computing capabilities with the Hopper GPU architecture, enabling supported accelerated workloads to operate within a more restrictive infrastructure trust model.

Confidential GPU architectures combine device security processors, secure firmware boot, device identity, protected execution modes, attestation and controlled communication with a confidential CPU environment.

NVIDIA Blackwell extends the accelerated computing platform with additional security and confidential computing capabilities. Exact support depends on the GPU product, firmware, driver, deployment topology and platform configuration.

Security domain 01

GPU Hardware Root of Trust

Establishes foundational device identity and security mechanisms supporting trusted firmware execution.

Security domain 02

Secure Firmware Boot

Uses cryptographic verification to establish an authorised firmware execution chain.

Security domain 03

Device Attestation

Provides security-relevant evidence about GPU identity, firmware measurements and applicable device configuration.

Security domain 04

Protected GPU Memory

Restricts unauthorised access to protected accelerator memory according to the device architecture and mode.

Security domain 05

Secure Device Communication

Supports authenticated communication and protected transfers between trusted host software and the GPU.

Security domain 06

Restricted Debugging

Production confidential modes restrict selected debugging and profiling interfaces that could expose workload state.

8.4 Inside a Confidential GPU

Architecture 02 · Confidential GPU Silicon Cutaway
CONFIDENTIAL GPU SECURITY DOMAIN HBM STACK Protected data HBM STACK Model tensors HBM STACK Activations HBM STACK KV cache ACCELERATOR COMPUTE DIE COMPUTE TENSOR COMPUTE TENSOR COMPUTE TENSOR DEVICE SECURITY SUBSYSTEM Secure boot · Device identity · Attestation Security mode and access control PROTECTED HOST COMMUNICATION Authenticated session · Protected transfer mechanisms CONCEPTUAL SECURITY CUTAWAY — NOT A PHYSICAL NVIDIA DIE FLOORPLAN
Conceptual confidential accelerator cutaway. Compute engines, memory interfaces, security components and host communication are shown as logical security domains rather than an exact GPU silicon floorplan.

8.5 Hopper and Blackwell Confidential Computing

GPU confidential computing is not a single universal capability shared identically by every accelerator.

Engineers must distinguish processor architecture, individual GPU products, supported confidential modes, driver capabilities and validated system topologies.

Architecture domain NVIDIA Hopper NVIDIA Blackwell
Representative products H100 and supported Hopper products. B200 and supported Blackwell platforms.
Confidential execution Hardware-backed GPU confidential computing on supported configurations. Expanded confidential computing architecture on supported configurations.
Device attestation GPU identity and security evidence. Platform-specific GPU identity and security evidence.
Host communication Protected CPU-GPU transfer mechanisms. Protected communication capabilities according to supported platform design.
Memory protection Device-enforced protected memory access. Generation-specific memory security mechanisms.
Multi-GPU architecture Requires validation of supported confidential topology. Additional protected scale-up capabilities on supported systems.
Deployment validation Firmware, driver, CPU TEE and GPU compatibility. Firmware, driver, interconnect and complete system compatibility.
Platform compatibility principle

A GPU belonging to a particular architecture generation does not establish that every confidential computing feature is available. Validate the exact product, firmware, confidential mode, driver, hypervisor and supported interconnect configuration.

8.6 GPU Memory Protection and High Bandwidth Memory

High Bandwidth Memory, commonly abbreviated as HBM, provides the memory bandwidth required by modern accelerated AI workloads.

During inference, GPU memory can contain model weights, attention caches, intermediate activations and application data.

Confidential GPU architecture must restrict unauthorised access to these assets through device-specific memory protection and execution controls.

Memory access isolation, encryption of data transferred across an external interface, and physical memory encryption are distinct security properties. They must not be treated as interchangeable guarantees.

Memory region 01

Model Weights

Parameters loaded into accelerator memory for matrix operations and neural network execution.

Memory region 02

KV Cache

Attention state retained across token generation steps. Cache isolation and lifecycle management remain essential.

Memory region 03

Intermediate Activations

Temporary tensor representations created during neural network computation.

Memory region 04

Input and Output Buffers

Application data transferred into and out of accelerator execution domains.

Memory region 05

Runtime Workspace

Temporary allocations used by CUDA libraries, inference engines and mathematical kernels.

Memory region 06

Shared Transfer Buffers

Memory involved in communication across CPU and device trust boundaries. Sensitive payloads require appropriate protection.

8.7 SPDM — Security Protocol and Data Model

SPDM is a standard developed by the Distributed Management Task Force for establishing security-related interactions between platform components.

SPDM supports mechanisms such as capability negotiation, certificate retrieval, device authentication, measurement retrieval and establishment of secure sessions.

In supported confidential GPU architectures, SPDM can participate in establishing an authenticated relationship between trusted host software and an accelerator.

Architecture 03 · Conceptual SPDM Security Exchange
TRUSTED GPU DRIVER SPDM requester GPU SECURITY COMPONENT SPDM responder VERSION / CAPABILITY NEGOTIATION SUPPORTED CAPABILITIES CERTIFICATE / AUTHENTICATION REQUESTS DEVICE IDENTITY AND PROOF KEY ESTABLISHMENT AUTHENTICATED SESSION RESPONSE SECURE SESSION ESTABLISHED Subject to successful authentication and protocol checks SIMPLIFIED PROTOCOL PHASES — NOT A COMPLETE SPDM MESSAGE TRACE
Simplified SPDM security phases. Actual message sequences, negotiated algorithms, measurement requests and session establishment depend on the SPDM version and implementation. Device authentication is not equivalent to complete workload authorisation.

8.8 Protected CPU-to-GPU Communication

Accelerated applications transfer data between CPU memory and GPU memory using mechanisms such as DMA and PCI Express.

In confidential virtual machines, devices generally cannot directly access arbitrary private guest memory. Shared communication buffers or other supported secure device integration mechanisms may be required.

Supported confidential GPU implementations can protect sensitive payloads before they cross an untrusted shared-memory or accelerator communication boundary.

Architecture 04 · Protected Tensor Transfer
CONFIDENTIAL CPU ENVIRONMENT PLAINTEXT TENSOR Private guest memory TRANSFER PROTECTION Trusted guest software PROTECTED PAYLOAD Prepared for transfer SHARED BUFFER / HOST I/O / PCIe CONFIDENTIAL GPU ENVIRONMENT PROTECTED PAYLOAD Device receives data SECURE PROCESSING Authenticate and decrypt GPU COMPUTATION Protected execution LOGICAL PAYLOAD PROTECTION — IMPLEMENTATION-SPECIFIC TRANSFER PATH
Sensitive data is protected before traversing the illustrated shared communication path. Payload-level protection should not be confused with universal encryption of every PCIe transaction. PCIe IDE and other link security technologies provide separate mechanisms where supported.

8.9 GPU Confidential Computing Operating Modes

Supported NVIDIA confidential computing implementations distinguish production confidential execution from conventional operation and development-oriented modes.

Mode Purpose Security consideration
CC-Off Conventional accelerator operation. Confidential GPU guarantees are not enabled.
CC-On Supported production confidential execution. Security protections and applicable interface restrictions are enabled.
CC-DevTools Development and performance investigation on supported devices. Does not provide equivalent production confidentiality guarantees.

Mode names and availability must be verified against the exact accelerator and software release. Production resource policies should explicitly reject configurations that do not satisfy the intended threat model.

8.10 Combined CPU and GPU Remote Attestation

A confidential AI workload can depend on multiple hardware security domains.

CPU attestation establishes evidence about the confidential guest environment. GPU attestation establishes evidence about the accelerator and applicable device security state.

The relying party must establish that the verified GPU is the accelerator actually assigned to and used by the intended confidential CPU workload.

Independently valid reports are insufficient if the deployment cannot establish the required association between those reports, the workload and the active communication session.

Architecture 05 · Composite Attestation Decision
CPU ATTESTATION EVIDENCE Guest measurement · TCB Security configuration GPU ATTESTATION EVIDENCE Device identity · Firmware Applicable security mode CPU EVIDENCE VERIFIER Authenticity and policy appraisal GPU EVIDENCE VERIFIER Authenticity and policy appraisal COMPOSITE SECURITY POLICY CPU approval · GPU approval · Device association Workload identity · Freshness · Recipient binding POLICY SATISFIED Authorise protected resource Model key released securely POLICY NOT SATISFIED Deny protected resource Model remains encrypted BOTH HARDWARE DOMAINS AND THEIR REQUIRED ASSOCIATION MUST BE VALIDATED
Composite attestation is a relying-party architecture that combines relevant CPU, GPU and workload evidence. The exact evidence format and device association mechanisms depend on the deployed platform.

8.11 NVIDIA Remote Attestation Services

NVIDIA provides attestation tooling and services for supported confidential GPU environments.

Depending on the implementation, evidence verification can involve device certificates, signed measurements, firmware reference information, revocation information and security policy evaluation.

Verification component 01

GPU Attestation Report

Device-generated security evidence containing supported measurements and security-relevant claims.

Verification component 02

Device Certificate Chain

Supports validation of the device's cryptographic identity against trusted certificate authorities.

Verification component 03

Reference Integrity Manifests

Trusted reference information used to evaluate applicable firmware and software measurements.

Verification component 04

Freshness Validation

Uses supported challenge and evidence mechanisms to reduce acceptance of replayed attestation evidence.

Verification component 05

Revocation and Security Status

Evaluates relevant certificate and platform security information according to the supported verification procedure.

Verification component 06

Relying-Party Policy

Determines whether verified evidence satisfies enterprise requirements for protected resource access.

8.12 Confidential AI Model Provisioning

Model providers may wish to deploy proprietary AI models onto infrastructure operated by another organisation without exposing plaintext model weights to selected infrastructure administrators.

Confidential computing enables an architecture in which encrypted model artifacts remain protected until an approved execution environment has been established.

Architecture 06 · Attestation-Gated Model Deployment
ENCRYPTED MODEL REGISTRY Protected model artifacts MODEL KEY BROKER Attestation-gated key release CONFIDENTIAL CPU GUEST ENCRYPTED MODEL ARTIFACT AUTHORISED MODEL KEY VERIFY AND DECRYPT MODEL PROTECTED CPU-TO-GPU MODEL TRANSFER CONFIDENTIAL GPU MODEL EXECUTION Protected accelerator memory and authorised inference runtime
Illustrative model provisioning pattern. Model integrity, provenance and resource authorisation must be validated independently. The protected recipient and its assigned accelerator must satisfy applicable policy before sensitive model material is released.

8.13 Confidential AI Inference Lifecycle

01 Confidential environment creation Establish a supported CPU confidential virtual machine and accelerator assignment.
02 GPU security initialisation Initialise the trusted GPU software stack and required device security mode.
03 Evidence generation Obtain relevant CPU and GPU attestation evidence.
04 Composite appraisal Evaluate evidence, device association and workload policy requirements.
05 Protected key retrieval Retrieve authorised model and application resources using a protected delivery mechanism.
06 Model initialisation Verify, decrypt and load the approved model into protected execution environments.
07 Encrypted request reception Authenticate clients and terminate application encryption inside the intended trusted boundary.
08 Confidential inference Process prompts, tensors and model parameters using the protected accelerator environment.
09 Protected response delivery Return authorised results over an authenticated encrypted connection.

8.14 Confidential LLM Inference and KV Cache Security

Transformer-based inference frequently consists of two major computational phases: prefill and decode.

During prefill, the model processes the input context and establishes attention state. During decode, the model generates additional tokens while reusing previously computed key-value tensors.

The resulting KV cache can contain sensitive information derived from user prompts and application context.

Architecture 07 · Protected LLM Execution Pipeline
AUTHENTICATED ENCRYPTED CLIENT REQUEST CONFIDENTIAL AI EXECUTION BOUNDARY TOKENISATION Protected CPU runtime PREFILL GPU computation DECODE Autoregressive generation PROTECTED KV CACHE Attention state · Context isolation · Cache lifecycle MODEL WEIGHTS Protected model memory OUTPUT PROCESSING AND APPLICATION ENCRYPTION PROTECTED INFERENCE RESPONSE
Conceptual LLM execution pipeline spanning protected CPU and GPU domains. Hardware confidentiality does not automatically prevent cross-request cache leakage, unsafe application logging or unauthorised reuse of cached context.
Inference architecture principle

Prefix caching, semantic caching and disaggregated inference introduce additional security boundaries. Cache entries and transferred attention state must remain associated with authorised tenants, workloads and execution environments.

8.15 Confidential Multi-GPU Infrastructure

Large AI models frequently require multiple GPUs because their computational and memory requirements exceed the capacity of a single accelerator.

Tensor parallelism, pipeline parallelism and expert parallelism distribute model execution across multiple accelerator devices.

This introduces additional trust boundaries because sensitive tensors may move across PCIe, NVLink, NVSwitch or external network fabrics.

Architecture 08 · Multi-GPU Trust Boundary Expansion
CONFIDENTIAL HOST ENVIRONMENT Trusted runtime · Device assignment · Composite attestation ACCELERATOR INTERCONNECT FABRIC Validate supported protection for every sensitive transfer GPU 0 GPU 1 GPU 2 GPU 3 MODEL SHARD A MODEL SHARD B MODEL SHARD C MODEL SHARD D DEVICE EVIDENCE DEVICE EVIDENCE DEVICE EVIDENCE DEVICE EVIDENCE AN UNAPPROVED DEVICE OR TRANSFER PATH CAN INVALIDATE THE SECURITY DESIGN
Conceptual multi-GPU security topology, not a claim that every illustrated interconnect supports confidential operation. All participating devices, switches where relevant, communication paths and software components must satisfy the deployment's validated security requirements.
Parallelism model Data movement Confidential computing consideration
Tensor parallelism Partial tensors and collective operations. Protect sensitive inter-GPU communication.
Pipeline parallelism Intermediate activations between stages. Validate every stage and transfer boundary.
Data parallelism Replicated models and training gradients. Validate all replicas and collective communication.
Expert parallelism Token representations routed to model experts. Protect routing and expert execution domains.
Disaggregated inference KV cache and execution state between workers. Establish trusted cache transfer and recipient authorisation.

8.16 Confidential AI Networking and RDMA

Distributed AI infrastructure frequently uses high-performance networking technologies such as InfiniBand, RoCEv2 and GPUDirect RDMA.

These technologies reduce communication overhead by enabling efficient transfers between memory and network devices.

However, a confidential computing deployment must explicitly establish whether direct memory access, peer-to-peer communication and network adapter integration are compatible with the intended security model.

Networking domain 01

GPUDirect RDMA

Validate whether direct accelerator memory access is supported within the selected confidential configuration.

Networking domain 02

InfiniBand and RoCEv2

High-performance transport does not inherently establish end-to-end workload confidentiality.

Networking domain 03

Collective Communication

Distributed training and inference libraries must operate through supported protected communication paths.

Networking domain 04

SmartNICs and DPUs

Offloaded networking and security services introduce additional device identities and trust decisions.

Networking domain 05

Traffic Metadata

Encryption may protect payloads while leaving packet timing, sizes and communication patterns observable.

Networking domain 06

Availability

Confidential execution does not prevent network congestion, packet loss or deliberate service disruption.

8.17 Enterprise Confidential AI Reference Architecture

Consider an enterprise deploying a private large language model that processes confidential financial and customer data.

The architecture must protect the model, inference requests, retrieved enterprise documents and generated results while operating on shared cloud infrastructure.

Architecture 09 · Enterprise Confidential AI Platform
ENTERPRISE USERS AND APPLICATIONS Authenticated encrypted inference requests CONFIDENTIAL AI SERVICE TRUSTED APPLICATION ENDPOINT Authentication · TLS termination · Authorisation CONFIDENTIAL CPU RUNTIME Tokenisation · Model loader · Retrieval client Trusted GPU driver and security components PROTECTED ACCELERATOR COMMUNICATION CONFIDENTIAL GPU EXECUTION Model weights · KV cache · Tensor computation Protected accelerator memory ATTESTATION SERVICES CPU evidence verification GPU evidence verification Composite policy appraisal KEY BROKER / KMS Model decryption keys Application credentials Resource authorisation MODEL REGISTRY Encrypted model artifacts Signed model manifests Versioned deployment assets AUTHORISED ENTERPRISE DATA SERVICES Protected retrieval · Vector search · Databases · Encrypted storage
Provider-neutral confidential AI reference architecture. Enterprise retrieval services, model registries and security services require their own trust and authorisation models. Confidential inference does not automatically protect information processed by external RAG components.

8.18 Confidential AI Performance Engineering

Confidential computing introduces security mechanisms that can affect application startup, accelerator communication, memory management and operational visibility.

The performance impact is workload-dependent. A GPU-bound inference workload may behave differently from an application that frequently transfers data between CPU and GPU memory.

Performance domain Potential impact Engineering metric
Environment startup Confidential VM and device initialisation. Deployment-to-ready duration.
Attestation Evidence generation and verification. Attestation latency and success rate.
Model loading Artifact verification, decryption and protected transfer. Model initialisation time.
CPU-GPU transfers Cryptographic processing and shared buffer handling. Effective transfer bandwidth and latency.
Prefill Prompt processing and accelerator scheduling. Time to first token.
Decode Token generation and cache utilisation. Inter-token latency and tokens per second.
GPU memory Runtime allocations and protected memory management. Memory utilisation and maximum batch size.
Distributed inference Protected communication and topology restrictions. Collective latency and scaling efficiency.
Observability Restricted profiling and debugging interfaces. Available metrics and diagnostic coverage.

8.19 Confidential AI Threat Model and Limitations

Confidential computing reduces reliance on selected privileged infrastructure components. It does not make AI applications inherently trustworthy or eliminate every attack surface.

Threat Confidential computing contribution Additional requirement
Privileged host memory inspection Restricts access to supported protected memory. Validate hardware threat model and configuration.
Unapproved GPU firmware Secure boot and attestation can support detection or rejection. Maintain trusted references and security policies.
Model artifact theft Encrypted artifacts and attestation-gated key release. Model provenance and resource authorisation.
Prompt injection Not inherently prevented. Application-level instruction and tool security.
Model extraction through API queries Does not inherently prevent authorised output analysis. Rate limits, access control and extraction monitoring.
Cross-tenant cache leakage Hardware isolation may protect separate execution domains. Application-level cache partitioning and lifecycle controls.
Malicious model code Does not establish that approved code is safe. Supply-chain verification and sandboxing.
Side-channel attacks Mitigations vary by hardware and threat model. Platform-specific security assessment.
Denial of service Not inherently prevented. Capacity, resilience and availability engineering.
Sensitive external logging Cannot protect plaintext intentionally exported. Telemetry filtering and trusted logging design.

8.20 Engineering Investigation — The GPU That Cannot Access Its Model

Consider a confidential inference service deployed using a protected CPU virtual machine and a confidential-capable GPU.

The CPU environment starts successfully, the GPU is visible to the application, and the encrypted model is retrieved.

However, the enterprise key broker refuses to release the model decryption key.

NETWORK INSIGHT · SYNTHETIC CONFIDENTIAL AI INCIDENT
INCIDENT: CC-AI-008

WORKLOAD
  service: enterprise-private-llm
  resource: models/production/decryption-key
  accelerator: confidential-capable GPU

TIMELINE

[14:00:00] Confidential VM creation    SUCCESS
[14:00:05] CPU guest initialisation    SUCCESS
[14:00:08] GPU assignment              SUCCESS
[14:00:12] GPU driver initialisation   SUCCESS
[14:00:15] Model artifact retrieval    SUCCESS
[14:00:18] CPU evidence verification   PASSED
[14:00:20] GPU evidence signature      VALID
[14:00:21] GPU firmware appraisal      PASSED
[14:00:21] GPU security mode           CC-DevTools
[14:00:22] Production mode policy      REJECTED
[14:00:23] Composite appraisal         FAILED
[14:00:24] Model key request           DENIED
[14:00:30] Inference readiness         FAILED

INVESTIGATION

  Required GPU security mode:
    CC-On

  Observed GPU security mode:
    CC-DevTools

  CPU attestation:
    Approved

  GPU identity:
    Authentic

  Production confidentiality policy:
    Not satisfied

ROOT CAUSE

  The accelerator was configured in a
  development-oriented confidential mode
  rather than the approved production mode.

REMEDIATION

  1. Confirm the supported GPU configuration.
  2. Drain the affected inference workload.
  3. Restore the approved production mode.
  4. Reinitialise the device as required.
  5. Obtain fresh CPU and GPU evidence.
  6. Validate the required device association.
  7. Repeat composite policy evaluation.
  8. Verify authorised model key retrieval.
  9. Confirm inference service readiness.

SECURITY OUTCOME

  The model remains encrypted until the
  required production security policy passes.
    

The important distinction is that the GPU evidence is authentic, but the observed security configuration is unacceptable.

Cryptographic verification and security policy evaluation are separate operations. Authentic evidence can describe a device that must not receive sensitive resources.

8.21 Production GPU Troubleshooting Commands

Standard GPU and operating system diagnostics can help identify accelerator assignment, driver and infrastructure problems.

LINUX · NVIDIA GPU INFRASTRUCTURE INVESTIGATION
# List visible NVIDIA GPUs
nvidia-smi -L

# Inspect GPU and driver information
nvidia-smi

# Query detailed supported GPU information
nvidia-smi -q

# Inspect GPU topology where supported
nvidia-smi topo -m

# Inspect available confidential computing commands
nvidia-smi conf-compute --help

# Inspect NVIDIA PCI devices
lspci -nn | grep -i nvidia

# Inspect kernel version
uname -r

# Inspect recent NVIDIA-related kernel messages
journalctl -k | grep -i nvidia

# Kubernetes: inspect GPU workload placement
kubectl get pods -A -o wide

# Kubernetes: inspect available node resources
kubectl describe node NODE_NAME

# Kubernetes: inspect failed workload events
kubectl describe pod POD_NAME
    

Command availability and diagnostic visibility depend on the GPU, driver, operating system and confidential computing mode.

These commands do not independently establish hardware attestation or prove confidential workload execution. Use the supported attestation tooling and verification procedure for the deployed platform.

8.22 Confidential AI Resource Authorisation Policy

CONCEPTUAL ENTERPRISE CONFIDENTIAL AI POLICY
resource:
  identifier: models/enterprise-llm/decryption-key

cpu_requirements:
  authentic_evidence: required
  fresh_evidence: required
  approved_guest_measurement: required
  acceptable_tcb: required
  production_security_state: required

gpu_requirements:
  authentic_device_identity: required
  fresh_evidence: required
  approved_firmware: required
  acceptable_security_state: required
  production_confidential_mode: required

composition_requirements:
  approved_device_assignment: required
  cpu_gpu_association: required
  protected_transfer_path: required
  all_participating_gpus_approved: required

workload_requirements:
  approved_inference_runtime: required
  authorised_model_identity: required
  approved_application_configuration: required

delivery_requirements:
  protected_recipient_binding: required
  resource_specific_authorisation: required

decision:
  default: deny
  release: only_when_all_requirements_pass
    

This example expresses a conceptual enterprise policy. It is not executable NVIDIA, Trustee or cloud-provider policy syntax. Each required property must be mapped to evidence or trusted controls that the actual platform can establish.

8.23 Confidential AI Troubleshooting Matrix

Observed symptom Possible cause Investigation direction
GPU unavailable inside guest Device assignment or compatibility failure. Inspect supported virtualisation and accelerator configuration.
Driver initialisation fails Unsupported driver, firmware or security mode. Validate platform compatibility.
Secure session fails Device authentication or protocol negotiation problem. Inspect supported secure communication diagnostics.
CPU evidence rejected Guest measurement or TCB policy mismatch. Inspect CPU verifier appraisal results.
GPU evidence rejected Certificate, firmware or measurement failure. Inspect GPU evidence and trusted reference information.
Composite policy fails Unapproved device association or security configuration. Validate the complete workload and accelerator relationship.
Model key denied Resource authorisation requirements not satisfied. Inspect key broker decision and policy evidence.
Model decryption fails Incorrect key or incompatible artifact. Validate model manifest and encryption configuration.
Slow model loading Storage, cryptography or transfer overhead. Measure each model loading stage.
Reduced transfer bandwidth Protected transfer processing or buffer overhead. Benchmark supported CPU-GPU transfer paths.
Multi-GPU initialisation fails Unsupported confidential interconnect topology. Validate the complete system configuration.
Inference fails under load GPU memory pressure or runtime capacity limits. Inspect batch size, cache utilisation and model allocation.
Profiler unavailable Production confidential mode restrictions. Use approved diagnostics or separate development environments.
Unexpected plaintext exposure External proxy, cache, logging or retrieval service. Trace every application plaintext boundary.

8.24 Production Confidential AI Security Checklist

Enterprise confidential accelerator validation
  • Document the AI workload threat model.
  • Identify sensitive model and application assets.
  • Validate the supported CPU confidential computing architecture.
  • Validate the exact confidential GPU product.
  • Confirm supported CPU and GPU integration.
  • Validate accelerator firmware and driver compatibility.
  • Enforce the required production confidential mode.
  • Establish trusted GPU device identity.
  • Verify CPU attestation evidence.
  • Verify GPU attestation evidence.
  • Maintain trusted firmware reference information.
  • Evaluate applicable revocation and security status.
  • Validate evidence freshness.
  • Establish the required CPU-to-GPU association.
  • Protect sensitive CPU-to-GPU transfers.
  • Validate all participating accelerator devices.
  • Validate NVLink, NVSwitch and network communication paths.
  • Confirm supported RDMA and device access configurations.
  • Protect model artifacts at rest.
  • Verify model provenance and integrity.
  • Require attestation-gated model key release.
  • Bind protected resource delivery to the intended recipient.
  • Terminate application encryption within the approved trust boundary.
  • Protect prompts, embeddings and intermediate tensors.
  • Implement appropriate KV cache isolation.
  • Validate external RAG and vector search trust boundaries.
  • Prevent sensitive plaintext from entering external telemetry.
  • Measure model loading and inference performance.
  • Validate approved diagnostic and profiling procedures.
  • Test attestation rejection and resource denial scenarios.
  • Prevent fallback to unauthorised accelerator execution.
  • Maintain a controlled firmware and driver update process.

Section 08 — Key Engineering Takeaways

Takeaway 01

Confidential AI Extends Beyond the CPU

Accelerated workloads require explicit protection of GPU execution, accelerator memory and communication paths.

Takeaway 02

GPU Identity Is Not Sufficient

An authentic GPU must also satisfy applicable firmware, security mode and deployment policy requirements.

Takeaway 03

Composite Attestation Matters

CPU evidence, GPU evidence and the required association between the devices must support the relying party's security decision.

Takeaway 04

Protect the Model Lifecycle

Model storage, key provisioning, accelerator loading, inference and retirement require coordinated security controls.

Takeaway 05

Multi-GPU Security Is a System Property

Every accelerator and sensitive communication path must satisfy the validated deployment architecture.

Takeaway 06

Confidential AI Is Not Complete AI Security

Hardware-backed protection complements application security, identity, model governance, network security and operational resilience.

Interactive Engineering Experience 08

Secure AI Inference Simulator

The accompanying interactive engineering experience will introduce a confidential AI infrastructure laboratory featuring a protected CPU virtual machine, confidential GPU, model registry, attestation verifier and key broker.

Engineers will trace protected model deployment, observe CPU-to-GPU tensor transfers, evaluate combined attestation evidence and investigate failed confidential inference scenarios.

The simulator will focus on accelerator trust boundaries and model authorisation rather than repeating the general attestation and Kubernetes exercises introduced in previous sections.

NETWORK INSIGHT
INTERACTIVE ENGINEERING LABS
CONFIDENTIAL AI LABORATORY
CONFIDENTIAL COMPUTING / LAB 08 / NVIDIA SILICON VAULT

Inside the Confidential GPU
Secure AI Inference Simulator

Follow sensitive AI prompts and proprietary model weights through a confidential inference pipeline. Explore how hardware-backed CPU isolation, GPU confidential computing, device attestation and protected CPU-to-GPU communication contribute to the security of AI workloads.

CPU TRUST DOMAIN Confidential
GPU SECURITY MODE CC-On
INFERENCE STATE Idle
SECURITY BASELINE Not verified
01

Confidential AI Hardware Architecture

CPU
CONFIDENTIAL CPU ENVIRONMENT

Protected Guest VM

Intel TDX or AMD SEV-SNP can provide hardware-backed protection for private guest memory containing application logic, inference orchestration and sensitive prompt data.

PROTECTED DEVICE CHANNEL

CPU-to-GPU Communication

A supported confidential GPU stack establishes protected communication between the confidential guest and GPU. Encryption and authentication protect applicable transfers through untrusted shared transport buffers.

GPU
H100-STYLE CONFIDENTIAL GPU

Protected GPU Execution

Confidential GPU mode restricts unauthorized access to protected GPU resources. Device evidence, firmware state and platform security configuration contribute to trust.

02

Interactive Confidential AI Inference Architecture

CONFIDENTIAL AI — CPU / GPU COMPOSITE TRUST ARCHITECTURE AI Client Sensitive prompt Protected API session Inference API TLS termination Guest application endpoint Trust Verifier CPU + GPU evidence Policy appraisal Key Broker / KMS Conditional model key Resource authorization PHYSICAL AI SERVER — HOST / HYPERVISOR CPU CONFIDENTIAL GUEST Inference Application Prompt processing / orchestration CPU Attestation Agent Guest identity / platform evidence Private Guest Memory Prompt tokens / model staging Confidential GPU Driver Device authentication Protected transfer handling PCIe Path Shared transport Protected HOST-VISIBLE Shared buffers Ciphertext when protected CONFIDENTIAL GPU EXECUTION DOMAIN GPU Security Root / Firmware Device identity / security state Protected Device Endpoint Authenticated transfer processing GPU Compute Tensor operations HBM Weights / KV Model Weight Registry Encrypted model artifact UNTRUSTED HOST INVESTIGATION No investigation executed Memory / transfers / metadata Inference Response Awaiting inference DATA
VIOLET — CPU TRUST DOMAIN GREEN — GPU PROTECTION CYAN — DATA TRANSFER GOLD — TRUST SERVICES

Confidential AI Infrastructure Ready

Configure the CPU and GPU security environment and execute inference.

CONFIDENTIAL AI CONFIGURATION
03

GPU Memory and Sensitive Data Explorer

CPU PRIVATE MEMORY — LOGICAL VIEW

No inference data currently loaded.

CPU MEMORY: EMPTY Awaiting inference request.
GPU HBM — LOGICAL VIEW

No model weights currently loaded.

GPU MEMORY: EMPTY Awaiting model initialization.
Important hardware distinction: The memory cells represent logical access protection, not physical DRAM encryption circuitry. Confidential GPU resource protection should not be interpreted as a universal claim that every HBM cell is encrypted at rest. GPU architecture, firmware, platform configuration and the documented physical threat model determine the actual guarantees.
04

Sensitive Prompt and Inference Response Laboratory

SYNTHETIC INPUT PROMPT

Illustrative prompt fragments — not actual tokenizer output.

SIMULATED INFERENCE RESPONSE
INFERENCE: NOT EXECUTED Execute the inference pipeline to generate a synthetic response.

Illustrative generated output fragments.

05

Composite CPU and GPU Trust Evidence

CPU EVIDENCE

Not verified

CPU attestation evaluates applicable guest measurements, platform security state and evidence authenticity.

Awaiting verification.
GPU EVIDENCE

Not verified

GPU evidence can establish device identity and evaluate measured firmware and confidential computing security state.

Awaiting verification.
COMPOSITE RESOURCE POLICY

Not evaluated

The modeled key broker requires acceptable CPU and GPU evidence bound to the intended inference environment.

Awaiting authorization.
06

Confidential AI Data Protection Matrix

DATA ASSET PROTECTION MECHANISM CURRENT EXECUTION EVIDENCE
07

AI Infrastructure Threat Investigation

SELECT SECURITY INVESTIGATION

Awaiting Investigation

Execute an inference workload before inspecting its data protection.

SIMULATED FORENSIC EVIDENCE
INVESTIGATION: NOT EXECUTED
08

Confidential GPU Fault Injection Laboratory

INJECT INFRASTRUCTURE FAILURE

No injected failure.

LIVE INFERENCE DIAGNOSTIC EVIDENCE
INFERENCE: NOT EXECUTED No diagnostic evidence available.
09

Confidential AI Engineering Diagnostic Terminal

SIMULATED GPU AND TRUST DIAGNOSTICS
$ Network Insight Confidential AI Diagnostic Terminal Select a diagnostic operation.
10

Confidential AI Engineering Event Console

11

Confidential AI Engineering Challenges

SELECT ENGINEERING OBJECTIVE

CHALLENGES COMPLETED
0 / 10

Confidential AI Engineering

Engineering model limitations: This laboratory is a conceptual simulator inspired by confidential GPU computing architectures, including NVIDIA H100. It does not execute a real AI model, cryptographic attestation, CUDA workload or GPU firmware. CPU and GPU evidence, session binding, memory access restrictions and key delivery are modeled. The eight-stage pipeline represents one possible application-controlled deployment workflow, not a mandatory NVIDIA protocol sequence. CC-DevTools is not treated as equivalent to production CC-On security. Protected device communication is modeled as part of a compatible confidential CPU/GPU stack, not an independently guaranteed PCIe feature. Confidential computing does not eliminate application compromise, side-channel risks, unauthorized model outputs, metadata exposure or denial of service.
09 Network Insight · Silicon Fortress Edition

Production Security, Threat Models and Troubleshooting

Engineering trustworthy confidential computing infrastructure through explicit threat modelling, trusted computing base management, continuous security assessment, attestation policy, firmware lifecycle management, protected key provisioning and evidence-driven incident investigation.
Learning objectives
  • Construct a confidential computing threat model.
  • Identify trusted and untrusted infrastructure.
  • Evaluate residual security risks.
  • Manage trusted computing base changes.
  • Understand side-channel limitations.
  • Engineer attestation verification policies.
  • Design secure key release architecture.
  • Investigate attestation failures.
  • Manage firmware and platform updates.
  • Design security monitoring and observability.
  • Investigate production security incidents.
  • Construct an enterprise reference architecture.

9.1 From Confidential Computing Technology to Production Security Architecture

Deploying a confidential virtual machine, trusted execution environment or confidential GPU does not automatically establish a trustworthy production application.

Hardware-backed isolation provides specific security guarantees under a defined threat model. Enterprise engineers must integrate those guarantees into a wider architecture encompassing workload identity, software integrity, network security, key management, resource authorisation and operational resilience.

The objective is not simply to enable confidential computing. It is to establish an environment in which sensitive information becomes available only to an appropriately verified and authorised execution environment.

Security pillar 01

Hardware Trust

Processor security architecture, protected execution, memory isolation and hardware-backed evidence generation.

Security pillar 02

Software Integrity

Approved guest images, trusted application components, verified dependencies and controlled configuration changes.

Security pillar 03

Evidence-Based Trust

Attestation evidence, endorsements, reference values, security appraisal and explicit relying-party decisions.

Security pillar 04

Protected Resources

Attestation-gated keys, credentials, encrypted datasets and protected application artifacts.

Security pillar 05

Operational Assurance

Security monitoring, controlled updates, incident response and continuous evaluation of relevant trust properties.

Security pillar 06

Resilience

Availability engineering, disaster recovery, protected backups and secure workload replacement.

9.2 Constructing the Confidential Computing Threat Model

A threat model defines the assets requiring protection, potential adversaries, trusted components, security boundaries and assumptions under which the architecture operates.

Different confidential computing technologies establish different trust boundaries. Intel SGX enclaves, Intel TDX trust domains, AMD SEV-SNP virtual machines and confidential accelerators must therefore be evaluated against their individual security models.

Architecture 01 · Enterprise Threat Model
INFRASTRUCTURE OUTSIDE THE WORKLOAD TRUST BOUNDARY PRIVILEGED HOST ADMINISTRATOR COMPROMISED HYPERVISOR UNTRUSTED DEVICE OR I/O PATH NETWORK OR STORAGE INFRASTRUCTURE CONFIDENTIAL EXECUTION BOUNDARY TRUSTED WORKLOAD PRIVATE MEMORY Sensitive data Application state HARDWARE TCB Isolation controls Evidence generation × × × × EXTERNAL TRUST SERVICES Verifier · Policy · Key broker PROTECTION IS CONDITIONAL ON THE PLATFORM'S DEFINED THREAT MODEL
Conceptual threat model showing a confidential workload, its hardware trust boundary and external trust services. The red paths represent attempted access outside the intended boundary, not a guarantee that every attack originating from those components is prevented.

9.3 Trusted and Untrusted Infrastructure Components

Confidential computing changes the traditional infrastructure trust model by reducing reliance on selected privileged software components.

A hypervisor may remain responsible for scheduling, virtual device presentation and resource allocation while being excluded from the confidentiality trust boundary for supported private guest memory.

Component Trust relationship Engineering consideration
Processor security hardware Trusted for defined isolation properties. Validate platform security status and supported guarantees.
Security firmware Part of the applicable hardware TCB. Track security versions and vulnerability remediation.
Guest operating system Generally trusted within confidential VM architectures. Guest compromise remains a significant threat.
Host operating system May be excluded from workload confidentiality trust. Still influences availability and external I/O.
Hypervisor May be excluded from selected private-memory guarantees. Controls scheduling and other infrastructure resources.
Application runtime Trusted for application-level data handling. Secure dependencies, configuration and application logic.
Attestation verifier Trusted for evidence appraisal. Protect verification logic and trusted reference information.
Key broker Trusted for protected resource authorisation. Enforce least privilege and recipient binding.
External storage Not automatically trusted with plaintext. Protect data integrity, confidentiality and rollback-sensitive state.
External accelerator Requires separate security evaluation. Validate device identity, mode and protected communication.

9.4 Understanding Residual Security Risks

Confidential computing provides defence against particular classes of infrastructure threats. It does not eliminate the need for application security or traditional security engineering.

Residual risk 01

Application Vulnerabilities

Injection attacks, memory corruption, authentication bypass and unsafe application logic can still compromise workloads inside a TEE.

Residual risk 02

Side-Channel Leakage

Timing, resource utilisation, cache behaviour and other observable properties may reveal information under certain conditions.

Residual risk 03

Denial of Service

Infrastructure controlling scheduling, connectivity or power can disrupt confidential workload availability.

Residual risk 04

Supply-Chain Compromise

An approved measurement may identify software that already contains malicious or vulnerable components.

Residual risk 05

Unsafe External Interfaces

Shared memory, virtual devices, external APIs and untrusted input remain important security boundaries.

Residual risk 06

State Rollback

Previously valid encrypted application state may be replayed unless the application implements suitable freshness or version controls.

9.5 Side-Channel Risks and Observable Execution

Encryption protects information content, but computation can expose observable characteristics associated with that information.

A side channel is an indirect information path through which an observer may infer properties of protected execution. The availability and effectiveness of particular side channels depend on the processor architecture, workload and adversary capabilities.

Architecture 02 · Protected Content and Observable Behaviour
PROTECTED EXECUTION DOMAIN CONFIDENTIAL APPLICATION Sensitive input and protected computation PRIVATE MEMORY EXTERNAL OBSERVER EXECUTION TIMING Potential timing observations RESOURCE ACTIVITY Shared resource behaviour I/O METADATA Request sizes and frequency SCHEDULING Observable workload activity DATA CONFIDENTIALITY DOES NOT NECESSARILY IMPLY METADATA CONFIDENTIALITY
Protected memory contents and observable execution characteristics are separate security properties. Actual exposure depends on platform-specific mitigations and workload behaviour.
Mitigation domain 01

Constant-Time Cryptography

Use appropriately reviewed cryptographic implementations designed to avoid secret-dependent timing behaviour.

Mitigation domain 02

Platform Hardening

Apply relevant processor, firmware and operating system mitigations according to vendor guidance.

Mitigation domain 03

Workload Isolation

Evaluate dedicated resources, co-tenancy restrictions and scheduling controls where required by the threat model.

9.6 Trusted Computing Base Lifecycle Management

The trusted computing base includes the components whose correct operation is necessary to enforce the security properties of a particular execution environment.

Security vulnerabilities discovered in processor microcode, security firmware, TEE modules or trusted guest components can change the acceptability of an otherwise functional deployment.

Production architecture must therefore treat trust as a lifecycle property, not a permanent attribute established when hardware is first installed.

Architecture 03 · Trusted Computing Base Lifecycle
TCB CONTINUOUS ASSURANCE 01 · INVENTORY Hardware and software 02 · ASSESS Security advisories 03 · UPDATE Approved remediation 04 · VALIDATE Evidence and compatibility 05 · DEPLOY Controlled rollout 06 · MONITOR Security state changes
TCB management combines component inventory, security assessment, controlled updates, evidence validation, deployment and ongoing monitoring.

9.7 Attestation Evidence Is Not the Same as Trust

Remote attestation provides evidence about a target environment. A verifier evaluates that evidence using applicable endorsements, reference values and appraisal policies.

A relying party subsequently determines whether the resulting security claims satisfy its own resource-specific authorisation requirements.

These operations are related but distinct. An authentic attestation report can describe a vulnerable, outdated or otherwise unacceptable execution environment.

Architecture 04 · Evidence, Appraisal and Authorisation
ATTESTER — CONFIDENTIAL WORKLOAD Hardware-backed evidence and supported workload claims ENDORSEMENTS Trusted platform information VERIFIER Evidence appraisal REFERENCE VALUES Approved measurements ATTESTATION RESULT Evaluated claims and relevant security status RELYING-PARTY RESOURCE POLICY Identity · Resource scope · Security requirements AUTHORISE RESOURCE DENY RESOURCE
Conceptual architecture based on the separation of attester, verifier and relying-party roles. Authenticity verification, evidence appraisal and resource authorisation are distinct decisions.

9.8 Production Attestation Verification Requirements

Verification domain Required assessment Failure implication
Evidence format Supported report structure and evidence type. Evidence cannot be reliably interpreted.
Cryptographic authenticity Valid signature and applicable trust chain. Evidence authenticity is not established.
Freshness Challenge, nonce or supported freshness mechanism. Potential acceptance of stale or replayed evidence.
Platform security status Applicable TCB appraisal and security version requirements. Platform may not satisfy security policy.
Workload measurement Approved measurement or validated measurement chain. Workload identity or integrity is not sufficiently established.
Debug configuration Production-compatible security configuration. Debug capabilities may violate the intended threat model.
Revocation status Applicable certificate and platform security information. Trust material may no longer be acceptable.
Recipient binding Cryptographic association with the intended recipient. Protected resource delivery may target the wrong endpoint.
Accelerator evidence Required device security and workload association. Accelerated execution boundary remains unverified.
Resource authorisation Identity, entitlement and resource-specific policy. Verified workload is not authorised for the requested resource.

9.9 Attestation-Gated Key Management

A central architectural benefit of confidential computing is the ability to condition access to sensitive resources on verified execution environment properties.

An encrypted database, AI model or enterprise application artifact can be stored outside the confidential environment. The corresponding decryption key is released only after the required identity, evidence and authorisation conditions are satisfied.

Architecture 05 · Protected Resource Release
CONFIDENTIAL WORKLOAD PROTECTED RECIPIENT KEY Private key retained within trusted boundary ATTESTATION EVIDENCE Fresh challenge and recipient binding ATTESTATION VERIFIER Authenticity · Freshness · TCB appraisal Workload and recipient claims KEY BROKER / RESOURCE POLICY Attestation result and workload entitlement Protected recipient delivery ENCRYPTED APPLICATION DATA Model artifacts · Databases · Documents KEY MANAGEMENT SYSTEM / HSM Controlled cryptographic key operations DECRYPT SENSITIVE DATA ONLY INSIDE THE AUTHORISED EXECUTION ENVIRONMENT
The key broker authorises resource access using verified claims and workload identity. Protected delivery binds the resource to the intended recipient. Exact key wrapping and attestation-binding mechanisms vary between implementations.

9.10 Key Rotation, Revocation and Trust Expiration

Attestation-gated key release controls access at the point of provisioning. It does not automatically revoke plaintext keys that have already been delivered to a running workload.

Production systems must therefore establish explicit key lifetimes, credential expiration, resource access policies and workload termination procedures.

Lifecycle control 01

Short-Lived Credentials

Reduce the period during which a previously authorised credential remains useful.

Lifecycle control 02

Re-attestation

Require fresh evidence at defined intervals or relevant security lifecycle events.

Lifecycle control 03

Key Rotation

Replace keys according to policy, resource sensitivity and incident response requirements.

Lifecycle control 04

Resource Revocation

Prevent further access by workloads that no longer satisfy the required security or identity conditions.

Lifecycle control 05

Workload Retirement

Terminate affected execution environments and apply supported secret and memory lifecycle controls.

Lifecycle control 06

Data Re-encryption

Where required, protect affected stored data with replacement keys and evaluate previously exposed copies.

Critical production security principle

Revoking future key access cannot make a previously disclosed key unknown. Incident response must consider the complete lifetime of keys, decrypted data, active workloads and external copies of sensitive information.

9.11 Workload Identity and Software Supply-Chain Security

Hardware evidence does not necessarily establish the integrity of every application component loaded after initial measurement.

Engineers must understand precisely what a measurement represents and how subsequent boot stages, container images, configuration and dynamically loaded components are validated.

01 Trusted source Maintain controlled source repositories and reviewed application dependencies.
02 Controlled build Establish reproducible or otherwise verifiable build and provenance processes.
03 Artifact signing Sign approved images and retain associated provenance information.
04 Deployment validation Enforce image integrity and authorised workload configuration before execution.
05 Measured execution Establish supported measurement chains for relevant execution components.
06 Resource authorisation Evaluate workload identity and evidence before releasing secrets.

9.12 Firmware Updates and Confidential Computing Rollouts

Firmware, microcode, guest image and TEE module updates can change measurements or security claims used by attestation verification policies.

An update that improves security may nevertheless cause resource authorisation failures if trusted reference information and relying-party policies are not coordinated with the rollout.

Architecture 06 · Controlled Security Update Pipeline
SECURITY ADVISORY Assess affected platforms VALIDATED UPDATE Verify approved artifacts REFERENCE POLICY Stage authorised changes CANARY CONFIDENTIAL WORKLOAD Validate boot, evidence, resource access and application behaviour SECURITY VALIDATION Required checks satisfied? APPROVED ROLLOUT Expand deployment in controlled stages HALT ROLLOUT Investigate and preserve security policy
Security updates should be coordinated with attestation policy changes, canary validation and controlled deployment. Recovery must not reintroduce a revoked or otherwise unacceptable security state.

9.13 Confidential Computing and Network Security

Confidential execution protects supported workload state, but network communication still crosses trust boundaries.

Enterprise confidential computing must integrate network segmentation, workload authentication, encrypted communication, service identity and controlled external connectivity.

Network control 01

Protected TLS Termination

Where the threat model requires it, terminate application encryption inside the intended confidential execution environment.

Network control 02

Workload Identity

Use authenticated service identities and resource-specific authorisation rather than relying solely on IP addresses.

Network control 03

Microsegmentation

Restrict communication between confidential workloads, management services and external applications.

Network control 04

Private Service Access

Reduce unnecessary public exposure of attestation, storage and key management services.

Network control 05

Controlled Egress

Restrict external destinations and prevent unauthorised export of sensitive application information.

Network control 06

Availability Engineering

Design resilient connectivity to verifiers, key brokers, storage and enterprise application services.

9.14 Security Monitoring Without Exposing Confidential Data

Confidential computing introduces an important operational challenge: engineers require visibility into application behaviour without exposing the sensitive information that the architecture is intended to protect.

Monitoring should therefore prioritise security decisions, health indicators, approved measurements, performance statistics and carefully controlled diagnostic information.

Security Operations Centre · Illustrative Monitoring Snapshot
Workloads
128 Managed confidential workloads
Approved
124 Current policy-approved workloads
Rejected
03 Workloads denied protected resources
Pending
01 Awaiting evidence appraisal
Workload Evidence Security appraisal Resource access
Finance-Analytics-01 Authentic Approved Authorised
Private-LLM-02 Authentic Approved Authorised
Data-Processor-03 Authentic TCB rejected Denied
AI-Worker-04 Authentic GPU mode rejected Denied
Secure-API-05 Freshness failed Rejected Denied
Analytics-Canary-06 Pending Awaiting appraisal Not authorised
Synthetic monitoring snapshot for educational purposes. These values are illustrative, not live infrastructure telemetry.

9.15 Production Security Telemetry

Telemetry domain Useful evidence Operational objective
Attestation Verification result, evidence type and rejection category. Identify trust establishment failures.
TCB status Applicable security versions and appraisal status. Identify outdated or unacceptable platforms.
Resource access Authorisation decision, workload identity and resource identifier. Investigate protected resource provisioning.
Workload integrity Approved image identity and relevant measurements. Detect unauthorised deployment changes.
Accelerator security GPU security mode and supported evidence appraisal. Validate confidential AI execution requirements.
Network security Connection metadata and policy decisions. Investigate communication failures and unexpected access.
Application health Latency, error rate and resource utilisation. Maintain service reliability.
Security policy changes Policy version, change identity and approval record. Correlate security decisions with configuration changes.

Logs should not contain plaintext secrets, private keys, sensitive prompts, raw confidential datasets or unnecessary workload memory contents.

Attestation evidence and device identifiers can themselves contain sensitive metadata. Their retention and distribution should follow the organisation's privacy and security requirements.

9.16 Engineering Investigation — The Confidential Workload That Suddenly Lost Trust

Consider an enterprise operating a fleet of confidential virtual machines processing sensitive financial information.

The infrastructure team deploys an approved security update to a small canary group. The updated virtual machines boot successfully, establish network connectivity and retrieve encrypted application artifacts.

However, the application cannot start because the key broker refuses to release its database decryption key.

Production Baseline Healthy

Existing confidential workloads satisfy the approved evidence and resource policies.

Approved Guest Security Update

A new signed guest image is deployed to the confidential canary environment.

Confidential VM Boot Successful

Processor security initialisation, guest startup and network connectivity succeed.

Evidence Signature Validated

The verifier confirms evidence authenticity and the applicable freshness requirements.

Workload Measurement Rejected

The observed guest launch measurement does not match the currently approved reference measurement.

Protected Key Release Denied

The relying party denies access to the database decryption key.

Engineering Investigation

Engineers correlate the rejected measurement with the authorised guest image update.

Reference Validation

The new reference measurement is independently validated against the approved build and security change records.

Controlled Policy Update

The authorised reference policy is updated through the security approval process.

Fresh Evidence Accepted

The workload obtains fresh evidence, satisfies resource policy and securely retrieves its authorised database key.

9.17 Engineering Evidence Investigation Board

Evidence 01 · Passed

Platform Initialisation

Confidential execution is supported and the workload has successfully initialised.

Evidence 02 · Passed

Network Connectivity

The workload can communicate with the verifier and key broker. This is not a routing or DNS failure.

Evidence 03 · Passed

Cryptographic Authenticity

The attestation report satisfies the applicable authenticity checks.

Evidence 04 · Failed

Approved Workload Measurement

The new image produces a measurement that is absent from the current authorised reference policy.

Evidence 05 · Denied

Protected Resource Access

The key broker correctly refuses to release the protected database decryption key.

Evidence 06 · Root Cause

Security Lifecycle Coordination

The approved guest image rollout was not coordinated with validation and publication of its corresponding reference measurement.

NETWORK INSIGHT · SYNTHETIC INCIDENT EVIDENCE
INCIDENT: CC-PROD-009

WORKLOAD
  identity: finance-analytics-canary
  deployment: guest-image-v2
  resource: finance/database/decryption-key

INFRASTRUCTURE
  confidential_vm_boot: SUCCESS
  network_connectivity: SUCCESS
  verifier_reachable: TRUE
  key_broker_reachable: TRUE

ATTESTATION
  evidence_signature: VALID
  freshness: VALID
  platform_tcb_policy: PASSED
  debug_policy: PASSED

WORKLOAD APPRAISAL
  observed_measurement: IMAGE_V2_MEASUREMENT
  approved_measurement: IMAGE_V1_MEASUREMENT
  measurement_policy: FAILED

RESOURCE AUTHORISATION
  workload_identity: VALID
  resource_entitlement: VALID
  attestation_policy: FAILED
  key_release: DENIED

ROOT CAUSE
  Authorised guest image update was not
  coordinated with the approved reference
  measurement lifecycle.

SECURITY RESPONSE
  Preserve evidence.
  Halt rollout.
  Validate build provenance.
  Validate the new reference measurement.
  Approve the required policy change.
  Obtain fresh attestation evidence.
  Re-evaluate resource authorisation.
  Confirm application readiness.

FINAL OUTCOME
  Confidential workload: HEALTHY
  Attestation policy: PASSED
  Protected resource access: AUTHORISED
    
Evidence-driven troubleshooting principle

A rejected confidential workload is not necessarily compromised. The rejection establishes that a required security condition was not satisfied. Engineers must investigate the underlying evidence rather than disable verification or automatically approve the observed state.

9.18 Production Incident Response Workflow

01 Detect Identify abnormal security decisions, attestation failures or workload behaviour.
02 Preserve evidence Retain relevant security logs, policy versions, deployment records and attestation appraisal results.
03 Classify Distinguish configuration errors, infrastructure failures and potential security compromise.
04 Contain Restrict affected resource access and isolate or retire workloads where appropriate.
05 Investigate Correlate evidence across hardware, firmware, workload identity, networking and policy services.
06 Remediate Correct the validated root cause without weakening required security guarantees.
07 Re-establish trust Obtain fresh evidence and evaluate all relevant resource access conditions.
08 Recover Restore authorised service operation using approved execution environments.
09 Improve Update deployment controls, monitoring, documentation and incident response procedures.

9.19 Production Confidential Computing Troubleshooting Matrix

Observed symptom Possible cause Investigation direction
Confidential VM fails to launch Unsupported hardware or virtualisation configuration. Validate CPU, firmware, hypervisor and guest compatibility.
Attestation device unavailable Missing guest support or device interface. Inspect kernel and platform-specific attestation tooling.
Evidence generation fails TEE interface, firmware or guest integration failure. Inspect supported evidence generation diagnostics.
Evidence signature invalid Incorrect evidence, trust chain or verification configuration. Validate evidence format and trusted verification material.
Freshness validation fails Incorrect challenge association or stale evidence. Inspect challenge lifecycle and evidence binding.
TCB appraisal rejected Unacceptable security version or platform status. Review vendor security information and policy requirements.
Measurement mismatch Changed image, configuration or measured component. Validate build provenance and approved reference values.
Debug policy rejected Development configuration used in production. Validate production security attributes.
Verifier unreachable DNS, routing, firewall or service availability failure. Investigate network and service dependencies.
Verification collateral unavailable Certificate, reference or revocation service failure. Validate trusted collateral retrieval and cache freshness.
Key broker denies resource Attestation or resource entitlement policy failure. Correlate verification results with relying-party decisions.
Recipient binding rejected Evidence not associated with the intended recipient key. Validate the supported binding protocol.
Confidential container fails Guest runtime, image or protected resource failure. Inspect sandbox creation and guest-side evidence.
GPU evidence rejected Firmware, security mode or device association mismatch. Evaluate composite CPU and GPU security requirements.
Service fails after firmware update Changed security claims or reference information. Correlate update history and attestation appraisal.
Unexpected data exposure External logging, proxy, cache or application interface. Trace the complete plaintext data lifecycle.
Previously authorised workload becomes unacceptable Security advisory, revocation or policy change. Evaluate active credentials, key lifetime and containment.
High application latency Protected I/O, memory, attestation or startup overhead. Measure individual application and security stages.

9.20 Linux and Kubernetes Investigation Commands

Production troubleshooting should begin by identifying the failing layer before collecting architecture-specific evidence.

LINUX · PLATFORM AND CONNECTIVITY INVESTIGATION
# Identify operating system and kernel
uname -a
cat /etc/os-release

# Inspect visible processor capabilities
lscpu

# Inspect relevant kernel messages
journalctl -k -b | grep -Ei 'tdx|sev|snp|sgx|coco'

# Inspect potential attestation interfaces
ls -l /dev/tdx_guest /dev/sev-guest /dev/sgx_enclave

# Inspect TSM report interface if available
ls -ld /sys/kernel/config/tsm/report

# Inspect network interfaces
ip -br address

# Inspect routing
ip route

# Inspect local DNS configuration
cat /etc/resolv.conf

# Resolve an authorised verifier endpoint
getent hosts verifier.example.internal

# Inspect time synchronisation
timedatectl status

# Test an authorised HTTPS service endpoint
curl -I --connect-timeout 5 \
  https://verifier.example.internal

# Inspect recent service errors
journalctl -b -p warning
    
KUBERNETES · CONFIDENTIAL WORKLOAD INVESTIGATION
# Inspect workload placement
kubectl get pods -A -o wide

# Inspect available runtime classes
kubectl get runtimeclass

# Inspect confidential workload runtime configuration
kubectl get pod POD_NAME -n NAMESPACE \
  -o jsonpath='{.spec.runtimeClassName}'

# Inspect pod events and configuration
kubectl describe pod POD_NAME -n NAMESPACE

# Inspect recent namespace events
kubectl get events -n NAMESPACE \
  --sort-by=.metadata.creationTimestamp

# Inspect node information
kubectl describe node NODE_NAME

# Inspect approved workload diagnostic logs
kubectl logs POD_NAME -n NAMESPACE \
  --all-containers=true --tail=100
    

These are preliminary infrastructure investigation commands. Device paths, kernel interfaces and diagnostic capabilities depend on the actual deployment architecture.

A visible CPU feature, device interface or Kubernetes RuntimeClass does not independently prove that a workload satisfies confidential computing security requirements.

9.21 Enterprise Confidential Computing Reference Architecture

The following architecture integrates the major engineering domains introduced throughout this guide.

It combines confidential virtual machines, confidential containers, confidential accelerators, trusted hardware, protected storage, remote attestation, workload identity, key management and production security operations.

Architecture 07 · Complete Enterprise Confidential Computing Platform
ENTERPRISE USERS, APPLICATIONS AND DATA OWNERS Authenticated access · Protected application communication NETWORK SECURITY AND WORKLOAD ACCESS Segmentation · Identity · Private connectivity · Encrypted transport CONFIDENTIAL EXECUTION INFRASTRUCTURE CONFIDENTIAL VM Protected guest OS Enterprise application Private memory CONFIDENTIAL CONTAINER Protected sandbox Trusted guest runtime CONFIDENTIAL AI Protected CPU runtime Confidential GPU Model execution PROTECTED MEMORY AND DEVICE COMMUNICATION Private pages · Controlled shared memory · Supported secure I/O HARDWARE SECURITY FOUNDATION Processor TEE · Security firmware · Hardware root of trust ENTERPRISE TRUST SERVICES ATTESTATION VERIFIER Evidence and security appraisal REFERENCE POLICY Measurements and endorsements WORKLOAD IDENTITY Authentication and entitlement KEY BROKER / KMS Authorised protected resource release HOST AND CLOUD INFRASTRUCTURE Scheduling · Virtualisation · Device presentation PROTECTED DATA SERVICES Encrypted databases · Models · Artifacts · Backups SECURITY OPERATIONS AND CONTINUOUS ASSURANCE TCB lifecycle Security telemetry Policy governance Incident response Recovery controls NETWORK INSIGHT · PROVIDER-NEUTRAL CONFIDENTIAL COMPUTING REFERENCE ARCHITECTURE
Complete logical enterprise architecture. The illustrated workload types may use different hardware and software trust models. Their inclusion within a common execution infrastructure does not imply identical security guarantees or universal interoperability.

9.22 Production Confidential Computing Security Policy

CONCEPTUAL ENTERPRISE SECURITY POLICY
policy:
  name: enterprise-confidential-production
  default_decision: deny

platform:
  approved_tee_type: required
  authentic_hardware_evidence: required
  acceptable_tcb_status: required
  production_security_configuration: required

evidence:
  supported_format: required
  valid_signature: required
  trusted_endorsements: required
  acceptable_reference_values: required
  freshness: required

workload:
  approved_identity: required
  validated_measurement_chain: required
  authorised_artifact: required
  approved_configuration: required

accelerators:
  when_required_by_workload:
    approved_device_identity: required
    acceptable_device_security_state: required
    protected_communication: required
    workload_device_association: required

resources:
  workload_entitlement: required
  resource_specific_policy: required
  protected_recipient_binding: required

operations:
  approved_security_telemetry: required
  controlled_update_lifecycle: required
  defined_credential_lifetime: required
  incident_response_process: required

decision:
  allow:
    only_if_all_applicable_requirements_pass

  deny:
    when_required_evidence_is_missing
    when_security_appraisal_fails
    when_resource_entitlement_is_missing
    when_recipient_binding_fails
    

This policy is an architectural illustration, not executable policy syntax. Production implementations must map each requirement to supported evidence, trusted claims or independently enforced controls.

9.23 Availability and Fail-Closed Security Architecture

Attestation verifiers, key brokers and trusted reference services become important production dependencies.

If these services are unavailable, new confidential workloads may be unable to obtain protected resources even when their hardware and application components are functioning correctly.

Resilience control 01

Redundant Trust Services

Deploy appropriate verifier and resource authorisation redundancy across validated failure domains.

Resilience control 02

Trusted Collateral Caching

Cache verification material only within supported freshness and revocation requirements.

Resilience control 03

Controlled Retry

Use bounded retries, backoff and dependency health checks to reduce cascading service failures.

Resilience control 04

Protected Recovery

Restore encrypted data only into appropriately authorised recovery environments.

Resilience control 05

Credential Lifecycle

Define how existing sessions and previously issued credentials behave during trust service outages.

Resilience control 06

No Silent Security Downgrade

Do not automatically move sensitive workloads into conventional execution environments when confidential infrastructure becomes unavailable.

9.24 Production Performance and Security Validation

Confidential computing performance must be evaluated against representative production workloads rather than assumed from processor generation or isolated benchmark results.

Engineering domain Validation metric Test objective
Workload startup Deployment-to-ready duration. Measure confidential environment initialisation.
Attestation Verification latency and rejection rate. Evaluate trust service performance and correctness.
Key provisioning Authorisation latency and availability. Identify protected resource dependencies.
Memory operations Latency, throughput and application utilisation. Evaluate workload-specific memory overhead.
Network I/O Throughput, latency and CPU utilisation. Assess protected communication paths.
Storage I/O Read/write latency and throughput. Evaluate encrypted data access.
Accelerated computing Transfer bandwidth, inference latency and throughput. Assess confidential GPU execution.
Security enforcement Expected rejection of unauthorised configurations. Verify that negative security tests fail safely.
Disaster recovery Recovery time and recovery point objectives. Validate secure service restoration.

9.25 Complete Production Confidential Computing Checklist

Hardware and trusted computing base
  • Document the intended workload threat model.
  • Identify protected assets and adversary capabilities.
  • Validate the exact processor security architecture.
  • Confirm firmware and microcode compatibility.
  • Inventory applicable trusted computing base components.
  • Track relevant hardware and firmware security advisories.
  • Enforce production-compatible security configurations.
  • Evaluate residual side-channel risks.
Attestation and workload identity
  • Validate supported evidence formats.
  • Verify applicable evidence signatures and trust chains.
  • Maintain trusted endorsements and reference values.
  • Validate evidence freshness.
  • Evaluate relevant platform security status.
  • Validate the required workload measurement chain.
  • Enforce approved workload identity.
  • Validate protected recipient binding.
Data protection and resource management
  • Encrypt sensitive stored application data.
  • Enforce resource-specific authorisation.
  • Gate sensitive key release on required security claims.
  • Protect key management and broker services.
  • Define credential expiration and key rotation.
  • Evaluate state rollback and replay protection.
  • Protect shared memory and external device interfaces.
  • Trace plaintext boundaries across application components.
Network, Kubernetes and accelerator security
  • Authenticate workload communication.
  • Validate application encryption termination points.
  • Implement appropriate network segmentation.
  • Restrict unnecessary external connectivity.
  • Validate confidential container runtime architecture.
  • Validate GPU security mode and device evidence.
  • Establish required CPU-to-GPU association.
  • Validate sensitive inter-device communication paths.
Security operations and resilience
  • Establish controlled firmware and software update procedures.
  • Coordinate reference policy changes with deployment changes.
  • Validate updates through canary environments.
  • Collect security telemetry without exporting sensitive data.
  • Monitor attestation and protected resource failures.
  • Test security policy rejection scenarios.
  • Maintain incident response and evidence preservation procedures.
  • Validate confidential disaster recovery and workload replacement.

9.26 The Complete Confidential Computing Engineering Journey

01 Confidential Computing Understand data in use, infrastructure trust models and hardware-backed protection.
02 Trusted Execution Environments Understand protected execution, enclaves and confidential virtual machines.
03 Confidential Processor Architecture Compare Intel TDX, AMD SEV-SNP and Intel SGX security mechanisms.
04 Memory Encryption and Isolation Understand private memory, ownership metadata and protected access.
05 Remote Attestation Establish hardware-backed evidence and security appraisal architecture.
06 Confidential Cloud Infrastructure Integrate protected virtual machines, cloud services and resource provisioning.
07 Confidential Kubernetes Understand protected container execution and confidential sandbox architecture.
08 Confidential AI Protect accelerator execution, model provisioning and sensitive inference.
09 Production Security Engineering Manage security lifecycles, investigate incidents and maintain trustworthy production infrastructure.

Section 09 — Key Engineering Takeaways

Takeaway 01

Trust Must Be Explicit

Define exactly which components are trusted, which assets are protected and which adversary capabilities are within scope.

Takeaway 02

Authentic Evidence Is Not Authorisation

Cryptographic verification must be followed by security appraisal and resource-specific policy evaluation.

Takeaway 03

Trust Changes Over Time

Firmware updates, vulnerabilities, policy changes and workload deployments can alter the acceptability of an execution environment.

Takeaway 04

Security Requires Evidence

Troubleshooting should correlate observed measurements, platform state, identity and authorisation decisions rather than rely on assumptions.

Takeaway 05

Protect the Complete Data Lifecycle

Confidential execution must be integrated with protected storage, communication, resource provisioning and application data handling.

Takeaway 06

Confidential Computing Is Defence in Depth

Hardware-backed protection complements identity, network security, application hardening, software integrity and operational resilience.

Interactive Engineering Experience 09

Confidential Computing Incident Investigation Lab

The final interactive engineering experience will introduce a production confidential computing security operations centre.

Engineers will investigate failed workloads, compare baseline and incident security states, inspect attestation evidence, analyse trusted computing base changes and identify the root cause of protected resource authorisation failures.

The experience will focus on incident investigation and evidence correlation, combining the concepts introduced throughout all nine sections without simply repeating the earlier attestation or hardware exploration exercises.

NI
Network Insight · Engineering Knowledge Hub

Beyond Encryption. Engineering Trust.

Confidential computing represents a fundamental change in how engineers establish trust across shared infrastructure.

Rather than relying exclusively on infrastructure ownership or privileged administrators, sensitive workloads can use hardware-backed isolation, verifiable evidence and explicit resource authorisation to establish a more restrictive execution model.

Understanding the boundaries, limitations and operational responsibilities of these technologies is essential to engineering trustworthy cloud, Kubernetes and AI infrastructure.

Explore the Engineering Knowledge Hub
NETWORK INSIGHT
INTERACTIVE ENGINEERING LABS
SECURITY MONITORING ACTIVE
CONFIDENTIAL COMPUTING / LAB 09 / FINAL ENGINEERING CAPSTONE

Confidential Infrastructure
Incident Investigation Command Centre

Investigate production failures across confidential virtual machines, trusted execution environments, Kubernetes workloads, GPU infrastructure, remote attestation and secret delivery. Collect forensic evidence, identify the underlying security failure, implement remediation and verify the recovered infrastructure against its expected baseline.

INFRASTRUCTURE STATE Healthy
ACTIVE INCIDENTS 00
BASELINE CHECKS PASSED 12 / 12
INCIDENTS RESOLVED 0 / 12
01

Confidential Infrastructure Digital Twin

PRODUCTION CONFIDENTIAL INFRASTRUCTURE — LOGICAL DIGITAL TWIN Enterprise Client Sensitive AI request Trusted endpoint Secure API Gateway TLS / access policy Inference ingress Attestation Verifier Evidence / freshness Reference policy Key Broker / KMS Conditional key release Workload authorization Cloud Host / Hypervisor — Outside Guest Trust Boundary KUBERNETES CONTROL Scheduler / Runtime Confidential placement RuntimeClass policy Workload Identity Service authorization Credential scope Model Registry Encrypted artifacts Approved model digest CONFIDENTIAL CPU GUEST TDX / SEV-SNP Guest Private memory protection Hardware-backed isolation Confidential AI Application Prompt / model orchestration Authorized plaintext access Protected Device Channel CPU-to-GPU communication Authenticated session CONFIDENTIAL GPU DOMAIN GPU Security Firmware CC-On / device evidence Approved security state GPU Inference Engine Protected GPU resources Security Telemetry / SIEM Evidence collection / incident correlation Confidential Inference Service Baseline operational INCIDENT
GREEN — BASELINE / VERIFIED RED — INCIDENT SOURCE GOLD — AFFECTED COMPONENT CYAN — SERVICE FLOW

Production Baseline Established

Select an incident to begin the engineering investigation.

INCIDENT CONTROL CENTRE

INCIDENT: NONE

All modeled infrastructure baseline checks are passing.

01Detect Identify abnormal state
02Investigate Collect forensic evidence
03Diagnose Confirm root cause
04Remediate Apply corrective action
05Verify Test recovered baseline
02

Baseline Versus Incident State Comparison

SECURITY CONTROL EXPECTED BASELINE OBSERVED STATE STATUS
03

Security Incident Timeline

CHRONOLOGICAL INCIDENT RECORD
INCIDENT IMPACT ASSESSMENT

No active incident

CONFIDENTIALITY: BASELINE INTEGRITY: BASELINE AVAILABILITY: BASELINE Awaiting incident injection.

A failed security control does not automatically prove that confidential information has been disclosed. Investigators must distinguish observed failures, potential exposure and confirmed compromise.

04

Interactive Engineering Forensic Evidence Board

Select evidence sources to collect diagnostic records. Correlate independent observations before submitting a root-cause diagnosis.

SELECTED FORENSIC RECORD

Awaiting evidence selection

Select an evidence source above.
INVESTIGATION NOTEBOOK
No forensic evidence collected.
05

Confidential Infrastructure Diagnostic Terminal

SIMULATED ENGINEERING COMMANDS
$ Network Insight Security Operations Terminal Select a diagnostic operation.
06

Root-Cause Analysis and Engineering Decision

SUBMIT ROOT-CAUSE DIAGNOSIS

Diagnosis pending

Collect the required independent evidence before submitting your engineering conclusion.

REMEDIATION DECISION

Remediation pending

Confirm the root cause and choose an appropriate corrective action.

07

Post-Remediation Infrastructure Verification

RECOVERY VERIFICATION ENGINE

Verify the complete security baseline

A successful configuration change is not sufficient evidence of recovery. Re-evaluate the modeled trust controls, authorization policy, protected communication and workload readiness before closing the incident.

Verification not executed

Apply the appropriate remediation before verifying recovery.

RECOVERY EVIDENCE
RECOVERY VERIFICATION: PENDING
08

Security Operations Event Console

09

Confidential Computing Engineering Capstone

INCIDENT INVESTIGATION CHALLENGES
CAPSTONE COMPLETION
0 / 12

Complete all twelve evidence-based incident investigations.

Completion requirements

Collect the required forensic evidence, validate the correct root cause, apply the appropriate remediation and successfully verify the recovered infrastructure. Each distinct incident can contribute one completed challenge.
Engineering model limitations

This is a deterministic educational incident simulator. It does not connect to real cloud infrastructure, execute privileged commands, inspect physical memory, validate cryptographic evidence or modify Kubernetes resources. The architecture represents one possible confidential AI deployment. Actual trust boundaries, attestation claims, firmware requirements, workload identity mechanisms and recovery procedures depend on the selected platform. Recovery verification demonstrates restoration of the modeled controls. It does not establish that a real incident has been fully contained, that historical exposure did not occur, or that forensic and regulatory obligations have been satisfied.
☕
Support Network Insight
Help support the development of interactive networking labs, BGP simulations, and educational content.
Support the Project
Matt Conran
Tags: No tags

Comments are closed.