Microsoft patents secure storage layer for virtual machines
Microsoft describes a method for securing virtual machine storage by combining a read-only base image with an encrypted, writable layer. The system uses a temporary key stored only in memory to encrypt data and verifies file integrity using hash trees to detect tampering.
In the filing’s own words
Various embodiments relate to a method implemented in a computer system with a processor system, involving loading a container image as a first read-only filesystem volume for a virtual machine's guest operating system (OS). This includes obtaining a root integrity hash, validating a first hash tree within the container image, and ensuring data integrity. A virtual disk image is loaded as a second read-write filesystem volume, utilizing an ephemeral encryption key stored in the VM's memory. A filesystem is created with encryption and integrity protection features, enabling data encryption and hash-based validation. A third filesystem volume is created as a union of the first and second volumes, directing writes to the second volume. This third volume is exposed as a system volume for the guest OS, ensuring secure and validated data handling within the virtual environment.
What exactly they claim (claim 1)
1. A method implemented in a computer system that includes a processor system, comprising: loading a container image as a first filesystem volume for use by a guest operating system (OS) of a virtual machine (VM), including: obtaining a root integrity hash that corresponds to the container image; determining that data of the container image has a valid integrity state, including validating a first hash tree stored within the container image based on the root integrity hash; and creating the first filesystem volume as a read-only volume from the container image based on the data of the container image having the valid integrity state; loading a virtual disk image as a second filesystem volume for use by the guest OS, including: generating an ephemeral encryption key, the ephemeral encryption key being stored exclusively within a memory of the VM; creating a filesystem on the virtual disk image, creating the filesystem including: enabling an encryption feature of the filesystem, the encryption feature of the filesystem being configured to encrypt data written to the filesystem based on the ephemeral encryption key; and enabling an integrity protection feature of the filesystem, the integrity protection feature being configured to create a writable second hash tree that stores hashes representing data written to the filesystem; and creating the second filesystem volume as a read-write volume from the filesystem, wherein: when a data block is written to the second filesystem volume, the data block is encrypted based on the ephemeral encryption key, and a hash representing the data block is added to the writable second hash tree; and when the data block is read from the second filesystem volume, the data block is validated using the hash representing the data block; creating a third filesystem volume as a union of the first filesystem volume and the second filesystem volume, wherein writes to the third filesystem volume are directed to the second filesystem volume; and exposing the third filesystem volume as a system volume for the guest OS.
Facts
- Company
- Microsoft (Microsoft Technology Licensing, LLC)
- Official title
- ENCRYPTED AND INTEGRITY-PROTECTED STORAGE FOR A VIRTUAL MACHINE
- Publication number
- US20260299987A1
- Application number
- 19095883
- Filed
- Mar 31, 2025
- Published
- Oct 1, 2026
- Inventors
- 16
- Claims
- 20
Classified under
G06F 9/45558 Physics & computingH04L 9/0861 Electricity & electronicsH04L 9/3242 Electricity & electronicsG06F 2009/45583 Physics & computingG06F 2009/45587 Physics & computingMore from Microsoft in Security & privacy
- Microsoft patents system to call 911 for others during video calls Sep 22, 2026
- Microsoft patents system to block fake code suggested by AI Sep 15, 2026
- Microsoft patents one-way data flow to block network attacks Sep 10, 2026
- Microsoft patents voice coding that hides speaker identity for secure calls Sep 17, 2026
- Microsoft patents security checks for AI chats using user and model profiles Oct 1, 2026
Summaries are simplified from the filing’s own abstract and first claim. A patent filing is not a product announcement.
Patent data and drawings: U.S. Patent and Trademark Office (USPTO). Nebula is not affiliated with or endorsed by the USPTO.