Module 17 · Digital Forensics · Lesson 49 of 75
Forensic principles: evidence, volatility and acquisition
How to collect digital evidence so it stands up later: the order of volatility, chain of custody, write blockers, forensic images and hash verification.
In this lesson · about 35 minutes
- Collect evidence in the order of volatility
- Keep a chain of custody and verify integrity with hashes
- Choose between live response and dead-box imaging
Core principles
- Preserve the original: work on verified copies; never browse the suspect disk directly.
- Integrity: hash the evidence (SHA-256) when acquired and again before analysis. Matching hashes prove the copy is exact.
- Chain of custody: a record of who collected each item, when, where, how it was stored, and every hand-off. A gap can make evidence unusable in court.
- Document everything: photos of the scene and screens, notes with times, commands and tool versions.
- Repeatability: another examiner following your notes should reach the same results.
Order of volatility (most fragile first)
- CPU registers and cache
- RAM: running processes, network connections, encryption keys, injected malware
- Network state, ARP cache, routing tables, logged-in users
- Temporary files and swap
- Disk
- Remote logs, backups
- Archived media
That is why responders capture memory before shutting down (with tools such as WinPMem, Magnet RAM Capture, or LiME/AVML on Linux). Pulling the plug loses RAM; shutting down normally may trigger malware clean-up or disk encryption.
Acquisition
- Write blockers (hardware or software) let you read a disk without any chance of writing to it.
- Forensic images: bit-for-bit copies including deleted space. Formats: raw (
dd,dcfldd,dc3dd) or E01 (EnCase format, compressed with built-in hashes; created with FTK Imager orewfacquire). - Live response / triage collection: on running systems (especially servers that cannot go down, or encrypted disks), collect key artefacts with tools like KAPE or Velociraptor instead of a full image.
- Cloud and remote: snapshots of cloud disks, exported logs; mobile devices need specialist tools.
Legal and practical notes
Know whether the case may go to court or HR: that sets how strict the process must be. Get proper authority before examining employees' devices, respect privacy law, and involve legal counsel early in serious incidents.
Sorting drill
Collect in the right order
Sort each item by how quickly it disappears.
- Contents of RAM, including running processes
- Active network connections
- Temporary files and swap
- Full disk image
- Firewall logs on the central log server
- Backup tapes from last month
0 of 6 sorted
Check your understanding0 of 3 correct
Quiz score: 0 of 3
Written by Noviq Academy in its own words. All labs are simulations: no real systems are touched, and every name, address, password and hash is made up. The offensive techniques taught here are for defending systems and for authorised testing only; never scan, access or test a system without the owner's written permission. Tool and product names belong to their owners, and command output may differ slightly from yours. Read-aloud uses your device's built-in voices.