A Rule Has Been Deleted From The Windows Firewall Exception List


Description

Detects when a single rules or all of the rules have been deleted from the Windows Defender Firewall

Query · sigma

selection:
  EventID:
  - 2006
  - 2052
filter_main_generic:
  ModifyingApplication|startswith:
  - C:\Program Files (x86)\
  - C:\Program Files\
  - C:\Windows\WinSxS\
filter_main_svchost:
  ModifyingApplication: C:\Windows\System32\svchost.exe
filter_optional_msmpeng:
  ModifyingApplication|startswith: C:\ProgramData\Microsoft\Windows Defender\Platform\
  ModifyingApplication|endswith: \MsMpEng.exe
filter_main_null:
  ModifyingApplication: null
filter_main_empty:
  ModifyingApplication: ''
condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
Raw source A Rule Has Been Deleted From The Windows Firewall Exception List · Sigma
Esc
Published by SigmaHQ/sigma ↗, licensed under Detection Rule License 1.1 ↗. Reproduced here unmodified.
title: A Rule Has Been Deleted From The Windows Firewall Exception List
id: c187c075-bb3e-4c62-b4fa-beae0ffc211f
status: test
description: Detects when a single rules or all of the rules have been deleted from the Windows Defender Firewall
references:
    - https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-r2-and-2008/dd364427(v=ws.10)
author: frack113
date: 2022-02-19
modified: 2024-08-29
tags:
    - attack.defense-impairment
    - attack.t1686.003
logsource:
    product: windows
    service: firewall-as
detection:
    selection:
        EventID:
            - 2006 # A rule has been deleted in the Windows Defender Firewall exception list
            - 2052 # A rule has been deleted in the Windows Defender Firewall exception list. (Windows 11)
    filter_main_generic:
        ModifyingApplication|startswith:
            - 'C:\Program Files (x86)\'
            - 'C:\Program Files\'
            - 'C:\Windows\WinSxS\'
    filter_main_svchost:
        ModifyingApplication: 'C:\Windows\System32\svchost.exe'
    filter_optional_msmpeng:
        ModifyingApplication|startswith: 'C:\ProgramData\Microsoft\Windows Defender\Platform\'
        ModifyingApplication|endswith: '\MsMpEng.exe'
    filter_main_null:
        ModifyingApplication: null
    filter_main_empty:
        ModifyingApplication: ''
    condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
level: medium

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.