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

Open in Detection LabConvert ruleBuild Package
François Hubaut, Nasreddine BencherchaliCreated 2023-01-17Updated 2024-01-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
2023-01-17
Modified
2024-01-22
Path
rules/windows/builtin/firewall_as/win_firewall_as_delete_all_rules.yml
Raw Tags
attack.defense-impairmentattack.t1686.003
View on GitHub