Skip to content
WETNav
SecuritySystem

Event ID 5071: Key access denied by Microsoft key distribution service

Key access denied by Microsoft key distribution service.

Channel
Security
Logged by default
Unknown
Written on
Any host
Volume
Not rated
Provider
Microsoft-Windows-Security-Auditing
Needs a SACL
No

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=5071)]]" -MaxEvents 50 |
  Select-Object TimeCreated, Id, MachineName, Message

-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.

ATT&CK mapping

Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.

Common questions

What does Windows event ID 5071 mean?
Key access denied by Microsoft key distribution service. It is written to the Windows Security log (Security).

Key access denied by Microsoft key distribution service. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.