Detectionhightest

All Rules Have Been Deleted From The Windows Firewall Configuration

Detects when a all the rules have been deleted from the Windows Defender Firewall configuration

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
François Hubaut, Nasreddine Bencherchali (Nextron Systems)Created Tue Jan 17Updated Mon Jan 2279609c82-a488-426e-abcf-9f341a39365dwindows
Log Source
Windowsfirewall-as
ProductWindows← raw: windows
Servicefirewall-as← raw: firewall-as
Detection Logic
Detection Logic3 selectors
detection:
    selection:
        EventID:
            - 2033 # All rules have been deleted from the Windows Defender Firewall configuration on this computer
            - 2059 # All rules have been deleted from the Windows Defender Firewall configuration on this computer. (Windows 11)
    filter_main_svchost:
        ModifyingApplication|endswith: ':\Windows\System32\svchost.exe'
    filter_optional_msmpeng:
        ModifyingApplication|contains|all:
            - ':\ProgramData\Microsoft\Windows Defender\Platform\'
            - '\MsMpEng.exe'
    condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
Rule Metadata
Rule ID
79609c82-a488-426e-abcf-9f341a39365d
Status
test
Level
high
Type
Detection
Created
Tue Jan 17
Modified
Mon Jan 22
Path
rules/windows/builtin/firewall_as/win_firewall_as_delete_all_rules.yml
Raw Tags
attack.defense-evasionattack.t1562.004
View on GitHub