Rule changed

Severity mediumWindowsSingle eventexperimentalwindows.firewall.rule_changed · v1.0.0

Detects Windows Firewall rule additions/modifications (Security 4946/4947).

What it detects

Detects Windows Firewall rule additions/modifications (Security 4946/4947). Attackers open inbound paths (RDP, SMB, C2 ports) or neuter blocking rules.

MITRE ATT&CK mapping

  • T1562.004Impair Defenses: Disable or Modify System Firewall· Defense Evasion

False positives and triage

Software installers register firewall rules routinely. Focus on inbound allow rules for remote-access ports and rules created outside deployment windows.

The rule

Declarative YAML read by the detection engine — data, never executed. Confidence 60%. Source: rules/windows/firewall_rule_changed.yaml, licensed under the Apache License 2.0.

id: windows.firewall.rule_changed
version: 1.0.0
status: experimental
severity: medium
confidence: 0.6
platforms: [windows]
mitre_techniques: [T1562.004]
description: |
  Detects Windows Firewall rule additions/modifications (Security 4946/4947). Attackers
  open inbound paths (RDP, SMB, C2 ports) or neuter blocking rules.
match:
  event_category: firewall
  event_action: firewall_rule_changed
false_positive_guidance: |
  Software installers register firewall rules routinely. Focus on inbound allow rules for
  remote-access ports and rules created outside deployment windows.

Related detections

Run this rule on your own logs — offline

KIROSEC runs this rule and the rest of the library over Windows, Linux, macOS and cloud audit logs on the analyst's own machine. Every alert links to the events that raised it, and nothing leaves the device.

Browse all detections