Skip to content
WETNav
SecurityAuthentication

Event ID 4977: IPsec received an invalid Quick Mode negotiation packet

During Quick Mode negotiation, IPsec received an invalid negotiation packet.

Channel
Security
Logged by default
No
Written on
Any host
Volume
High
Audit subcategory
IPsec Quick Mode
Needs a SACL
No

To have this event

  • Enable IPsec Quick Mode: auditpol /set /subcategory:"IPsec Quick Mode" /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=4977)]]" -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 4977 mean?
During Quick Mode negotiation, IPsec received an invalid negotiation packet. It is written to the Windows Security log (Security).
Is event 4977 logged by default?
No. It must be enabled before it is recorded. It is controlled by the "IPsec Quick Mode" Advanced Audit Policy subcategory (Logon/Logoff).

During Quick Mode negotiation, IPsec received an invalid negotiation packet. Needs the "IPsec Quick Mode" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.