overwriting
Replacing stored data by writing new data, such as zeros or random bytes, over the same storage locations.
In more detail
Overwriting every location the operating system can address is the usual way to clear a hard disk drive, and the same idea makes a database wipe deleted records instead of leaving them in free space. It is unreliable on SSDs and other flash storage, because the drive writes the new data to fresh cells and leaves the old ones intact. Backups face the opposite risk, since ransomware may overwrite them, which is why backups are made read-only or immutable.
Examples
PRAGMA secure_delete=ON -- SQLite overwrites deleted content with zerosoverwrite refused: Permission denied # a read-only backup fileRelated terms
- media sanitisation — Making data on a storage device impossible to recover, to a chosen level of effort, before the device is reused, sold or thrown away.
- clear (media sanitisation) — The lightest level of media sanitisation, which overwrites all the storage a computer can normally reach so the data cannot be read with ordinary tools.
- wear levelling — The way a flash drive spreads writes evenly across its memory cells, so no cell wears out early, by constantly moving where data is physically stored.
- free list — The list of pages inside an SQLite database file that are no longer in use and are waiting to be reused.
Taught in
- Asset Lifecycle Management & Media Sanitization — Cybersecurity Fundamentals, GRC & Cryptography
- Backup Architectures: 3-2-1, Immutability & Air-Gaps — Cybersecurity Fundamentals, GRC & Cryptography
- The App In /bin That Vanished: The FHS, Distributions And Licences — CompTIA Linux+ (XK0-006) Exam Prep
- What Changed Last Night? Integrity, Scans, Benchmarks And Secure Deletion — CompTIA Linux+ (XK0-006) Exam Prep