Sigma rule: Windows Firewall Disabled via PowerShell
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-75cf894d3bcf, updated 2023-02-13T00:00:00.000Z.
Rule
- Title
- Windows Firewall Disabled via PowerShell
- Status
- test
- Level
- medium
- Author
- Tim Rauch, Elastic (idea)
- Date
- 2022-09-14
- Modified
- 2023-02-13
- File
- rules/windows/process_creation/proc_creation_win_powershell_disable_firewall.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects attempts to disable the Windows Firewall using PowerShell
Log source
- product
- windows
- category
- process_creation
Detection
selection_name:
- Image|endswith:
- '\powershell.exe'
- '\pwsh.exe'
- '\powershell_ise.exe'
- OriginalFileName:
- 'PowerShell.EXE'
- 'pwsh.dll'
selection_args:
CommandLine|contains|all:
- 'Set-NetFirewallProfile '
- ' -Enabled '
- ' False'
selection_opt:
CommandLine|contains:
- ' -All '
- 'Public'
- 'Domain'
- 'Private'
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.defense-impairment
- attack.t1685
MITRE ATT&CK ids this rule names
Related rules
References
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_disable_firewall.yml
Sources and licences
SigmaHQ
"Windows Firewall Disabled via PowerShell" by Tim Rauch, Elastic (idea) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_disable_firewall.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: Windows Firewall Disabled via PowerShell",
entity page, dataset version ref-75cf894d3bcf, updated 2023-02-13T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/12f6b752-042d-483e-bf9c-915a6d06ad75 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 12f6b752-042d-483e-bf9c-915a6d06ad75, 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.