Detectionmediumtest

Netsh Allow Group Policy on Microsoft Defender Firewall

Adversaries may modify system firewalls in order to bypass controls limiting network usage

Open in Detection LabConvert ruleBuild Package
François HubautCreated 2022-01-09Updated 2023-02-14347906f3-e207-4d18-ae5b-a9403d6bcdefwindows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
detection:
    selection_img:
        - Image|endswith: '\netsh.exe'
        - OriginalFileName: 'netsh.exe'
    selection_cli:
        CommandLine|contains|all:
            - 'advfirewall'
            - 'firewall'
            - 'set'
            - 'rule'
            - 'group='
            - 'new'
            - 'enable=Yes'
    condition: all of selection_*
False Positives

Legitimate administration activity

Rule Metadata
Rule ID
347906f3-e207-4d18-ae5b-a9403d6bcdef
Status
test
Level
medium
Type
Detection
Created
2022-01-09
Modified
2023-02-14
Path
rules/windows/process_creation/proc_creation_win_netsh_fw_enable_group_rule.yml
Raw Tags
attack.defense-impairmentattack.t1686.003
View on GitHub