Windows Registry Modification: Re-enable Microsoft Defender Firewall Exceptions (DoNotAllowExceptions=0)

Alerts when DoNotAllowExceptions is set to 0 in the Defender Firewall policy registry path, re-enabling firewall exceptions.

FreeReviewedSigma · Medium · v1
Product
windows
Category
registry_set
Author
frack113 (SigmaHQ), DRL 1.1
Published
2026-10-13
Updated
2026-10-14

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 flags registry set activity that sets the DoNotAllowExceptions value to DWORD 0x00000000 under the Microsoft Defender Firewall policy path, effectively re-enabling application and port exceptions. Attackers and other unauthorized users may use this to weaken a hardened firewall stance and restore network paths that would otherwise be blocked. It relies on Windows registry set telemetry capturing the targeted key/value details, with exclusions for svchost.exe-launched changes to reduce noise.

Related detections9 linkedT1686.003 — drag to rearrange
Windows Registry: AuthorizedApplications List Enabled Firewall Exceptions
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 Registry Modification: Re-enable Microsoft Defender Firewall Exceptions (DoNotAllowExceptions=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.