The Windows registry: step-by-step procedure
The stages of forensic registry analysis: acquiring hive files with transaction logs, time zone, mapping users, USB devices, program execution, files and folders, networks, autostart, correlation and documentation.
- 01
Acquire the files
From the forensic copy, all system and per-user hive files, with transaction logs and shadow copies.
- 02
Replay the transactions
Apply the .LOG1 and .LOG2 logs to the working copies, documenting it.
- 03
Establish the context
Windows version, installation date, configured time zone, computer name.
- 04
Map the users
Link each NTUSER.DAT to its account and security identifier.
- 05
Reconstruct USB devices
Make, model, serial number, drive letters assigned, first and last connections.
- 06
Reconstruct execution
UserAssist, BAM, Amcache, ShimCache, compared with Prefetch.
- 07
Reconstruct files and folders
Recent documents, Open and Save dialogs, ShellBags, typed paths, searches.
- 08
Examine networks and autostart
Network profiles with dates; Run keys and services for programs that start by themselves.
- 09
Correlate
Place each event in the timeline and confirm it with other sources.
- 10
Document
Path of every key, value read, interpretation and degree of certainty.
The Windows registry: tools
The tools for analysing the Windows registry: Registry Explorer and RECmd, RegRipper, Autopsy, commercial forensic suites, and why Registry Editor must not be used on the computer under examination.
The pages of this topic
Back to the overviewThe Windows registry: how it works
How the Windows registry is built: hive files and where they are, keys and values, last write time, transaction logs, earlier copies, the main keys of forensic interest.
The Windows registry: mistakes to avoid
The most common mistakes in registry analysis: working on the live system, ignoring transaction logs, misreading last write time, taking ShimCache as proof of execution, getting the user wrong, forgetting the time zone, reading absence as proof.
The Windows registry: value in court
The value of registry traces as evidence: provenance and integrity of the files, precise meaning of each key, degrees of certainty, confirmation from other artefacts, attribution to the user, repeatability.
The Windows registry: case study
A company laptop returned “clean” after a contested departure: the registry shows an external drive connected, a wiping program run the day before and an outside Wi-Fi network.
The Windows registry: checklist
The checks for a correct analysis of the Windows registry.
The Windows registry: frequently asked questions
Short answers to the most common questions about forensic analysis of the Windows registry.