Windows netsh.exe Advanced Firewall Rule Set Modification

Flags netsh.exe command lines that invoke advfirewall firewall set to modify existing Windows firewall rule properties.

FreeReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
X__Junior (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2023-07-18
Updated
2026-07-30

What it detects

This rule identifies process executions of netsh.exe that include the advanced firewall context and the set operation to modify properties of an existing firewall rule. Attackers may use this capability to weaken host network controls or to establish inbound/outbound access by changing firewall settings. The detection relies on Windows process creation telemetry, specifically the executable name/path and command-line substrings indicating 'firewall' and 'set' under 'advfirewall'.

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