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: experimental
 4description: Detects when a single rules or all of the rules have been deleted from the Windows Defender Firewall
 5references:
 6    - https://docs.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: 2023/06/12
10tags:
11    - attack.defense_evasion
12    - attack.t1562.004
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\'
24            - 'C:\Program Files (x86)\'
25    filter_main_svchost:
26        ModifyingApplication: 'C:\Windows\System32\svchost.exe'
27    filter_optional_msmpeng:
28        ModifyingApplication|startswith: 'C:\ProgramData\Microsoft\Windows Defender\Platform\'
29        ModifyingApplication|endswith: '\MsMpEng.exe'
30    filter_main_null:
31        ModifyingApplication: null
32    filter_main_empty:
33        ModifyingApplication: ''
34    condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
35level: medium

References

Related rules

to-top