portfolio terminal
Identity & Access
Who can read a Kerberos ticket, and why?
Why a client can use a Kerberos ticket without decrypting it, and how different keys determine what the client, service and KDC can read.
In my previous article, I explained what a Kerberos ticket represents: a cryptographically protected statement issued by the Key Distribution Center (KDC), which a client presents when authenticating to a service.
But there is something about this process that can feel a bit unusual. The client receives the ticket, stores it, and sends it to another system, yet the client normally cannot decrypt the ticket’s protected contents.
To understand why, let’s take a look at who the ticket is intended for, and how Kerberos distributes the keys each participant needs.
Carrying a ticket is not the same as reading it
Let’s image the following fictitious scenario, and imagine Jamal connecting to an RDP server. His computer requests a service ticket and receives it from the KDC. The computer then presents that ticket to the RDP service.
Jamal’s computer is responsible for delivering the ticket, but the protected information inside is intended for the service receiving it. Microsoft describes this in its explanation of Kerberos session tickets.
A useful comparison is a sealed envelope. You can carry it to its recipient without being able to read or rewrite the message inside.
That comparison has a limit though: Kerberos also requires the client to prove possession of a session key. Delivering the envelope alone is not enough.
Kerberos ticket fields
A Kerberos ticket is not one completely unreadable block. Its outer structure exposes information such as the ticket version, realm, service principal name, and encryption metadata.
The client identity, session key, validity times, flags, and authorization data are inside its encrypted part. These fields are defined here: Kerberos ticket specification.
This explains why a Wireshark screenshot can show TERMSRV/server.example alongside a long cipher value. Wireshark can identify the ticket’s destination without being able to display its protected contents.
Protecting the service ticket
In a normal service-ticket exchange, the KDC encrypts the ticket’s protected contents using the target service’s long-term key.
The receiving service uses that key to decrypt the ticket and retrieve the client-service session key. It then uses the session key to process the client’s authenticator.
For our RDP example from the last article, the service identity normally belongs to the server’s computer account in Active Directory. The important relationship is between the service identity and its key, rather than simply the server’s IP address.
Knowing where a service runs does not give the client the key that protects its tickets.
How does the client get the session key?
If the session key is inside a ticket the client cannot decrypt, so how can the client use it?
The KDC supplies the same client-service session key in two separately protected places:
- Inside the service ticket, for the service.
- Inside the encrypted reply portion of the TGS-REP, for the client.
The reply portion uses the subkey supplied in the request’s authenticator, or the TGT session key when no subkey was supplied. These are separate from the service’s long-term key (RFC 4120: KDC replies).
The client therefore does not need to open the service’s ticket, because it already received the information it needs through its own part of the exchange.
The recipient of the TGT
The same principle applies to a Ticket Granting Ticket (TGT).
A TGT is intended for the ticket-granting service at the KDC. In a typical Active Directory domain, its encrypted contents are protected with a key belonging to the domain’s krbtgt account. Domain controllers use this key to process TGTs.
The client carries the TGT back to the KDC when requesting service tickets. An ordinary RDP service does not need to decrypt it.
| Ticket | Intended recipient | Key protecting its encrypted contents |
|---|---|---|
| TGT | The KDC’s ticket-granting service | The applicable krbtgt key |
| Service ticket | The target service | The target service’s long-term key |
The usual exchange within one AD domain.
The distinction matters because these keys represent different scopes of trust. A service’s key protects tickets for that service identity. For example, the RDP service on a server normally uses the server’s computer-account key to decrypt its tickets. Other services running under that same account may share this key, so its scope follows the account identity rather than a single application.
The krbtgt key has a broader role. It protects TGTs, which the KDC accepts when processing requests for service tickets. Its trust therefore extends beyond one target service: it supports the process through which the client obtain tickets for different services across the domain.
This is why compromising a service-account key and compromising the krbtgt key have different implications. The first affects trust associated with that service identity, and the second affects the domain’s ticket-granting process. Neither should be confused with automatic authorization to every resource, because the target system still applies its access controls.
The role of the KDC
There is one more participant to consider when asking who can read a Kerberos ticket, namely the KDC itself.
In the normal service-ticket exchange described here, the KDC has access to the service’s long-term key. It uses that key to encrypt the ticket, and the same key can decrypt its protected contents. The KDC also generated the client-service session key placed inside it. The ticket therefore does not keep its contents secret from the authority that issued it.
This helps explain what it means to call the KDC a trusted third party. The client relies on it to provide credentials for the intended service. The service relies on it to issue those credentials correctly and protect the keys behind them.
Returning to the sealed-envelope comparison from before, the KDC writes the message and seals the envelope. The client delivers it, and the service opens it. The sender already knows what is inside.
The client’s ability to use a ticket without decrypting it is a deliberate part of this design. Each participant receives the information needed for its role, while the KDC establishes the trust that connects them.