Windows Event ID 4946 — Windows Firewall Exception Added
Logged when a new firewall exception rule is added to the Windows Firewall.
MITRE ATT&CK
T1562.004 · Disable or Modify System Firewall
Defense Evasion
Why It Matters
Attackers add firewall exceptions to allow inbound connections for backdoors, C2 (command and control) tools, or remote access. Unexpected inbound allow rules — especially for unusual ports or executables — indicate persistence or C2 setup.
Key Fields
Investigation Tips
- 1.Review the Application path — exceptions for binaries in Temp, AppData, or ProgramData are high-risk.
- 2.Compare against the baseline of expected firewall rules from your GPO.
- 3.Check 4688 for the process that created the rule — netsh.exe is commonly used.
Go deeper: the full Living-Off-the-Land Binary Abuse (LOLBins) guide
Explore the related technique, investigation steps, and evidence to consider alongside this event.
Read the Living-Off-the-Land Binary Abuse (LOLBins) guide →See Event ID 4946 in your logs
Copy the event details as XML and inspect them in your browser. No file upload or hosted analysis is needed.
Decode an event →