Anti-Forensics
Techniques intended to prevent, mislead or complicate forensic examination: securely wiping data, clearing or disabling logs, timestomping to falsify timestamps, packing and obfuscating executables, hiding data in slack space or alternate data streams, and living entirely in memory to avoid touching disk. Recognising it is examined in GCFA, CHFI, GREM and CySA+ domains.
Why It Matters
In practice the most useful thing to know is that anti-forensics is itself evidence, because most techniques leave their own traces: log clearing raises a Windows 1102 event, wiping tools leave installation and execution artefacts in prefetch, registry and shimcache, and timestomping usually desynchronises the MFT's Standard Information and Filename attributes. So an investigator who cannot recover the destroyed content can often still evidence the destruction and, in many jurisdictions, spoliation is itself significant. The design implication is architectural rather than technical: forward logs off the host in real time, because an attacker who owns a machine can always clear its local logs, and centrally held copies are what survive. Fileless and memory-only tradecraft is the variant that most directly defeats disk forensics, which is precisely why memory acquisition sits high in the order of volatility. On exams such as GCFA and CHFI, expect questions on detecting timestomping and on which artefacts survive log clearing.
Practice this topic
Test your knowledge of Anti-Forensics concepts with exam-style practice questions.
Related Forensics terms
Digital Forensics
The scientific examination, collection, preservation, and analysis of digital evidence from computers, networks, mobile devices, and cloud environments for use in legal proceedings, incident response, or investigations. The forensic process follows strict procedures: identification, preservation (maintaining chain of custody), collection (creating forensic images), examination, analysis, and reporting. Key principles include working from forensic copies (never the original), documenting every action, and maintaining evidence integrity through cryptographic hashing. Tools include EnCase, FTK, Autopsy, and Volatility. Digital forensics is the focus of CHFI, GCFA, and GNFA certifications and is covered in CISSP Domain 7.
Chain of Custody
The documented and unbroken process of maintaining and controlling evidence to preserve its integrity and admissibility from the moment of collection through presentation in court. Every person who handles the evidence must be documented with dates, times, actions taken, and the reason for access. Any gap or irregularity in the chain of custody can cause evidence to be deemed inadmissible. In digital forensics, chain of custody includes hash verification at each transfer point, write-blocking during acquisition, and tamper-evident storage. This concept is critical for forensic examiners and is tested in CHFI, GCFA, and CISSP Domain 7 certifications.
Volatile Memory
Computer memory (RAM) that loses its contents when power is removed, making it a time-critical source of forensic evidence that must be captured before a system is shut down. Volatile memory contains running processes, open network connections, encryption keys, clipboard contents, logged-in users, and malware that may exist only in memory (fileless malware). Memory acquisition tools include FTK Imager, WinPmem, and LiME (Linux Memory Extractor), while analysis is performed with Volatility Framework or Rekall. The order of volatility (RFC 3227) dictates that RAM should be captured before disk, network, or other evidence. Memory forensics is a key skill in GCFA, CHFI, and incident response certifications.
Log Analysis
The examination of system, application, network, and security logs to identify security events, anomalies, policy violations, or evidence of attacks. Logs are generated by operating systems, firewalls, web servers, authentication systems, databases, and cloud services. Effective log analysis involves centralization (forwarding logs to a SIEM), normalization (standardizing formats), correlation (linking related events across sources), and alerting on suspicious patterns. Key log sources include Windows Event Logs, syslog, Apache/Nginx access logs, and cloud audit trails (AWS CloudTrail, Azure Activity Log). Log analysis is a core skill for SOC analysts and is tested in CySA+, CISSP, and GCIH certifications.
Memory Forensics
The forensic analysis of volatile memory (RAM) to extract evidence of malware, network connections, running processes, encryption keys, and other artifacts that may not be preserved on disk. Memory analysis can reveal malware that exists only in memory, decrypt encrypted volumes using keys in memory, and recover recently accessed data. Tools like Volatility, Rekall, and commercial memory analysis platforms enable automated analysis of memory dumps. Memory forensics is particularly valuable for analyzing advanced malware and rootkits that hide from traditional disk-based analysis.
Order of Volatility
The principle that digital evidence must be collected from most to least perishable, because acquiring one source can destroy another. The conventional order runs CPU registers and cache, then RAM, then network state and running processes, then temporary files, then disk, then remote logging and archival media. It governs live acquisition decisions in incident response and is examined in GCFA, GNFA, CHFI and CySA+ forensics domains.