Skip to content
Vol. 1 · Ed. 2026
CyberGlossary
Entry № 1378

Windows Registry Analysis

Reviewed byCybersecurity entrepreneur & security researcher

What is Windows Registry Analysis?

Windows Registry AnalysisThe forensic examination of Windows Registry hives to recover configuration data, user activity, and evidence of program execution or persistence.


The Windows Registry is a hierarchical database storing configuration for the OS, applications and user profiles. System hives (SYSTEM, SOFTWARE, SECURITY, SAM) live in %SystemRoot%\System32\config, while per-user hives are NTUSER.DAT and UsrClass.dat in each profile. Crucially, recent writes may sit only in the transaction logs (.LOG1/.LOG2); tools that replay these logs recover keys a naïve parser would miss.

Registry analysis extracts high-value evidence that often has no equivalent elsewhere on disk. Execution artifacts include AppCompatCache (ShimCache) and Amcache.hve, UserAssist (ROT13-encoded GUI launch counts), and BAM/DAM entries. Persistence shows up in Run/RunOnce keys, Services and Winlogon (MITRE ATT&CK T1547.001, with registry tampering covered by T1112). ShellBags reveal folder browsing, USBSTOR plus MountedDevices track removable media, and the SAM hive holds local password hashes.

Analysts parse live or imaged hives with Eric Zimmerman's Registry Explorer and RECmd, RegRipper, YARP or Autopsy, then fold the results into a super-timeline (e.g. Plaso) so registry keys are correlated with event logs and filesystem metadata. Because timestamps can be forged or keys wiped as anti-forensics, findings are cross-checked against independent sources.

flowchart TD
  I[Disk image or live system] --> H[Acquire hives + .LOG transaction logs]
  H --> P[Parse: Registry Explorer / RegRipper / RECmd]
  P --> E[Extract artifacts]
  E --> EX[Execution: ShimCache · Amcache · UserAssist]
  E --> PE[Persistence: Run keys · Services]
  E --> US[User activity: ShellBags · USBSTOR · RecentDocs]
  EX --> T[Correlate in super-timeline]
  PE --> T
  US --> T

● Examples

  1. 01

    Extracting Run and RunOnce keys from NTUSER.DAT to identify a malicious persistence mechanism.

  2. 02

    Parsing the USBSTOR subkey to determine which removable devices were connected to a workstation.

● Frequently asked questions

What is Windows Registry Analysis?

The forensic examination of Windows Registry hives to recover configuration data, user activity, and evidence of program execution or persistence. It belongs to the Forensics & IR category of cybersecurity.

What does Windows Registry Analysis mean?

The forensic examination of Windows Registry hives to recover configuration data, user activity, and evidence of program execution or persistence.

How do you defend against Windows Registry Analysis?

Defences for Windows Registry Analysis typically combine technical controls and operational practices, as detailed in the full definition above.

What are other names for Windows Registry Analysis?

Common alternative names include: Registry forensics, Hive analysis.

● Related terms

● See also