EXPLORE
← Back to Explore
sigmahighHunting

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

MITRE ATT&CK

defense-evasion

Detection Query

selection:
  EventID:
    - 2033
    - 2059
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_*

Author

frack113, Nasreddine Bencherchali (Nextron Systems)

Created

2023-01-17

Data Sources

windowsfirewall-as

Platforms

windows

Tags

attack.defense-evasionattack.t1562.004
Raw Content
title: All Rules Have Been Deleted From The Windows Firewall Configuration
id: 79609c82-a488-426e-abcf-9f341a39365d
status: test
description: Detects when a all the rules have been deleted from the Windows Defender Firewall configuration
references:
    - https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-r2-and-2008/dd364427(v=ws.10)
author: frack113, Nasreddine Bencherchali (Nextron Systems)
date: 2023-01-17
modified: 2024-01-22
tags:
    - attack.defense-evasion
    - attack.t1562.004
logsource:
    product: windows
    service: firewall-as
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_*
level: high