A design that does not assume the cloud trust model. Adversaries and residual risks are explicitly defined.
This design does not assume the traditional cloud trust model. It defines which entities are outside the data-access trust boundary and removes them from it. Side channels and denial-of-service are treated as residual risks, not as solved problems.
The entities above are treated as potentially compromised. The design does not rely on software-based access control for memory confidentiality. Guest memory is encrypted by hardware, and memory encryption keys are managed by the CPU. Sensitive plaintext still exists inside the guest; memory confidentiality does not imply protection from side channels or availability attacks.
Each VM receives an independent memory encryption key generated in hardware. Guest memory is encrypted transparently. The hypervisor does not receive the memory encryption keys, and memory dumps are encrypted rather than plaintext. Physical access can still enable denial of service and firmware-level attacks; the property being protected here is memory confidentiality.
SEV-SNP is designed to prevent guest memory tampering, replay, and page substitution. These protections depend on correct attestation, firmware, and platform configuration.
The vTPM is not a general key store. It anchors key release to measured boot state. PCR values are recorded during boot, and keys are sealed to the expected PCRs. A mismatch prevents unsealing under the configured policy.
At launch, the platform produces a hardware-signed SEV-SNP report. The report covers the guest launch measurement, platform and firmware identity, guest policy, and report data. External verifiers can check that the workload runs on genuine, expected hardware and firmware and that the launch state matches policy.
vTPM PCRs measure the guest boot chain: firmware, bootloader, kernel, initrd, and related components. PCR values bind sealed keys to a specific boot state. The vTPM is a virtual device provided by the hypervisor, so its endorsement and the SNP report are distinct trust inputs. They should be verified separately, not collapsed into a single attestation result.
Key release is gated on both: the SNP report must verify the platform and launch state, and the vTPM must unseal under the expected PCR policy. Where a vTPM is used, its backing state and endorsement need their own integrity assumptions.
VM snapshots and disk copies do not yield usable secrets under the expected policy. TPM sealed state is not transferable, measurements do not match, and attestation fails. A copied VM may boot, but it cannot unseal the same keys under policy. Rollback protection depends on platform configuration and freshness mechanisms.
The binary is hardened to raise the cost of analysis. Symbols are stripped, sensitive strings are not stored in plaintext, control flow is harder to follow, and debugger attachment can trigger termination. These measures slow analysis; they do not make reverse engineering impossible.
However, this is not the primary defense. The primary defense resides in hardware.
Under this architecture: root privileges do not grant access to guest plaintext; the hypervisor is outside the memory-confidentiality path; snapshots contain encrypted memory; and cloned environments cannot unseal keys under the expected policy. Side channels, denial of service, and firmware-level attacks remain residual risks.
In other words, the cloud operator does not need to be trusted for data confidentiality, provided attestation and key-release policy are correct. Availability and side-channel resistance are separate properties.