The Windows registry: frequently asked questions
Short answers to the most common questions about forensic analysis of the Windows registry.
Does the registry show which USB sticks were connected?
Yes: it normally records make, model and serial number of storage devices, with first and last connection dates derivable from several sources.
Can you tell which programs a user ran?
Often yes, by combining UserAssist, BAM, Amcache and Prefetch, which show executions, run counts and last runs.
Does clearing the history also clean the registry?
Only partly: many cleaning programs empty some keys, but other traces remain, including that of the cleaning program itself.
Does a key’s date say when something was done?
It says when the key was last modified, for whatever reason: it must be interpreted together with the values and other artefacts.
Can deleted keys be recovered?
Sometimes yes, from free space inside hive files, from transaction logs or from shadow copies.
Do you need the computer switched on to analyse the registry?
No: on the contrary, correct analysis is done on files extracted from the disk’s forensic copy.
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: 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.
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 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.