Suspicious Firewall Rule Update Through Netsh.EXE (via process_creation)
This rule detects execution of netsh with the "advfirewall" and the "set" option to set new values for properties of a existing rule
SigmamediumWindowsv1
sigma
suspicious-firewall-rule-update-through-netsh-exe-via-process-creation
title: Suspicious Firewall Rule Update Through Netsh.EXE (via process_creation)
id: cf31eabf-d8f2-57a3-8147-12bdac547af0
status: stable
description: This rule detects execution of netsh with the "advfirewall" and the "set" option to set new values for properties of a existing rule
references:
- https://ss64.com/nt/netsh.html
author: Huntrule Team
date: 2026-05-31
tags:
- attack.defense-impairment
- attack.defense-evasion
- attack.t1562.004
logsource:
category: process_creation
product: windows
detection:
selection_img:
- Image|endswith: '\netsh.exe'
- OriginalFileName: 'netsh.exe'
selection_cli:
CommandLine|contains|all:
- ' firewall '
- ' set '
condition: all of selection_*
falsepositives:
- Unknown
level: medium
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.