Windows Registry: Disable Microsoft Defender Firewall by Setting EnableFirewall to 0

Flags Windows Registry changes that disable Defender firewall by setting EnableFirewall DWORD to 0.

FreeReviewedSigma · Medium · v1
Product
windows
Category
registry_set
Author
frack113 (SigmaHQ), DRL 1.1
Published
2022-01-09
Updated
2026-07-30

ATT&CK techniques

  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. C2

  13. Exfiltration

  14. Impact

What it detects

This rule identifies Registry writes that target SharedAccess FirewallPolicy keys and set the EnableFirewall value to DWORD 0x00000000, disabling the firewall for Domain, Public, or Standard profiles. Disabling or weakening host firewalling can help attackers bypass network access restrictions and reduce the impact of security controls. It relies on registry set telemetry capturing TargetObject paths under the FirewallPolicy subtree and the Details value indicating the disable setting.

Related detections9 linkedT1686.003 — drag to rearrange
Windows Firewall Allow Rule Added via WmiPrvSE.exe
Windows Firewall Exception Rule Added for Application in Suspicious Path
Windows Firewall Rules Deleted (Windows Defender Firewall) via Firewall-as Events
Windows Registry: Disable Firewall via EnableFirewall DWORD Policies
Windows Firewall rule deleted via netsh.exe command line
Windows Firewall Settings Change Events (Windows Firewall/Defender Firewall-AS)
Windows Defender Firewall Reset to Default Configuration (Firewall-as Service)
Windows Defender Firewall Service Failed to Load Group Policy (Event ID 2009)
Windows Firewall exception rule deleted (Windows Firewall/Defender) EventID 2006/2052
Windows Registry: Disable Microsoft Defender Firewall by Setting EnableFirewall to 0
Pivot detection · T1686.003 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.