Analysis · Overview

Anti-forensics: how to recognise secure deletion, altered dates, cleared logs and hidden data

The techniques used to hinder a forensic analysis and the traces they leave: secure deletion, cleaning programs, timestamp tampering, clearing Windows logs, deleted shadow copies, encryption, hidden data, amnesic systems, phone resets; procedure, tools, mistakes, value in court, a case, checklist and frequently asked questions.

Anti-forensics means the techniques used to destroy, hide or falsify digital traces and obstruct an analysis: programs that overwrite files, history cleaners, tools that change dates, cleared system logs, encrypted disks, operating systems that leave no trace. Some have entirely legitimate uses: encryption protects confidentiality, secure deletion is useful before selling a computer. They become a problem when used to withhold evidence from proceedings.

For the analyst, the most useful rule is that these techniques almost always leave a mark: the program used, the time it ran, a gap where data should be. A computer used every day with no history at all, or a system log that stops on the evening a notice was served, tell a story of their own.

26times Microsoft’s SDelete tool renames a file before deleting it, leaving a recognisable sequence
1102number of the event with which Windows records the clearing of the security log
72 hoursinactivity after which, since iOS 18.1, a locked iPhone restarts by itself, making data extraction harder

Families of techniques

Destruction
Overwriting files, cleaning histories, formatting, factory resets.
Concealment
Encryption, hidden containers, NTFS alternate data streams, hidden disk areas, steganography.
Falsification
Altered file dates, modified logs, changed extensions.
Evasion
Amnesic systems such as Tails, virtual machines, private browsing, disappearing messages.
Disruption
Large volumes of junk files and tricks that slow down or confuse analysis tools.

Traces are sought above all in the Windows registry and put in order with a forensic timeline; for what survives a deletion see deleted file recovery. The basic entries are anti-forensics and secure deletion.

Anti-forensics

The pages of this topic

01 How it works

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.

02 Step-by-step procedure

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.

03 Tools

Anti-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.

04 Pitfalls to avoid

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.

05 Value in court

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.

06 Case study

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.

07 Checklist

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.

08 FAQ

Anti-forensics: frequently asked questions

Short answers to the most common questions about anti-forensics and recovering traces.

↑