Data Forensics and Recovery: What It Is and Why It Matters When You Dispose of a Computer
If you have ever accidentally deleted a folder of photos and got them back with a free recovery program, you have already seen the problem from the other side. The same techniques that rescue your own files can recover someone else’s from a second-hand computer.
Understanding how data recovery and digital forensics work makes it much clearer why a proper wipe matters before a device leaves your hands.
What kind of data is at stake?
A typical used computer can contain:
- Account credentials: saved passwords, browser cookies, email logins
- Financial details: bank statements, card numbers in saved forms, tax returns
- Identity documents: scanned passports, driving licences, utility bills
- Personal media: photos, videos, messages
- Special category data: information about health, ethnicity, religion, political opinions, sexual orientation, trade union membership, and biometric or genetic data. UK GDPR gives this information extra protection, and it often turns up in personal files and work documents.
If the computer was used for work, it may also hold other people’s personal data, which brings legal obligations as well (see our guide to UK GDPR and secure data wiping for businesses).
What is digital forensics?
Digital forensics is the recovery and analysis of data from digital devices, usually so the findings can be used as evidence. It is not a new discipline. In the US, the FBI’s Computer Analysis and Response Team (CART) dates back to the mid-1980s, and in the UK the Metropolitan Police set up a computer crime unit within its Fraud Squad at around the same time. As computers became part of everyday life, and of everyday crime, the field grew into a profession with its own standards and training.
Large data breaches over the past decade have made “forensics” a familiar word, but the core process has not changed much.
How a forensic examination works
- Preserve the original. The examiner makes an exact bit-for-bit copy (a forensic image) of the drive, usually through a write-blocker so the original is never altered. This matters for evidence to stand up in court.
- Review the visible data. Files, folders, browser history, email and system logs that are still in place.
- Search for hidden and deleted data. Specialist tools scan the unallocated space for the remains of deleted files, recover data from reformatted partitions, and piece together fragments.
- Analyse and report. Recovered material is catalogued and its significance explained.
Step 3 is the part relevant to anyone selling a computer. “Deleted” and “formatted” are exactly the states forensic tools are designed to work with.
Why deleted data is recoverable
When a file is deleted, the operating system normally just marks its space as available. The data stays physically on the drive until something else is written over it. A quick format similarly rebuilds the file index without overwriting the contents. Recovery software reads the raw drive, looks for recognisable file structures, and reconstructs what it can.
SSDs complicate this. Their TRIM and wear-levelling features can clear deleted data sooner than a hard disk would, but they also leave copies in areas that normal software cannot address. The outcome is unpredictable, which is not something you want to depend on.
The tools: from free to professional
Consumer recovery tools
Programs such as Recuva (originally developed by the British firm Piriform), PhotoRec and TestDisk are free or inexpensive and easy to use. They are built to help people recover their own lost files, but they work equally well on a drive bought second-hand. No specialist knowledge is needed.
Professional forensic suites
Law enforcement, government agencies and corporate investigators use tools such as EnCase (now part of OpenText), FTK, and the open-source Autopsy. These let an examiner inspect every byte on a drive, recover browser history and registry data, and build a timeline of activity. Their output has been used as evidence in courts for many years.
The gap between these two tiers is mostly about depth and reporting. For a typical unwiped home computer, even the free tools can be enough to recover a great deal.
How to make sure your data cannot be recovered
The defence is to remove the data itself, not just the index pointing to it.
- Overwrite the whole drive (hard drives). Writing over every addressable sector leaves nothing for recovery software to reconstruct.
- Use the drive’s secure-erase or cryptographic-erase function (SSDs and self-encrypting drives). This resets the flash memory or destroys the encryption key so the stored data is unreadable.
- Use a tool that covers every drive and confirms success. Bootable wipe tools such as RedKey USB run before the operating system loads and erase every detected drive, then confirm when they have finished.
- Encrypt during ownership. If BitLocker or FileVault was on throughout, any remnants are encrypted, which is a strong extra layer, though you should still wipe.
- Physically destroy failed drives. If a drive will not work properly enough to be wiped, have it shredded by a reputable recycler.
A properly wiped drive gives a forensic examiner nothing to work with. A drive that has only been formatted may give them a great deal.
Further reading
- Do I need to erase my hard drive before selling my computer?
- How to secure your hard drive data
- Free and paid wiping tools compared
