DML School of Technology
Menu

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:

  1. CPU registers and cache (rarely collected outside labs);
  2. memory (running programs, network connections, sometimes keys);
  3. network state (current connections, routing tables);
  4. running processes;
  5. disk contents;
  6. remote logs and monitoring data;
  7. 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.