All Glossaries
1
min read
Table of Contents

Digital Forensics and Incident Response (DFIR)

What is DFIR?

Digital forensics and incident response (DFIR) combines two related disciplines. Digital forensics is the careful collection and analysis of evidence from systems, logs and networks to establish exactly what happened. Incident response is the process of containing an attack, removing the attacker and restoring normal operations. Together they answer: what happened, how far did it spread, is it over and how do we stop it happening again?

What does the DFIR process look like?

  • Preparation: Playbooks, tools, logging and retention in place before anything happens.
  • Detection and analysis: Confirm the incident, scope it and identify affected systems.
  • Containment: Stop the spread, for example by isolating hosts or disabling accounts.
  • Eradication: Remove malware, persistence and attacker access.
  • Recovery: Restore systems and monitor for return.
  • Lessons learned: Fix root causes and improve detections and playbooks.

This structure follows widely used incident handling guidance, such as NIST's.

Why does log history matter for forensics?

Forensics depends on evidence that exists from before the incident was noticed. Attackers often go undetected for weeks or months, so answering "when did they first get in?" requires searching data from long before the first alert. If authentication, endpoint, DNS or proxy logs were only kept for 30 days, that answer may be lost. Full-fidelity, searchable history is one of the most valuable things a SOC can have during an investigation. See fast search across full-fidelity data.

Key forensic principles

  • Preserve evidence before changing systems wherever possible.
  • Collect the most volatile data first, such as memory and network connections, before disk and logs.
  • Keep a chain of custody, recording who handled each piece of evidence and when.
  • Work on copies, not original evidence.
  • Document everything, because findings may be needed for legal, regulatory or insurance purposes.

Frequently asked questions

What is the difference between DFIR and TDIR?

TDIR (threat detection, investigation and response) describes the SOC's day-to-day workflow from alert to resolution. DFIR focuses on deep investigation and evidence handling for significant incidents.

Do we need a dedicated DFIR team?

Many organizations keep a small internal capability and use an incident response retainer with a specialist firm for major incidents.

Anomali and Digital Forensics and Incident Response (DFIR)

The Anomali Unified Security Data Lake keeps full-fidelity telemetry searchable over long periods, giving investigators the history they need to scope incidents back to first access.

Request a demo to see forensic search in Anomali.

Read next

‍