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

Event ID 204: The Key Distribution Center (KDC) blocked cipher usage because the service msds-SupportedEncryptionTypes is not defined

Written by a domain controller in RC4 Enforcement mode when it blocks a service ticket request because the service account has no AES keys and no explicit encryption setting. The Enforcement form of event 202.

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
2 techniques in 2 tactics
Threat groups
14 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 event 204 when its Key Distribution Center (KDC), in Enforcement mode, blocks a service ticket request for a service whose account has no AES keys and no msDS-SupportedEncryptionTypes value (Microsoft's short form is "msds-SET"), on a domain controller that has no DefaultDomainSupportedEncTypes value of its own. In Enforcement mode the KDC no longer assumes RC4 for accounts without an explicit setting, and the account has nothing else, so the request fails whatever the client offers. The fields give the requesting account, the service, the encryption types and keys of both and of the domain controller, and the client's address, port and advertised encryption types. Unlike 202, the event does not name the cipher.

It is written for every such request while RC4DefaultDisablementPhase is 2: the default from the April 14, 2026 updates, a setting administrators could choose earlier, and the only behavior once the July 2026 updates remove the value. In Audit mode the same request succeeds and is logged as 202, a Warning. The event template sets the level of 204 to Error, as Microsoft's notes on the event describe it; the table of KB5073381 lists all nine RC4 events as Warning, which the template does not follow.

Eight of the nine RC4 events of KB5073381 report a request; they differ by cause, by configuration and by mode:

Cause No msds-SET on the service and no DefaultDomainSupportedEncTypes on the domain controller AES-SHA1 only, on the service or as the domain controller's DefaultDomainSupportedEncTypes
The client advertises only RC4 201 (Audit), 203 (Enforcement) 206 (Audit), 208 (Enforcement)
The service account has no AES keys 202 (Audit), 204 (Enforcement) 207 (Audit), 209 (Enforcement)

201 to 205 have templates in the Windows Server 2025 build this page uses (January 2026); 206 to 209 do not, so their pages follow the KB's text and labels.

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

Domain controllers running Windows Server 2012 or later write the event once they have a Windows update released on or after January 13, 2026 (KB5073381, for CVE-2026-20833) and are in Enforcement mode. Which of the RC4 events a domain controller writes depends on RC4DefaultDisablementPhase. To read it:

reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\Parameters" /v RC4DefaultDisablementPhase

Value Meaning in Microsoft's article Request events written
0 No audit, no change None
1 Audit: warnings on default RC4 usage. The default from the January 13, 2026 updates 201, 202, 206, 207
2 Enforcement: Kerberos stops assuming that RC4 is enabled by default. The default from the April 14, 2026 updates 203, 204, 208, 209

Microsoft says a restart is required after a change. The July 2026 updates remove support for the value and leave every domain controller in Enforcement mode, so on current domain controllers 204 replaces 202.

Event 204 also needs the domain controller to have no DefaultDomainSupportedEncTypes value. To read it:

reg query "HKLM\SYSTEM\CurrentControlSet\Services\Kdc" /v DefaultDomainSupportedEncTypes

Where the value is set, Microsoft says these changes do not alter the domain controller's behavior: a value that allows RC4 is honored (and 205 is written at each KDC start), and a value of AES-SHA1 only leads to 209 instead of 204.

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
Account NameAccountNameAccount InformationAccount that requested the service ticket and was refused (Account Name).v0
Supplied Realm NameSuppliedRealmAccount InformationKerberos realm the client supplied with the request (Supplied Realm Name).v0
msds-SupportedEncryptionTypesAccountSETAccount InformationEncryption types of the requesting account (msds-SupportedEncryptionTypes under Account Information), from its msDS-SupportedEncryptionTypes attribute or, when that is not set, the domain default. KB5073381 shows only placeholders; for the same information in 4768 and 4769 Microsoft documents a hexadecimal value with type names that on Windows Server 2022 and earlier always includes DES and RC4.v0
Available KeysAccountKeysAccount InformationKey types stored in Active Directory for the requesting account (Available Keys under Account Information).v0
Service NameServiceNameService InformationAccount that holds the requested service, the service account (Service Name): the account to fix.v0
Service IDServiceIDService InformationSID of the service account (Service ID). Event Viewer resolves it to the account name.v0
msds-SupportedEncryptionTypesServiceSETService InformationEncryption types of the service account (msds-SupportedEncryptionTypes under Service Information). For this event the attribute is not set on the account, so the domain default applies; read the attribute on the account to confirm, since the event may show a processed value.v0
Available KeysServiceKeysService InformationKey types stored for the service account (Available Keys under Service Information): RC4 only in this event. AES keys exist once the password has been changed at a domain functional level of 2008 or higher.v0
msds-SupportedEncryptionTypesDCSETDomain Controller InformationEncryption types of the domain controller that answered, from its Kerberos encryption policy (msds-SupportedEncryptionTypes under Domain Controller Information).v0
DefaultDomainSupportedEncTypesDDSETDomain Controller InformationThe domain controller's DefaultDomainSupportedEncTypes registry value (DefaultDomainSupportedEncTypes): the encryption types it assumes for accounts without msDS-SupportedEncryptionTypes. Not set by hand on a domain controller that writes this event; Microsoft does not document what the field shows then.v0
Available KeysDCKeysDomain Controller InformationKey types stored for the domain controller (Available Keys under Domain Controller Information).v0
Client AddressIpAddressNetwork InformationAddress of the computer that sent the request (Client Address). Text, not an address type.v0
Client PortPortNetwork InformationSource port of the request (Client Port), a number.v0
Advertized EtypesAdvertizedEtypesNetwork InformationEncryption types the client listed in its request (Advertized Etypes). The client may well offer AES; the cause here is the service account.v0

Values to know

Available Keys ServiceKeys

ValueMeaningSignal
RC4 onlyThe service account has no AES keysThe condition of this event and what the rule reports. Until it is fixed, the account can only have RC4 tickets, the kind an offline password attack goes after. Changing the password creates AES keys.Attack signal

Service Name ServiceName

ValueMeaningSignal
A name that does not end with $A service running under a user accountA password set by people, protected only by RC4: the Kerberoasting case. Change the password.Attack signal
Ends with $A computer accountComputer passwords are long and changed automatically, so these tickets are of little use to an offline attack. A computer account without AES keys still points to a system to check.Worth knowing

msds-SupportedEncryptionTypes ServiceSET

ValueMeaningSignal
Not set on the accountThe service uses the domain defaultThe condition of 202 and 204. In Enforcement mode the default no longer includes RC4 (DefaultDomainSupportedEncTypes defaults to 0x18, AES-SHA1, from the April 2026 updates).Worth knowing
RC4 enabled explicitly (for example 0x24)An explicit setting that keeps RC4Not blocked and not written as 204. Microsoft's fix for a service that must keep RC4; 0x24 is RC4 with AES session keys.Worth knowing

Volume and noise

Each event is a refused request for a ticket to a service account whose password has not been changed since AES keys became available. Microsoft explains that AES keys are created when a password is set or changed (at a domain functional level of 2008 or higher). Every user of that service is affected, so expect the same few service accounts at the rate their services are used, from many client addresses.

A burst right after a domain controller moves to Enforcement mode is typically the accounts that Audit mode reported as 202 and that were not fixed.

Keeping it manageable

  • Match the provider as well as the event ID: IDs in the System log repeat across providers. The event template names it Microsoft-Windows-Kerberos-Key-Distribution-Center, while KB5073381's table names the source Kdcsvc; the rules accept both.
  • If you filter on the level, keep Error for 203 and 204 and Warning for their Audit mode forms 201 and 202, as the event templates set them; a filter written from the KB's table, Warning only, misses 203 and 204.
  • Report each service account once rather than per request: Service Name (ServiceName) and Service ID (ServiceID) identify it.
  • The fix is on the account: change its password and AES keys are created. Microsoft's alternative, enabling RC4 explicitly in its msDS-SupportedEncryptionTypes, makes the event stop but keeps the account's tickets RC4.

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}" />
    <EventID>204</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>4</Task>
    <Opcode>0</Opcode>
    <Keywords>0x0400000000000000</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="SuppliedRealm">CORP.EXAMPLE.COM</Data>
    <Data Name="AccountSET">0x1C (RC4, AES128-SHA96, AES256-SHA96)</Data>
    <Data Name="AccountKeys">AES-SHA1, RC4</Data>
    <Data Name="ServiceName">svc-legacyapp</Data>
    <Data Name="ServiceID">S-1-5-21-1004336348-1177238915-682003330-1123</Data>
    <Data Name="ServiceSET">N/A</Data>
    <Data Name="ServiceKeys">RC4</Data>
    <Data Name="DCSET">0x18 (AES128-SHA96, AES256-SHA96)</Data>
    <Data Name="DDSET">N/A</Data>
    <Data Name="DCKeys">AES-SHA1, RC4</Data>
    <Data Name="IpAddress">::ffff:10.20.30.41</Data>
    <Data Name="Port">51234</Data>
    <Data Name="AdvertizedEtypes">AES256-CTS-HMAC-SHA1-96 AES128-CTS-HMAC-SHA1-96 RC4-HMAC-NT</Data>
  </EventData>
</Event>

Attacks this event reveals

Detection rules that read this event:

Frequently asked questions

What is the difference between events 204 and 203?

Both are written in Enforcement mode for a blocked service ticket request to a service with no explicit encryption setting. In 203 the cause is the client, which advertises only RC4. In 204 the cause is the service account, which has no AES keys, so every client fails whatever it offers. 203 is fixed on the client, 204 on the service account.

How do I make event 204 stop?

Change the service account's password. Microsoft explains that AES keys are generated when a password is set or changed, so the account then has AES keys and the KDC can issue an AES ticket. If the service itself cannot use AES, Microsoft advises enabling RC4 explicitly in the account's msDS-SupportedEncryptionTypes, which ends the event and keeps the account on RC4 tickets.

Is event 204 a warning or an error?

An error. The event template of the Windows Server 2025 domain controller sets its level to Error, as the notes of KB5073381 describe 204; the article's table lists all nine RC4 events as Warning. Its Audit mode form, 202, is a Warning. Either way the request was blocked.

References