Anti-Forensics - You Are Doing It Wrong (Believe Me, I'm An IR Consultant)
Where
Talks
hack.lu 2025
Duration
28 min
Shows how forensic artifacts still expose attackers who try to erase their traces on Windows and Linux.
Summary
An incident response consultant argues that attackers who delete files, logs and tools often leave evidence in places they overlook. On Windows, the talk starts with the NTFS master file table, where entries for a deleted rclone configuration file still held credentials for an exfiltration server in a real case. The USN journal recorded an LSASS dump being written and then deleted minutes later, and the System Resource Usage Monitor database showed network activity from an exfiltration tool that never appeared on disk.
The talk then covers further artifacts. PowerShell console history is stored in a plain text file that can survive attempts to remove it, and RDP bitmap cache tiles can reveal staging folders, tool names and IP addresses. On Linux, clearing the kernel ring buffer with dmesg leaves kern.log and the journal intact, while vacuuming the journal generates its own log entry noting that it was cleared. The speaker stresses that each cleanup action can trigger another artifact.
The practical takeaway is to baseline your environment so that rare actions stand out, such as fsutil deleting the USN journal, clearing PowerShell history or vacuuming the journal, and to search for keywords across every log source rather than trusting one. In the Q&A, the speaker said that detecting deletion from memory without standard binaries is harder, and that even advanced groups make mistakes.
Related talks
Talks·29 min
Stephan Berger
Surveys Linux rootkit techniques from LD_PRELOAD hooks to eBPF and shows how responders can spot them.
Talks·31 min
Stephan Berger
Walks through triaging large enterprise intrusions with forensic agents, log dashboards and shortcuts for finding attacker footholds.
Talks·28 min
Hilko Bengen
Explains how Linux detection and response can work with auditd-based logging and open tooling instead of a commercial EDR.


