Skip to content
WETNav

Defense evasionHigh

Pass the Ticket

Also known as PtT

How pass-the-ticket shows up: Kerberos logons or 4769 requests with no matching 4768 TGT, or 4649 replay detection on the target.

Signals in the logs

  1. 01Security4769A Kerberos service ticket was requestedDomain controller

    Service ticket requests from a client that has no earlier 4768, because the TGT was stolen and reused rather than issued to that host.

    TargetUserName
    an account whose session has no matching 4768 TGT request
    IpAddress
    a host different from where the account normally authenticates
  2. 02Security4624An account was successfully logged onTarget host

    A Kerberos network logon for an account on a host that never requested a ticket for it.

    AuthenticationPackageName
    Kerberos
    LogonType
    3 (network)
    TargetUserName
    the ticket owner, appearing from an unexpected source
  3. 03Security4649A replay attack was detectedTarget host

    A Kerberos replay was detected, which can accompany reuse of a captured ticket.

    TargetUserName
    the account whose ticket was replayed

What happens

Pass-the-ticket reuses a stolen or forged Kerberos ticket, injecting it into a session so the holder is authenticated as the ticket's owner. A stolen ticket-granting ticket lets the adversary request fresh service tickets for any resource; a stolen service ticket is replayed straight to one service. Because valid tickets are presented, authentication looks normal, and detection relies on inconsistencies: Kerberos logons or service ticket requests with no matching earlier ticket-granting request, tickets used from an unexpected host, or the domain controller flagging a replayed ticket.

Logging you need

  • Audit subcategory Account Logon > Kerberos Service Ticket Operations = Success on domain controllers (for 4769) and Kerberos Authentication Service (for 4768) to establish which sessions have a legitimate origin.
  • Audit subcategory Logon/Logoff > Logon = Success on member hosts (for 4624) and Other Logon/Logoff Events (for 4649 replay detection).

Hunt queries

Starting points. Tune thresholds and exclusions to your environment before alerting on them.

$tgt = @{}
Get-WinEvent -FilterHashtable @{LogName='Security'; Id=4768} | ForEach-Object {
    $x = [xml]$_.ToXml(); $d = @{}; $x.Event.EventData.Data | ForEach-Object { $d[$_.Name] = $_.'#text' }
    $tgt[$d['TargetUserName']] = $true
}
Get-WinEvent -FilterHashtable @{LogName='Security'; Id=4769} | ForEach-Object {
    $x = [xml]$_.ToXml(); $d = @{}; $x.Event.EventData.Data | ForEach-Object { $d[$_.Name] = $_.'#text' }
    [pscustomobject]@{ Time=$_.TimeCreated; Client=$d['TargetUserName']; Service=$d['ServiceName']; Ip=$d['IpAddress'] }
} | Where-Object { -not $tgt.ContainsKey($_.Client) }

Benign look-alikes

  • Ticket caching means a legitimate client can request a service ticket with no fresh 4768 inside a short window; widen the window before alerting.
  • 4649 replay detection also fires on duplicate network retransmissions and some load-balanced or multi-homed configurations.
  • Roaming users and VPN reconnection can make an account appear from a new source IP without any ticket theft.

Notes

  • Pass-the-ticket and golden/silver tickets share the same DC-side gap pattern; the difference is whether the ticket was stolen from memory or forged, which the logs alone rarely settle.

References