Skip to content
WETNav
SecuritySystem

Event ID 5062: A kernel-mode cryptographic self-test was performed

A kernel-mode cryptographic self-test was performed.

Channel
Security
Logged by default
Yes
Written on
Any host
Volume
Low
Audit subcategory
System Integrity
Needs a SACL
No

To have this event

  • Enable System Integrity: auditpol /set /subcategory:"System Integrity" /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=5062)]]" -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 5062 mean?
A kernel-mode cryptographic self-test was performed. It is written to the Windows Security log (Security).
Is event 5062 logged by default?
Yes, a default Windows installation records it. It is controlled by the "System Integrity" Advanced Audit Policy subcategory (System).

A kernel-mode cryptographic self-test was performed. Needs the "System Integrity" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.