Forensic recovery of deleted files · 01 How it works

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.

SituationChances of recovery
Traditional disk, recent deletionHigh, especially if the disk has been little used since
Quick formatOften good: structures are recreated but data remains
Full format on recent Windows systemsVery low: the space is overwritten with zeros
SSD with TRIM enabledLow: the drive wipes freed blocks by itself
Modern encrypted smartphonesVery low for files; sometimes possible for records in app databases
Secure deletion or destruction of keysPractically nil
Continue with
02 Step-by-step procedure

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.

↑