Join our Newsletter — 33% off our NHI Course
Home› Guides› Kerberos and NTLM Event Detection Guide: 4768, 4769,…
Guide SOC & Detection Engineering

Kerberos and NTLM Event Detection Guide: 4768, 4769, 4776 and Relay Indicators

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 19 November 2026 17 min read
On this page

Windows authentication events 4768, 4769, 4776 and 4624 give a security operations team almost everything it needs to spot Kerberos ticket abuse, NTLM misuse and relay activity, provided the right audit subcategories are on and the team knows which fields carry the signal. This guide is a field-by-field detection reference for those four events. It covers where each is logged, which values matter and how to correlate them into detections that survive a busy domain.

It is part of our log source detection series alongside the Okta System Log Detection Guide. For the wider list of domain controller events and audit policy, see the Active Directory Security Monitoring and Event IDs Guide. Field names, codes and recommendations on this page come from Microsoft's event reference pages, listed under Standards and references. Every query on this page is illustrative: adapt field names to the way your SIEM parses Windows events.

Key takeaways

  • Encryption type is the highest value Kerberos field. Microsoft recommends alerting when Ticket Encryption Type is DES (0x1 or 0x3) and, on modern estates, when it is anything other than AES (0x11 or 0x12). RC4 (0x17) on a service ticket is the classic Kerberoasting tell.
  • Pre-Authentication Type 0 on a 4768 means a TGT was issued without pre-authentication. That is the account condition AS-REP roasting relies on, and it should be rare enough to alert on every time.
  • NTLM is visible in two places. 4776 on DCs gives you every NTLM validation for domain accounts; 4624 on the target gives you the Authentication Package, Package Name (NTLM only) and Key Length, which expose NTLMv1 and weak session keys.
  • Relay detection is a correlation problem. No single event says "relay". You look for NTLM network logons where the Workstation Name and Source Network Address do not belong together, or where a machine account authenticates from somewhere it never should.
  • Service accounts are the noise and the target. Baseline them by account, source and encryption type before alerting.

Turning on the right audit subcategories

None of the detections on this page work unless the events are generated and collected. Each event belongs to a specific Advanced Audit Policy subcategory, as Microsoft documents on the event pages:

EventMeaningAudit subcategoryLogged on
4768A Kerberos authentication ticket (TGT) was requestedAudit Kerberos Authentication ServiceDomain controllers only
4769A Kerberos service ticket was requestedAudit Kerberos Service Ticket OperationsDomain controllers only
4776The computer attempted to validate the credentials for an account (NTLM)Audit Credential ValidationThe computer authoritative for the credentials
4624An account was successfully logged onLogon auditing (Logon/Logoff category)The target computer

Enable success and failure for the first three on every domain controller through a Group Policy Object linked to the Domain Controllers organisational unit. Enable 4624 on tier 0 hosts, file servers and jump hosts, and forward everything to the SIEM.

For NTLM specifically, Microsoft also provides the Network security: Restrict NTLM: Audit NTLM authentication in this domain policy under Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options. Its values are Disable, Enable for domain accounts to domain servers, Enable for domain accounts, Enable for domain servers and Enable all. Microsoft explains that it behaves like the matching Restrict NTLM blocking policy but does not block traffic, and that events are recorded in the operational log under Applications and Services Log\Microsoft\Windows\NTLM. When it is set on a domain controller, only authentication traffic to that DC is logged, so set it on every DC. Microsoft advises watching that log's size during testing and collecting it centrally. This log is the bridge between detection and the NTLM retirement work covered in the NTLM Deprecation and Elimination Guide.

Event 4768: TGT requests

A 4768 is generated every time the Key Distribution Center issues a Ticket Granting Ticket, and only on domain controllers. Microsoft's page highlights an important exception: result codes 0x10 and 0x18 do not produce a 4768. A wrong password (0x18, KDC_ERR_PREAUTH_FAILED) is logged as event 4771 instead, so password spraying detection needs 4771 alongside 4768.

Fields that carry signal

  • Account Name and User ID. The account the TGT was requested for and its SID. Computer accounts end in $. User ID shows as NULL SID on failure events.
  • Service Name and Service ID. Normally krbtgt; the krbtgt SID ends in -502.
  • Client Address and Client Port. The source IP in IPv4, IPv6 or ::ffff: form; ::1 means the request came from the DC itself.
  • Result Code. 0x0 on success. Useful failures include 0x6 (KDC_ERR_C_PRINCIPAL_UNKNOWN, the username does not exist), 0x12 (KDC_ERR_CLIENT_REVOKED, disabled, expired or locked out), 0x17 (KDC_ERR_KEY_EXPIRED, password expired) and 0x25 (KRB_AP_ERR_SKEW, clock skew).
  • Ticket Encryption Type. 0x1 and 0x3 are DES, 0x11 and 0x12 are AES128 and AES256, 0x17 is RC4-HMAC and 0x18 is RC4-HMAC-EXP.
  • Pre-Authentication Type. 2 (PA-ENC-TIMESTAMP) is normal password logon; 15, 16 and 17 relate to smart card (PKINIT) logon; 138 (PA-ENCRYPTED-CHALLENGE) indicates Kerberos armoring (FAST); 0 means logon without pre-authentication.
  • Certificate Issuer Name, Certificate Serial Number and Certificate Thumbprint. Populated for certificate logons and essential for spotting rogue or unexpected certificates.

Since the January 2025 security update, Microsoft documents extra fields on Windows Server 2016 and later, including Advertized Etypes, Available Keys and MSDS-SupportedEncryptionTypes, which show what the client offered as well as what it received.

Detections to build from 4768

  1. TGT issued without pre-authentication. Alert on any success where Pre-Authentication Type is 0. The account has "do not require Kerberos preauthentication" set, which is the precondition for AS-REP roasting (ATT&CK T1558.004). Fix the account flag; do not tune the alert.
  2. Username enumeration. Count Result Code 0x6 by Client Address over a short window. A burst of nonexistent names from one source is enumeration.
  3. Spraying across accounts. Join 4771 failures with Result Code 0x18 by Client Address and count distinct Account Name values. Many accounts, few attempts each, is the spraying shape (T1110.003).
  4. DES or RC4 TGTs. On an estate where accounts have AES keys, a TGT with Ticket Encryption Type 0x17 or lower deserves a look. Use Available Keys and MSDS-SupportedEncryptionTypes to separate real legacy accounts from downgrade attempts.
  5. Unexpected certificate logons. Alert when a Certificate Issuer Name is not on your list of enterprise CAs, or when a privileged account logs on with a certificate when it never has before. Background on mapping rules is in the Kerberos PKINIT and Certificate Mapping Guide.

Illustrative query (pseudo-SQL, adapt to your SIEM):

SELECT AccountName, ClientAddress, COUNT(*) FROM security_events WHERE EventID = 4768 AND Keywords = 'Audit Success' AND PreAuthType = '0' GROUP BY AccountName, ClientAddress

Event 4769: service ticket requests

A 4769 is generated every time the KDC receives a Ticket Granting Service request, again only on DCs. It is the busiest of the four events and the most useful for Kerberos abuse. Microsoft notes that many failures carry Failure Code 0x20 (KRB_AP_ERR_TKT_EXPIRED), which simply means a ticket expired and has little security relevance, so filter it early.

Fields that carry signal

  • Account Name and Account Domain. The requester, often in UPN form such as [email protected].
  • Service Name and Service ID. The service the ticket is for. This is where a service account behind an SPN shows up.
  • Client Address and Client Port. Microsoft suggests examining events where Client Port is above 0 and below 1024, because a well-known port was used for the outbound connection.
  • Ticket Options and Ticket Encryption Type. Common option values are 0x40810010, 0x40810000 and 0x60810010 (which adds Forwarded).
  • Failure Code. Notable values include 0x1B (KDC_ERR_MUST_USE_USER2USER, the service may be missing an SPN), 0x1F (KRB_AP_ERR_BAD_INTEGRITY) and 0x26 (KRB_AP_ERR_BADADDR, address mismatch).
  • Transited Services. Lists the SPNs requested when constrained delegation was used.
  • Logon GUID. Lets you correlate the DC-side ticket with 4624, 4648 and 4964 on the target computer. It may show as all zeros when not captured.

Detections to build from 4769

  1. RC4 service tickets. Microsoft recommends alerting on DES ticket types and, from Windows Server 2008 onward, on Ticket Encryption Type values other than 0x11 and 0x12. In practice, a user requesting RC4 (0x17) tickets for several service accounts in a short window is the Kerberoasting pattern (T1558.003). Baseline genuine RC4 services first; the Kerberos RC4 Deprecation guide covers removing them.
  2. Ticket volume per requester. Count distinct Service Name values per Account Name per hour. A normal user touches a handful of services; a roasting tool touches dozens.
  3. Tickets for dormant or decoy services. Monitor Service Name values that should never be requested. A decoy SPN on an account with no real service is a cheap, high fidelity tripwire.
  4. Delegation use. Alert when Transited Services is populated for a service that is not on your approved delegation list. The Kerberos Delegation Security Guide explains which configurations should exist.
  5. Account and service pairs that should never occur. Microsoft explicitly recommends monitoring Account Name and Service ID combinations that should not happen, and Client Address values outside internal ranges or outside an allow list for accounts tied to known hosts.

Illustrative query:

SELECT AccountName, ClientAddress, COUNT(DISTINCT ServiceName) AS services FROM security_events WHERE EventID = 4769 AND TicketEncryptionType = '0x17' AND ServiceName NOT LIKE '%$' AND FailureCode = '0x0' GROUP BY AccountName, ClientAddress HAVING COUNT(DISTINCT ServiceName) > 5

Event 4776: NTLM credential validation

Microsoft describes 4776 as generated every time a credential validation occurs using NTLM. It records successes and failures, also fires on workstation unlock, and does not fire when a domain account logs on locally to a DC. The key point is that it is logged only on the computer authoritative for the credentials: the DC for domain accounts, the local machine for local accounts. That makes DC-side 4776 a complete record of NTLM use by domain accounts.

Fields that carry signal

  • Authentication Package. Always MICROSOFT_AUTHENTICATION_PACKAGE_V1_0 for this event.
  • Logon Account. The user, computer (WIN81$ style) or well-known principal.
  • Source Workstation. The computer name the attempt came from. Microsoft points out that the destination server is not in this event, which is why 4776 must be paired with 4624 on the target for full context.
  • Error Code. 0x0 on success. Useful failures: 0xC0000064 (bad username), 0xC000006A (bad password), 0xC000006F (outside authorised hours), 0xC0000070 (unauthorised workstation), 0xC0000072 (disabled account), 0xC0000234 (locked account).

In the event XML these appear as PackageName, TargetUserName, Workstation and Status, which is usually how a SIEM parses them.

Detections to build from 4776

  1. NTLM for accounts that should only use Kerberos. Microsoft recommends monitoring accounts for which NTLM should not be used. Start with privileged and tier 0 accounts and service accounts moved to Kerberos.
  2. Enumeration, brute force and dead accounts. Microsoft maps bursts of 0xC0000064 to enumeration and 0xC000006A to brute force (N events in N minutes); 0xC0000072 or 0xC0000234 against privileged accounts deserve an alert on first occurrence.
  3. Unexpected source workstations. For accounts with a known set of hosts, alert when Source Workstation falls outside it. For local accounts, Microsoft suggests alerting when Source Workstation and the logging Computer differ.

Event 4624: the target side of the story

A 4624 is logged on the computer that accepted the logon. For Kerberos and NTLM detection it adds the fields the DC events lack.

  • Logon Type. 3 (Network) is the type for SMB and most relay outcomes; 10 (RemoteInteractive) is RDP; 9 (NewCredentials) means a caller cloned its token with new credentials for outbound connections; 4 and 5 are batch and service logons.
  • Authentication Package. NTLM, Kerberos or Negotiate.
  • Package Name (NTLM only). NTLM V1, NTLM V2 or LM, populated only when the package is NTLM.
  • Key Length. The NTLM session security key length. Microsoft notes it is always 0 for Kerberos and recommends monitoring for values not equal to 128 when the package is NTLM, because every Windows version since Windows 2000 supports 128-bit keys. A 0 on a Kerberos logon is expected and is not a finding.
  • Workstation Name and Source Network Address. Microsoft notes that Kerberos network logons often have no workstation information and NTLM logons often have no TCP/IP details, so expect gaps.
  • Transited Services. Populated for S4U logons, which ties back to delegation.
  • Impersonation Level and Elevated Token. Delegation level and admin rights in the new session.

Detections to build from 4624

  1. NTLMv1 or LM anywhere. Microsoft suggests finding events where Package Name (NTLM only) is not NTLM V2. Treat any NTLM V1 or LM logon as a finding that needs a named owner.
  2. Service accounts logging on interactively or from new sources. Microsoft recommends checking Logon Type against the account's purpose and checking Source Network Address against an allow list for service accounts. The How to detect interactive logons by service accounts walkthrough covers this in depth.

Relay indicators: correlating the events

NTLM relay (ATT&CK T1557.001, Name Resolution Poisoning and SMB Relay) happens when an attacker captures an NTLM authentication and forwards it to another server. The concepts are covered in the NTLM Relay Guide; this section is about what the logs show. No event field says "relayed", so detection depends on mismatches between where an authentication claims to come from and where it actually arrives from. Use these indicators together, not singly.

IndicatorEvents and fieldsWhy it matters
Name and address mismatch4624 Logon Type 3, Authentication Package NTLM: Workstation Name does not resolve to Source Network AddressThe relaying host forwards the victim's workstation name from its own IP address
Machine account from an unexpected host4624 or 4776 where the account ends in $ and the source is not that computerCoerced authentication from servers, especially DCs, is commonly relayed
DC machine account over NTLM to a non-DC4624 on a member server where the account is a DC computer account and the package is NTLMDomain controllers rarely need to NTLM-authenticate to ordinary servers
NTLM where Kerberos is expected4776 on DC plus 4624 on target for accounts and servers that normally use KerberosRelay forces NTLM; a sudden NTLM path for a Kerberos-only account is suspicious

Illustrative correlation:

SELECT TargetUserName, WorkstationName, IpAddress, Computer FROM security_events WHERE EventID = 4624 AND LogonType = 3 AND AuthenticationPackageName = 'NTLM' AND TargetUserName LIKE '%$' AND IpAddress NOT IN (SELECT ip FROM asset_inventory WHERE hostname = REPLACE(TargetUserName, '$', ''))

This rule is only as good as your asset inventory: join DHCP and DNS data to the SIEM before tuning it.

Baselining service accounts and other non-human identities

Service accounts, scheduled tasks, scanners, backup agents and application pools generate most Kerberos and NTLM events in a typical domain. They are also what attackers target: an SPN on a user account with a weak password is the Kerberoasting precondition, and an unmanaged service account with NTLM-only behaviour is a good relay target. Before switching detections to alert mode:

  • Build an inventory of accounts with SPNs and their expected encryption types, using 4769 Service Name and Ticket Encryption Type over 30 days. The How to find and retire Active Directory service accounts with SPNs walkthrough helps with the clean-up.
  • Record each service account's normal Client Address or Source Workstation set and alert on new values.
  • List which service accounts still use NTLM, from 4776 and the NTLM operational log, and give each an owner and a migration date.
  • Move what you can to group managed service accounts, which get long, automatically rotated passwords. See the Group Managed Service Accounts (gMSA) Guide.

Mapping detections to ATT&CK

DetectionPrimary eventsATT&CK technique
RC4 service tickets across many SPNs4769T1558.003 Kerberoasting
TGT without pre-authentication4768T1558.004 AS-REP Roasting
Service ticket use with no matching TGT history4768, 4769, 4624 via Logon GUIDT1558.001 Golden Ticket (supporting evidence only)
Many accounts, few failures each4771, 4776T1110.003 Password Spraying
NTLM name and address mismatch, machine account relays4624, 4776T1557.001 Name Resolution Poisoning and SMB Relay
NTLM network logons by privileged accounts from new hosts4624, 4776T1550.002 Pass the Hash

Forged tickets can bypass the DC entirely, so these events give supporting evidence rather than proof for T1558.001. The technique-level view, including mitigations, is in the MITRE ATT&CK T1558 Steal or Forge Kerberos Tickets Guide.

Rolling out and testing

  1. Confirm collection. Check that every DC forwards 4768, 4769, 4771 and 4776, and that tier 0 and key servers forward 4624. Gaps in DC coverage are the most common reason detections stay silent.
  2. Run in report mode for two to four weeks. Collect hits without paging anyone, and use them to build the service account baselines above.
  3. Test with authorised activity. In a lab or under change approval, use test accounts (for example an RC4-only test service) and confirm each rule fires with the expected fields.
  4. Promote by fidelity. Pre-authentication type 0, decoy SPN requests and DC machine accounts over NTLM to member servers are usually high fidelity and can page. Volume rules for spraying and roasting should open tickets first.
  5. Review quarterly. Re-baseline after major changes; decode unfamiliar codes with the Kerberos Error Codes Troubleshooting Guide.

Common failure patterns

  • Auditing only some DCs. Kerberos requests go to whichever DC answers, so one unaudited DC is a blind spot.
  • Alerting on Key Length 0. It is normal for Kerberos logons. Only Key Length values other than 128 on NTLM logons are meaningful.
  • Looking for wrong passwords in 4768. Pre-authentication failures with 0x18 are written to 4771, not 4768.
  • Treating every RC4 ticket as an attack. Without a baseline of legacy RC4 services, the Kerberoasting rule drowns in noise and gets switched off.
  • Relying on 4776 for the destination. 4776 shows the source workstation only. Without 4624 from the target, you cannot see where NTLM was used.
  • Permanent exceptions. Service accounts whitelisted years ago, with no owner or expiry, are exactly where attackers hide.

Practitioner checklist

  • Enable Audit Kerberos Authentication Service, Audit Kerberos Service Ticket Operations and Audit Credential Validation for success and failure on every DC.
  • Enable logon success auditing on tier 0 servers, file servers and jump hosts, and forward 4624 centrally.
  • Set the Restrict NTLM audit policy on every DC and collect the NTLM operational log.
  • Alert on any 4768 success with Pre-Authentication Type 0.
  • Alert on DES ticket types and baseline then alert on RC4 service tickets per requester.
  • Create at least one decoy SPN and alert on any 4769 for it.
  • Alert on NTLM V1, LM and NTLM Key Length other than 128 in 4624.
  • Build the relay correlation rules with asset inventory enrichment.
  • Baseline every service account's sources, protocols and encryption types, with owners and expiry dates for exceptions.
  • Test each rule with authorised activity and record the result.

Standards and references

Related NHI Mgmt Group resources: Active Directory Security Monitoring and Event IDs Guide · Okta System Log Detection Guide · NTLM Relay Guide · Kerberos vs NTLM

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.