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

Every technique leaves a mark

TechniqueWhat it doesWhat trace it leaves
Secure deletionOverwrites file contentThe program’s execution in Prefetch and the registry; names renamed in sequence in the NTFS change journal
Cleaning programsDelete histories, temporary files, recent document listsThe program’s registry keys and settings; abnormal gaps in histories
Timestamp tamperingChanges creation and modification datesInconsistencies between the MFT’s $STANDARD_INFORMATION and $FILE_NAME dates, zeroed fractions of a second
Clearing logsDeletes Windows eventsEvent 1102 in the security log, event 104 in the system log
Deleting shadow copiesRemoves previous versions of filesCommands and service events recorded; typical of ransomware
EncryptionMakes disks or containers unreadableHigh-entropy files, installed programs, recovery keys stored elsewhere
Hidden dataNTFS alternate data streams, HPA and DCO disk areas, steganographyVisible with specific tools and size comparisons
Phone resetErases the user’s dataDate 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.

Continue with
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.

The pages of this topic

Back to the overview
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.

↑