data at rest
Data that is stored rather than moving or being worked on, such as files on a disk, rows in a database or copies in a backup.
In more detail
The main threat to stored data is someone getting a copy of the storage itself: a stolen laptop, a copied database file, a leaked backup or a misconfigured storage bucket. Encryption at rest defends against that, but only if the key is kept somewhere separate, such as a key management service, because a key stored beside the encrypted file is taken along with it. Access controls and retention rules also apply to data in this state.
Examples
strings -n 12 customers.db # shows alice@example.com in plain textopenssl enc -aes-256-cbc -pbkdf2 -pass file:db.key -in customers.db -out customers.db.encRelated terms
- data in transit — Data that is moving across a network, such as a request from a browser to a server or a copy sent between two services.
- data in use — Data that a program or person is actively working with, such as values held in memory, shown on screen or open in a spreadsheet.
- full-disk encryption — Encrypting everything on a storage drive, so that a lost or stolen computer's data cannot be read without the key or password.
- KMS — A service that creates, stores and controls cryptographic keys and performs operations with them, so applications never handle the raw key.
Taught in
- Data Classification Schemes & Sensitivity Labeling — Cybersecurity Fundamentals, GRC & Cryptography
- Data States: Security at Rest, in Transit, and in Use — Cybersecurity Fundamentals, GRC & Cryptography