Firewall Rule Modified In The Windows Firewall Exception List


Description

Detects when a rule has been modified in the Windows firewall exception list

Query · sigma

selection:
  EventID:
  - 2005
  - 2073
filter_optional_teams:
  ApplicationPath|endswith: \AppData\local\microsoft\teams\current\teams.exe
filter_optional_keybase:
  ApplicationPath|endswith: \AppData\Local\Keybase\keybase.exe
filter_optional_messenger:
  ApplicationPath|endswith: \AppData\Local\Programs\Messenger\Messenger.exe
filter_optional_opera:
  ApplicationPath|contains|all:
  - :\Users\
  - \AppData\Local\Programs\Opera\
  - \opera.exe
filter_optional_brave:
  ApplicationPath|contains|all:
  - :\Users\
  - \AppData\Local\BraveSoftware\Brave-Browser\Application\brave.exe
condition: selection and not 1 of filter_optional_*
Raw source Firewall Rule Modified In The Windows Firewall Exception List · Sigma
Esc
Published by SigmaHQ/sigma ↗, licensed under Detection Rule License 1.1 ↗. Reproduced here unmodified.
title: Firewall Rule Modified In The Windows Firewall Exception List
id: 5570c4d9-8fdd-4622-965b-403a5a101aa0
status: test
description: Detects when a rule has been modified in the Windows firewall exception list
references:
    - https://docs.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-01-22
tags:
    - attack.defense-impairment
    - attack.t1686.003
    - detection.threat-hunting
logsource:
    product: windows
    service: firewall-as
detection:
    selection:
        EventID:
            - 2005 # A rule has been modified in the Windows Defender Firewall exception list (Windows 10)
            - 2073 # A rule has been modified in the Windows Defender Firewall exception list. (Windows 11)
    filter_optional_teams:
        ApplicationPath|endswith: '\AppData\local\microsoft\teams\current\teams.exe'
    filter_optional_keybase:
        ApplicationPath|endswith: '\AppData\Local\Keybase\keybase.exe'
    filter_optional_messenger:
        ApplicationPath|endswith: '\AppData\Local\Programs\Messenger\Messenger.exe'
    filter_optional_opera:
        ApplicationPath|contains|all:
            - ':\Users\'
            - '\AppData\Local\Programs\Opera\'
            - '\opera.exe'
    filter_optional_brave:
        ApplicationPath|contains|all:
            - ':\Users\'
            - '\AppData\Local\BraveSoftware\Brave-Browser\Application\brave.exe'
    condition: selection and not 1 of filter_optional_*
level: low

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.