The Windows registry in forensic analysis · 01 How it works

The 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 registry files

FileWhere it isWhat it contains
SAMWindows\System32\configLocal accounts, groups, logon dates
SYSTEMWindows\System32\configHardware configuration, USB devices, services, time zone, BAM
SOFTWAREWindows\System32\configInstalled programs, Windows version, networks joined
SECURITYWindows\System32\configSecurity policies
NTUSER.DATEach user’s folderThe individual user’s activity: recent documents, programs started, searches
UsrClass.datThe user’s AppData\Local\Microsoft\WindowsShellBags: the folders viewed
Amcache.hveWindows\AppCompat\ProgramsPrograms run or present, with the files’ SHA-1 hashes

Keys, values and dates

The registry is organised in keys, similar to folders, which contain values. Each key has a single date, its last write time: it says when something inside it changed, not what. Some values in turn contain their own dates, often in FILETIME format and in UTC.

Continue with
02 Step-by-step procedure

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.

↑