SecurityPolicy Change
Event ID 4958: Windows Firewall did not apply a rule (missing items)
Windows Firewall did not apply the following rule because the rule referred to items not configured on this computer.
- 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=4958)]]" -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 4958 mean?
- Windows Firewall did not apply the following rule because the rule referred to items not configured on this computer. It is written to the Windows Security log (Security).
- Is event 4958 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 because the rule referred to items not configured on this computer. Needs the "MPSSVC Rule-Level Policy Change" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.