Netsh Allow Group Policy on Microsoft Defender Firewall

 Original Source: [Sigma source]
Title: Netsh Allow Group Policy on Microsoft Defender Firewall
Status: test
Description:Adversaries may modify system firewalls in order to bypass controls limiting network usage
References:
  -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
  -https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/netsh-advfirewall-firewall-control-firewall-behavior
Author: frack113
Date: 2022-01-09
modified:2023-02-14
Tags:
  • -'attack.defense-impairment'
  • -'attack.t1686.003'
Logsource:
  • category: process_creation
  • product: windows
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_*
Falsepositives:
  -Legitimate administration activity
Level: medium