What wiping means
Wiping is the process of overwriting a storage medium so that the data it held cannot be recovered with ordinary tools. Deleting a file removes only the entry that points to it. The contents stay on the disk until new data lands on the same sectors, which is why deleted files are so often recovered from machines that their owners believed were empty.
Wiping is one of the tools of media sanitization, the wider discipline of making stored data unreadable before a device is reused, sold, returned or thrown away. The aim is not a disk that looks empty. The aim is old content that cannot be read, and proof that this was done.
How overwriting works
A wipe tool writes new data over every addressable location on the medium. The sequence is short, and most failures come from steps that are easy to skip. What it removes is data remanence, the traces that an ordinary write leaves behind.
- 1
Select the whole device
Target the entire disk, including unused space and every partition, not only the folders the user can see.
- 2
Overwrite the sectors
Write fixed or random patterns over every location, in one or more passes.
- 3
Verify the result
Read back samples or the full medium to confirm that the new pattern is present everywhere.
- 4
Record the outcome
Keep the device identifier, method, date and operator, so the wipe can be proven later.
Methods compared
Overwriting is one of several ways to make data unrecoverable. Each method suits different media, and none is universal. The table compares the usual options.
| Method | How it works | Suits | Main limit |
|---|---|---|---|
| Overwriting | Writes new patterns over every location | Hard disk drives being reused | Unreliable on flash memory |
| Cryptographic erase | Destroys the key that decrypts the data | Encrypted drives and phones | Works only if encryption was on from the start |
| Degaussing | Scrambles magnetic domains with a strong field | Magnetic tape and hard drives | Does nothing to flash memory |
| Physical destruction | Shreds, crushes or incinerates the medium | End-of-life devices and the highest sensitivity | The medium cannot be reused |
Why flash memory is different
On a hard disk drive a sector is a fixed place, so overwriting it replaces the old data. Solid-state drives and USB flash memory work differently. Their controllers spread writes across spare cells and move data to even out wear, so a write aimed at a file may never reach the cells that held the original copy. Software overwriting therefore cannot be trusted alone on these media, and the controller can leave traces the operating system never sees.
- Spare cells and over-provisioned areas that the operating system cannot address
- Remapped blocks whose old content stays readable until the controller reuses them
- Caches and hidden areas that sit beyond the reach of the file system
Which methods hold up
A checkmark means the method reliably makes data unrecoverable on that medium. A cross means it does not, and another method is needed. Cryptographic erase works on either medium only when the whole drive was encrypted from the start.
| Method | Hard disk drive | Flash memory (SSD, USB) |
|---|---|---|
| Overwriting | ||
| Cryptographic erase | ||
| Degaussing | ||
| Physical destruction |
Standards and proof
NIST Special Publication 800-88 describes three levels of media sanitization: Clear, Purge and Destroy. Clear protects against recovery with ordinary tools, Purge also resists laboratory methods, and Destroy makes the medium unusable. The right level depends on how sensitive the data was and where the device goes next.
A wipe is judged by its result, not by the name of the software that ran it, so keep the evidence of the result.
Common mistakes
Most failed wipes come from a few habits:
- Treating deletion or a quick format as a wipe, which leaves the old data in place
- Overwriting a flash drive in software and assuming every cell was reached
- Forgetting copies in backups, sync folders, email archives and cloud shares
- Skipping removable media such as USB sticks and memory cards
- Finishing the job without a record of the device, method, date and person
Where to start
Start with the devices that leave your control: laptops returned to a vendor, drives sent for repair, and machines sold or reassigned. Make the wipe a fixed step of the handover process rather than something the last person remembers to do.
Then match the method to each medium, using the tables above, and make sure the copy you wipe is not the only one that exists. Keep data at rest encrypted from the start, so that a later erase means destroying a key rather than hunting for every sector.
Deleting proves that you wanted the data gone. Only a recorded wipe shows that it is gone.
