DET-074 · human · confidence Medium

Local Firewall Rule Changes

Events 4946, 4947, and 4948 record Windows Firewall rules being added, changed, or removed.

Event 4946 means a rule was added, 4947 means a rule was modified, and 4948 means a rule was deleted. Each includes the rule name, direction, program or port, and the account. An insider might open a port for a remote tool, allow a tunnel, or remove a block that stops uploads. These events need Firewall policy change auditing on. Look for rules created by users and not by management tools.

Data sources
Windows Security log (4946, 4947, 4948)
Platforms
Windows

Logic

EventCode IN (4946, 4947, 4948)
| where NOT SubjectUserName IN (mgmt_service_accounts)
| table _time host SubjectUserName RuleName ApplicationPath
Prioritise inbound allow rules and rules for unusual ports or user-profile paths.

False positives

Software installers add rules, and developers open ports for testing.

Catches 2 techniques