{"id":"488b44e7-3781-4a71-888d-c95abfacf44d","title":"Windows Firewall Profile Disabled","description":"Detects when a user disables the Windows Firewall via a Profile to help evade defense.","author":"Austin Songer @austinsonger","status":"test","level":"medium","date":"2021-10-12","modified":"2022-12-30","tags":["attack.defense-impairment","attack.t1686.003"],"technique_ids":["T1686.003"],"logsource":{"product":"windows","category":"ps_script","definition":"Requirements: Script Block Logging must be enabled"},"falsepositives":["Unknown"],"references":["https://learn.microsoft.com/en-us/powershell/module/netsecurity/set-netfirewallprofile?view=windowsserver2022-ps","https://www.tutorialspoint.com/how-to-get-windows-firewall-profile-settings-using-powershell","https://web.archive.org/web/20230929023836/http://powershellhelp.space/commands/set-netfirewallrule-psv5.php","http://woshub.com/manage-windows-firewall-powershell/","https://www.elastic.co/guide/en/security/current/windows-firewall-disabled-via-powershell.html"],"source_path":"rules/windows/powershell/powershell_script/posh_ps_windows_firewall_profile_disabled.yml","source_sha256":"f943e179cd5ada26fce27930357291b831aaada90cfa754517b6cc9de519609a","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_script/posh_ps_windows_firewall_profile_disabled.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Windows Firewall Profile Disabled\nid: 488b44e7-3781-4a71-888d-c95abfacf44d\nrelated:\n    - id: 12f6b752-042d-483e-bf9c-915a6d06ad75\n      type: similar\nstatus: test\ndescription: Detects when a user disables the Windows Firewall via a Profile to help evade defense.\nreferences:\n    - https://learn.microsoft.com/en-us/powershell/module/netsecurity/set-netfirewallprofile?view=windowsserver2022-ps\n    - https://www.tutorialspoint.com/how-to-get-windows-firewall-profile-settings-using-powershell\n    - https://web.archive.org/web/20230929023836/http://powershellhelp.space/commands/set-netfirewallrule-psv5.php\n    - http://woshub.com/manage-windows-firewall-powershell/\n    - https://www.elastic.co/guide/en/security/current/windows-firewall-disabled-via-powershell.html\nauthor: Austin Songer @austinsonger\ndate: 2021-10-12\nmodified: 2022-12-30\ntags:\n    - attack.defense-impairment\n    - attack.t1686.003\nlogsource:\n    product: windows\n    category: ps_script\n    definition: 'Requirements: Script Block Logging must be enabled'\ndetection:\n    selection_args:\n        ScriptBlockText|contains|all:\n            - 'Set-NetFirewallProfile '\n            - ' -Enabled '\n            - ' False'\n    selection_opt:\n        ScriptBlockText|contains:\n            - ' -All '\n            - 'Public'\n            - 'Domain'\n            - 'Private'\n    condition: all of selection*\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1686.003","id":"T1686.003","name":"Windows Host Firewall","page":"techniques/enterprise/T1686.003/"}],"data_path":"data/detection-rules/488b44e7-3781-4a71-888d-c95abfacf44d.json","kind":"sigma"}
