Windows Registry Service Persistence via SafeBoot Control Keys

Flags Windows registry writes that configure a service to load in Safe Mode (SafeBoot Minimal/Network).

FreeReviewedSigma · High · v1
Product
windows
Category
registry_set
Author
frack113 (SigmaHQ), DRL 1.1
Published
2022-04-04
Updated
2026-07-30

ATT&CK techniques

Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule identifies registry changes that configure a Windows service to load during Safe Mode by writing to SafeBoot Minimal/Network control paths. Such persistence can help malicious services start when normal startup or networking defenses are reduced. It relies on registry set telemetry and matches changes to TargetObject entries under \Control\SafeBoot\Minimal\ or \Control\SafeBoot\Network\ that specify a Service and end with the (Default) value.

Related detections9 linkedT1564.001 — drag to rearrange
Suspicious Executable Written to User Documents Subfolder (via file_event)
Suspicious Sobolan Staging Directory Creation in var tmp (via file_event)
FireWood Backdoor Persistence Files in Hidden kde-root Directory (via file_event)
Suspicious Attrib Hiding of Stealer Artifacts (via process_creation)
Suspicious perfctl Hidden IPC Directory Creation in tmp (via file_event)
Suspicious Executable Running From Fake Chrome User Profile Directory
Malicious Cryptominer Staging Files Dropped in tmp Directory
Suspicious Batch Script Unhiding Files via Attrib From Temp
Suspicious Hidden Directory configrc for Bandwidth SDK Abuse
Windows Registry Service Persistence via SafeBoot Control Keys
Pivot detection · T1564.001 · 9 related

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