SecurityPolicy Change
Event ID 4957: Windows Firewall did not apply a rule
Windows Firewall did not apply the following rule.
- Channel
- Security
- Logged by default
- No
- Written on
- Any host
- Volume
- Low
- Audit subcategory
- MPSSVC Rule-Level Policy Change
- Needs a SACL
- No
To have this event
- Enable MPSSVC Rule-Level Policy Change:
auditpol /set /subcategory:"MPSSVC Rule-Level Policy Change" /success:enable /failure:enable
Pull this event
Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.
Get-WinEvent -LogName 'Security' -FilterXPath "*[System[(EventID=4957)]]" -MaxEvents 50 |
Select-Object TimeCreated, Id, MachineName, Message-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.
Common questions
- What does Windows event ID 4957 mean?
- Windows Firewall did not apply the following rule. It is written to the Windows Security log (Security).
- Is event 4957 logged by default?
- No. It must be enabled before it is recorded. It is controlled by the "MPSSVC Rule-Level Policy Change" Advanced Audit Policy subcategory (Policy Change).
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderWindows Firewall did not apply the following rule. Needs the "MPSSVC Rule-Level Policy Change" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.