Open to everyone Reading, lesson 80 of 100, 2 min read
Evidence and digital forensics
Evidence you may need later
After an incident you may need to prove what happened: to leadership, insurers, regulators, or a court. Digital forensics is the careful collection and analysis of that evidence.
Order of volatility
Some evidence disappears quickly. Collect the most volatile first:
- CPU registers and cache (rarely collected outside labs);
- memory (running programs, network connections, sometimes keys);
- network state (current connections, routing tables);
- running processes;
- disk contents;
- remote logs and monitoring data;
- backups and archives.
Turning a machine off destroys memory evidence. Unless instructed otherwise, isolate from the network but leave it running, and call people trained to collect memory.
Chain of custody
A chain of custody record shows who collected each item of evidence, when, how, where it was stored and everyone who handled it since. Without it, evidence can be challenged.
For each item, record:
- what it is (laptop serial number, disk image file name);
- date, time and who collected it;
- its hash at collection (for files and disk images);
- every transfer, with signatures.
Work on copies
Investigators make a forensic image (an exact bit-for-bit copy) of a disk, confirm the hash matches the original, then analyse the copy. A write blocker stops the analysis machine from changing the original disk by accident.
What first responders should do
You may not be a forensic investigator, but your first actions matter:
- write down what you saw and did, with times;
- take photos of screens and ransom notes;
- do not run antivirus scans or "clean up" before evidence is collected, unless containment demands it;
- keep suspicious emails as attachments, not screenshots alone.
Note
Forensics is a specialist career. Module 12 lists where to learn more.