VM memory integrity is the protection of a virtual machine’s in-memory data and code against unauthorized changes. It helps ensure that a guest operating system and its applications continue to run with the state they expect, rather than attacker-modified instructions or data.
Integrity matters alongside memory confidentiality: encryption can help prevent a host from reading VM memory, but does not by itself guarantee that memory cannot be altered. In attacks involving a compromised hypervisor or platform firmware, an adversary may try to modify guest memory to change behavior or undermine trust. Defenses can include hardware-backed isolation, integrity checks, secure boot, and carefully validated attestation. These controls depend on their specific threat model and platform state; a signed attestation should not be treated as a blanket guarantee.


