Articles
Kerberos RC4 Is Gone: What Breaks and How to Fix It
Kerberos

Kerberos RC4 Is Gone: What Breaks and How to Fix It

Domain controllers no longer hand out RC4 by default. What an enforced KDC does, the failure that leaves no event, and how to bring RC4 back for one account only.

R

Roy Hagland

Published 20 November 2026

Kerberos

Microsoft has finished the move that started with the January 2026 updates: domain controllers no longer hand out RC4 by default. If you read the audit articles earlier this year, you were preparing for this. This article is about what an enforced domain controller actually does, which requests fail, which failures leave no trace in the event log, and how to put RC4 back for one account without reopening the whole domain.

The audit side is covered in three earlier articles on this site: how to calculate msDS-SupportedEncryptionTypes and etypes, how to identify accounts affected by the hardening, and the step by step hardening guide for KB5073381. Read those for the pre-enforcement checklist. This one picks up after it.

What changed

The change is tracked as CVE-2026-20833 and documented in Microsoft's KB5073381. It rolled out in three phases:

  • Updates released from 13 January 2026 added audit events and changed nothing else.

  • Updates released from 14 April 2026 enforce AES by default, with a manual rollback.

  • Updates released from July 2026 enforce it permanently. The temporary RC4DefaultDisablementPhase registry value stops being read.

A domain controller with a recent cumulative update has neither RC4DefaultDisablementPhase nor DefaultDomainSupportedEncTypes in its registry. The update does not write them. The new default is built into the KDC, and the events it logs report DefaultDomainSupportedEncTypes: 0x18 (AES128 and AES256 only) even though that value does not exist. Do not go looking for a key to prove the setting is active.

What an enforced domain controller does

Two things decide the outcome of a service ticket request: what the service account says it supports (msDS-SupportedEncryptionTypes, called msDS-SET below), and what the client offers. Almost every current Windows client offers both AES and RC4. The clients that offer only RC4 are the ones that cause trouble: old Windows versions, Linux hosts configured for RC4 only (see Check krb5.conf below), and appliances.

Service account with no msDS-SET (the normal service account)

  • A client that offers AES gets an AES256 ticket with an AES256 session key.

  • A client that offers only RC4 is refused with KDC has no support for encryption type. The KDC logs event 203.

Service account with msDS-SET 0x18 (AES only)

  • A client that offers AES gets an AES256 ticket.

  • A client that offers only RC4 is refused. The KDC logs event 208.

Service account with msDS-SET 0x1C (RC4, AES128, AES256)

  • A client that offers AES gets an AES256 ticket.

  • A client that offers only RC4 is not refused. It gets an AES256 ticket with an RC4 session key.

Service account with msDS-SET 0x4 (RC4 only)

  • Every client gets an RC4 ticket with an RC4 session key, including clients that offer AES.

So RC4 is not removed from Kerberos. It is removed as the implicit default. An account that explicitly asks for it still gets it, and no Kerberos encryption type policy had to be set on the domain controller for that to work.

This explains who breaks. Computer accounts get an msDS-SET of 28 (0x1C) when they join the domain, so machines keep working. User accounts used as service accounts have nothing set, so they fall under the new AES default. A service account that has run unchanged for years on an old appliance or an old keytab is the typical casualty.

Reading the events

Refusals are logged in the System log of the domain controller, source Microsoft-Windows-Kerberos-Key-Distribution-Center. An event 203 looks like this (account names changed):

The Key Distribution Center (KDC) blocked cipher usage because service
msds-SupportedEncryptionTypes is not defined and the client only supports
insecure encryption types.

Service Information:
    Service Name: svc-app
    msds-SupportedEncryptionTypes: 0x18 (AES128-SHA96, AES256-SHA96)
    Available Keys: AES-SHA1, RC4

Domain Controller Information:
    DefaultDomainSupportedEncTypes: 0x18 (AES128-SHA96, AES256-SHA96)

Network Information:
    Advertized Etypes: RC4-HMAC-NT

Two details are easy to misread:

  • The text says the service's msDS-SET is not defined, yet the block below shows 0x18. The 0x18 is the effective value the KDC applied, not something stored on the account. Check the account in Active Directory before you decide the event is wrong.

  • Available Keys: AES-SHA1, RC4 shows the account has AES keys. The problem is the client, not the account.

The same request also produces a second, older event from the same source: event 16, saying the account "did not have a suitable key for generating a Kerberos ticket" and advising you to change or reset the password. In this situation that advice is wrong. The account has AES keys, so resetting the password changes nothing. Look at the client's advertised etypes in event 203 or 208 instead.

Events 201, 202, 206 and 207 are the audit-phase versions of 203, 204, 208 and 209. They only appear while a domain controller is still in audit mode, so an enforced domain controller shows the error versions. The full trigger table for all nine events is in the identification article.

The failure that leaves no event

Microsoft warns that the audit events do not catch everything, and the most common gap is a service that holds an RC4-only keytab. The sequence is quiet:

  • The service account has AES keys in Active Directory, so the KDC issues an AES ticket. Nothing is refused and nothing is logged.

  • The service cannot decrypt the ticket, because the keytab it was given contains only an RC4 key.

  • Authentication fails on the service side. The domain controller's logs show a successful ticket request.

Setting msDS-SET to 0x1C on the account does not help here. The ticket is still AES, because the account has AES keys and the client offers AES. The fix is a keytab that contains an AES key.

On a Linux service host

List the key types in the keytab:

klist -ke /etc/krb5.keytab

An entry that ends in (arcfour-hmac), or (DEPRECATED:arcfour-hmac) on newer MIT Kerberos, with no AES entry for the same principal is the problem. To prove it, request a ticket and verify it against the keytab:

kinit user@EXAMPLE.COM
kvno -k /etc/krb5.keytab HTTP/app.example.com@EXAMPLE.COM

With an RC4-only keytab this fails with Wrong principal in request while decrypting ticket. With an AES key present it prints keytab entry valid. The message sounds like a naming problem, but it is a key problem. If kvno -k fails even though the keytab has an AES key, check permitted_enctypes in krb5.conf (see below).

To add an AES key, build it with ktutil. For a user account used as a service account, the AES salt is the realm in upper case followed by the sAMAccountName, and the key version number must match the account's current one (kvno HTTP/app.example.com@EXAMPLE.COM prints it):

ktutil
addent -password -p HTTP/app.example.com@EXAMPLE.COM -k 2 -e aes256-cts-hmac-sha1-96 -s EXAMPLE.COMsvc-app
wkt /etc/krb5.keytab.new
quit

ktutil prompts for the account password. Replace -k 2 with the real key version number, and test the new file with kvno -k before you replace the live keytab.

Check krb5.conf

A host can support AES and still offer only RC4, because krb5.conf limits the encryption types it uses. Look for these settings in the main file and in any file it includes:

grep -RE 'includedir|enctypes' /etc/krb5.conf /etc/krb5.conf.d/

The settings that matter are default_tkt_enctypes, default_tgs_enctypes and permitted_enctypes in [libdefaults]. Since MIT Kerberos 1.18, permitted_enctypes is also the default for the other two. A service can point to a different file with the KRB5_CONFIG variable, so check its environment too.

permitted_enctypes matters most. If it lists only RC4 (arcfour-hmac), the host is affected in both roles, even with AES keys in its keytab:

  • As a client, ticket requests for accounts that have no msDS-SupportedEncryptionTypes, or have it set to 0x18, fail with KDC has no support for encryption type.

  • As a service, it cannot accept AES256 tickets. When an AES client connects, GSSAPI reports enctype aes256-cts found in keytab but cannot decrypt ticket.

Running kvno -k on such a host fails with the client error above for those accounts. For an account set to 0x1C, it gets the ticket and then fails with Encryption type not permitted while decrypting ticket.

An RC4-only default_tgs_enctypes also breaks the client, with No credentials found with supported encryption types when the ticket-granting ticket uses an AES session key.

Remove the lines so the library defaults apply. If you have to keep them, list AES:

[libdefaults]
    default_tkt_enctypes = aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96
    default_tgs_enctypes = aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96
    permitted_enctypes = aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96

A service limited to AES rejects clients that arrive with an RC4 session key, with Encryption type arcfour-hmac not permitted. Move those clients to AES too.

Windows Kerberos does not read this file (its equivalent is the Group Policy setting Network security: Configure encryption types allowed for Kerberos), but Java applications on Windows can read their own copy, from the path in java.security.krb5.conf, from conf\security\krb5.conf in the Java folder (lib\security on Java 8), or from C:\Windows\krb5.ini.

On Windows

A service that runs on Windows uses the account's password and needs no keytab. The keytabs you handle on Windows are the ones built for non-Windows services, almost always with ktpass, and it has two traps. Its default cryptosystem is RC4-HMAC-NT, so a keytab made without /crypto contains an RC4 key only. And every run sets the account's password and raises its key version number, so every earlier keytab for that account stops working, and anything that logs on to Windows with that account needs the new password.

To see what a keytab contains, read it with ktpass. This is read only and changes nothing:

ktpass /in C:keytabsapp.keytab

Each entry is printed with its key version (vno) and its encryption type. etype 0x17 (RC4-HMAC) with no other entry for the principal is an RC4-only keytab. 0x12 is AES256 and 0x11 is AES128. The output also includes the key itself in hexadecimal, so do not paste it into tickets or chats.

To create a keytab with an AES key, ask for it explicitly:

ktpass /out C:keytabsapp.keytab /princ HTTP/app.example.com@EXAMPLE.COM /mapuser EXAMPLEsvc-app /pass * /ptype KRB5_NT_PRINCIPAL /crypto AES256-SHA1 -SetUpn /RawSalt EXAMPLE.COMsvc-app

/pass * prompts for the account password. -SetUpn leaves the account's UPN alone. /RawSalt supplies the salt Active Directory used to derive the account's key: the realm in upper case followed by the sAMAccountName. Without it, ktpass builds the salt from the principal name instead, and the keytab it writes looks correct but fails kvno -k with the same Wrong principal in request while decrypting ticket error as an RC4-only keytab. The other way to get a matching key is to leave out both -SetUpn and /RawSalt. Then ktpass sets the account's UPN to the principal name, which makes the salt match but changes the account's UPN. The salt rule above is for an account that has no UPN set, so check the result either way.

Copy the file to the service host and prove it there with kvno -k, as in the Linux steps above, before you replace the keytab in use.

Finding RC4 use with Microsoft's scripts

The audit events are not enough on their own, so also read the tickets themselves. Microsoft publishes two scripts for this in the Kerberos-Crypto repository: Get-KerbEncryptionUsage.ps1 and List-AccountKeys.ps1. Both only read the Security log. They depend on events 4768 and 4769, and Kerberos auditing is off on a default domain controller. Turn it on first (in production, through Advanced Audit Policy in a GPO on the domain controllers OU):

auditpol /set /subcategory:"Kerberos Authentication Service" /success:enable /failure:enable
auditpol /set /subcategory:"Kerberos Service Ticket Operations" /success:enable /failure:enable

Then run the scripts on the domain controller:

.\Get-KerbEncryptionUsage.ps1 -Encryption RC4 -Since (Get-Date).AddDays(-7)
.\List-AccountKeys.ps1 -Since (Get-Date).AddDays(-7)

The first lists every request that used RC4, with separate Ticket and SessionKey columns. An AES256 ticket with an RC4 session key is the pattern of an RC4-only client talking to an account set to 0x1C. It authenticates, but it still counts as RC4 use. The second shows which key types each account actually has. A failed request lists its keys as a dash, because no ticket was issued.

One trap: the scripts compare event times in UTC against your -Since value in local time. On a domain controller whose time zone is ahead of UTC, a short window silently returns No events found, even with events present. Add the UTC offset to the window you intended, or use a few extra hours.

Failed requests (event 4769 with failure code 0xE, meaning the encryption type is not supported) are in the same log, so they are the quickest way to confirm which service a client was trying to reach when an event 203 fires.

Fixing it, in order of preference

1. Make the client and the service use AES

This is the real fix. Rebuild any RC4-only keytab with an AES key as shown above. If a service account has no AES keys at all, reset its password so Active Directory generates them, then rebuild the keytab. Once everything that uses the account supports AES, set msDS-SET to 24 (0x18) so the account is AES only.

2. Allow RC4 for one account

If a legacy client or appliance cannot do AES, set the service account to 0x1C:

Set-ADUser svc-app -Replace @{"msDS-SupportedEncryptionTypes"=28}

An RC4-only client then authenticates, receiving an AES ticket with an RC4 session key. This is the narrowest exception and it leaves every other account on the AES default. Use 0x4 only when the service itself can accept nothing but an RC4 ticket, because that gives RC4 tickets to every client.

3. Roll back domain wide (last resort)

Microsoft left DefaultDomainSupportedEncTypes in place as a supported value after it removed the temporary phase key. Creating it on a domain controller puts RC4 back for every account that has no msDS-SET of its own:

New-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Services\KDC" -Name DefaultDomainSupportedEncTypes -PropertyType DWord -Value 0x1C

It takes effect immediately. No restart of the KDC service is needed. Accounts with no msDS-SET then behave like the 0x1C case above. Accounts explicitly set to 0x18 are still refused, because an explicit value wins. The KDC logs event 205 to tell you someone has re-enabled an insecure cipher, and it logs it again every time the KDC service starts. Remove the value to go back to the AES default:

Remove-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Services\KDC" -Name DefaultDomainSupportedEncTypes

Microsoft's later guidance says the Windows Server 2025 value lives under the same Services\KDC key as on earlier versions. Apply it to every domain controller, or clients will get different answers depending on which one they reach. Treat it as a bridge while you fix the accounts, not a setting to keep.

Checklist

  • Enable Kerberos auditing on the domain controllers and run the two scripts with a window that allows for the time zone.

  • Check the System log for events 203, 204, 208 and 209 and for event 205.

  • Find service accounts with an SPN and no msDS-SET, and any keytab that holds only an RC4 key.

  • Rebuild keytabs with AES keys and verify them with kvno -k before deploying.

  • Use a per-account 0x1C for the few clients that cannot do AES, and plan their replacement.

  • Do not rely on the absence of events 201 to 209 as proof that nothing will break.

Sources

Comments

Log in to comment

No comments yet. Be the first to comment.