Windows: sc.exe Service Configuration Changed by Medium-Integrity Users

Alerts on sc.exe runs from Medium-integrity users that include service config/binPath or failure command changes.

FreeReviewedSigma · High · v1
Product
windows
Category
process_creation
Author
Teymur Kheirkhabarov (SigmaHQ), DRL 1.1
Published
2019-10-26
Updated
2026-07-30

ATT&CK techniques

Execution → Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Cred Access

  5. Discovery

  6. Lateral Movement

  7. Collection

  8. C2

  9. Exfiltration

  10. Impact

What it detects

This rule flags executions of sc.exe by a user running at Medium integrity level where the command line includes both config and binPath, indicating an attempt to set a service's binary path. It also matches sc.exe invocations that include failure and command, consistent with altering service failure behavior. These actions can help attackers persist and influence elevated execution paths, so the rule relies on Windows process creation telemetry capturing the sc.exe image name, integrity level, and command-line arguments.

Related detections9 linkedT1574.011 — drag to rearrange
Malicious ServiceDll Hijack with QSC Loader DLL
Windows Service Registry Key ReadControl Access (Event ID 4663)
Windows sc.exe Service Security Descriptor Tampering (sdset)
PowerShell: Suspicious Set-Service DACL/SecurityDescriptor Modification for Hidden Services
Windows PowerShell Set-Service SDDL Usage to Hide Services
PowerShell Set-Service SecurityDescriptor (DCLCWPDTSD) to Hide Services
Windows PowerShell ScriptBlock checks for service registry ACL inspection
Windows Reg.exe Modifies Service ImagePath in HKLM\SYSTEM\CurrentControlSet\Services
Windows: Detect sc.exe Service Creation with DACL Modification (sdset DCLCWPDTSD)
Windows: sc.exe Service Configuration Changed by Medium-Integrity Users
Pivot detection · T1574.011 · 9 related

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