A Rule Has Been Deleted From The Windows Firewall Exception List
Detects when a single rules or all of the rules have been deleted from the Windows Defender Firewall
Sigma rule (View on GitHub)
1title: A Rule Has Been Deleted From The Windows Firewall Exception List
2id: c187c075-bb3e-4c62-b4fa-beae0ffc211f
3status: test
4description: Detects when a single rules or all of the rules have been deleted from the Windows Defender Firewall
5references:
6 - https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-r2-and-2008/dd364427(v=ws.10)
7author: frack113
8date: 2022-02-19
9modified: 2026-10-19
10tags:
11 - attack.defense-impairment
12 - attack.t1686.003
13logsource:
14 product: windows
15 service: firewall-as
16detection:
17 selection:
18 EventID:
19 - 2006 # A rule has been deleted in the Windows Defender Firewall exception list
20 - 2052 # A rule has been deleted in the Windows Defender Firewall exception list. (Windows 11)
21 filter_main_generic:
22 ModifyingApplication|startswith:
23 - 'C:\Program Files (x86)\'
24 - 'C:\Program Files\'
25 - 'C:\Windows\WinSxS\'
26 filter_main_local_system:
27 # Added to filter out modifications made by the Local System account as these are typically legitimate system actions and cause false positives.
28 ModifyingUser: 'S-1-5-18'
29 filter_main_msiexec:
30 ModifyingApplication:
31 - 'C:\Windows\SysWOW64\msiexec.exe'
32 - 'C:\Windows\System32\msiexec.exe'
33 filter_main_svchost:
34 ModifyingApplication: 'C:\Windows\System32\svchost.exe'
35 filter_main_msmpeng:
36 ModifyingApplication|startswith: 'C:\ProgramData\Microsoft\Windows Defender\Platform\'
37 ModifyingApplication|endswith: '\MsMpEng.exe'
38 filter_main_null:
39 ModifyingApplication: null
40 filter_main_empty:
41 ModifyingApplication: ''
42 filter_optional_google_updater:
43 ModifyingApplication|startswith: 'C:\Windows\SystemTemp\'
44 ModifyingApplication|contains: 'GoogleUpdater'
45 ModifyingApplication|endswith: '\setup.exe'
46 condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
47level: medium
References
Related rules
- Add Authorized Applications to Microsoft Defender Firewall via Registry
- Allow Exceptions in Microsoft Defender Firewall via Registry
- Uncommon New Firewall Rule Added In Windows Firewall Exception List
- New Firewall Rule Added In Windows Firewall Exception List Via WmiPrvSE.EXE
- Disable Windows Firewall by Registry