Suspicious Firewall Rule Deleted Through Netsh.EXE (via process_creation)
This rule detects the removal of a port or application rule in the Windows Firewall configuration using netsh
SigmamediumWindowsv1
sigma
suspicious-firewall-rule-deleted-through-netsh-exe-via-process-creation
title: Suspicious Firewall Rule Deleted Through Netsh.EXE (via process_creation)
id: 889a0021-a821-5a92-8a3f-b07d1f20080d
status: stable
description: This rule detects the removal of a port or application rule in the Windows Firewall configuration using netsh
references:
- https://attack.mitre.org/techniques/T1686/003/
- https://app.any.run/tasks/8bbd5b4c-b82d-4e6d-a3ea-d454594a37cc/
author: Huntrule Team
date: 2026-01-23
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:
- 'firewall'
- 'delete '
filter_optional_dropbox:
ParentImage|endswith: '\Dropbox.exe'
CommandLine|contains: 'name=Dropbox'
filter_optional_avast:
ParentImage|endswith: '\instup.exe'
CommandLine|contains: 'advfirewall firewall delete rule name="Avast Antivirus Admin Client"'
condition: all of selection_* and not 1 of filter_optional_*
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.