Run key
A registry key whose values name programs Windows starts every time a user logs on.
In more detail
Run keys under HKCU (per user) and HKLM (all users) are the simplest persistence. Sysmon event 13 records changes to them, and a Run value pointing into AppData deserves a look.
Related terms
- Windows registry — The hierarchical database where Windows and its programs store settings, organised into keys and values.
- autostart — Any location Windows checks to start programs automatically, such as Run keys, services, scheduled tasks and the Startup folder.
- 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
- Detecting Persistence: Tasks, Registry & Services — Security Operations & Threat Hunting (SOC)
- Malware Triage: Hashes, Strings & Sandboxing — Security Operations & Threat Hunting (SOC)