PowerShell New-NetFirewallRule Adds Windows Allow Firewall Rule

Alert on PowerShell creating a new Windows firewall rule that sets the action to Allow via New-NetFirewallRule.

FreeReviewedSigma · Low · v5
Product
windows
Category
process_creation
Author
frack113 (SigmaHQ), DRL 1.1
Published
2024-05-03
Updated
2026-07-31

What it detects

This rule identifies process executions of PowerShell that invoke the New-NetFirewallRule cmdlet to create a new Windows firewall rule with an Allow action. Adding firewall allow rules can enable persistence or facilitate network access for malicious tooling by modifying host network filtering. It relies on process creation telemetry capturing the executable image (PowerShell variants) and the command line containing the specific cmdlet parameters.

Changelog

v5
  1. v5
    Candidate ingested via manual entry.2026-07-31
  2. v4
    Candidate ingested via manual entry.2026-07-31
  3. v3
    Candidate ingested via manual entry.2026-07-31
  4. v2
    Candidate ingested via manual entry.2026-07-31
  5. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.