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: 2024-08-29
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 (x86)\'
24            - 'C:\Program Files\'
25            - 'C:\Windows\WinSxS\'
26    filter_main_svchost:
27        ModifyingApplication: 'C:\Windows\System32\svchost.exe'
28    filter_optional_msmpeng:
29        ModifyingApplication|startswith: 'C:\ProgramData\Microsoft\Windows Defender\Platform\'
30        ModifyingApplication|endswith: '\MsMpEng.exe'
31    filter_main_null:
32        ModifyingApplication: null
33    filter_main_empty:
34        ModifyingApplication: ''
35    condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
36level: medium

References

Related rules

to-top