Windows: Detect reg.exe Changing Screen Saver Registry Settings for .scr Payloads

Flags reg.exe command lines that modify HKCU desktop screensaver settings and configure a .scr screen saver payload.

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

ATT&CK techniques

Persistence → Priv Esc
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Defense Evasion

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule identifies executions of reg.exe whose command line targets the current user desktop screensaver-related registry keys and sets ScreenSaveActive, ScreenSaveTimeout, and ScreenSaverIsSecure. It further matches registry value changes that reference an executables path ending in .scr via the SCRNSAVE.EXE value. Such behavior matters because it can allow an attacker to configure a user inactivity screen saver to run malicious content. The detection relies on Windows process creation telemetry including the process image path and full command-line arguments.

Related detections2 linkedT1546.002 — drag to rearrange
Windows: Suspicious .SCR Screensaver File Creation
Windows Registry Screensaver Path Value Modified (SCRNSAVE.EXE)
Windows: Detect reg.exe Changing Screen Saver Registry Settings for .scr Payloads
Pivot detection · T1546.002 · 2 related

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