Kerberos Network Authentication
- 63Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What problem is Kerberos designed to solve?
It authenticates users and services across a network without requiring the network itself to be trusted.
Or swipe the card
63 cards
What problem is Kerberos designed to solve?
It authenticates users and services across a network without requiring the network itself to be trusted.
What is the KDC in Kerberos?
The Key Distribution Center (KDC) is the Kerberos server that stores principals and their long-term shared keys and issues tickets.
What long-term secret does the KDC share with each Kerberos entity?
A unique key shared between the KDC and that entity, such as a client or a service.
Which parties must be trusted in a Kerberos system?
The KDC and the user's workstation must be trusted; any additional trust relationships between services must also be handled carefully.
Why must a Kerberos user trust their workstation?
The workstation handles the user's password-derived key and tickets, so a malicious workstation can steal them or misuse the account.
Do Kerberos services need to trust users or other services in advance?
A service can rely on Kerberos to authenticate a user; services do not automatically need to trust one another.
What are the two main Kerberos interfaces described in the protocol?
The Kerberos authentication service and the Ticket Granting Service (TGS).
Why does Kerberos use an initial ticket and then a TGS ticket?
The client can discard its password-derived key after obtaining the initial ticket, then use the TGS ticket to request service tickets.
What happens if the KDC becomes unavailable?
Users cannot log in or obtain new tickets, but existing valid tickets can continue to be used with services.
How can a Kerberos system remain available if its master KDC is down?
Read-only KDC replicas can issue responses to login and ticket requests from a copied database.
What is a Kerberos principal?
A principal is a named entity in Kerberos, represented by a string.
What is an instance in a Kerberos principal name?
An instance is an additional name component that can distinguish a separate identity or role, such as a more privileged account.
What fundamental mapping does Kerberos provide?
It maps principal names to cryptographic keys.
How does Kerberos authentication differ from authorization?
Authentication establishes who a principal is; authorization determines what that principal is allowed to do.
Who normally decides what an authenticated user may access?
The service being accessed, often using its own access-control lists or groups.
Why do Kerberos services need principal names?
Clients need to request tickets for services and verify that they are communicating with the intended service.
How might a client determine which service principal to expect when connecting?
The expected principal can be determined from the service name the user requested, such as the hostname specified for an SSH connection.
Why can reusing a Kerberos principal name be dangerous?
Old access-control entries may still refer to that name, allowing a new principal with the same name to inherit old permissions.
Why should service principal names also be reused cautiously?
Clients may continue to expect the name to identify the original service, so assigning it to a different service could enable impersonation.
What information does a Kerberos ticket contain?
The client and service names, the client's IP address, a timestamp, a lifetime or expiration, and a client-service session key.
What is a Kerberos authenticator?
A client-generated message containing the client's name, IP address, and a timestamp, encrypted with the client-service session key.
Which key encrypts a service ticket?
The long-term secret key of the service named in that ticket.
How does a client initially request a Kerberos ticket?
It sends its principal name and the principal name of the service for which it wants a ticket to the Kerberos authentication service.
What does the client receive in the initial Kerberos response?
A ticket encrypted for the requested service and a copy of the client-service session key encrypted with the client's long-term key.
Why is the session key included both outside and inside a Kerberos ticket?
The client needs a usable copy, while the service needs a copy protected by its own long-term key.
How does the TGS request a ticket for another service?
The client sends the target service name, its existing TGS ticket, and an authenticator encrypted with the client-TGS session key.
How is the TGS response protected for the client?
The new service ticket is encrypted with the service's key, while the accompanying client-service session key is encrypted with the existing client-TGS session key.
Why should a ticket explicitly name its intended service?
The receiving service can check that the ticket was issued for itself rather than relying only on whether decryption happens to succeed.
Why does a Kerberos ticket have a timestamp and lifetime?
They limit the period during which the ticket is valid and therefore bound the time a stolen ticket can be misused.
Why did Kerberos 4 include the client's IP address in tickets?
It attempted to restrict a ticket's use to the IP address from which the client logged in.
How does a service learn the client-service session key?
It decrypts the ticket with its own long-term key and reads the session key inside.
How can a client use a ticket to make a request to a service?
It sends the ticket to the service and protects its request using the client-service session key.
Why is it unsafe to assume that encryption also authenticates a message?
Encryption alone may not detect tampering or prove that the message came from the claimed sender.
How does Kerberos 5 address message-integrity problems?
It authenticates messages in addition to encrypting them, so tampering can be detected.
What offline password-guessing weakness exists in the initial Kerberos exchange?
An attacker can request a response encrypted with a user's key and test password guesses offline by attempting to decrypt it.
Why is a password-derived Kerberos key vulnerable to guessing if responses are easy to check?
Symmetric decryption is fast, so an attacker can test many candidate passwords against a captured response.
How can a costly password-derivation function help defend Kerberos credentials?
It increases the computation required for each password guess.
What role can a challenge-response exchange play in defending against password guessing?
It can require an attacker to make repeated online attempts, allowing the server to rate-limit requests.
What are PAKE protocols designed to provide?
Password-authenticated key exchange protocols let parties establish a shared key using a password while resisting offline password-guessing attacks.
Why was hard-coding DES into Kerberos 4 a problem?
DES has a relatively small key space, making exhaustive key search practical with specialized hardware.
What improvement does Kerberos 5 make regarding encryption algorithms?
It supports multiple encryption schemes rather than requiring a single fixed cipher.
How are Kerberos authenticators intended to help prevent replay attacks?
A fresh timestamped authenticator can identify a request as new; servers can reject duplicate or stale authenticators.
What weakness did Kerberos 4 authenticators have when paired with application requests?
The authenticator was not bound to the contents of the request, so an attacker could pair a fresh authenticator with an old command.
What is a reflection attack in a protocol that uses one key in both directions?
An attacker reuses a message sent in one direction as though it were a valid message in the opposite direction.
How can Kerberos prevent reflection attacks between client and server?
Use separate keys for client-to-server and server-to-client traffic, or otherwise unambiguously distinguish message directions.
Why is compromise of the KDC especially serious?
An attacker controlling the KDC can issue tickets for arbitrary services and impersonate arbitrary principals.
Why should a KDC's attack surface be minimized?
A vulnerability or unauthorized access to the KDC can expose the database or give an attacker control over authentication.
What should be done after a service's long-term Kerberos key is compromised?
Replace the service key in the KDC and configure a repaired service with the new key.
What can an attacker do after learning a service's long-term key?
The attacker can decrypt tickets for that service and can create counterfeit tickets to impersonate users to it.
Why is an out-of-band recovery process needed for compromised service keys?
Someone must securely authorize and install a replacement key even if the old key is no longer trustworthy.
How can a client log in to a Kerberos-enabled service using a password rather than a Kerberos ticket?
The service can request a Kerberos response for the user and check whether the supplied password decrypts it successfully.
Why is it dangerous for a remote login server to accept a password merely because it decrypts a Kerberos response?
An attacker may forge a plausible response, since the basic exchange does not authenticate that response as coming from the real KDC.
How can a remote login server verify that a response came from the KDC?
It can use its own service key to obtain and verify a ticket for itself through the TGS.
Why might a personal workstation not need the same login check as a shared remote machine?
A workstation may have no valuable shared resources or other users' sessions to protect, while a shared machine does.
What is the purpose of Kerberos's password-changing service?
It allows a user to change their password-derived key in the KDC database.
Why does the password-changing service require a ticket obtained directly from the Kerberos authentication service?
To ensure that the requester recently demonstrated knowledge of the user's long-term key, rather than relying only on a potentially stolen TGS ticket.
How is the new password protected when sent to the Kerberos password service?
It is encrypted using the client-password-service session key.
Can someone who knows a user's current password change that user's password?
Yes. Knowledge of the current password-derived key is generally enough to authenticate and request a change.
Why is changing a password insufficient if an attacker has recorded old Kerberos password-change traffic?
In a weak password-change protocol, revealing an old password later may let the attacker decrypt recorded exchanges and recover newer passwords.
What security property does Diffie–Hellman key exchange provide in password changes?
It lets two parties establish a shared secret without sending that secret directly over the network.
Why can an eavesdropper who sees gx and gy have difficulty computing gxy?
Computing the shared value from the exchanged values is believed to be computationally hard under the discrete logarithm assumption.
How does Diffie–Hellman help protect a new password from old recorded traffic?
The parties encrypt the new password with a newly established Diffie–Hellman shared secret, which is not recoverable merely by learning the old password.
Why is a password converted into a fixed-size Kerberos key?
The conversion produces a key of the required fixed length from a password of variable length.

Ask anything
We've read this whole study set, so questions about it get the best answers.