1. Resources
  2. Detection sources
  3. Event ID 45

Event ID 45: The Key Distribution Center (KDC) encountered a client certificate that was valid but did not chain to a root

Written by the KDC on a domain controller when a valid sign-in certificate does not chain to the NTAuth store and the sign-in is still allowed (Audit mode). Added April 8, 2025 (KB5057784, CVE-2025-26647); names user and certificate.

Log source
Windows System log
Detection value
Supporting
Volume
Medium (estimate)
Last updated
Log
System log (Microsoft-Windows-Kerberos-Key-Distribution-Center, on by default)
Logged on
Domain controllers only
Event versions
0
Detects
1 attack (1 rule)
MITRE ATT&CK
1 technique in 1 tactic
Threat groups
2 groups that MITRE ATT&CK records using these techniques
Fields the rules read
The event ID and the provider only

When it is written

A domain controller writes 45 when its Key Distribution Center (KDC) receives a certificate sign-in (PKINIT) whose client certificate is valid but does not chain to a root in the NTAuth store, the forest's list of certification authorities that may issue sign-in certificates. Microsoft calls it the NT Auth Store Check Audit Event: it is the audit event of the protections for CVE-2025-26647 in the updates released on or after April 8, 2025. In Audit mode the KDC logs it and still allows the request, so each event is a sign-in that succeeded. The event names the user and the subject, issuer, serial number and thumbprint of the certificate; its text adds that support for certificates that do not chain to the NTAuth store is deprecated.

Microsoft describes the gap as a certificate from a CA that the domain controller trusts but that is not in the NTAuth store, matched to the account through an explicit mapping in altSecurityIdentities. Microsoft lists the mapping types that now require a matching certificate to chain to the NTAuth store as X509IssuerSerialNumber, X509SKI, X509SHA1PublicKey, X509IssuerSubject and X509NSubjectOnly.

In Enforcement mode the same request is refused and the KDC writes the older event 21 instead. The updates of July 2025 made Enforcement the default while Audit mode stayed available through a registry value; Microsoft says the updates released in or after October 2025 end its support for that value, and does not say whether a domain controller with them still writes 45. Only the domain controller that handled the sign-in writes the event: collect the System log of every domain controller.

How to turn it on

Microsoft-Windows-Kerberos-Key-Distribution-Center writes the event to the System log (Event Viewer > Windows Logs > System), which is on by default. Microsoft

No audit setting turns the event on. It needs the updates released on or after April 8, 2025 on the domain controller and the NTAuth check in Audit mode, which the AllowNtAuthPolicyBypass value under HKLM\SYSTEM\CurrentControlSet\Services\Kdc controls: 0 turns the change off, 1 is Audit mode (the check runs, event 45 is logged and the sign-in is allowed; the default of the April 2025 updates), 2 is Enforcement (the sign-in is refused and event 21 is logged). Windows does not create the value, and when it is absent the default of the installed update applies. Read it with reg query HKLM\SYSTEM\CurrentControlSet\Services\Kdc /v AllowNtAuthPolicyBypass.

From the July 2025 updates the default is Enforcement and the value can no longer turn the change off; from October 2025 Microsoft no longer supports the value. Microsoft advises moving to Enforcement only after every event 45 is resolved, and, on domain controllers that serve Windows Hello for Business key trust or domain-joined device public key authentication, only with the updates released after May 2025.

Fields

In Event Viewer order. The field names are those of the event XML, from the event template of Windows Server 2025 (build 26100.32230, January 13, 2026): the provider belongs to a server role, so the template comes from the provider manifests that the EVTX-ETW-Resources project exported from that release.

FieldWhat it holdsSince
UserAccountNameAccount that signed in with the certificate (User), shown as <UserName> in KB5057784. Microsoft notes that a computer account ends with $.v0
Certificate SubjectSubjectSubject of the client certificate (Certificate Subject). For a Windows Hello for Business sign-in Microsoft gives the form <SID>/<UID>/login.windows.net/<Tenant ID>/<user UPN>.v0
Certificate IssuerIssuerIssuer of the certificate (Certificate Issuer), the CA whose chain does not reach the NTAuth store. In the two cases Microsoft says may be ignored it has the same form as the subject.v0
Certificate Serial NumberSerialNumberSerial number of the certificate (Certificate Serial Number). With the issuer it identifies the certificate on the CA that issued it; Microsoft gives 0 1 for a computer's public key sign-in.v0
Certificate ThumbprintThumbprintThumbprint of the certificate (Certificate Thumbprint). Successful ticket requests in event 4768 carry the certificate's thumbprint too, so the two can be matched.v0
Binary dataBinaryBinary data the KDC attaches to the event. Microsoft does not document what it holds for event 45; rules do not need it.v0

Values to know

Certificate Issuer Issuer

ValueMeaningSignal
<SID>/<UID>/login.windows.net/<Tenant ID>/<user UPN>, like the subjectA Windows Hello for Business sign-inOne of the two cases Microsoft says may be ignored.Noise
The same computer as the subject, with serial number 0 1A computer's sign-in with a public key (PKINIT)The other case Microsoft says may be ignored, when AccountName is a computer account.Noise
A CA of your own PKI that is not in the NTAuth storeA configuration gapPublish it to the NTAuth store if it is meant to issue sign-in certificates; otherwise reissue the certificates from a CA that is.Worth knowing
A CA nobody can account forA sign-in with a certificate from an unapproved CAThe case CVE-2025-26647 is about, and the sign-in succeeded. Check the account's explicit mappings and what it did afterwards.Attack signal

User AccountName

ValueMeaningSignal
Ends with $A computer accountIgnorable only when the subject and issuer are that computer and the serial number is 0 1.Worth knowing
A privileged accountA member of an administrative group such as Domain AdminsA certificate sign-in to such an account from a CA outside the NTAuth store has the most at stake. Look at its altSecurityIdentities mappings first.Attack signal

Volume and noise

Each certificate sign-in whose chain does not reach the NTAuth store can produce one. Microsoft names two cases that may be ignored: Windows Hello for Business sign-ins whose certificate subject and issuer have the form <SID>/<UID>/login.windows.net/<Tenant ID>/<user UPN>, and computer sign-ins with a public key (PKINIT) in which the user is a computer account (a name ending with $), the subject and issuer are that same computer and the serial number is 0 1. Microsoft also said that later updates would reduce how many events 45 are logged, and documented a known issue with events 45 and 21 for sign-ins with self-signed certificates.

Keeping it manageable

  • Separate the two cases Microsoft says may be ignored before alerting, on the event's own fields: AccountName, Subject, Issuer and SerialNumber. The library's rule matches the event ID and the provider only, so do it in the SIEM once you have checked how your collection stores those fields.
  • Keep every other event 45: each one is a sign-in that succeeded with a certificate from a CA that was not approved for sign-in.
  • Resolve the issuers you find. Publish a CA to the NTAuth store only if it is meant to issue sign-in certificates, otherwise move its users and devices to certificates from a CA that is; the event stops for them.
  • Filter on the provider as well as the ID, and keep event 21 next to it. As an XPath query of an Azure Monitor data collection rule, which puts the log name and ! first (a Windows Event Forwarding subscription takes the expression after the ! in a Select of that log): System!*[System[Provider[@Name='Microsoft-Windows-Kerberos-Key-Distribution-Center'] and (EventID=21 or EventID=45)]].

Sample event

Version 0, with made-up values.

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Kerberos-Key-Distribution-Center" Guid="{3FD9DA1A-5A54-46C5-9A26-9BD7C0685056}" EventSourceName="KDC" />
    <EventID Qualifiers="32768">45</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2026-11-18T09:30:12.4567890Z" />
    <EventRecordID>1048576</EventRecordID>
    <Correlation />
    <Execution ProcessID="712" ThreadID="2408" />
    <Channel>System</Channel>
    <Computer>DC01.corp.example.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="AccountName">alice</Data>
    <Data Name="Subject">CN=alice, OU=Staff, DC=corp, DC=example, DC=com</Data>
    <Data Name="Issuer">CN=CORP-LAB-CA, DC=lab, DC=corp, DC=example, DC=com</Data>
    <Data Name="SerialNumber">6d000000194be27c3a8f51d2000000000019</Data>
    <Data Name="Thumbprint">c4a19e7f3b2d8a05e6f1c9b4d7a2e8f03b5c6d19</Data>
  </EventData>
</Event>

Attacks this event reveals

Detection rules that read this event:

Frequently asked questions

Does KDC event 45 mean that the sign-in was blocked?

No. It is the audit event of the CVE-2025-26647 protections, which Microsoft calls the NT Auth Store Check Audit Event. The domain controller found a valid certificate that does not chain to the NTAuth store and still allowed the sign-in. In Enforcement mode the sign-in is refused and the KDC writes event 21 instead.

Which events 45 can be ignored?

Microsoft names two cases. Windows Hello for Business sign-ins whose certificate subject and issuer have the form of a SID, an identifier, login.windows.net, the tenant ID and the user's UPN; and computer sign-ins with a public key in which the user is a computer account, subject and issuer are that same computer and the serial number is 0 1.

Will event 45 still appear on current domain controllers?

Only in Audit mode. The July 2025 updates made Enforcement the default, in which the KDC refuses the sign-in and writes event 21; Audit mode stayed only where AllowNtAuthPolicyBypass is set to 1. Microsoft ended support for that value with the updates released in or after October 2025 and does not say whether those domain controllers still honor it.

How do I find out why a certificate in event 45 was accepted for that account?

Look at the account's altSecurityIdentities attribute. The explicit mapping types that Microsoft says now require a certificate chaining to the NTAuth store are X509IssuerSerialNumber, X509SKI, X509SHA1PublicKey, X509IssuerSubject and X509NSubjectOnly. A mapping nobody can explain on a privileged account is the finding.

References