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

Event ID 104: Kerberos preauthentication by using DES or RC4 failed because the account was a member of the Protected User group

Written by a domain controller when a member of Protected Users tries Kerberos pre-authentication with DES or RC4, which the group forbids (AES is accepted). An RC4 attempt for a protected account is how a stolen password hash is used.

Log source
Protected Users failures log
Detection value
Supporting
Volume
Low (estimate)
Last updated
Log
Protected User Failures log (Microsoft-Windows-Kerberos-Key-Distribution-Center, off by default)
Logged on
Domain controllers only
Event versions
0
Detects
1 attack (1 rule · 1 detection logic)
MITRE ATT&CK
1 technique in 1 tactic
Threat groups
11 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 104 when Kerberos pre-authentication fails for a member of the Protected Users security group because it used DES or RC4: members may use AES only. Microsoft documents the event in the ProtectedUserFailures-DomainController log and adds that AES is acceptable. The domain controller enforces this once the domain functional level is Windows Server 2012 R2 or higher, and members need AES keys in Active Directory, which an account gets when its password is changed on a domain controller running Windows Server 2008 or later.

The event is written by the Key Distribution Center (Microsoft-Windows-Kerberos-Key-Distribution-Center) with level Error. Microsoft's table lists no fields for it, but its template has those of a failed pre-authentication in the Security log (event 4771): the account and its SID, the service, the client address and port, the ticket options, the failure code, the pre-authentication type and the certificate fields. The template adds that many fields may be missing when the request was malformed or damaged in transit and could not be decrypted. The event ID is also used by a different event in the ProtectedUser-Client log of member computers: read 104 from the domain controller log only.

How to turn it on

Microsoft-Windows-Kerberos-Key-Distribution-Center writes the event to the Protected User Failures log (Event Viewer > Applications and Services Logs > Microsoft > Windows > Authentication > ProtectedUserFailures-DomainController), which is off by default. Microsoft

Microsoft added the log with the Protected Users group (Windows Server 2012 R2), and it is off by default: turn it on on every domain controller (in Event Viewer, right-click the log and choose Enable Log, or use the commands below), since each event is written only by the domain controller that refused the request.

The domain controller side of Protected Users, which refuses NTLM and DES or RC4 pre-authentication for members, needs the domain functional level Windows Server 2012 R2 or higher; below it the log stays empty. Events appear only for members of Protected Users (RID 525), which has no members by default. Two logs with similar names hold other events: ProtectedUser-Client records the client side on member computers and reuses event ID 104 for a different event, and ProtectedUserSuccesses-DomainController records the ticket-granting tickets issued to members (event 303). Collect this one from the domain controllers for the events on these pages.

Check whether the log is on
wevtutil gl "Microsoft-Windows-Authentication/ProtectedUserFailures-DomainController"
Based on vendor documentation.
Turn the log on
wevtutil sl "Microsoft-Windows-Authentication/ProtectedUserFailures-DomainController" /e:true
Based on vendor documentation.
List the members of Protected Users
Get-ADGroupMember -Identity "Protected Users" | Format-Table Name, objectClass -AutoSize
Based on vendor documentation.

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
Security IDTargetSidAccount InformationSID of that account (Security ID). Event Viewer resolves it to the account name.v0
Account NameTargetUserNameAccount InformationAccount whose pre-authentication failed (Account Name): a member of Protected Users. Computer account names end with $, but computers should not be members of the group.v0
Service NameServiceNameService InformationService the ticket-granting ticket was requested for (Service Name). Microsoft's 4771 page gives its usual forms, krbtgt/DOMAIN or krbtgt/domain.full.name.v0
Client AddressIpAddressNetwork InformationAddress of the computer that sent the request (Client Address). Microsoft's 4771 page shows IPv4 addresses as ::ffff:a.b.c.d and ::1 for the domain controller itself.v0
Client PortIpPortNetwork InformationSource port of the request (Client Port). 0 for a request from the domain controller itself, in Microsoft's 4771 page.v0
Ticket OptionsTicketOptionsAdditional InformationKerberos options of the request, in hexadecimal (Ticket Options, RFC 4120). Microsoft's 4771 page lists common values such as 0x40810010 (forwardable, renewable, canonicalize, renewable-ok).v0
Failure CodeStatusAdditional InformationKerberos error code of the failure, in hexadecimal (Failure Code), defined in RFC 4120 as the template's own note says. Microsoft does not document which code 104 carries.v0
Pre-Authentication TypePreAuthTypeAdditional InformationPre-authentication type of the request (Pre-Authentication Type), a number from Microsoft's table for 4771: 2 for a password, 15 or 16 for a smart card, 138 with Kerberos armoring.v0
Certificate Issuer NameCertIssuerNameCertificate InformationIssuer of the certificate used for pre-authentication (Certificate Issuer Name). The template's own note says certificate information is given only when a certificate was used; Microsoft's 4771 page says it is always empty in 4771.v0
Certificate Serial NumberCertSerialNumberCertificate InformationSerial number of that certificate (Certificate Serial Number). Empty unless a certificate was used.v0
Certificate ThumbprintCertThumbprintCertificate InformationThumbprint of that certificate (Certificate Thumbprint). Empty unless a certificate was used.v0

Values to know

Account Name TargetUserName

ValueMeaningSignal
A member whose password predates AES supportThe account has no AES keysMicrosoft warns that such accounts cannot authenticate once in the group. Change the password: that creates the AES keys and ends the events.Noise
A member that has AES keysA request that chose DES or RC4 although AES was availableThe RC4 key is the account's NTLM hash: an RC4 attempt for an account that has AES keys is what someone holding the hash, not the password, produces.Attack signal

Client Address IpAddress

ValueMeaningSignal
A client or device known to support RC4 onlyAn identified legacy clientUpdate or replace it, or keep that account out of Protected Users until it is.Noise
Any other computerA current computer that should have used AESCompare it with the account's administrative workstations and look at that computer.Attack signal

Pre-Authentication Type PreAuthType

ValueMeaningSignal
2PA-ENC-TIMESTAMPMicrosoft's 4771 table: standard password pre-authentication.Worth knowing
138PA-ENCRYPTED-CHALLENGEMicrosoft's 4771 table: logon using Kerberos armoring (FAST).Worth knowing

Volume and noise

Microsoft states no volume. Only members of Protected Users can produce the event, and the group has no members by default. The benign sources: a member without AES keys, because its password was last changed before the domain supported AES (Microsoft warns that such accounts cannot authenticate and should change their password before joining the group), and clients or devices that ask for RC4 only.

Keeping it manageable

  • Keep every event: the volume is low, and the rule for protected accounts reads each one.
  • Clear the benign cases once: change the password of members that have no AES keys, and update or replace clients that use RC4 only. After that every event points to an RC4 or DES key used where only AES should appear.
  • Read the account (TargetUserName) and the computer that sent the request (IpAddress) from the event itself, and compare the address with the administrative workstations of that account. The detection logic of the protected account page looks the address up in the Security log's 4771; the template shows that 104 carries it already.
  • Turn the log on on every domain controller: the event is written only by the domain controller that answered the request.

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>104</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x2000000000000000</Keywords>
    <TimeCreated SystemTime="2026-11-18T09:30:12.4567890Z" />
    <EventRecordID>1048576</EventRecordID>
    <Correlation />
    <Execution ProcessID="712" ThreadID="2408" />
    <Channel>Microsoft-Windows-Authentication/ProtectedUserFailures-DomainController</Channel>
    <Computer>DC01.corp.example.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="TargetUserName">adm-alice</Data>
    <Data Name="TargetSid">S-1-5-21-1004336348-1177238915-682003330-1120</Data>
    <Data Name="ServiceName">krbtgt/CORP.EXAMPLE.COM</Data>
    <Data Name="TicketOptions">0x40810010</Data>
    <Data Name="Status">0xE</Data>
    <Data Name="PreAuthType">2</Data>
    <Data Name="IpAddress">::ffff:10.20.30.99</Data>
    <Data Name="IpPort">49731</Data>
    <Data Name="CertIssuerName"></Data>
    <Data Name="CertSerialNumber"></Data>
    <Data Name="CertThumbprint"></Data>
  </EventData>
</Event>

Attacks this event reveals

Detection rules that read this event:

Frequently asked questions

Why does a member of Protected Users fail Kerberos pre-authentication with RC4?

Protected Users removes DES and RC4 from Kerberos pre-authentication for its members: once the domain functional level is Windows Server 2012 R2 or higher, domain controllers accept only AES for them. Windows clients also stop creating DES and RC4 keys for members. An account needs AES keys in Active Directory, which it gets with a password change on a domain controller running Windows Server 2008 or later.

Can event 104 point to an attack?

Yes. The RC4 key of an account is the MD4 hash of its password (RFC 4757), the same value as its NTLM hash, so a pre-authentication with RC4 for a protected account is what someone holding the hash, and not the password, produces. Once accounts without AES keys and RC4-only clients are dealt with, treat each event as a sign that the account's hash is in someone else's hands, and look at the computer in Client Address.

Which log holds event 104?

Two logs use the ID. On domain controllers, the ProtectedUserFailures-DomainController log (Applications and Services Logs > Microsoft > Windows > Authentication), off by default, holds this event, written by the Key Distribution Center. On member computers, the ProtectedUser-Client log uses 104 for a different event: the security package does not hold the credentials a member needs to authenticate to a server.

References