Cyberstudy
1.4 3.3 In progress

Disk and File Encryption

14 flashcards

Summary

Encryption at rest can be applied at different levels: the whole disk, a partition or volume, or individual files. Broader encryption protects everything if a device is lost; file-level encryption gives finer control and keeps protecting a file when it is copied elsewhere.

In plain words

Full-disk encryption scrambles everything on a drive, including free space, so a stolen laptop is useless without the unlock credentials. Volume and file encryption cover just a part: a volume, a folder or a single file.

Detailed explanation

  • Full-disk encryption (FDE): Encrypts an entire drive, including the operating system and free space, so a lost or stolen device reveals nothing without the key.
    • Examples: BitLocker on Windows, FileVault on macOS and LUKS on Linux.
    • Key protection: Usually stored in a TPM, often combined with a PIN for pre-boot authentication.
  • Self-encrypting drive (SED): A drive that encrypts data in its own hardware; the Opal standard defines how it is managed.
  • Partition encryption: Encrypts selected partitions, such as a data partition, while others stay unencrypted.
  • Volume encryption: Encrypts a logical volume, which may span disks or be a removable drive, such as BitLocker To Go.
  • File encryption: Encrypts individual files or folders, such as the Windows Encrypting File System (EFS).
    • Limitation: Metadata such as file names, sizes and dates may remain visible, and temporary copies may be left unencrypted.
  • Cryptographic erase: Sanitizing an encrypted drive by securely destroying its key, which makes the data unrecoverable.

Important terms

taken from the text above
Full-disk encryption (FDE)
Encrypts an entire drive, including the operating system and free space, so a lost or stolen device reveals nothing without the key.
Self-encrypting drive (SED)
A drive that encrypts data in its own hardware; the Opal standard defines how it is managed.
Partition encryption
Encrypts selected partitions, such as a data partition, while others stay unencrypted.
Volume encryption
Encrypts a logical volume, which may span disks or be a removable drive, such as BitLocker To Go.
File encryption
Encrypts individual files or folders, such as the Windows Encrypting File System (EFS).
Cryptographic erase
Sanitizing an encrypted drive by securely destroying its key, which makes the data unrecoverable.

Examples & real-world scenarios

  • BitLocker (Windows) or FileVault (macOS) on laptops.
  • Self-encrypting drives that keep the key inside the drive.
  • Encrypting one sensitive folder with file-level encryption.

Scenario

A sales laptop is stolen from a car. Because full-disk encryption was enforced and the key is protected by the TPM plus a PIN, the thief can't read customer data. The incident is a hardware loss, not a data breach.

Common mistakes

  • Assuming file-level encryption also protects free space and metadata.
  • Thinking disk encryption protects files once the user is logged in and the disk is unlocked.

Practical skills

  • Choose full-disk, volume or file encryption for a device.

What I should remember

  • FDE: Protects all data on a lost or stolen device.
  • SED: Hardware-based full-disk encryption built into the drive.
  • File encryption: Protects specific files but may leave metadata exposed.
  • TPM: Commonly stores the key for full-disk encryption.