PowerShell Set-Service SecurityDescriptor (DCLCWPDTSD) to Hide Services

Flags PowerShell Set-Service calls that set a SecurityDescriptor SDDL (DCLCWPDTSD) to hide services from other utilities.

FreeReviewedSigma · High · v2
Product
windows
Category
ps_script
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2022-10-17
Updated
2026-07-31

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 identifies PowerShell activity where the Set-Service cmdlet is used with a SecurityDescriptor value containing DCLCWPDTSD. The behavior is relevant because altering a service’s security descriptor can be used to hide it from common service management utilities. The detection relies on Script Block Logging telemetry capturing the ScriptBlockText content with the expected Set-Service and SecurityDescriptor SDDL fragments.

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
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 service configuration tampering via sc/reg with payload execution paths
PowerShell Set-Service SecurityDescriptor (DCLCWPDTSD) to Hide Services
Pivot detection · T1574.011 · 9 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

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