Detectionmediumtest
Windows Firewall Profile Disabled
Detects when a user disables the Windows Firewall via a Profile to help evade defense.
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script
Definition
Requirements: Script Block Logging must be enabled
Detection Logic
Detection Logic2 selectors
detection:
selection_args:
ScriptBlockText|contains|all:
- 'Set-NetFirewallProfile '
- ' -Enabled '
- ' False'
selection_opt:
ScriptBlockText|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.
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
488b44e7-3781-4a71-888d-c95abfacf44d
Status
test
Level
medium
Type
Detection
Created
2021-10-12
Modified
2022-12-30
Author
Path
rules/windows/powershell/powershell_script/posh_ps_windows_firewall_profile_disabled.yml
Raw Tags
attack.defense-impairmentattack.t1686.003