CYBER WELFARE

Protect your Digital Privacy

How secure data erasure works: from the recycle bin to the destroyed key

A computer you no longer use, a phone you’re handing down to a relative, an external drive on its way to the recycling centre. Before letting go of them, almost everyone does the same thing: press “delete” and empty the bin. It’s a sensible thing to do, but it doesn’t do what it seems to: in many cases the data stays on the device, out of sight but recoverable by anyone with the right tools.

Understanding how secure data erasure works doesn’t take technical expertise. You only need to know what happens inside a drive when you “delete” something, and which technologies make data genuinely unreadable: some are already built into your phone, some are built into the drives themselves, and others are for when the device won’t even switch on.

This post lays them out one by one, with their real advantages and limits, without pointing to any specific product. It is the technology side of the recommendation on wiping data before passing on a device: whoever receives your old device should find an empty object, not a piece of your life.

How to read this list

First, what really happens when you delete a file. The file system is the index your operating system uses to know where each file sits on the drive. When you press “delete”, the file usually goes to the recycle bin, which is simply another folder: the file is still there, intact. When you empty the bin, the system removes the entry from the index and marks that space as free. The content itself, though, stays on the drive until something is written over it — which is why there are programs that can find “deleted” files months later.

The second distinction is about the type of storage. Hard disk drives (HDDs) record data on magnetic platters: every piece of data has a precise location, and if you write over it, you replace it. Solid-state drives (SSDs), USB sticks and phone storage use electronic memory chips, managed by a small internal processor that decides by itself where to write. That difference changes how erasure works.

The technologies are organised into four functions, the same ones used in the practical guide on how to wipe your data securely:

  • prevention — making data unrecoverable before the device leaves your hands;
  • detection — noticing when erasure is incomplete;
  • response — putting things right when normal erasure isn’t possible or the device is already somewhere else;
  • governance — keeping things in order over time, especially when there are many devices to retire.

For each one you’ll find the risk it reduces, its advantages, its honest limits, and how complex it is to use.

1. Prevention technologies

Cryptographic erase

If a drive is encrypted — meaning the data is transformed into a form that can’t be read without a secret key — you don’t need to erase every single piece of data: destroying the key is enough. Without it, whatever remains on the drive is a meaningless jumble of characters.

  • Risk reduced: data being recovered from a drive or phone you’ve passed on.
  • Advantages: takes a few seconds, even on very large drives; works well on solid-state storage, where overwriting is unreliable.
  • Limits: only works if encryption was switched on before the data was written; if you kept a recovery key somewhere else, it’s worth deleting it once the device has changed hands.
  • Example: your laptop has been encrypted for years; before selling it you reset the drive, the old key disappears, and your files become unreadable.
  • Complexity: basic, as long as encryption is already on.

Encryption itself is explained in the post on how device encryption works.

Factory reset on encrypted phones

The feature, built into the phone’s operating system, that returns the device to the state it was in when it left the factory.

  • Risk reduced: the new owner getting access to your photos, messages and accounts.
  • Advantages: on recent phones storage is encrypted by default, so a reset is effectively a cryptographic erase; you start it from the settings, with no extra tools.
  • Limits: on very old models encryption may not be on, and the reset then erases less than it seems; it doesn’t touch an external memory card, if there is one, or the SIM card; if you don’t sign out of your accounts first, the anti-theft lock can block the phone for its new owner.
  • Example: you give your old phone away; after the reset it starts up on the first-time setup screen, with no accounts and no photos.
  • Complexity: basic.

Overwriting

Secure erasure programs that write meaningless data (zeros or random values) across the whole drive or over individual files, replacing the original content.

  • Risk reduced: “deleted” files being recovered from hard disk drives.
  • Advantages: on hard disk drives it is a solid method; many programs re-read the drive at the end to verify the result; the most recent guidelines generally consider a single full pass sufficient on modern drives.
  • Limits: takes hours on a large drive; on solid-state storage it can’t guarantee reaching every memory cell; on individual files it leaves traces elsewhere (temporary copies, previews), so it is more reliable across the whole drive.
  • Example: you start a full overwrite of an old external drive before going to bed; by morning it’s ready to give away.
  • Complexity: intermediate.

On many recent operating systems, a full format includes an overwrite: how it differs from a quick format is covered in the post on quick format vs full format.

Built-in erase commands for solid-state drives

Commands built into the drive’s firmware (the internal software that runs it) that tell the drive itself to clear all of its cells, including the ones the operating system can’t see.

  • Risk reduced: data left in areas of the drive that ordinary overwriting can’t reach.
  • Advantages: it is the method designed for this kind of storage; it works from the inside and reaches the reserve areas too; many recent drives carry it out as a cryptographic erase.
  • Limits: you start it from the drive maker’s utility or from the computer’s start-up settings, not always intuitively; how it is implemented varies from model to model.
  • Example: you sell a computer with a solid-state drive; you run the firmware erase, then reinstall the operating system.
  • Complexity: intermediate.

Why SSDs are different, in one line. To avoid wearing out the same cells, the drive spreads writes across all of its memory (wear levelling): if you “overwrite” a file, it often writes somewhere new and the old copy stays in a cell you can’t reach.

2. Detection technologies

Encryption status

The section in the settings, on both phone and computer, that shows whether storage is encrypted.

  • Risk reduced: relying on a reset or a cryptographic erase on a device that wasn’t actually encrypted.
  • Advantages: takes a minute to check; tells you whether a reset is enough or whether you need an extra method.
  • Limits: says nothing about external storage connected to the device or copies of your data kept elsewhere.
  • Complexity: basic.

Drive self-diagnostics

The monitoring system built into drives (often called SMART), which records errors, damaged sectors and wear.

  • Risk reduced: passing on a drive believing you’ve wiped it, when some of its areas had already been set aside as faulty.
  • Advantages: flags drives with many replaced sectors, where fragments of data can remain in areas that are no longer reachable; helps you decide whether to wipe or destroy.
  • Limits: the readings take a little practice to interpret; a drive that won’t power on can’t be queried.
  • Complexity: intermediate.

The signs to look out for, before and after handing a device over, are gathered in the post on the signs your data was not fully erased.

Cyber Security for All: Online Privacy, VPN

On the page that opens, choose:

Subscription · not needed
Option to choose: Single course · coupon terms
  • The best available terms
  • Valid until 22 December, for a limited number of enrolments
  • Lifetime access to the content, updates included

3. Response technologies

Physical destruction

Making the storage unusable: shredding, drilling through the platters, degaussing (exposure to a very strong magnetic field, effective only on hard disk drives).

  • Risk reduced: data being recovered from broken drives that can no longer be wiped any other way.
  • Advantages: it is the only option for a drive that won’t power on; specialist services exist that provide a certificate of destruction.
  • Limits: the storage can’t be reused; the chips in a solid-state drive are small and a drilled hole may miss them; doing it at home carries risks (splinters, sharp parts).
  • Example: your old laptop won’t switch on any more; you hand the drive to a certified destruction service and take the rest to an electronic waste collection point.
  • Complexity: intermediate.

Remote wipe

The feature, linked to the phone’s or computer’s account, that lets you start a reset from a distance.

  • Risk reduced: data exposed on a device that has been lost, stolen or handed over without being wiped.
  • Advantages: works when the device is no longer with you; if it is encrypted, it amounts to a cryptographic erase.
  • Limits: has to be switched on in advance; the device must connect to the internet to receive the command.
  • Complexity: basic.

Removing the device from your accounts

The list of connected devices, in your accounts’ security settings, lets you unlink the device you’ve passed on and close any sessions still open.

  • Risk reduced: whoever received the device getting into your accounts, email or cloud storage.
  • Advantages: works after the fact too; closes off access to the data held in the cloud.
  • Limits: doesn’t erase files stored on the device itself; has to be repeated for each important service.
  • Complexity: basic.

4. Governance technologies

These matter when the devices aren’t only yours: a family, a practice, a charity, a small office.

Recognised guidelines on media sanitisation

Standards bodies and cyber security agencies publish guidelines on how to make data unrecoverable. They generally distinguish three levels: clear (overwriting with ordinary tools), purge (firmware commands and cryptographic erase, which resist even laboratory analysis) and destroy.

  • Risk reduced: improvised, undocumented choices.
  • Advantages: they provide a shared language for deciding which level is needed depending on how sensitive the data is; they explain why multiple overwrite passes are no longer considered necessary on modern drives.
  • Limits: they are written for organisations and can feel heavy for personal use; they are updated over time.
  • Complexity: intermediate.

Encryption on from day one

Switching on encryption on every new device, before saving any data to it.

  • Risk reduced: having to fall back on slow or uncertain methods at the end of the device’s life.
  • Advantages: makes a cryptographic erase possible at any time; also protects you if the device is stolen, not just when you pass it on.
  • Limits: the recovery key needs to be kept safely and in order; on some computers encryption has to be switched on manually.
  • Complexity: basic.

A retirement procedure

A written list of the steps to follow every time a device leaves the home or office: backup, signing out of accounts, erasure, check, hand-over.

  • Risk reduced: things being forgotten, especially when different people are involved.
  • Advantages: makes the process repeatable; a minimal log (which device, when, which method) helps show you acted with care; collection points and disposal services that issue a certificate complete the process, without replacing your own erasure.
  • Limits: if nobody looks after it, it stays on paper.
  • Complexity: basic.

Comparison table

FunctionTechnologyRisk reducedMain advantageMain limitComplexity
PreventionCryptographic eraseRecovery from a device passed onSeconds, even on SSDsNeeds encryption already onBasic
PreventionFactory resetPhone data reaching the new ownerAlready built into the phoneDoesn’t touch the memory cardBasic
PreventionOverwritingRecovery from a hard disk driveSolid and verifiableSlow, unreliable on SSDsIntermediate
PreventionSSD firmware eraseData in reserve areasReaches every cellImplementation variesIntermediate
DetectionEncryption statusReset on an unencrypted deviceOne-minute checkDoesn’t see external storageBasic
DetectionDrive self-diagnosticsFaulty areas that can’t be wipedHelps choose the methodReadings not straightforwardIntermediate
ResponsePhysical destructionBroken drivesOnly option for a dead driveStorage can’t be reusedIntermediate
ResponseRemote wipeDevice already elsewhereWorks at a distanceMust be switched on in advanceBasic
ResponseRemoving from accountsAccess to cloud dataWorks afterwards tooDoesn’t erase local filesBasic
GovernanceRecognised guidelinesImprovised choicesShared languageWritten for organisationsIntermediate
GovernanceEncryption from day oneSlow methods at end of lifeFast erase always possibleKey to look afterBasic
GovernanceRetirement procedureForgotten stepsRepeatable processNeeds maintainingBasic

How to choose

If you’re passing on a phone or tablet. Check that storage is encrypted, sign out of your accounts and the anti-theft lock, remove the SIM and memory card, then start the factory reset. Beforehand, make sure you have a copy of everything you want to keep, as the recommendation on backing up photos and videos explains.

If you’re passing on a computer or an external drive. If the drive was encrypted, reset it and destroy the key. If it’s an unencrypted hard disk drive, run a full overwrite with verification. If it’s an unencrypted solid-state drive, use the firmware erase function. The recommendation on choosing a full format explains why a quick format isn’t enough.

If you manage the devices of a family or a small office. Encryption on every new device, a written retirement procedure with a basic log, and a reliable disposal route for broken drives. Recognised guidelines help you decide when destruction is the better choice.

A rule of thumb. No technology offers an absolute guarantee. The combination that gives the best result for the effort involved is encryption on from the start + cryptographic erase or factory reset when you pass the device on, with physical destruction kept for drives that can no longer be wiped. Below that threshold you’re hoping nobody looks; above it, you enter the formal procedures used by organisations.

How this connects to the Cyber Welfare Framework

PillarWhat this content contributes
SkillsChoosing the erasure method that suits the type of storage, knowing what each technology does and what it doesn’t
AwarenessRecognising that “delete” and the recycle bin hide data without erasing it, and that solid-state drives follow rules of their own
Secure BehaviourEncrypting devices from day one and always following the same steps when a device leaves your hands

Reference level: FL3 — Autonomous. This is the level at which you understand a tool well enough to use it without help and adapt it to the device in front of you.

Conclusion

Erasing data properly isn’t a laboratory job. Often the right technology is already inside your devices: the encryption that protects your phone every day is the same encryption that, when you pass it on, makes your data unreadable in a few seconds. Overwriting, firmware commands and physical destruction are there for when that route isn’t available. If you’d like to see how solid your digital habits are overall, the digital resilience self-assessment gives you a starting point.

What to do next. Check today whether your phone and computer are encrypted. If they are, passing them on will take just a few minutes; if not, switch encryption on now.

Related content

Related resources

Short pieces from the Resources section, for anyone who wants to focus on a single aspect:

Start with the first step: the Cyber Welfare Programme guides you free of charge, one recommendation at a time.