Certified Information Systems Security Professional (CISSP)
Full disk vs volume vs file encryption: what each protects
NIST SP 800-111 says full disk encryption protects everything on the boot drive while the computer is not booted, if pre-boot authentication is required. Once the operating system loads it gives no protection. Volume, virtual disk and file/folder encryption protect only their own volume, container or files until the user authenticates to them.
What does each type encrypt?
Full disk encryption (FDE) encrypts all the data on the drive used to boot the computer, including the operating system. The software redirects the master boot record to a pre-boot environment, which makes the user authenticate before the operating system is decrypted and booted. This is pre-boot authentication.
Volume encryption encrypts an entire logical volume, most often a data volume or volume-based removable media such as a USB flash drive. Virtual disk encryption encrypts a single file called a container, which holds many files and folders and is mounted as a virtual disk after authentication.
File/folder encryption encrypts individual files or folders. SP 800-111 calls it transparent: anyone with access to the filesystem can see the names and possibly other metadata of the encrypted files. A container is opaque. Nobody can see what is inside it until it is decrypted.
When does the protection stop?
For a computer that is not booted, everything encrypted by FDE is protected, assuming pre-boot authentication is required. When the device is booted, FDE provides no protection, and the operating system becomes fully responsible for the data. Hibernation is the exception, because most FDE products can encrypt the hibernation file.
Virtual disk, volume and file/folder encryption protect their contents until the user authenticates for them. With single sign-on that usually means until the user logs on to the device. They give no protection to data outside the container, volume or files, including swap and hibernation files that may hold the contents of files that were in memory.
SP 800-111 says the main threat all of these technologies mitigate is unauthorized access to information on a lost or stolen device.
What happens to files copied elsewhere?
In many cases, especially with FDE and volume encryption, files copied or moved from the encrypted storage to another location are decrypted automatically as part of the copy. The target location is responsible for protecting them, and nothing protects them in transit.
A container is portable and a volume is not. A whole container can be copied from one medium to another with its encryption intact, which also makes backup simple. Individual files copied out of a container are not protected.
Where the exam catches people
- Believing full disk encryption protects a laptop that is stolen while running and unlocked: once the operating system has booted, FDE provides no protection.
- Believing a file copied from an FDE laptop to a server stays encrypted: it is decrypted during the copy and is unprotected in transit and at the target.
- Believing folder encryption hides which files exist: file names and metadata stay visible, and only a container hides its contents.
- Believing file/folder or virtual disk encryption covers swap and hibernation files: only full disk encryption covers data outside the protected files or container.
- Believing volumes and containers are equally portable: a container can be copied to other media with its encryption intact, and a volume cannot.