Detectionmediumtest
Windows Firewall Disabled via PowerShell
Detects attempts to disable the Windows Firewall using PowerShell
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Tim Rauch, Elastic SecurityCreated Wed Sep 14Updated Mon Feb 1312f6b752-042d-483e-bf9c-915a6d06ad75windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic3 selectors
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
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
References
MITRE ATT&CK
Tactics
Techniques
Rule Metadata
Rule ID
12f6b752-042d-483e-bf9c-915a6d06ad75
Status
test
Level
medium
Type
Detection
Created
Wed Sep 14
Modified
Mon Feb 13
Author
Path
rules/windows/process_creation/proc_creation_win_powershell_disable_firewall.yml
Raw Tags
attack.defense-evasionattack.t1562