What is DFIR? Digital forensics and incident response explained
DFIR stands for digital forensics and incident response: the work of investigating a security incident on computers and networks, establishing what happened from the evidence, and using that to contain the attacker, recover and prevent a repeat. Digital forensics answers "what happened?"; incident response decides "what do we do about it?".
What DFIR means
The two halves of DFIR grew up separately. Digital forensics came from law enforcement: recovering and analysing evidence from computers in a way that a court could rely on. Incident response came from security operations: the organised process of handling an attack, from the first alert to recovery. As intrusions became the main reason organisations needed forensics, the two merged into one practice, because you cannot respond well to an incident you have not investigated, and an investigation without a response leaves the attacker in place.
In a company setting, DFIR usually means the team, internal or hired, that is called when something has gone wrong: ransomware, a compromised mailbox, a server talking to an unknown address, a former employee taking data. Their job is to establish the facts fast and accurately enough that decisions about containment, notification and recovery can be made on evidence rather than guesses.
Digital forensics vs incident response
| Digital forensics | Incident response | |
|---|---|---|
| Main question | What happened, how, when, and what was affected? | How do we stop it, recover and prevent a repeat? |
| Works on | Evidence: logs, disks, artifacts, memory, network records | Systems and people: accounts, hosts, firewalls, communications |
| Output | A timeline, findings with supporting evidence, indicators | Containment, eradication, recovery, lessons learned |
| Pace | As careful as the evidence demands | As fast as the business needs |
| Standard of proof | Findings must be repeatable and defensible | Decisions must be timely and proportionate |
The tension between the two columns is the daily reality of DFIR work. Responders want to isolate hosts and reset passwords now; investigators want the evidence collected first, because a reboot or a reimage destroys it. The usual answer is the order of volatility: collect the short-lived evidence in minutes, then act.
The DFIR process
Most organisations follow a lifecycle based on NIST SP 800-61, the US standard for incident handling (its 2025 revision maps the process onto the NIST Cybersecurity Framework 2.0), or on the SANS six-step model. In practice the steps look like this:
- Preparation. Logging and audit policy set before anything happens, collection tools ready, contacts and authority agreed, a plan written down.
- Detection and scoping. An alert, a user report or a third party raises the alarm. The first question is how far it goes: which hosts, accounts and data.
- Collection and preservation. Evidence is gathered from the affected systems, starting with what disappears fastest, and hashed so its integrity can be shown later.
- Analysis. The evidence is examined to rebuild what happened: how the attacker got in, what they did, where they went, what they took, and whether they are still there.
- Containment. Access is cut off: accounts disabled, hosts isolated, remote access closed, based on what the analysis found.
- Eradication and recovery. Persistence is removed, systems are rebuilt or cleaned, and services return to normal, with monitoring for the attacker's indicators.
- Lessons learned. A report records the cause, the timeline and the fixes, and the gaps in logging or tooling that slowed the work.
The steps overlap: analysis continues during containment, and new findings often widen the scope. The incident response tools guide maps the tools used at each step.
What DFIR analysts examine
Most of the evidence in a modern investigation is created by the operating system for its own reasons, not for security. That is why attackers forget it, and why knowing what each forensic artifact records is most of the craft:
| Source | Examples | What it answers |
|---|---|---|
| Windows event logs | 4624 logons, 4688 processes, 7045 services, RDP logs | Who logged on, from where; what ran; what persisted |
| File system metadata | $MFT, USN Journal | Which files were created, changed or deleted, and when |
| Execution artifacts | Prefetch, Amcache, BAM, SRUM | Which programs ran, how often, how much data they moved |
| Registry | NTUSER.DAT, Run keys, services, the SAM | What a user did, what starts automatically, which accounts exist |
| Linux logs and files | Login records, shell history, cron, auditd | SSH access, commands, persistence |
| Network and cloud | Firewall, proxy, DNS, VPN, cloud audit logs | Connections in and out, identity provider sign-ins |
| Memory | A RAM capture of a running host | Running malware, injected code, keys and connections at that moment |
Investigations increasingly start with a triage collection of these artifacts from many hosts at once, which takes minutes, rather than a full forensic image of one disk, which takes hours.
What a DFIR analyst does
Day to day, a DFIR analyst collects evidence from affected systems, builds a timeline of what happened, follows each lead (an address, an account, a file) across hosts, separates the malicious from the merely unusual, and writes it up for people who have to act on it: IT, management, lawyers, insurers or regulators. Between incidents the same people improve logging, practise on test cases, write detections from what they found and hunt for activity that alerts missed.
The skills that matter most are a working knowledge of how Windows and Linux record activity, a habit of checking every conclusion against a second source, and the ability to explain a finding plainly with its limits. Certifications such as SANS GIAC and vendor training help, but nothing replaces working real cases or realistic lab ones. Good analysts also keep notes as they go, recording each query, each source and each conclusion, so the final report can be checked line by line and a colleague can pick up the case midway.
The golden rule: preserve before you change anything
If DFIR has one rule, it is to preserve evidence before acting on the system it lives on, and never to work on the only copy. Rebooting a host clears its memory and running state; "cleaning up" malware deletes the files that showed how it got there; reimaging a laptop removes every artifact at once. Collect first, record hashes and what you did (chain of custody), and analyse the copy. The second rule follows from the first: write down what you did and why, as you do it, so someone else can check your work.
DFIR vs SOC
A security operations centre (SOC) watches for threats continuously and triages alerts: is this real, and how urgent? DFIR takes over when the answer is "real and serious", and goes deep on one incident: full scope, root cause, attacker activity across every affected system. In smaller organisations the same people do both, and the IT team often does both without either label. The line matters mainly for staffing and tooling: SOC work is breadth and speed across many alerts, DFIR work is depth and accuracy on one case.
Common DFIR cases
- Ransomware. How the attacker got in, how long they were there, what they took before encrypting, and whether they can come back. See ransomware investigation.
- Compromised accounts and lateral movement. A stolen password used across hosts; the task is to trace every hop. See lateral movement evidence.
- Business email compromise. A mailbox taken over to redirect payments; the evidence is in sign-in and mailbox audit logs.
- Insider data theft. A departing employee copying data; USB, cloud sync and email evidence.
- Compromise assessment. No known incident, but a need to know whether an attacker is present: a sweep of many hosts for indicators of compromise.
DFIR tools and technologies
| Category | What it does in DFIR | Examples of the type |
|---|---|---|
| Collection tools | Gather triage evidence or full images from hosts, live or offline | Triage collectors, KAPE, Velociraptor, disk imagers |
| Investigation workbenches | Parse the evidence from many hosts into one searchable case with a timeline | Arcsentry and similar case-based platforms |
| Forensic suites | Deep analysis of disk images: file recovery, carving, keyword search | EnCase, FTK, Autopsy |
| Artifact parsers | Turn one artifact type into readable records | Eric Zimmerman's tools, Plaso |
| Memory analysis | Examine RAM captures for running and injected code | Volatility |
| SIEM and EDR | Hold forwarded logs and endpoint telemetry; often where the alert came from | Log platforms, endpoint agents |
| Case and evidence management | Track tasks, findings, evidence and chain of custody | Ticketing and case tools |
No single tool covers everything, and most teams combine a collector, a place to analyse many hosts together and a deep-dive suite for the few disks that need it. The incident response tools guide and the digital forensics software comparison go through the options.
DFIR challenges today
- Scale. Incidents now span dozens or hundreds of hosts, cloud tenants and identity providers. Imaging every disk is no longer possible, so triage and prioritisation matter more than ever.
- Retention. Logs roll over in days on busy machines, and many organisations discover their audit policy only after an incident. Evidence that was never recorded cannot be found.
- Encryption and cloud. Full-disk encryption, ephemeral virtual machines and software-as-a-service mean the evidence is often held by a platform, available only through its audit logs and APIs.
- Anti-forensics. Attackers clear logs, delete tools and timestomp files, and increasingly use built-in tools that look like administration.
- Speed against accuracy. The business needs answers in hours; defensible findings need care. Automation, including AI-assisted analysis, helps most when every conclusion stays tied to the evidence behind it so a person can check it.
A DFIR investigation, start to finish
In one of our lab cases, the Halden Freight office intrusion, an attacker guessed a user's password on a Windows workstation from 10.211.55.2, took over the logged-on desktop over Remote Desktop, created a local administrator account, installed a Run key, a service and a scheduled task pointing at the same script, archived and tried to upload a finance file, then moved to a second workstation over RDP and cleared their PowerShell history. The two hosts held 1,483,734 events across event logs, file system records and registry artifacts.
The investigation rebuilt that sequence to the second, across both hosts, with 39 malicious and 2 suspicious findings and 16 indicators, each tied to the records that support it. Arcsentry's AI investigator did the first pass in about 15 minutes, working through the evidence as an analyst would and citing every event it relied on, for an analyst to review. That is DFIR in miniature: evidence collected before anything was changed, a timeline, findings with their sources, and indicators that tell you where else to look.
Frequently asked
What does DFIR stand for?
Digital forensics and incident response: investigating security incidents from the evidence on computers and networks, and using the findings to contain, recover from and prevent them.
What is the difference between digital forensics and incident response?
Digital forensics establishes what happened from the evidence. Incident response is the process of handling the incident: containment, eradication, recovery and lessons learned. DFIR combines them because each depends on the other.
What does a DFIR analyst do?
Collects evidence from affected systems, builds a timeline, traces the attacker across hosts and accounts, separates malicious from normal activity, and reports findings with their supporting evidence so others can act on them.
What is the golden rule of digital forensics?
Preserve the evidence before changing anything, and never work on the only copy. Collect first, record hashes and actions, then analyse the copy.
What is the difference between DFIR and a SOC?
A SOC monitors continuously and triages alerts across the whole environment. DFIR investigates confirmed incidents in depth: scope, root cause and full attacker activity. Small teams often do both.
What is a DFIR report?
The written result of an investigation: what happened, how the attacker got in, what they did and accessed, the timeline, the evidence behind each finding, indicators of compromise, and recommendations. The name is also used by The DFIR Report, a site that publishes detailed public intrusion write-ups.
Is DFIR part of cyber security?
Yes. DFIR is the specialism within cyber security that investigates incidents after they happen, alongside prevention (hardening, identity, patching) and detection (SOC monitoring, EDR, SIEM). Its findings feed back into both.
What are the steps of incident response?
Preparation, detection and scoping, collection and preservation, analysis, containment, eradication and recovery, and lessons learned, following NIST SP 800-61 or the SANS six-step model. The steps overlap in practice.
Sources
- NIST SP 800-61 Revision 3: Incident Response Recommendations and Considerations for Cybersecurity Risk Management (2025)
- RFC 3227: Guidelines for Evidence Collection and Archiving (2002)
- MITRE ATT&CK
- Venema Labs lab case: Halden Freight office intrusion
Checked 2 December 2026 by Venema Labs.
See a DFIR investigation run end to end
Tell us what you want to investigate. A person replies within one business day with the download and a trial licence.
Request a trial