Kerberos Network Authentication
- 69Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What problem was Kerberos designed to solve in a distributed network?
What problem was Kerberos designed to solve in a distributed network?
69 questions
- 1
What problem was Kerberos designed to solve in a distributed network?
- A
Authenticating users to multiple network services without trusting the network
- B
Replacing authorization policies with a single system-wide access rule
- C
Assigning IP addresses to workstations without contacting a central service
- D
Encrypting all network traffic without requiring users to have accounts
Correct answer
AAuthenticating users to multiple network services without trusting the network
Explanation
Kerberos was designed to let users authenticate to multiple servers in a distributed system without relying on the network itself to behave correctly.
- A
- 2
What is the role of the Kerberos server, commonly called the KDC?
- A
It stores shared keys associated with principals and issues tickets used for authentication
- B
It stores a separate copy of every user's data so services need not keep their own
- C
It decides which files and mail messages each authenticated user may access
- D
It forwards every application message between users and network services
Correct answer
AIt stores shared keys associated with principals and issues tickets used for authentication
Explanation
The KDC stores key information for principals and provides tickets that enable parties to authenticate and establish shared keys. Application services generally handle their own authorization decisions.
- A
- 3
Which parties must a Kerberos user trust for the protocol's protections to work as intended?
- A
Every server in the realm and every other user's workstation
- B
The KDC and the workstation on which the user enters credentials
- C
The network itself and every router carrying Kerberos messages
- D
Only the application server, because the KDC never handles key information
Correct answer
BThe KDC and the workstation on which the user enters credentials
Explanation
Users must trust the KDC and their own workstation. An untrusted workstation could capture a password, a ticket, or other sensitive information.
- A
- 4
Why is using Kerberos from a public workstation riskier than using it from a trusted personal computer?
- A
A public workstation cannot contact the KDC unless it owns the user's account
- B
Kerberos tickets are valid only on computers personally owned by their users
- C
A public workstation could capture the user's password or Kerberos credentials
- D
A public workstation automatically gives every logged-in user administrator access
Correct answer
CA public workstation could capture the user's password or Kerberos credentials
Explanation
Kerberos relies on users trusting the machine where they enter credentials. A compromised or untrusted workstation can capture a password or ticket and misuse it.
- A
- 5
What distinction does Kerberos make between authentication and authorization?
- A
Kerberos identifies a principal; the application service decides what that principal may do
- B
Kerberos performs both tasks, so application services need no access-control rules
- C
Kerberos authorizes network addresses, while application services authenticate usernames
- D
Kerberos decides what files a user may access; the service verifies only the user's password
Correct answer
AKerberos identifies a principal; the application service decides what that principal may do
Explanation
Kerberos provides authentication by helping a service establish who it is communicating with. The service typically uses access-control lists, groups, or other rules to make authorization decisions.
- A
- 6
Why do Kerberos-enabled services need not have a prior relationship with every user?
- A
The KDC grants every user unrestricted access to every service by default
- B
A service can identify every user from the source IP address alone
- C
Users send their passwords directly to each service when they connect
- D
A service can use a valid ticket to establish a user's identity when a connection is made
Correct answer
DA service can use a valid ticket to establish a user's identity when a connection is made
Explanation
A service can rely on Kerberos tickets to learn the authenticated principal's identity without having to know or authenticate every user in advance.
- A
- 7
What risk can arise when one server is given access to another server's resources for convenience?
- A
The two servers can no longer use separate encryption keys
- B
Users are prevented from obtaining tickets for either server
- C
The KDC must permanently delete both servers' principals
- D
Compromising the first server may provide an indirect route to the second server's resources
Correct answer
DCompromising the first server may provide an indirect route to the second server's resources
Explanation
Adding trust relationships between services can create paths that an attacker may abuse. Services should not be given unnecessary access to one another's resources.
- A
- 8
How does Kerberos improve on authenticating users solely by their IP addresses?
- A
It replaces all network addresses with usernames in every packet
- B
It uses cryptographic keys and tickets rather than treating a network address as proof of identity
- C
It guarantees that IP addresses cannot be changed or impersonated
- D
It allows each server to infer the user's identity from the workstation's hostname
Correct answer
BIt uses cryptographic keys and tickets rather than treating a network address as proof of identity
Explanation
Kerberos was intended to authenticate users cryptographically, unlike approaches that treated an IP address as sufficient evidence of identity.
- A
- 9
Why does a Kerberos system provide a Ticket Granting Service interface in addition to the initial Kerberos interface?
- A
It lets application servers change a user's password without contacting the KDC
- B
It lets a client obtain later service tickets without repeatedly using its long-term key
- C
It forwards application traffic so the client does not need to contact services
- D
It allows users to avoid obtaining any initial ticket when they log in
Correct answer
BIt lets a client obtain later service tickets without repeatedly using its long-term key
Explanation
The client initially uses its long-term key to obtain a ticket for the TGS. It can then use that ticket to request tickets for other services without keeping the long-term key available.
- A
- 10
What does the term principal refer to in Kerberos?
- A
A group of KDC replicas that share a database
- B
A network packet that contains an encrypted application command
- C
A named entity, such as a user or service, represented by a name in the Kerberos system
- D
A temporary encryption key created for each message
Correct answer
CA named entity, such as a user or service, represented by a name in the Kerberos system
Explanation
A principal is a named entity in Kerberos, such as a user or a service. The KDC associates principals with key information.
- A
- 11
What is an instance in the naming scheme described for Kerberos?
- A
An additional name component that can distinguish a principal for a particular role or use
- B
A timestamp indicating when a service was installed
- C
A copy of a ticket stored on a backup KDC
- D
A one-time password automatically added to every login
Correct answer
AAn additional name component that can distinguish a principal for a particular role or use
Explanation
An instance is an additional component used to distinguish a principal. For example, a user might have a separate principal for especially sensitive use.
- A
- 12
Why might one user have separate Kerberos principals for ordinary and especially sensitive use?
- A
Each principal lets the user bypass the service's authorization rules
- B
Separate principals eliminate the need to protect the user's workstation
- C
The user can apply different credentials and keep higher-risk activity distinct
- D
The KDC requires each user to have a different principal for every network connection
Correct answer
CThe user can apply different credentials and keep higher-risk activity distinct
Explanation
A user may use a separate principal, potentially with a different password, for especially sensitive tasks so those credentials are distinct from the regular account.
- A
- 13
Why does Kerberos need names for services as well as names for users?
- A
A client needs to identify the intended service and verify that it is talking to that service
- B
A service name tells the KDC which password the user typed
- C
Service names allow application servers to share one secret key automatically
- D
A service name determines the user's IP address for all later connections
Correct answer
AA client needs to identify the intended service and verify that it is talking to that service
Explanation
Service principals allow a client to request a ticket for a particular service and check that the endpoint is the intended one, supporting mutual authentication.
- A
- 14
A user connects to a host through a client that expects a particular service principal. What should the client do if the server presents a different identity?
- A
Accept the connection if the server has the same IP address
- B
Send the user's password to the server to resolve the identity mismatch
- C
Ask the server to choose a principal name that the client will accept
- D
Abort the connection rather than risk communicating with an impersonating service
Correct answer
DAbort the connection rather than risk communicating with an impersonating service
Explanation
The client should verify that the service identity matches the one it intended to contact. Otherwise, it may be communicating with a fake service.
- A
- 15
Why can reusing a former user's principal name create a security problem?
- A
A principal name can only be used once to encrypt a service's key
- B
The KDC automatically copies the former user's password to the new account
- C
Existing access-control entries may treat the new principal with that name as the former user
- D
The reused name prevents the new user from obtaining a ticket
Correct answer
CExisting access-control entries may treat the new principal with that name as the former user
Explanation
Services may retain access-control entries that refer to a principal by its string name. Reassigning that name can therefore grant a new person access intended for the former principal.
- A
- 16
Why can a service principal name also be risky to reuse?
- A
The KDC uses service names only to store IP addresses
- B
Service principals cannot have keys changed after they are created
- C
Clients may continue to expect that name to identify the original service
- D
Reusing a service name forces every user to change their password
Correct answer
CClients may continue to expect that name to identify the original service
Explanation
Clients may rely on a well-known service name to identify a particular service. Reassigning it to a different service could enable impersonation or mislead clients.
- A
- 17
What is the main purpose of the ticket issued during Kerberos authentication?
- A
To provide a service with protected information it can use to recognize the client and establish a shared key
- B
To store the user's password in a form readable by every network service
- C
To give the client a list of every service the user is authorized to access
- D
To route the client's application messages through the KDC
Correct answer
ATo provide a service with protected information it can use to recognize the client and establish a shared key
Explanation
A ticket contains information for a client and a particular service, including a shared key. It is encrypted for the service so that the service can use it to authenticate the client.
- A
- 18
Which information was described as being included in a Kerberos ticket?
- A
Client and server identities, client address, timing information, and a client-server key
- B
The user's plaintext password, server source code, and a list of permitted commands
- C
The client's authorization list, the server's IP address, and the user's password hint
- D
The KDC's database, the user's mail, and every service's private key
Correct answer
AClient and server identities, client address, timing information, and a client-server key
Explanation
The described ticket contains the client and server names, the client's IP address, timestamp and expiration information, and a key shared by the client and server.
- A
- 19
What information is included in the authenticator described for a client-server interaction?
- A
The client's plaintext password, the service's authorization list, and a nonce
- B
The application command, the KDC database, and the ticket expiration policy
- C
The server's long-term key, the user's password, and a list of groups
- D
The client's name, the client's IP address, and a timestamp
Correct answer
DThe client's name, the client's IP address, and a timestamp
Explanation
The described authenticator contains the client's name and IP address together with the time at which the client generated it.
- A
- 20
Which keys protect the ticket and the authenticator for a particular client-server relationship?
- A
Both are encrypted with the client's IP address and a timestamp
- B
The ticket is encrypted with the service's key, while the authenticator is encrypted with the client-service key
- C
Both are encrypted with the user's password so every service can read them
- D
The ticket is encrypted with the client's password, while the authenticator is encrypted with the KDC's key
Correct answer
BThe ticket is encrypted with the service's key, while the authenticator is encrypted with the client-service key
Explanation
The service's long-term key protects the ticket so the service can read it. The client-service shared key protects the authenticator.
- A
- 21
How can the initial Kerberos exchange avoid sending a user's password directly over the network?
- A
The KDC returns a response encrypted with a key derived from the user's password
- B
The client encrypts its password with a service key known to every server
- C
The client sends its password only to the application server, not to the KDC
- D
The KDC sends the password to the client after verifying its IP address
Correct answer
AThe KDC returns a response encrypted with a key derived from the user's password
Explanation
The client requests a ticket, and the KDC returns key information protected with the client's password-derived key. The password itself need not be sent over the network.
- A
- 22
How is the user's Kerberos key derived in the password-based scheme described?
- A
By selecting a key from the KDC without using the user's password
- B
By using the user's current IP address as the encryption key
- C
By applying a password-based key derivation process to the user's password
- D
By copying the service's secret key into the user's account
Correct answer
CBy applying a password-based key derivation process to the user's password
Explanation
The user's key is derived by hashing or otherwise processing the password with a key derivation function.
- A
- 23
Why does the client receive a copy of the client-service key outside the service's encrypted ticket?
- A
The service cannot decrypt tickets, so the client must decrypt them on its behalf
- B
The client needs the key for its own communication, while the service obtains its copy by decrypting the ticket
- C
The client uses the copy to replace the service's long-term key
- D
The KDC uses the copy to decrypt all future application messages
Correct answer
BThe client needs the key for its own communication, while the service obtains its copy by decrypting the ticket
Explanation
The client needs the shared key to communicate with the service. The service receives the same key inside the ticket encrypted with the service's own key.
- A
- 24
Why does the client receive a ticket for the TGS after the initial login instead of requesting every service ticket directly with its long-term key?
- A
The TGS ticket removes the need for service-specific keys at the KDC
- B
Direct service tickets cannot include a client-service shared key
- C
The TGS ticket gives the client permanent access to every service in the realm
- D
The client can discard its password-derived key and use the TGS ticket for later requests
Correct answer
DThe client can discard its password-derived key and use the TGS ticket for later requests
Explanation
After using its password-derived key to obtain a TGS ticket, the client can discard that sensitive long-term key and use the TGS ticket to request service tickets later.
- A
- 25
What is the security benefit of discarding the password-derived key after the initial exchange?
- A
A later theft is limited to the remaining ticket's lifetime rather than exposing the long-term credential indefinitely
- B
The client can then use the same ticket forever without contacting the TGS
- C
The service's long-term key becomes unnecessary
- D
The KDC can no longer identify the user's principal
Correct answer
AA later theft is limited to the remaining ticket's lifetime rather than exposing the long-term credential indefinitely
Explanation
The password-derived key is equivalent to a highly sensitive long-term credential. Discarding it reduces the damage if the workstation is later compromised, although a stolen ticket can still be misused while valid.
- A
- 26
Why can an attacker who obtains the initial Kerberos response attempt password guesses offline?
- A
The response reveals the user's password through its timestamp
- B
The KDC accepts every guessed password without checking it
- C
The attacker can try candidate passwords as keys and check whether decryption produces plausible contents
- D
The response contains the user's password in plaintext alongside the ticket
Correct answer
CThe attacker can try candidate passwords as keys and check whether decryption produces plausible contents
Explanation
An attacker can use candidate passwords to derive keys and try decrypting the captured response. If decryption appears valid, the candidate may be correct, allowing guesses without repeatedly contacting the KDC.
- A
- 27
Why was relying on recognizable decrypted fields a weakness in the older Kerberos design?
- A
A recognizable pattern made timestamps impossible to validate
- B
The fields forced every service to use the user's password
- C
Recognizable fields prevented the KDC from encrypting tickets
- D
A plausible decryption did not provide a cryptographic guarantee that the data was authentic and untampered
Correct answer
DA plausible decryption did not provide a cryptographic guarantee that the data was authentic and untampered
Explanation
The older design implicitly treated successful-looking decryption as evidence of authenticity. Encryption alone does not reliably guarantee message integrity or authenticity.
- A
- 28
What additional protection does Kerberos 5 use alongside encryption to address message tampering?
- A
It removes service tickets and uses passwords for every request
- B
It authenticates messages, allowing recipients to check that protected data was not altered
- C
It sends every message twice and compares the plaintext versions
- D
It accepts messages only when they come from a fixed IP address
Correct answer
BIt authenticates messages, allowing recipients to check that protected data was not altered
Explanation
Kerberos 5 explicitly authenticates messages as well as encrypting them, so recipients can verify message integrity and authenticity.
- A
- 29
What is the main purpose of the TGS exchange?
- A
To determine the user's file permissions without contacting services
- B
To exchange a valid TGS ticket for a ticket to a requested service
- C
To renew the KDC's long-term keys after each application request
- D
To send the user's password to every service the user selects
Correct answer
BTo exchange a valid TGS ticket for a ticket to a requested service
Explanation
A client presents its TGS ticket and requests a ticket for a specific service. The TGS returns a ticket that the client can present to that service.
- A
- 30
How does the client demonstrate its ability to use a TGS ticket when requesting another service ticket?
- A
It sends its password and the requested service's long-term key
- B
It sends the TGS ticket and an authenticator protected with the client-TGS shared key
- C
It asks the requested service to create a ticket on the KDC's behalf
- D
It sends only its IP address and relies on the TGS to infer its identity
Correct answer
BIt sends the TGS ticket and an authenticator protected with the client-TGS shared key
Explanation
The client sends the ticket for the TGS and an authenticator encrypted with the client-TGS shared key, along with the name of the service it wants.
- A
- 31
How can the TGS read the client's identity and shared key from the presented TGS ticket?
- A
It uses the client's IP address to reconstruct the ticket
- B
It obtains the information from the requested application server
- C
It asks the client to reveal the user's password
- D
It decrypts the ticket using the TGS's own long-term key
Correct answer
DIt decrypts the ticket using the TGS's own long-term key
Explanation
The ticket is encrypted with the TGS's key, which the TGS knows. Decrypting it reveals the information needed to process the request.
- A
- 32
Why should a ticket identify the service for which it was issued?
- A
The client can use the service name as a replacement for the shared key
- B
The service name tells the client how to change its IP address
- C
The KDC can use the name to infer the user's password
- D
The receiving service can check that the ticket was actually intended for it
Correct answer
DThe receiving service can check that the ticket was actually intended for it
Explanation
Including the service identity makes the ticket's intended recipient explicit. The receiving service can reject a ticket meant for another service.
- A
- 33
Why must a ticket identify the client as well as the service?
- A
The service needs to know which principal it has authenticated
- B
The ticket must contain a list of all users in the realm
- C
The client needs to learn the service's long-term password
- D
The KDC needs to determine the server's application commands
Correct answer
AThe service needs to know which principal it has authenticated
Explanation
The service needs the client's principal identity so it can associate the authenticated connection with the correct user and apply its own authorization rules.
- A
- 34
What was the intended purpose of including a client's IP address in tickets?
- A
To use the address as the client's cryptographic secret key
- B
To tell the service which authorization rules to delete
- C
To make a stolen ticket harder to use from a different address
- D
To make all ticket expiration times unnecessary
Correct answer
CTo make a stolen ticket harder to use from a different address
Explanation
The original design used the address as an additional check: a ticket obtained from one IP address was expected to be used from that address. The lecture characterizes this reliance as misguided compared with cryptographic protection.
- A
- 35
What do the ticket's timestamp and lifetime limit?
- A
The number of services a user can contact in one login
- B
The period during which a service should accept the ticket
- C
The number of KDC replicas that can issue tickets
- D
The length of the user's password
Correct answer
BThe period during which a service should accept the ticket
Explanation
The timestamp records when the ticket was issued, and the lifetime indicates how long it remains valid. Services should reject tickets used outside that validity period.
- A
- 36
Why do Kerberos systems require clocks on participating machines to be reasonably synchronized?
- A
The KDC cannot store principal names unless all clocks match exactly
- B
Clock synchronization lets services avoid decrypting tickets
- C
The client's clock determines the encryption key for every ticket
- D
Services use ticket and authenticator timestamps to decide whether messages are too old or not yet valid
Correct answer
DServices use ticket and authenticator timestamps to decide whether messages are too old or not yet valid
Explanation
Kerberos uses timestamps and ticket lifetimes, so substantial clock differences can cause valid tickets to be rejected or expired tickets to appear usable.
- A
- 37
How does an authenticator help a server detect a replayed request?
- A
The server can reject authenticators it has already seen or that are too old
- B
The authenticator proves that the request came from a unique IP address forever
- C
The server can compare the authenticator with the user's password
- D
The authenticator changes the server's long-term key after each request
Correct answer
AThe server can reject authenticators it has already seen or that are too old
Explanation
A server can keep a cache of recently seen authenticators and reject duplicates. It can also reject authenticators whose timestamps are outside an acceptable time window.
- A
- 38
What design flaw exists if an authenticator is not linked to the application command it accompanies?
- A
The authenticator will reveal the user's password to the KDC
- B
The client and server will be unable to derive any shared key
- C
The service will be unable to determine its own principal name
- D
An attacker may pair a valid authenticator with a different captured command
Correct answer
DAn attacker may pair a valid authenticator with a different captured command
Explanation
If the authenticator only shows that a client recently sent something, but does not bind that proof to the command, an attacker may splice the authenticator onto a different message.
- A
- 39
What improvement addresses the problem of authenticators that are not bound to their application messages?
- A
Allow the application server to accept unauthenticated commands
- B
Use the same authenticator for every request in a session
- C
Include information in the authenticator that relates it to the command being issued
- D
Remove timestamps from authenticators and tickets
Correct answer
CInclude information in the authenticator that relates it to the command being issued
Explanation
Kerberos 5 addresses this issue by including information in the authenticator that relates it to the application request, preventing an authenticator from being freely paired with a different command.
- A
- 40
Why is encrypting client-to-server and server-to-client messages with the same key risky?
- A
The server loses the ability to identify the client's principal
- B
A message produced in one direction may be reflected back and mistaken for a valid message in the other
- C
The client can no longer decrypt tickets issued by the KDC
- D
The shared key automatically becomes the user's password
Correct answer
BA message produced in one direction may be reflected back and mistaken for a valid message in the other
Explanation
Using the same key in both directions can enable reflection attacks: an attacker may replay a message from one direction as if it were a valid message in the other.
- A
- 41
How does Kerberos 5 address reflection attacks between client and server?
- A
It requires both parties to share the user's password
- B
It uses distinct keys for client-to-server and server-to-client traffic
- C
It disables encryption after the ticket is accepted
- D
It sends every application message through the KDC
Correct answer
BIt uses distinct keys for client-to-server and server-to-client traffic
Explanation
Kerberos 5 negotiates separate keys for the two communication directions, reducing the risk that a message from one direction can be reflected into the other.
- A
- 42
Why is it useful for the client and server to establish a shared key through the ticket exchange?
- A
They can avoid identifying which principal is communicating
- B
They can protect and authenticate their subsequent communication without sending every message through the KDC
- C
They can use the key as a permanent replacement for the service's long-term key
- D
They can use the shared key to change the KDC's database directly
Correct answer
BThey can protect and authenticate their subsequent communication without sending every message through the KDC
Explanation
The KDC provides the client and service with a shared session key. They can then protect their communications directly, while the KDC remains off the path of ordinary application traffic.
- A
- 43
Why can a stolen client-service session key still be harmful even when it is not the user's long-term key?
- A
It lets the attacker change the service's long-term key without authorization
- B
It automatically reveals every user's password in the realm
- C
It can allow an attacker to impersonate that client in the associated session while the relevant ticket is valid
- D
It remains valid forever, even after every associated ticket expires
Correct answer
CIt can allow an attacker to impersonate that client in the associated session while the relevant ticket is valid
Explanation
A session key can enable misuse of the associated client-service relationship while its ticket remains valid. Its impact is bounded by the ticket, unlike compromise of a long-term credential or service key.
- A
- 44
Why does a KDC's availability matter, yet not necessarily interrupt every existing service connection when it fails?
- A
Users may be unable to log in or obtain new tickets, but existing valid tickets can continue to be used
- B
The KDC stores no authentication data, so its failure has no effect on users
- C
All application messages are routed through the KDC, so its failure stops every connection immediately
- D
Existing tickets become permanent when the KDC is unavailable
Correct answer
AUsers may be unable to log in or obtain new tickets, but existing valid tickets can continue to be used
Explanation
The KDC is needed to log in and obtain new tickets, but application traffic does not pass through it. Existing valid tickets can continue to support connections.
- A
- 45
What is the purpose of read-only KDC replicas?
- A
They issue tickets without needing the KDC database
- B
They let users change principal names without updating the master
- C
They can respond to authentication and ticket requests when the master is unavailable
- D
They store application data so services can operate without their own databases
Correct answer
CThey can respond to authentication and ticket requests when the master is unavailable
Explanation
Read-only replicas hold copies of the KDC database and can respond to requests, helping the system remain available if the master is down. Database updates remain the responsibility of the master.
- A
- 46
Why is compromise of the KDC especially serious?
- A
The KDC contains all users' application data in plaintext
- B
An attacker could create tickets for services while pretending to be principals of their choice
- C
Compromising it would automatically disable every user's workstation
- D
An attacker could only read the KDC's public list of service names
Correct answer
BAn attacker could create tickets for services while pretending to be principals of their choice
Explanation
The KDC's authority over keys and tickets makes it a high-value target. If compromised, it could issue tickets that impersonate users to services.
- A
- 47
Which security practice helps reduce the risk that a KDC will be compromised?
- A
Allow direct remote logins with a widely shared administrator password
- B
Minimize its attack surface and carefully protect its software and administrative access
- C
Run additional unrelated services on it so failures are easier to detect
- D
Store its database on every workstation in the realm
Correct answer
BMinimize its attack surface and carefully protect its software and administrative access
Explanation
Because the KDC is so important, administrators should protect it carefully, including reducing exposed services and securing its software and access.
- A
- 48
After a mail server is compromised, why is patching the software alone insufficient if the attacker learned the server's long-term key?
- A
Patching automatically makes every ticket valid forever
- B
The attacker could decrypt relevant tickets or create new tickets that the server accepts
- C
The server's key is used only to identify the mail server's hostname
- D
The attacker could still log in only if the server's IP address changes
Correct answer
BThe attacker could decrypt relevant tickets or create new tickets that the server accepts
Explanation
A service's long-term key protects its tickets. Someone who knows that key may decrypt tickets and session keys or forge tickets that the service will accept.
- A
- 49
What should administrators do to recover Kerberos security after a service's long-term key is compromised?
- A
Keep the key unchanged and wait for all users to change their passwords
- B
Remove the service's principal but continue using the compromised key
- C
Change only the IP address associated with the service
- D
Replace the service's key in the KDC and install the new key on the repaired service
Correct answer
DReplace the service's key in the KDC and install the new key on the repaired service
Explanation
The compromised service key must be replaced so the attacker can no longer use it to read or forge tickets for that service.
- A
- 50
Why is an out-of-band process needed to register principals or recover a compromised service key?
- A
The system needs a trustworthy way to establish who is authorized to make those changes
- B
Kerberos tickets cannot contain service names
- C
The KDC cannot store keys unless they are sent over an application connection
- D
A service key can be changed only by the service's ordinary users
Correct answer
AThe system needs a trustworthy way to establish who is authorized to make those changes
Explanation
An attacker who controls a principal's key may be indistinguishable from its legitimate owner within the protocol. A trusted administrative process is needed to verify identities and restore control.
- A
- 51
Why is using a fixed encryption algorithm throughout a protocol a long-term risk?
- A
A fixed algorithm makes timestamps impossible to encrypt
- B
Every fixed algorithm requires users to share passwords with services
- C
A fixed algorithm prevents a KDC from issuing tickets
- D
The chosen algorithm may become insecure, leaving the protocol unable to adapt
Correct answer
DThe chosen algorithm may become insecure, leaving the protocol unable to adapt
Explanation
Kerberos 4's reliance on DES became problematic as brute-forcing its relatively small key became practical. A protocol should support stronger algorithms as security requirements change.
- A
- 52
Why was Kerberos 4's use of DES a weakness over time?
- A
DES could only be used between machines with synchronized clocks
- B
Its 56-bit key space became practical to search with specialized hardware
- C
DES did not permit symmetric encryption of tickets
- D
DES required the user's password to be sent in plaintext
Correct answer
BIts 56-bit key space became practical to search with specialized hardware
Explanation
DES uses a 56-bit key, making exhaustive search feasible with sufficiently specialized hardware. Kerberos 5 supports multiple encryption schemes, including stronger alternatives.
- A
- 53
What is a central weakness of returning a password-encrypted response that can be checked offline?
- A
A valid response cannot contain a session key
- B
An attacker can test many candidate passwords without further interaction with the KDC
- C
The user must transmit the password to every application server
- D
The KDC cannot determine which service the user requested
Correct answer
BAn attacker can test many candidate passwords without further interaction with the KDC
Explanation
A captured response can serve as a target for offline password guessing. The attacker can test candidates locally without being rate-limited by the KDC.
- A
- 54
Why does rate-limiting login requests alone fail to stop offline password guessing?
- A
Rate limits make the user's password visible in the first request
- B
An attacker can capture one response and test password guesses locally without requesting again
- C
The KDC does not participate in password-based authentication
- D
Offline guessing uses a new IP address for every candidate password
Correct answer
BAn attacker can capture one response and test password guesses locally without requesting again
Explanation
Once an attacker has a suitable encrypted response, guesses can be tested offline. The KDC sees no repeated requests to limit.
- A
- 55
How can a more expensive password-based key derivation function help defend against password guessing?
- A
It prevents an attacker from observing network packets
- B
It automatically limits how many tickets a user can obtain
- C
It makes weak passwords impossible to guess
- D
It increases the work required for each candidate password an attacker tests
Correct answer
DIt increases the work required for each candidate password an attacker tests
Explanation
A deliberately costly key derivation function makes each password guess more computationally expensive. Salting can also help, but by itself does not prevent an attacker from trying many guesses.
- A
- 56
How can a challenge-response step help prevent offline guessing in the initial exchange?
- A
It removes the need for the server to store any key information
- B
It can require a password-dependent proof for each attempt, allowing the server to rate-limit attempts
- C
It lets the client send its password directly to the application service
- D
It ensures that no network observer can see the response
Correct answer
BIt can require a password-dependent proof for each attempt, allowing the server to rate-limit attempts
Explanation
A password-dependent challenge-response proof can make an attacker interact with the server for each attempt, allowing rate limiting. It is only a partial defense if captured responses still support offline guessing.
- A
- 57
What is the purpose of password-authenticated key exchange protocols such as SRP or PAKE?
- A
To make every password guess equally easy to test offline
- B
To let a service recover a user's password from the KDC
- C
To establish a shared key using a password while resisting offline guessing from observed network exchanges
- D
To replace all service principals with IP addresses
Correct answer
CTo establish a shared key using a password while resisting offline guessing from observed network exchanges
Explanation
Password-authenticated key exchange protocols are designed to establish a shared key while authenticating parties based on a password and resisting offline password-guessing attacks from captured exchanges.
- A
- 58
Why should encryption not be treated as a guarantee that a message is authentic and unmodified?
- A
Encryption makes a message valid for every principal
- B
Only unencrypted messages can be authenticated
- C
Encryption can conceal data without ensuring that an attacker did not alter it
- D
Encrypted messages cannot contain timestamps
Correct answer
CEncryption can conceal data without ensuring that an attacker did not alter it
Explanation
Confidentiality and integrity are different security properties. A protocol needs explicit message authentication or an authenticated-encryption method to detect tampering.
- A
- 59
Which Kerberos design choice helps limit the usefulness of a stolen ticket?
- A
Making the ticket valid from any time in the future
- B
Removing the client's identity from the ticket
- C
Using the same key for every service
- D
Giving the ticket a defined expiration time
Correct answer
DGiving the ticket a defined expiration time
Explanation
A ticket lifetime bounds the period during which someone who steals the ticket may use it, reducing the duration of potential misuse.
- A
- 60
Why is relying on a client's IP address as a major security check less desirable than relying on cryptography?
- A
IP addresses cannot appear in Kerberos tickets
- B
Network addresses are not a strong substitute for cryptographic proof of identity
- C
Cryptographic keys change whenever a client changes networks
- D
An IP address is always secret and should be used as a password
Correct answer
BNetwork addresses are not a strong substitute for cryptographic proof of identity
Explanation
The original design used IP addresses as an additional safeguard against ticket theft, but network addresses do not provide the kind of strong identity proof that cryptographic authentication provides.
- A
- 61
Why does a remote login machine need stronger authentication checks than a personal workstation with no valuable shared resources?
- A
Kerberos requires all workstations to store users' passwords permanently
- B
A personal workstation cannot receive a Kerberos ticket
- C
A remote login machine does not have an IP address
- D
A shared login machine may provide access to other users' processes or resources
Correct answer
DA shared login machine may provide access to other users' processes or resources
Explanation
A shared time-sharing machine may contain other users' processes and resources, so it must authenticate logins carefully. A user who gains access only to their own workstation may have much less to gain.
- A
- 62
Why is a password-only login flow to a remote machine vulnerable if the machine merely checks whether a returned encrypted blob decrypts?
- A
The KDC's response is encrypted with the remote machine's key, not the user's
- B
An attacker may forge a plausible response because the flow does not authenticate that it came from the KDC
- C
The user can only authenticate if the machine has no service principal
- D
The machine cannot receive a password over a network
Correct answer
BAn attacker may forge a plausible response because the flow does not authenticate that it came from the KDC
Explanation
A decryptable response does not by itself prove that it came from the KDC. An attacker may supply a forged response that decrypts under the password the user entered.
- A
- 63
How can a dial-up or shared login machine verify that an initial login response really came from the KDC?
- A
It accepts the initial response whenever it decrypts to any readable text
- B
It compares the user's password with the client's IP address
- C
After the initial check, it obtains a ticket for itself and verifies it using its own secret key
- D
It forwards the user's password to every service in the realm
Correct answer
CAfter the initial check, it obtains a ticket for itself and verifies it using its own secret key
Explanation
A machine with its own key shared with the KDC can request a ticket for itself and check that the ticket decrypts with that key. This provides evidence that the KDC issued it.
- A
- 64
Why might an ordinary workstation omit the extra ticket-verification step used by a shared login machine?
- A
Ordinary workstations do not support service principals
- B
The extra step would cause the user's password to be sent in plaintext
- C
The workstation may have no valuable shared resources beyond a user-controlled environment
- D
The workstation's IP address proves that the KDC issued the response
Correct answer
CThe workstation may have no valuable shared resources beyond a user-controlled environment
Explanation
The extra check is particularly important for a shared machine where a false login could expose other users' resources. A workstation with no comparable shared resources may have less to protect.
- A
- 65
How does a user change a Kerberos password in the described design?
- A
The user changes the KDC database using the old service key
- B
The user sends the new password directly to every service in the realm
- C
The user asks the application server to replace the KDC's master key
- D
The user obtains a ticket for the password service and sends the new password protected with the session key
Correct answer
DThe user obtains a ticket for the password service and sends the new password protected with the session key
Explanation
The user obtains a ticket for the password-changing service and sends the new password encrypted with the session key for that interaction.
- A
- 66
Why might the password-changing service reject a ticket obtained through the TGS?
- A
Only application servers are allowed to change passwords
- B
It wants evidence that the user recently knew the long-term credential, not merely a potentially stolen ticket
- C
TGS tickets cannot contain session keys
- D
A ticket from the TGS contains the user's new password
Correct answer
BIt wants evidence that the user recently knew the long-term credential, not merely a potentially stolen ticket
Explanation
A stolen ticket could let an attacker request more tickets. Requiring a ticket obtained directly through the initial password-based Kerberos exchange helps ensure that password changes require recent knowledge of the long-term credential.
- A
- 67
What does requiring an initial Kerberos ticket for password changes fail to prevent?
- A
A person who only stole a later TGS ticket from a workstation
- B
A client from requesting a ticket for a mail server
- C
A service from applying its own authorization policy
- D
A person who knows the user's current password from logging in and changing it
Correct answer
DA person who knows the user's current password from logging in and changing it
Explanation
Someone who knows the user's current password can perform the initial exchange and request a password change. The restriction is intended to prevent a stolen later ticket alone from being sufficient.
- A
- 68
Why is it unsafe to reveal an old Kerberos password after changing it?
- A
The KDC automatically restores the old password when it is disclosed
- B
An attacker who recorded password-change messages may use the old password to decrypt them and recover newer credentials
- C
The old password remains the service's long-term key
- D
A changed password cannot be used to obtain any tickets
Correct answer
BAn attacker who recorded password-change messages may use the old password to decrypt them and recover newer credentials
Explanation
If an attacker recorded the encrypted password-change exchanges, learning an old password may let them decrypt a recorded exchange and recover the next password, potentially continuing through later changes.
- A
- 69
How does Diffie-Hellman key exchange help protect a password-change exchange against later decryption?
- A
The parties send their passwords to each other using separate IP addresses
- B
The client and server reuse a permanent key that is stored in each packet
- C
The parties derive a shared secret from exchanged public values without sending that secret directly
- D
The KDC encrypts every old password with the new password
Correct answer
CThe parties derive a shared secret from exchanged public values without sending that secret directly
Explanation
Each party contributes a random value and exchanges a derived public value. Both can compute the same shared secret, while an observer who sees only the exchanged values is not expected to be able to recover it.
- A

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