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

Event ID 38: The Key Distribution Center (KDC) encountered a ticket that contained inconsistent information about the account

Written by the KDC on a domain controller when the account recorded as the requester of a ticket does not match Active Directory; it lists both SIDs. Microsoft names a rename or an exploit attempt as causes. A Golden Ticket signal.

Log source
Windows System log
Detection value
Supporting
Volume
Low (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
1 group 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 38 when its Key Distribution Center (KDC), while it handles a request for another ticket, finds that the ticket-granting ticket (TGT) or other evidence ticket presented to it holds inconsistent information about the account that requested it. Since the November 2021 updates for CVE-2021-42287, the PAC of every TGT records the account that requested it, and the KDC checks that this is the account the new ticket is built for. Microsoft's Kerberos specification (MS-KILE 3.3.5.7) states the check for a client of the KDC's own realm only: the client name in the ticket must resolve to an account whose SID is the requester SID in the PAC. KB5008380 names the event Requestor Mismatch. It gives the KDC that built the PAC (IssuingKDC), the client as realm and name (ClientRealm, ClientName), the service of the ticket being requested (ServerName), and the requesting account's SID twice: as Active Directory gives it (ActiveDirectorySID) and as the ticket records it (TicketSID).

Microsoft says the mismatch could mean that the account was renamed after the ticket was issued, which may have been part of an exploit attempt. CVE-2021-42287 allowed a domain account to make the KDC issue a service ticket with more privileges than its own, by keeping the KDC from telling which account the ticket was for. The event is always an error. Domain controllers with the November 9, 2021 or later updates write it, and only the one that processed the request: 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 or registry setting turns the event on: a domain controller writes it once it has the November 9, 2021 or later updates (KB5008380). While the change was rolled out, PacRequestorEnforcement under HKLM\SYSTEM\CurrentControlSet\Services\Kdc chose the phase (1 Deployment, the default; 2 Enforcement; 0 disabled until the July 12, 2022 updates). The October 11, 2022 updates put every domain controller in Enforcement and stopped reading the value.

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
Ticket PAC constructed byIssuingKDCKDC that built the PAC of the ticket (shown as Ticket PAC constructed by; KB5008380 prints <Kdc Name>). Microsoft does not document how the KDC derives the name.v0
ClientClientRealmRealm of the client named in the ticket: the first part of the Client line, which KB5008380 prints as <Domain Name>\<User Name>.v0
ClientClientNameName of that client, the second part of the Client line.v0
Ticket forServerNameService of the ticket the client was requesting when the KDC found the problem (shown as Ticket for). Microsoft shows it as <Service Name> and does not document its format.v0
Requesting Account SID from Active DirectoryActiveDirectorySIDSID of the requesting account as the KDC finds it in Active Directory when it processes the request (shown as Requesting Account SID from Active Directory).v0
Requesting Account SID from TicketTicketSIDSID of the account that requested the ticket, as the PAC recorded it when the ticket was issued (shown as Requesting Account SID from Ticket). Compare it with ActiveDirectorySID and look both up.v0
Binary dataBinaryBinary data Windows attaches to the event (the template ends with a binary element). Microsoft does not document what it holds for this event.v0

Values to know

Requesting Account SID from Ticket TicketSID

ValueMeaningSignal
SID of an account renamed after the ticket was issuedThe rename Microsoft names as a possible causeConfirm it with event 4781 for that SID, between the time the TGT was issued and this event, and check the names. A planned rename of an ordinary account is benign.Noise
SID of an ordinary account, while the SID from Active Directory is a domain controller or an administratorA ticket requested by one account, used to get a ticket built for a more privileged oneThe outcome CVE-2021-42287 made possible. Look for a computer account renamed to the name of a domain controller without its trailing $ and then renamed again, the sequence Microsoft's security blog describes (events 4781 and 16991).Attack signal

Requesting Account SID from Active Directory ActiveDirectorySID

ValueMeaningSignal
A domain controller or a member of an administrative groupPrivileged account on the Active Directory sideInvestigate first, together with the account the SID from the ticket belongs to.Attack signal

Volume and noise

Microsoft states no volume. The documented ordinary cause is an account renamed between the issue and the use of its ticket. Account renames are rare and a ticket is valid only for a limited time, so the event should be rare as well.

Keeping it manageable

  • Collect the event from every domain controller and keep all of it: the Golden Ticket rule matches 36, 37 and 38 on the event ID and the provider alone.
  • Filter on the provider as well as the ID. As an XPath query of an Azure Monitor data collection rule, which puts the log name and an exclamation mark before the expression: System!*[System[Provider[@Name='Microsoft-Windows-Kerberos-Key-Distribution-Center'] and (EventID=36 or EventID=37 or EventID=38)]].
  • Keep event 4781 (an account was renamed) from every domain controller as well: it is how a benign rename is confirmed or ruled out for the SID in the ticket.
  • Do not suppress the event for any class of account. A rename explains a mismatch only when 4781 shows one for that account.

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">38</EventID>
    <Version>0</Version>
    <Level>2</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="IssuingKDC">DC02</Data>
    <Data Name="ClientRealm">CORP.EXAMPLE.COM</Data>
    <Data Name="ClientName">DC01</Data>
    <Data Name="ServerName">cifs/DC01.corp.example.com</Data>
    <Data Name="ActiveDirectorySID">S-1-5-21-1004336348-1177238915-682003330-1000</Data>
    <Data Name="TicketSID">S-1-5-21-1004336348-1177238915-682003330-1153</Data>
  </EventData>
</Event>

Attacks this event reveals

Detection rules that read this event:

Frequently asked questions

What does a mismatch between the two SIDs in event 38 mean?

The SID that the ticket records as its requester is not the one Active Directory gives for the requesting account. Microsoft names two explanations, an account renamed after the ticket was issued and an exploit attempt. Look up both SIDs and the renames behind them. A planned rename of an ordinary account is benign; a ticket requested by an ordinary account and used for a domain controller or an administrator is not.

How do I confirm that a rename caused event 38?

Search the Security log of the domain controllers for event 4781 for the SID from the ticket, between the time its TGT was issued and the event, and read the old and new names. A computer account renamed to the name of a domain controller without the trailing $ is the pattern Microsoft's security blog describes for CVE-2021-42278 used together with CVE-2021-42287, not a benign rename.

Does event 38 on an updated domain controller mean the exploit worked?

No. The event shows that the KDC detected the inconsistency, which is the check the November 2021 updates added. KB5008380 describes the event and not the outcome of the request, but Microsoft's Kerberos specification (MS-KILE 3.3.5.7) requires a KDC to answer a request whose ticket fails the requester check with the error KDC_ERR_TGT_REVOKED, so expect the request to have been refused. Treat the event as an attempt and find the account that made it.

References