Windows registry
The hierarchical database where Windows and its programs store settings, organised into keys and values.
In more detail
The registry holds autostart locations, service definitions and many forensic traces. HKLM holds machine-wide settings; HKCU holds the signed-in user's. Malware writes to it to persist, which sandboxes and Sysmon record.
Related terms
- Run key — A registry key whose values name programs Windows starts every time a user logs on.
- Windows service — A background program that Windows starts and manages without a signed-in user, often running as SYSTEM.
- Sysmon — System Monitor: a free Microsoft Sysinternals tool that logs detailed process, network, file, registry and DNS activity into the Windows event log.
Taught in
- Windows Event Logs, Sysmon & Linux Auditd Telemetry — Security Operations & Threat Hunting (SOC)
- Detecting Persistence: Tasks, Registry & Services — Security Operations & Threat Hunting (SOC)
- Malware Triage: Hashes, Strings & Sandboxing — Security Operations & Threat Hunting (SOC)