Pcornel
Identity · Kerberos

Service Tickets

Cheat sheet · https://pcornel.dk/topic.php?topic=3280

Back to the Topic

Answer

A service ticket is a Kerberos ticket for one specific service, encrypted with that service account's key. The client gets it from the KDC using its TGT and presents it to the server to log in.

Remember

  • A service ticket is encrypted with the service account's key.
  • It is valid for one specific service.
  • It is cached until it expires.

First checks

  • klist — Kerberos tickets in the session
  • klist purge — clear tickets
  • setspn -Q <spn> — find which account has an SPN
  • nltest /dsgetdc:<domain> /kdc — find a KDC
  • Get-WinEvent -FilterHashtable @{LogName='Security';Id=4768,4769,4771} — KDC events on DCs

Verify in this order

TGT presented → TGS issues ticket for the SPN → service validates

Where it usually breaks

First mismatch in forest/domain/object identity → authoritative DC/source policy → replication/KDC/GP processing → client token/effective policy → target resource → event/audit verification; preserve identity/native error/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3280

Confirmation

Confirm action

Continue?