Course contentsShow
← Security
Lesson 2407 of 3,05246. Incident ResponseFree lesson

Anti-Forensics Detection and Encrypted Volumes

Identify anti-forensics techniques like timestomping, wiping, and handle encrypted volumes using BitLocker, LUKS, and VeraCrypt analysis.

Anti-Forensics Detection and Encrypted Volumes

What you'll learn: How to identify when adversaries have tried to hide or destroy evidence using anti-forensics techniques, and how to analyze encrypted volumes encountered during incident response.

The Challenge

Sophisticated threat actors don't just attack—they cover their tracks. Anti-forensics techniques are methods attackers use to make investigation harder, slower, or impossible. You're essentially a detective looking for signs that evidence has been tampered with or hidden.

Common Anti-Forensics Techniques

Timestomping

Attackers modify file timestamps (creation, modification, access times) to make malicious files blend in or appear older than they are. Detection: Look for inconsistencies between $STANDARD_INFORMATION and $FILE_NAME timestamps in NTFS—these should match, but timestomping only changes one. Check journal entries and $USNJrnl for the original times.

File Wiping

Secure deletion tools overwrite data multiple times before deleting. Detection: Identify wiping tool artifacts (Prefetch entries for sdelete.exe, CCleaner, BleachBit). Look for suspicious gaps in user activity timelines or missing expected artifacts.

Log Clearing

Attackers delete Windows Event Logs or syslog entries. Detection: Event ID 1102 (Windows audit log cleared), sudden timeline gaps, or evidence of log management tools being run.

Encrypted Volume Analysis

Encrypted volumes (BitLocker, LUKS, VeraCrypt) present a barrier but not always an insurmountable one.

Recovery approaches:

  • Memory forensics: Extract encryption keys from RAM if the volume was mounted
  • Recovery key capture: BitLocker keys may be escrowed to Active Directory or backed up
  • Hibernation files: May contain keys from suspended encrypted volumes
  • Legal leverage: Request passwords through lawful means when appropriate

Think of encryption like a locked safe—you need the key, but sometimes the key is lying around in memory or documented elsewhere.

Key Takeaway: Anti-forensics detection requires looking for anomalies in metadata, timelines, and artifacts that suggest tampering, while encrypted volume analysis often depends on memory forensics and key recovery from alternate sources rather than breaking encryption directly.