Lesson 1 of 9 · 24m
First Response: Preserve Before You Investigate
Make the first-hour decisions that protect volatile evidence, avoid contamination, and preserve enough context for later analysis.
The worst forensic mistakes happen before anyone opens an analysis tool. A helpful administrator logs in, clicks around, copies a suspicious file to a desktop, reboots the host "to be safe," and destroys half the evidence they meant to preserve. First response is not investigation. It is controlled preservation under pressure.
The first question: what is still changing?
Digital evidence is perishable, but not equally perishable. Think in decay order:
CPU state, live network connections seconds
process memory, open handles minutes
logged-in sessions, mounted volumes minutes to hours
system logs, application logs hours to days
file contents and filesystem metadata days to months
backups, exports, cloud audit trails retention-dependentIf the machine is running, memory and network state may matter more than the convenience of pulling the plug. If ransomware is actively encrypting user files, containment may matter more than perfect memory capture. There is no universal answer; there is only a documented decision with tradeoffs.
Do not use the evidence system as your workstation
Every command you run can alter access times, shell history, logs, memory, and sometimes the very artifacts you want. Resist the urge to browse directories or double-click malware. Use a known-good toolkit from external media, record the exact commands, and redirect output to evidence storage — not back to the victim disk.
date -u
hostname
ip addr
ss -tulpen
ps auxww
lsof -nPThose commands are triage, not forensic acquisition. They can help decide urgency, but they are not a substitute for memory capture or disk imaging.
Isolate carefully, not theatrically
Pulling the network cable can stop attacker access, but it can also trigger anti-forensics, dead-man switches, or cloud key retrieval failure. Host isolation through EDR, a switch quarantine VLAN, or firewall rule often preserves more context. Photograph the physical state: powered on or off, cables, attached drives, screens, and asset tags.
Capture context before collection
Write down the time source, local time versus UTC, who reported the issue, what actions already occurred, and which accounts or systems may be involved. A surprising number of cases collapse later because nobody recorded that a help desk technician rebooted the machine before the forensic team arrived.
Field notes
- Do not log into a suspect account "just to look"; authentication creates artifacts and may invalidate later attribution.
- Photograph before touching, even when the answer seems obvious. Memory of a screen is not evidence.
- Record every action in near-real time, including failures. Gaps invite accusations of selective collection.
- Never image onto media that already contains case data. Cross-contamination is a real courtroom problem.
- If encryption is in use, a powered-off machine may be materially less recoverable than a live one.
Was this lesson helpful?