Sigma rule: Security Service Disabled Via Reg.EXE
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-bcacd68a45c4, updated 2023-06-05T00:00:00.000Z.
Rule
- Title
- Security Service Disabled Via Reg.EXE
- Status
- test
- Level
- high
- Author
- Florian Roth (Nextron Systems), John Lambert (idea), elhoim
- Date
- 2021-07-14
- Modified
- 2023-06-05
- File
- rules/windows/process_creation/proc_creation_win_reg_disable_sec_services.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects execution of "reg.exe" to disable security services such as Windows Defender.
Log source
- product
- windows
- category
- process_creation
Detection
selection_reg_add:
CommandLine|contains|all:
- 'reg'
- 'add'
selection_cli_reg_start:
CommandLine|contains|all:
- 'd 4'
- 'v Start'
CommandLine|contains:
- '\AppIDSvc'
- '\MsMpSvc'
- '\NisSrv'
- '\SecurityHealthService'
- '\Sense'
- '\UsoSvc'
- '\WdBoot'
- '\WdFilter'
- '\WdNisDrv'
- '\WdNisSvc'
- '\WinDefend'
- '\wscsvc'
- '\wuauserv'
condition: all of selection_*False positives (as the rule lists them)
- Unlikely
Tags
- attack.defense-impairment
- attack.t1685
MITRE ATT&CK ids this rule names
References
- https://twitter.com/JohnLaTwC/status/1415295021041979392
- https://github.com/gordonbay/Windows-On-Reins/blob/e587ac7a0407847865926d575e3c46f68cf7c68d/wor.ps1
- https://vms.drweb.fr/virus/?i=24144899
- https://bidouillesecurity.com/disable-windows-defender-in-powershell/
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_reg_disable_sec_services.yml
Sources and licences
SigmaHQ
"Security Service Disabled Via Reg.EXE" by Florian Roth (Nextron Systems), John Lambert (idea), elhoim (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_reg_disable_sec_services.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: Security Service Disabled Via Reg.EXE",
entity page, dataset version ref-bcacd68a45c4, updated 2023-06-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/5e95028c-5229-4214-afae-d653d573d0ec (accessed 2026-11-03).
Underlying source: SigmaHQ rule 5e95028c-5229-4214-afae-d653d573d0ec, 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.