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.
- Working on the live system
- It alters traces and leaves out parts locked by the system.
- Ignoring transactions
- The most recent changes may be only in the .LOG1 and .LOG2 logs.
- Misreading last write time
- A key’s date changes for any change inside it, including those made by the system.
- Taking presence for execution
- Some artefacts, such as ShimCache in recent versions, prove that a program was present, not that it was started.
- Getting the user wrong
- Each NTUSER.DAT belongs to a specific account: it must be linked to its identifier.
- Forgetting the time zone
- Some dates are in UTC, others in local time: they must be converted consistently.
- Reading absence as proof
- Cleaning programs delete lists and histories: the absence of a trace does not prove that something did not happen.
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 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: 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.