firmware sanitise
Erasing a drive with a command built into its own firmware, so the drive's controller wipes every storage area, including hidden spare space.
In more detail
Flash drives keep data in cells the operating system cannot address, so software overwrites miss them, but the drive's controller knows where everything is. Standard commands, such as the NVMe sanitize operation and the older secure erase commands, tell it to erase all user data, often by resetting blocks or replacing an internal encryption key. These count as purge methods, but some drives have implemented them badly, so verify the result and prefer drives with documented, tested support.
Examples
nvme sanitize /dev/nvme0 --sanact=2 # block erase with nvme-clihdparm --user-master u --security-erase p /dev/sdX # ATA Secure Erase, after setting password p with --security-set-passRelated terms
- SSD — A storage device that keeps data on flash memory chips, with no moving parts.
- purge (media sanitisation) — A strong level of media sanitisation that makes data recovery impractical even with laboratory techniques, while often leaving the device usable.
- cryptographic erase — Making encrypted data permanently unreadable by securely deleting every copy of the key that encrypts it, instead of overwriting the data.
- 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.
Taught in
- Asset Lifecycle Management & Media Sanitization — Cybersecurity Fundamentals, GRC & Cryptography