What DFIR is, and where it sits in blue-team work
Digital forensics and incident response explained without jargon — the phases, the questions each phase answers, and how it relates to SOC and red-team work.
DFIR stands for digital forensics and incident response. The two halves answer different questions.
- Incident response asks what do we do now? Contain the attacker, protect what is left, restore service.
- Digital forensics asks what exactly happened, and can we prove it? Which machine was hit first, how the attacker got in, what they touched, what left the network.
Both work on the same evidence, but forensics has a stricter standard: every conclusion has to trace back to a specific record in a specific file, and the file has to be shown unchanged since it was collected.
Where DFIR sits in blue-team work
"Blue team" is the defensive side of security. Its work splits roughly into three jobs:
| Function | Main question | Typical output |
|---|---|---|
| Security operations (SOC) | Is something bad happening right now? | Alerts, triage decisions, escalations |
| Incident response and forensics (DFIR) | What happened, how far did it go, how do we recover? | Timeline, scope, root cause, report |
| Threat hunting | Is something bad happening that no alert caught? | New detections, findings |
Red teams attack on purpose to test the defence. Their findings flow back into detections and into the questions DFIR asks during real cases.
The phases of an incident
NIST SP 800-61 describes incident handling as a cycle. In practice an investigation moves through these steps, often in loops:
- Preparation. Logging switched on and retained, contact list, a retainer with a response team, a plan for who decides what.
- Detection and scoping. Something was noticed. Which systems and accounts are involved, and since when?
- Collection. Preserve evidence before it changes: memory first, then logs and disk artefacts, then full images where needed.
- Analysis. Build the timeline, find initial access, persistence, lateral movement and data access.
- Containment, eradication, recovery. Cut the attacker's access, remove what they left, restore from trusted sources.
- Lessons learned. Report, fix the gaps that allowed the intrusion, improve detection.
What a good investigation produces
- A timeline in UTC with every important step and the evidence behind it.
- The initial access vector and dwell time (first access to detection).
- The scope: hosts, accounts and data affected, and just as important, what was checked and found clean.
- Indicators (addresses, domains, hashes) to block and hunt for.
- Recommendations ordered by urgency.
- A chain of custody showing the evidence was handled correctly.
VamiBlue is built around these outputs: every finding links to the events behind it, every event links to the tool run and the sealed evidence file it came from.