Deleted file recovery: how it works
What the system does when a file is deleted, why data remains, what carving is, what changes with SSDs, TRIM, encrypted smartphones, quick and full formatting.
“Logical” deletion
In traditional file systems, such as NTFS or FAT, deleting a file means updating a few structures: the file’s record is marked as free and the blocks it occupied become available again. The data stays where it is until a new file overwrites it.
Carving
When file system structures are lost or overwritten, you can search the disk’s raw content directly for the signatures typical of each format: a JPEG file, for example, starts and ends with recognisable byte sequences. Carving rebuilds files from these signatures, but loses names and dates and struggles with fragmented files.
| Situation | Chances of recovery |
|---|---|
| Traditional disk, recent deletion | High, especially if the disk has been little used since |
| Quick format | Often good: structures are recreated but data remains |
| Full format on recent Windows systems | Very low: the space is overwritten with zeros |
| SSD with TRIM enabled | Low: the drive wipes freed blocks by itself |
| Modern encrypted smartphones | Very low for files; sometimes possible for records in app databases |
| Secure deletion or destruction of keys | Practically nil |
Deleted file recovery: step-by-step procedure
The stages of a proper forensic recovery: stop using the device, acquire the forensic copy, analyse structures and free space, recover, verify, document.
The pages of this topic
Back to the overviewDeleted file recovery: tools
Forensic tools for recovering deleted files: analysis suites, open-source tools, carving programs, app database analysis, and why consumer recovery programs must not be used on the original.
Deleted file recovery: mistakes to avoid
The most common mistakes in recovery attempts: continuing to use the device, installing recovery programs, saving to the original disk, working without a forensic copy, promising impossible results.
Deleted file recovery: value in court
The value of recovered files as evidence: provenance, completeness, certain and uncertain metadata, interpreting deletion, repeatability.
Deleted file recovery: case study
An employee deletes documents from the company computer before resigning: what the expert recovers from the disk, shadow copies and logs, and what they cannot say.
Deleted file recovery: checklist
The checks for proper forensic recovery of deleted files.
Deleted file recovery: frequently asked questions
Short answers to the most common questions about recovering deleted files.