Sigma rule: Service StartupType Change Via PowerShell Set-Service
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-68c686d2971d, updated 2023-03-04T00:00:00.000Z.
Rule
- Title
- Service StartupType Change Via PowerShell Set-Service
- Status
- test
- Level
- medium
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2023-03-04
- File
- rules/windows/process_creation/proc_creation_win_powershell_set_service_disabled.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the use of the PowerShell "Set-Service" cmdlet to change the startup type of a service to "disabled" or "manual"
Log source
- product
- windows
- category
- process_creation
Detection
selection_img:
- Image|endswith: '\powershell.exe'
- OriginalFileName: 'PowerShell.EXE'
selection_cli:
CommandLine|contains|all:
- 'Set-Service'
- '-StartupType'
CommandLine|contains:
- 'Disabled'
- 'Manual'
condition: all of selection_*False positives (as the rule lists them)
- False positives may occur with troubleshooting scripts
Tags
- attack.execution
- attack.defense-impairment
- attack.t1685
MITRE ATT&CK ids this rule names
References
- https://www.virustotal.com/gui/file/38283b775552da8981452941ea74191aa0d203edd3f61fb2dee7b0aea3514955
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_set_service_disabled.yml
Sources and licences
SigmaHQ
"Service StartupType Change Via PowerShell Set-Service" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_set_service_disabled.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Service StartupType Change Via PowerShell Set-Service",
entity page, dataset version ref-68c686d2971d, updated 2023-03-04T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/62b20d44-1546-4e61-afce-8e175eb9473c (accessed 2026-11-03).
Underlying source: SigmaHQ rule 62b20d44-1546-4e61-afce-8e175eb9473c, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.