SecuritySystem
Event ID 4965: IPsec received a packet from a remote computer with an incorrect SPI
IPsec received a packet from a remote computer with an incorrect Security Parameter Index (SPI).
- Channel
- Security
- Logged by default
- No
- Written on
- Any host
- Volume
- Low
- Audit subcategory
- IPsec Driver
- Needs a SACL
- No
To have this event
- Enable IPsec Driver:
auditpol /set /subcategory:"IPsec Driver" /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=4965)]]" -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 4965 mean?
- IPsec received a packet from a remote computer with an incorrect Security Parameter Index (SPI). It is written to the Windows Security log (Security).
- Is event 4965 logged by default?
- No. It must be enabled before it is recorded. It is controlled by the "IPsec Driver" Advanced Audit Policy subcategory (System).
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderIPsec received a packet from a remote computer with an incorrect Security Parameter Index (SPI). Needs the "IPsec Driver" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.