Netsh Allow Group Policy on Microsoft Defender Firewall

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

Sigma rule (View on GitHub)

 1title: Netsh Allow Group Policy on Microsoft Defender Firewall
 2id: 347906f3-e207-4d18-ae5b-a9403d6bcdef
 3status: test
 4description: Adversaries may modify system firewalls in order to bypass controls limiting network usage
 5references:
 6    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1562.004/T1562.004.md#atomic-test-3---allow-smb-and-rdp-on-microsoft-defender-firewall
 7    - https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/netsh-advfirewall-firewall-control-firewall-behavior
 8author: frack113
 9date: 2022-01-09
10modified: 2023-02-14
11tags:
12    - attack.defense-evasion
13    - attack.t1562.004
14logsource:
15    category: process_creation
16    product: windows
17detection:
18    selection_img:
19        - Image|endswith: '\netsh.exe'
20        - OriginalFileName: 'netsh.exe'
21    selection_cli:
22        CommandLine|contains|all:
23            - 'advfirewall'
24            - 'firewall'
25            - 'set'
26            - 'rule'
27            - 'group='
28            - 'new'
29            - 'enable=Yes'
30    condition: all of selection_*
31falsepositives:
32    - Legitimate administration activity
33level: medium

References

Related rules

to-top