Windows Event ID 4947: A rule in the Windows Firewall exception list was modified
Written when a rule in the Windows Firewall exception list is modified. It captures loosening of defenses by rewriting an existing rule.
Overview
The subcategory is Audit MPSSVC Rule-Level Policy Change. It is generated when an existing rule in the exception list is changed locally (not for changes made via Group Policy). It is a rule-change event alongside addition 4946 and deletion 4948.
How it is triggered
- Editing an existing firewall rule (changing the port, program, allowed scope, and so on).
Security review points
- An attacker may rewrite an existing legitimate rule to widen its allowed scope (e.g. changing a specific-IP limit to allow-all), loosening defenses more quietly than a new addition. The content after the change (allowed ports, scope) is not in the event, so check it in the firewall configuration by rule name.
- Note widening of inbound allows and loosening of scope (
RemoteAddress). Read the rule history together with addition 4946 and deletion 4948.
Notes for log review
- It also occurs during legitimate configuration changes. Evaluate by the rule’s difference (whether the allowed scope widened).
- Alert narrowed to loosening changes on important rules.
MITRE ATT&CK mapping
| Technique | Tactic | What this event shows |
|---|---|---|
| T1686.003 Windows Host Firewall | Defense Impairment | Rewriting an existing rule to widen what it allows |
Mapping as of ATT&CK v19.2. To search by technique, see the ATT&CK reverse lookup.
Key fields
| Field | Meaning |
|---|---|
Rule Name | The changed rule |
Rule ID | The changed rule’s ID (the change itself is not included) |
Profile Changed | The changed profile |