Glossary term

What is DFIR (digital forensics and incident response)?

DFIR combines incident response, which contains and recovers from an attack, with digital forensics, which collects and analyzes its evidence.

Updated Nov 26, 20264 min read

DFIR, short for digital forensics and incident response, is the cybersecurity practice that combines responding to an attack with investigating it. Incident response contains the threat and restores operations; digital forensics collects and analyzes the evidence of what happened, how and by whom. The shared goal: end the incident and understand it well enough that it doesn't recur.

How DFIR works

Most organizations run incident response as a defined process, from preparation through recovery and lessons learned. In DFIR, forensic work runs alongside that process. While responders isolate hosts, reset credentials and block attacker infrastructure, forensic analysts follow a sequence close to the one described in NIST SP 800-86, NIST's guide to integrating forensic techniques into incident response :

How forensic analysts work during an incident
  1. 1
    Identify

    The sources that may hold evidence: endpoints, servers, cloud and identity logs, network devices.

  2. 2
    Preserve and collect

    The data, most volatile first. RFC 3227, the IETF's guidelines for evidence collection and archiving, sets that order of volatility: memory and running processes before disk, since memory is lost at shutdown.

  3. 3
    Examine and analyze

    Disk images, memory captures, logs and network traffic to rebuild a timeline: initial access, persistence, lateral movement, data touched.

  4. 4
    Report

    The findings in a form responders, managers and, if needed, lawyers can use.

Each item collected is hashed and recorded in a chain of custody: who collected it, when, from where, and who has handled it since. That record lets findings stand up in court or in an insurance claim. The timeline also guides containment: it tells responders which accounts, hosts and persistence mechanisms to remove, so they clean up the whole intrusion rather than the single alert that started it.

Digital forensics vs incident response

The two halves of DFIR answer different questions and work to different clocks.

Aspect

Digital forensics

Incident response

Main question

What happened, how, by whom, and how far did it go?

How do we stop it and recover?

Priority

Preserve evidence intact

Restore operations fast

Typical work

Disk and memory imaging, log analysis, timeline reconstruction

Containment, eradication, recovery, communication

Output

Timeline, scope, evidence record

Restored systems, closed incident, lessons learned

The clash shows when a compromised server is wiped and rebuilt before anyone images it. Service comes back, but the evidence of how the attacker got in, and where else they went, is gone. If persistence remains on another system, the attacker can return. DFIR teams settle this in their playbooks before an incident: which systems to image or snapshot before rebuilding, and who decides when speed wins.

Why DFIR matters

Internal incident response teams and SOCs run DFIR on their own incidents. Many organizations also keep a retainer with an external DFIR provider for incidents beyond in-house capacity. Legal counsel and cyber insurers rely on forensic findings to assess liability, notification duties and claims.

DFIR solves four practical problems:

  • Accurate scoping. Knowing which systems and data were touched decides what to contain and what to report.
  • Avoiding reinfection. Removing every persistence mechanism found in the timeline closes the access the attacker left behind.
  • Regulatory reporting. Deadlines such as the 72 hours that Article 33 of the GDPR gives a controller to notify a personal data breach, where feasible, after becoming aware of it, require facts gathered fast and documented well.
  • Better detection. Indicators of compromise and attack techniques found during the investigation feed detection rules and cyber threat intelligence, so the next attempt is caught earlier.

How Filigran helps

OpenCTI is Filigran's open-source threat intelligence platform: it unifies, operationalizes and prioritizes threat intelligence. Incident response cases in OpenCTI gather observables, indicators, threats and tasks in one place, so forensic findings sit next to their threat context: see how to manage incident response cases in OpenCTI.

Try OpenCTI on the XTM Hub.

FAQ

What does DFIR stand for?

Digital forensics and incident response. The term names the field as well as the teams and roles that practice it.

What does a DFIR analyst do?

A DFIR analyst collects and analyzes evidence during and after an incident: imaging disks and memory, reviewing logs and building the attack timeline. They advise responders on what to contain and document findings for reports, legal teams or insurers.

What tools do DFIR teams use?

DFIR tools fall into a few categories: disk and memory forensics tools that acquire and examine images, log analysis tools for reconstructing activity across systems, and case management platforms that track evidence, tasks and findings.

Is DFIR part of a SOC?

It depends on the organization. Many SOCs handle triage and first response, then escalate to a dedicated incident response or DFIR team, internal or on retainer; larger SOCs may include DFIR analysts directly. For the response side, follow the incident response basics track.