Sigma rule: Windows Firewall Profile Disabled

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-c9aaae0dd7cf, updated 2022-12-30T00:00:00.000Z.

Rule

Title
Windows Firewall Profile Disabled
Status
test
Level
medium
Author
Austin Songer @austinsonger
Date
2021-10-12
Modified
2022-12-30
File
rules/windows/powershell/powershell_script/posh_ps_windows_firewall_profile_disabled.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects when a user disables the Windows Firewall via a Profile to help evade defense.

Log source

product
windows
category
ps_script
definition
Requirements: Script Block Logging must be enabled

Detection

selection_args:
    ScriptBlockText|contains|all:
        - 'Set-NetFirewallProfile '
        - ' -Enabled '
        - ' False'
selection_opt:
    ScriptBlockText|contains:
        - ' -All '
        - 'Public'
        - 'Domain'
        - 'Private'
condition: all of selection*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.defense-impairment
  • attack.t1686.003

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/powershell/powershell_script/posh_ps_windows_firewall_profile_disabled.yml

Sources and licences

  • SigmaHQ

    "Windows Firewall Profile Disabled" by Austin Songer @austinsonger (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_windows_firewall_profile_disabled.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Windows Firewall Profile Disabled",
entity page, dataset version ref-c9aaae0dd7cf, updated 2022-12-30T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/488b44e7-3781-4a71-888d-c95abfacf44d (accessed 2026-11-03).
Underlying source: SigmaHQ rule 488b44e7-3781-4a71-888d-c95abfacf44d, 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.