Lesson 0.2

DFIR in 15 minutes

Digital forensics and incident response explained for IT people: the incident lifecycle, artifacts, timelines, ATT&CK and the kill chain, in plain language.

15 minNew to DFIR
At a glance for experienced analysts
  • Skip this lesson if you already work in DFIR. It explains the vocabulary the rest of the course uses.
  • Key terms: artifact, evidence item (one host), event type (one parser's records), verdict, indicator, kill chain, ATT&CK technique.

What DFIR is

Digital forensics and incident response (DFIR) is the work of finding out what happened on computers after something went wrong, and acting on it.

  • Incident response is the urgent part: contain the damage, get the business running, stop it happening again.
  • Digital forensics is the careful part: establish from evidence exactly what happened, in a way that holds up when someone checks it.

You need both. Rebuilding a hacked server without investigating can wipe the only evidence of how the attacker got in, and leave the way open for them to come back.

The incident lifecycle

Most organisations follow some version of the NIST incident response cycle:

  1. Prepare. Tools, access and plans in place before anything happens. Having Arcsentry installed counts.
  2. Detect and analyse. Something triggers concern; you collect evidence and find out what happened. This is most of this course.
  3. Contain, eradicate and recover. Isolate hosts, remove persistence, reset accounts, restore systems.
  4. Learn. Write up what happened and fix what let it happen.

Artifacts: the traces systems leave

Computers record far more than most people realise. An artifact is any trace left as a side effect of activity:

  • Windows keeps a Prefetch file for programs that ran.
  • The registry remembers folders a user opened (Shellbags).
  • Linux writes logons to auth.log.
  • Web servers log every request.

No single artifact tells the whole story, and each has limits. Prefetch shows a program ran, not who ran it. The artifact library explains each one: what it records, what it proves and what it does not.

Arcsentry reads 576 kinds of artifact. Each parser turns one kind into records with the same columns, called an event type. All of them share a timestamp, which is how they end up on one timeline.

Timelines

Put every timestamped record from every source in order, and the incident becomes a story:

  • failed logons;
  • then a successful one;
  • then a new service;
  • then a large archive being created.

Building and reading that timeline is the core skill of DFIR.

ATT&CK and the kill chain

Two shared vocabularies describe attacker behaviour:

  • MITRE ATT&CK is a catalogue of techniques with IDs. For example, T1021.001 is Remote Desktop Protocol used for lateral movement.
  • The kill chain groups activity into stages: reconnaissance, initial access, execution, persistence, privilege escalation, lateral movement, collection and exfiltration.

Arcsentry labels findings with both, so the dashboard and timeline show which stages an attack reached.

The words used in this course

Term Meaning
Case One investigation: its evidence, findings and notes
Evidence item One host’s collection, archive or image in a case
Event One record from one parser, such as one logon or one web request
Verdict Your judgement on an event: malicious, suspicious or legitimate
Indicator A value worth tracking across hosts: an address, account, file name or hash
Collection The set of files gathered from a host, sealed in an archive

Check yourself

1. A Prefetch file shows a program ran on a Windows host. What kind of thing is it?
2. Which question does an initial-access investigation answer?

Try it

Write down the five questions an investigation answers, from memory, in order.

Show the answer

How did they get in? What did they run, and as whom? What did they leave behind? Where did they go next? What did they take?

Progress is saved in this browser only.