Event ID 4948 represents a successful IPsec Main Mode negotiation completion in Windows security auditing. IPsec Main Mode is the first phase of the Internet Key Exchange (IKE) protocol, responsible for establishing a secure channel between two IPsec peers before any actual data transmission occurs.
During Main Mode negotiation, both endpoints authenticate each other using certificates, Kerberos tickets, or pre-shared keys, then negotiate encryption algorithms, hash functions, and Diffie-Hellman groups for key generation. Once this phase completes successfully, Windows logs Event ID 4948 with comprehensive details about the established security association.
The event includes crucial information such as the source and destination IP addresses, authentication methods used, encryption algorithms selected, and the security association's lifetime parameters. This data proves invaluable for troubleshooting IPsec connectivity issues, validating security policy compliance, and maintaining audit trails for regulatory requirements.
In Windows Server 2025 and Windows 11 24H2, Microsoft enhanced the event logging to include additional cryptographic details and improved correlation with related IPsec events. The event now provides better visibility into the negotiated security parameters, making it easier to identify potential security weaknesses or policy misconfigurations in your IPsec deployment.