Module 17 · Digital Forensics · Lesson 50 of 75
Disk and file-system artefacts, and building a timeline
Where Windows and Linux record what happened, file timestamps, recovering deleted files, and a Sleuth Kit lab that turns an image into evidence.
In this lesson · about 45 minutes
- Name the key Windows and Linux artefacts and what each proves
- Interpret file timestamps and their limits
- Use Sleuth Kit commands to list and recover files from an image
Key Windows artefacts
| Artefact | Shows |
|---|---|
Prefetch (C:\Windows\Prefetch) | Programs that ran, how often, and when (last 8 run times) |
| Amcache / Shimcache | Programs present or run, with paths and hashes |
| Registry: UserAssist, RecentDocs, ShellBags | Programs a user launched, documents opened, folders browsed |
| Registry: USBSTOR, MountedDevices | USB devices connected, with serial numbers |
| LNK files and Jump Lists | Files opened, even from removable or network drives |
| Event logs | Logons, services, PowerShell, RDP (Module 3) |
| SRUM | Per-app network usage over the last ~30 days (useful for exfiltration) |
| Browser history and downloads | Sites visited, files downloaded |
| $MFT, $UsnJrnl, $LogFile (NTFS) | Every file's metadata, and a journal of changes |
| Recycle Bin, Volume Shadow Copies | Deleted files and older versions |
Key Linux artefacts
Auth logs and journald, ~/.bash_history, /var/log/ (web, cron, package logs), cron and systemd units, /etc/passwd and shadow changes, authorized_keys, and files in /tmp and /dev/shm.
Timestamps
NTFS keeps four times per file: Modified, Accessed, Changed (metadata), Born (created), shortened to MACB. Attackers can change them ("timestomping"), but NTFS keeps a second set in the MFT that ordinary tools do not touch, so mismatches are themselves evidence.
Deleted files
Deleting usually only marks the space as free. Until it is overwritten, the content can be recovered from the file system's records or by carving (searching raw space for file signatures, using tools such as PhotoRec or foremost). SSDs with TRIM erase freed blocks quickly, which makes recovery much harder.
Timelines
The most powerful technique: merge all artefacts into one sorted timeline (with Plaso/log2timeline, or Autopsy's timeline view) and read the story around a known event, such as five minutes either side of the first malware alert.
Hands-on lab (simulated terminal)
Lab: examine a USB image with Sleuth Kit
A USB stick was handed in during an insider-data-theft case. You received usb-evidence.dd with its acquisition hash on the chain-of-custody form: 3f1c...e902. Output is simulated.
Step 1 of 5. Type each command and press Enter. Nothing runs on your computer.
1. Verify the image's SHA-256 hash before doing anything else.
Check your understanding0 of 4 correct
Quiz score: 0 of 4
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.