Windows reg.exe Credential Enumeration via Registry Query (HKLM/HKCU)

Flags reg.exe registry queries (REG_SZ, recursive) focused on HKLM/HKCU and PuTTY Sessions to enumerate credential material.

FreeReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
frack113 (SigmaHQ), DRL 1.1
Published
2021-12-20
Updated
2026-07-30

ATT&CK techniques

Cred Access
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule identifies process creation where reg.exe is used to query registry values of type REG_SZ and recursively search subkeys. It further narrows matches to queries that use /f targeting HKLM and HKCU and includes a specific PuTTY Sessions registry path. This matters because adversaries often enumerate insecurely stored credentials or connection data in user and machine registry hives to support credential access. Telemetry relies on Windows process creation logging with the executable path and full command line.

Related detections4 linkedT1552.002 — drag to rearrange
Suspicious Registry Query for Stored Credentials (via process_creation)
Windows reg.exe Registry Save/Export of Third-Party Credential Paths
Windows CLI Enumeration of 3rd-Party Credential Registry Keys
Windows Security Event 4656: SAM Registry Hive Key Handle Requested
Windows reg.exe Credential Enumeration via Registry Query (HKLM/HKCU)
Pivot detection · T1552.002 · 4 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.