Anti-forensics: how it works
How the main anti-forensic techniques work and what traces they leave: secure deletion, cleaners, timestamp tampering in the MFT, clearing logs, deleting shadow copies, encryption, hidden data, phone resets, the effect of TRIM on SSDs.
Every technique leaves a mark
| Technique | What it does | What trace it leaves |
|---|---|---|
| Secure deletion | Overwrites file content | The program’s execution in Prefetch and the registry; names renamed in sequence in the NTFS change journal |
| Cleaning programs | Delete histories, temporary files, recent document lists | The program’s registry keys and settings; abnormal gaps in histories |
| Timestamp tampering | Changes creation and modification dates | Inconsistencies between the MFT’s $STANDARD_INFORMATION and $FILE_NAME dates, zeroed fractions of a second |
| Clearing logs | Deletes Windows events | Event 1102 in the security log, event 104 in the system log |
| Deleting shadow copies | Removes previous versions of files | Commands and service events recorded; typical of ransomware |
| Encryption | Makes disks or containers unreadable | High-entropy files, installed programs, recovery keys stored elsewhere |
| Hidden data | NTFS alternate data streams, HPA and DCO disk areas, steganography | Visible with specific tools and size comparisons |
| Phone reset | Erases the user’s data | Date of the reset; data still present in cloud accounts and other devices |
The case of SSDs
On SSDs the TRIM command makes the disk itself empty the blocks of deleted files, often within minutes. It is not deliberate anti-forensics, but it has the same effect: that is why acquisition should happen as soon as possible.
Anti-forensics: analysis procedure
The procedure for recognising and documenting anti-forensics: acquire at once, preserve memory, look for the tools, date their use, compare timestamps, check the logs, recover copies and fragments, look beyond the device, reconstruct the sequence.
The pages of this topic
Back to the overviewAnti-forensics: tools
The tools for recognising anti-forensics: forensic suites, tools for the MFT, Prefetch, events and registry, access to shadow copies, entropy analysis, steganography detection, checking hidden disk areas, recovery from unallocated space.
Anti-forensics: mistakes to avoid
The most common mistakes when facing anti-forensics: switching off an encrypted computer, trusting file dates, taking the absence of traces for innocence, confusing the tool with guilt, attributing intentions, forgetting the cloud, waiting too long.
Anti-forensics: value in court
The legal relevance of anti-forensics under Italian law: lawfulness of encryption and cleaning, deletions after proceedings begin, procedural fraud, damage to other people’s data, a party’s conduct in civil proceedings, passwords and the right to silence, non-repeatable examinations.
Anti-forensics: a case
A guided case: in an online fraud investigation a laptop looks clean; Prefetch, the NTFS change journal, the security log and shadow copies show when and how it was cleaned and give back the deleted history.
Anti-forensics: checklist
The checklist for recognising and documenting anti-forensics: fast acquisition and device state, search for tools, timestamp comparison, logs, copies and external sources, conclusions and limits.
Anti-forensics: frequently asked questions
Short answers to the most common questions about anti-forensics and recovering traces.