1. Home
  2. Explore
  3. Computer Science
  4. Kerberos Network Authentication

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Kerberos Network Authentication

  • 69Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Architecture and Trust

What problem was Kerberos designed to solve in a distributed network?

69 questions

  1. 1

    What problem was Kerberos designed to solve in a distributed network?

    1. A

      Authenticating users to multiple network services without trusting the network

    2. B

      Replacing authorization policies with a single system-wide access rule

    3. C

      Assigning IP addresses to workstations without contacting a central service

    4. D

      Encrypting all network traffic without requiring users to have accounts

    Correct answer
    A

    Authenticating 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.

  2. 2

    What is the role of the Kerberos server, commonly called the KDC?

    1. A

      It stores shared keys associated with principals and issues tickets used for authentication

    2. B

      It stores a separate copy of every user's data so services need not keep their own

    3. C

      It decides which files and mail messages each authenticated user may access

    4. D

      It forwards every application message between users and network services

    Correct answer
    A

    It 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.

  3. 3

    Which parties must a Kerberos user trust for the protocol's protections to work as intended?

    1. A

      Every server in the realm and every other user's workstation

    2. B

      The KDC and the workstation on which the user enters credentials

    3. C

      The network itself and every router carrying Kerberos messages

    4. D

      Only the application server, because the KDC never handles key information

    Correct answer
    B

    The 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.

  4. 4

    Why is using Kerberos from a public workstation riskier than using it from a trusted personal computer?

    1. A

      A public workstation cannot contact the KDC unless it owns the user's account

    2. B

      Kerberos tickets are valid only on computers personally owned by their users

    3. C

      A public workstation could capture the user's password or Kerberos credentials

    4. D

      A public workstation automatically gives every logged-in user administrator access

    Correct answer
    C

    A 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.

  5. 5

    What distinction does Kerberos make between authentication and authorization?

    1. A

      Kerberos identifies a principal; the application service decides what that principal may do

    2. B

      Kerberos performs both tasks, so application services need no access-control rules

    3. C

      Kerberos authorizes network addresses, while application services authenticate usernames

    4. D

      Kerberos decides what files a user may access; the service verifies only the user's password

    Correct answer
    A

    Kerberos 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.

  6. 6

    Why do Kerberos-enabled services need not have a prior relationship with every user?

    1. A

      The KDC grants every user unrestricted access to every service by default

    2. B

      A service can identify every user from the source IP address alone

    3. C

      Users send their passwords directly to each service when they connect

    4. D

      A service can use a valid ticket to establish a user's identity when a connection is made

    Correct answer
    D

    A 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.

  7. 7

    What risk can arise when one server is given access to another server's resources for convenience?

    1. A

      The two servers can no longer use separate encryption keys

    2. B

      Users are prevented from obtaining tickets for either server

    3. C

      The KDC must permanently delete both servers' principals

    4. D

      Compromising the first server may provide an indirect route to the second server's resources

    Correct answer
    D

    Compromising 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.

  8. 8

    How does Kerberos improve on authenticating users solely by their IP addresses?

    1. A

      It replaces all network addresses with usernames in every packet

    2. B

      It uses cryptographic keys and tickets rather than treating a network address as proof of identity

    3. C

      It guarantees that IP addresses cannot be changed or impersonated

    4. D

      It allows each server to infer the user's identity from the workstation's hostname

    Correct answer
    B

    It 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.

  9. 9

    Why does a Kerberos system provide a Ticket Granting Service interface in addition to the initial Kerberos interface?

    1. A

      It lets application servers change a user's password without contacting the KDC

    2. B

      It lets a client obtain later service tickets without repeatedly using its long-term key

    3. C

      It forwards application traffic so the client does not need to contact services

    4. D

      It allows users to avoid obtaining any initial ticket when they log in

    Correct answer
    B

    It 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.

  10. 10

    What does the term principal refer to in Kerberos?

    1. A

      A group of KDC replicas that share a database

    2. B

      A network packet that contains an encrypted application command

    3. C

      A named entity, such as a user or service, represented by a name in the Kerberos system

    4. D

      A temporary encryption key created for each message

    Correct answer
    C

    A 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.

  11. 11

    What is an instance in the naming scheme described for Kerberos?

    1. A

      An additional name component that can distinguish a principal for a particular role or use

    2. B

      A timestamp indicating when a service was installed

    3. C

      A copy of a ticket stored on a backup KDC

    4. D

      A one-time password automatically added to every login

    Correct answer
    A

    An 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.

  12. 12

    Why might one user have separate Kerberos principals for ordinary and especially sensitive use?

    1. A

      Each principal lets the user bypass the service's authorization rules

    2. B

      Separate principals eliminate the need to protect the user's workstation

    3. C

      The user can apply different credentials and keep higher-risk activity distinct

    4. D

      The KDC requires each user to have a different principal for every network connection

    Correct answer
    C

    The 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.

  13. 13

    Why does Kerberos need names for services as well as names for users?

    1. A

      A client needs to identify the intended service and verify that it is talking to that service

    2. B

      A service name tells the KDC which password the user typed

    3. C

      Service names allow application servers to share one secret key automatically

    4. D

      A service name determines the user's IP address for all later connections

    Correct answer
    A

    A 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.

  14. 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?

    1. A

      Accept the connection if the server has the same IP address

    2. B

      Send the user's password to the server to resolve the identity mismatch

    3. C

      Ask the server to choose a principal name that the client will accept

    4. D

      Abort the connection rather than risk communicating with an impersonating service

    Correct answer
    D

    Abort 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.

  15. 15

    Why can reusing a former user's principal name create a security problem?

    1. A

      A principal name can only be used once to encrypt a service's key

    2. B

      The KDC automatically copies the former user's password to the new account

    3. C

      Existing access-control entries may treat the new principal with that name as the former user

    4. D

      The reused name prevents the new user from obtaining a ticket

    Correct answer
    C

    Existing 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.

  16. 16

    Why can a service principal name also be risky to reuse?

    1. A

      The KDC uses service names only to store IP addresses

    2. B

      Service principals cannot have keys changed after they are created

    3. C

      Clients may continue to expect that name to identify the original service

    4. D

      Reusing a service name forces every user to change their password

    Correct answer
    C

    Clients 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.

  17. 17

    What is the main purpose of the ticket issued during Kerberos authentication?

    1. A

      To provide a service with protected information it can use to recognize the client and establish a shared key

    2. B

      To store the user's password in a form readable by every network service

    3. C

      To give the client a list of every service the user is authorized to access

    4. D

      To route the client's application messages through the KDC

    Correct answer
    A

    To 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.

  18. 18

    Which information was described as being included in a Kerberos ticket?

    1. A

      Client and server identities, client address, timing information, and a client-server key

    2. B

      The user's plaintext password, server source code, and a list of permitted commands

    3. C

      The client's authorization list, the server's IP address, and the user's password hint

    4. D

      The KDC's database, the user's mail, and every service's private key

    Correct answer
    A

    Client 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.

  19. 19

    What information is included in the authenticator described for a client-server interaction?

    1. A

      The client's plaintext password, the service's authorization list, and a nonce

    2. B

      The application command, the KDC database, and the ticket expiration policy

    3. C

      The server's long-term key, the user's password, and a list of groups

    4. D

      The client's name, the client's IP address, and a timestamp

    Correct answer
    D

    The 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.

  20. 20

    Which keys protect the ticket and the authenticator for a particular client-server relationship?

    1. A

      Both are encrypted with the client's IP address and a timestamp

    2. B

      The ticket is encrypted with the service's key, while the authenticator is encrypted with the client-service key

    3. C

      Both are encrypted with the user's password so every service can read them

    4. D

      The ticket is encrypted with the client's password, while the authenticator is encrypted with the KDC's key

    Correct answer
    B

    The 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.

  21. 21

    How can the initial Kerberos exchange avoid sending a user's password directly over the network?

    1. A

      The KDC returns a response encrypted with a key derived from the user's password

    2. B

      The client encrypts its password with a service key known to every server

    3. C

      The client sends its password only to the application server, not to the KDC

    4. D

      The KDC sends the password to the client after verifying its IP address

    Correct answer
    A

    The 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.

  22. 22

    How is the user's Kerberos key derived in the password-based scheme described?

    1. A

      By selecting a key from the KDC without using the user's password

    2. B

      By using the user's current IP address as the encryption key

    3. C

      By applying a password-based key derivation process to the user's password

    4. D

      By copying the service's secret key into the user's account

    Correct answer
    C

    By 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.

  23. 23

    Why does the client receive a copy of the client-service key outside the service's encrypted ticket?

    1. A

      The service cannot decrypt tickets, so the client must decrypt them on its behalf

    2. B

      The client needs the key for its own communication, while the service obtains its copy by decrypting the ticket

    3. C

      The client uses the copy to replace the service's long-term key

    4. D

      The KDC uses the copy to decrypt all future application messages

    Correct answer
    B

    The 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.

  24. 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?

    1. A

      The TGS ticket removes the need for service-specific keys at the KDC

    2. B

      Direct service tickets cannot include a client-service shared key

    3. C

      The TGS ticket gives the client permanent access to every service in the realm

    4. D

      The client can discard its password-derived key and use the TGS ticket for later requests

    Correct answer
    D

    The 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.

  25. 25

    What is the security benefit of discarding the password-derived key after the initial exchange?

    1. A

      A later theft is limited to the remaining ticket's lifetime rather than exposing the long-term credential indefinitely

    2. B

      The client can then use the same ticket forever without contacting the TGS

    3. C

      The service's long-term key becomes unnecessary

    4. D

      The KDC can no longer identify the user's principal

    Correct answer
    A

    A 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.

  26. 26

    Why can an attacker who obtains the initial Kerberos response attempt password guesses offline?

    1. A

      The response reveals the user's password through its timestamp

    2. B

      The KDC accepts every guessed password without checking it

    3. C

      The attacker can try candidate passwords as keys and check whether decryption produces plausible contents

    4. D

      The response contains the user's password in plaintext alongside the ticket

    Correct answer
    C

    The 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.

  27. 27

    Why was relying on recognizable decrypted fields a weakness in the older Kerberos design?

    1. A

      A recognizable pattern made timestamps impossible to validate

    2. B

      The fields forced every service to use the user's password

    3. C

      Recognizable fields prevented the KDC from encrypting tickets

    4. D

      A plausible decryption did not provide a cryptographic guarantee that the data was authentic and untampered

    Correct answer
    D

    A 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.

  28. 28

    What additional protection does Kerberos 5 use alongside encryption to address message tampering?

    1. A

      It removes service tickets and uses passwords for every request

    2. B

      It authenticates messages, allowing recipients to check that protected data was not altered

    3. C

      It sends every message twice and compares the plaintext versions

    4. D

      It accepts messages only when they come from a fixed IP address

    Correct answer
    B

    It 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.

  29. 29

    What is the main purpose of the TGS exchange?

    1. A

      To determine the user's file permissions without contacting services

    2. B

      To exchange a valid TGS ticket for a ticket to a requested service

    3. C

      To renew the KDC's long-term keys after each application request

    4. D

      To send the user's password to every service the user selects

    Correct answer
    B

    To 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.

  30. 30

    How does the client demonstrate its ability to use a TGS ticket when requesting another service ticket?

    1. A

      It sends its password and the requested service's long-term key

    2. B

      It sends the TGS ticket and an authenticator protected with the client-TGS shared key

    3. C

      It asks the requested service to create a ticket on the KDC's behalf

    4. D

      It sends only its IP address and relies on the TGS to infer its identity

    Correct answer
    B

    It 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.

  31. 31

    How can the TGS read the client's identity and shared key from the presented TGS ticket?

    1. A

      It uses the client's IP address to reconstruct the ticket

    2. B

      It obtains the information from the requested application server

    3. C

      It asks the client to reveal the user's password

    4. D

      It decrypts the ticket using the TGS's own long-term key

    Correct answer
    D

    It 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.

  32. 32

    Why should a ticket identify the service for which it was issued?

    1. A

      The client can use the service name as a replacement for the shared key

    2. B

      The service name tells the client how to change its IP address

    3. C

      The KDC can use the name to infer the user's password

    4. D

      The receiving service can check that the ticket was actually intended for it

    Correct answer
    D

    The 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.

  33. 33

    Why must a ticket identify the client as well as the service?

    1. A

      The service needs to know which principal it has authenticated

    2. B

      The ticket must contain a list of all users in the realm

    3. C

      The client needs to learn the service's long-term password

    4. D

      The KDC needs to determine the server's application commands

    Correct answer
    A

    The 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.

  34. 34

    What was the intended purpose of including a client's IP address in tickets?

    1. A

      To use the address as the client's cryptographic secret key

    2. B

      To tell the service which authorization rules to delete

    3. C

      To make a stolen ticket harder to use from a different address

    4. D

      To make all ticket expiration times unnecessary

    Correct answer
    C

    To 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.

  35. 35

    What do the ticket's timestamp and lifetime limit?

    1. A

      The number of services a user can contact in one login

    2. B

      The period during which a service should accept the ticket

    3. C

      The number of KDC replicas that can issue tickets

    4. D

      The length of the user's password

    Correct answer
    B

    The 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.

  36. 36

    Why do Kerberos systems require clocks on participating machines to be reasonably synchronized?

    1. A

      The KDC cannot store principal names unless all clocks match exactly

    2. B

      Clock synchronization lets services avoid decrypting tickets

    3. C

      The client's clock determines the encryption key for every ticket

    4. D

      Services use ticket and authenticator timestamps to decide whether messages are too old or not yet valid

    Correct answer
    D

    Services 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.

  37. 37

    How does an authenticator help a server detect a replayed request?

    1. A

      The server can reject authenticators it has already seen or that are too old

    2. B

      The authenticator proves that the request came from a unique IP address forever

    3. C

      The server can compare the authenticator with the user's password

    4. D

      The authenticator changes the server's long-term key after each request

    Correct answer
    A

    The 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.

  38. 38

    What design flaw exists if an authenticator is not linked to the application command it accompanies?

    1. A

      The authenticator will reveal the user's password to the KDC

    2. B

      The client and server will be unable to derive any shared key

    3. C

      The service will be unable to determine its own principal name

    4. D

      An attacker may pair a valid authenticator with a different captured command

    Correct answer
    D

    An 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.

  39. 39

    What improvement addresses the problem of authenticators that are not bound to their application messages?

    1. A

      Allow the application server to accept unauthenticated commands

    2. B

      Use the same authenticator for every request in a session

    3. C

      Include information in the authenticator that relates it to the command being issued

    4. D

      Remove timestamps from authenticators and tickets

    Correct answer
    C

    Include 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.

  40. 40

    Why is encrypting client-to-server and server-to-client messages with the same key risky?

    1. A

      The server loses the ability to identify the client's principal

    2. B

      A message produced in one direction may be reflected back and mistaken for a valid message in the other

    3. C

      The client can no longer decrypt tickets issued by the KDC

    4. D

      The shared key automatically becomes the user's password

    Correct answer
    B

    A 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.

  41. 41

    How does Kerberos 5 address reflection attacks between client and server?

    1. A

      It requires both parties to share the user's password

    2. B

      It uses distinct keys for client-to-server and server-to-client traffic

    3. C

      It disables encryption after the ticket is accepted

    4. D

      It sends every application message through the KDC

    Correct answer
    B

    It 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.

  42. 42

    Why is it useful for the client and server to establish a shared key through the ticket exchange?

    1. A

      They can avoid identifying which principal is communicating

    2. B

      They can protect and authenticate their subsequent communication without sending every message through the KDC

    3. C

      They can use the key as a permanent replacement for the service's long-term key

    4. D

      They can use the shared key to change the KDC's database directly

    Correct answer
    B

    They 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.

  43. 43

    Why can a stolen client-service session key still be harmful even when it is not the user's long-term key?

    1. A

      It lets the attacker change the service's long-term key without authorization

    2. B

      It automatically reveals every user's password in the realm

    3. C

      It can allow an attacker to impersonate that client in the associated session while the relevant ticket is valid

    4. D

      It remains valid forever, even after every associated ticket expires

    Correct answer
    C

    It 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.

  44. 44

    Why does a KDC's availability matter, yet not necessarily interrupt every existing service connection when it fails?

    1. A

      Users may be unable to log in or obtain new tickets, but existing valid tickets can continue to be used

    2. B

      The KDC stores no authentication data, so its failure has no effect on users

    3. C

      All application messages are routed through the KDC, so its failure stops every connection immediately

    4. D

      Existing tickets become permanent when the KDC is unavailable

    Correct answer
    A

    Users 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.

  45. 45

    What is the purpose of read-only KDC replicas?

    1. A

      They issue tickets without needing the KDC database

    2. B

      They let users change principal names without updating the master

    3. C

      They can respond to authentication and ticket requests when the master is unavailable

    4. D

      They store application data so services can operate without their own databases

    Correct answer
    C

    They 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.

  46. 46

    Why is compromise of the KDC especially serious?

    1. A

      The KDC contains all users' application data in plaintext

    2. B

      An attacker could create tickets for services while pretending to be principals of their choice

    3. C

      Compromising it would automatically disable every user's workstation

    4. D

      An attacker could only read the KDC's public list of service names

    Correct answer
    B

    An 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.

  47. 47

    Which security practice helps reduce the risk that a KDC will be compromised?

    1. A

      Allow direct remote logins with a widely shared administrator password

    2. B

      Minimize its attack surface and carefully protect its software and administrative access

    3. C

      Run additional unrelated services on it so failures are easier to detect

    4. D

      Store its database on every workstation in the realm

    Correct answer
    B

    Minimize 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.

  48. 48

    After a mail server is compromised, why is patching the software alone insufficient if the attacker learned the server's long-term key?

    1. A

      Patching automatically makes every ticket valid forever

    2. B

      The attacker could decrypt relevant tickets or create new tickets that the server accepts

    3. C

      The server's key is used only to identify the mail server's hostname

    4. D

      The attacker could still log in only if the server's IP address changes

    Correct answer
    B

    The 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.

  49. 49

    What should administrators do to recover Kerberos security after a service's long-term key is compromised?

    1. A

      Keep the key unchanged and wait for all users to change their passwords

    2. B

      Remove the service's principal but continue using the compromised key

    3. C

      Change only the IP address associated with the service

    4. D

      Replace the service's key in the KDC and install the new key on the repaired service

    Correct answer
    D

    Replace 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.

  50. 50

    Why is an out-of-band process needed to register principals or recover a compromised service key?

    1. A

      The system needs a trustworthy way to establish who is authorized to make those changes

    2. B

      Kerberos tickets cannot contain service names

    3. C

      The KDC cannot store keys unless they are sent over an application connection

    4. D

      A service key can be changed only by the service's ordinary users

    Correct answer
    A

    The 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.

  51. 51

    Why is using a fixed encryption algorithm throughout a protocol a long-term risk?

    1. A

      A fixed algorithm makes timestamps impossible to encrypt

    2. B

      Every fixed algorithm requires users to share passwords with services

    3. C

      A fixed algorithm prevents a KDC from issuing tickets

    4. D

      The chosen algorithm may become insecure, leaving the protocol unable to adapt

    Correct answer
    D

    The 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.

  52. 52

    Why was Kerberos 4's use of DES a weakness over time?

    1. A

      DES could only be used between machines with synchronized clocks

    2. B

      Its 56-bit key space became practical to search with specialized hardware

    3. C

      DES did not permit symmetric encryption of tickets

    4. D

      DES required the user's password to be sent in plaintext

    Correct answer
    B

    Its 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.

  53. 53

    What is a central weakness of returning a password-encrypted response that can be checked offline?

    1. A

      A valid response cannot contain a session key

    2. B

      An attacker can test many candidate passwords without further interaction with the KDC

    3. C

      The user must transmit the password to every application server

    4. D

      The KDC cannot determine which service the user requested

    Correct answer
    B

    An 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.

  54. 54

    Why does rate-limiting login requests alone fail to stop offline password guessing?

    1. A

      Rate limits make the user's password visible in the first request

    2. B

      An attacker can capture one response and test password guesses locally without requesting again

    3. C

      The KDC does not participate in password-based authentication

    4. D

      Offline guessing uses a new IP address for every candidate password

    Correct answer
    B

    An 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.

  55. 55

    How can a more expensive password-based key derivation function help defend against password guessing?

    1. A

      It prevents an attacker from observing network packets

    2. B

      It automatically limits how many tickets a user can obtain

    3. C

      It makes weak passwords impossible to guess

    4. D

      It increases the work required for each candidate password an attacker tests

    Correct answer
    D

    It 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.

  56. 56

    How can a challenge-response step help prevent offline guessing in the initial exchange?

    1. A

      It removes the need for the server to store any key information

    2. B

      It can require a password-dependent proof for each attempt, allowing the server to rate-limit attempts

    3. C

      It lets the client send its password directly to the application service

    4. D

      It ensures that no network observer can see the response

    Correct answer
    B

    It 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.

  57. 57

    What is the purpose of password-authenticated key exchange protocols such as SRP or PAKE?

    1. A

      To make every password guess equally easy to test offline

    2. B

      To let a service recover a user's password from the KDC

    3. C

      To establish a shared key using a password while resisting offline guessing from observed network exchanges

    4. D

      To replace all service principals with IP addresses

    Correct answer
    C

    To 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.

  58. 58

    Why should encryption not be treated as a guarantee that a message is authentic and unmodified?

    1. A

      Encryption makes a message valid for every principal

    2. B

      Only unencrypted messages can be authenticated

    3. C

      Encryption can conceal data without ensuring that an attacker did not alter it

    4. D

      Encrypted messages cannot contain timestamps

    Correct answer
    C

    Encryption 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.

  59. 59

    Which Kerberos design choice helps limit the usefulness of a stolen ticket?

    1. A

      Making the ticket valid from any time in the future

    2. B

      Removing the client's identity from the ticket

    3. C

      Using the same key for every service

    4. D

      Giving the ticket a defined expiration time

    Correct answer
    D

    Giving 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.

  60. 60

    Why is relying on a client's IP address as a major security check less desirable than relying on cryptography?

    1. A

      IP addresses cannot appear in Kerberos tickets

    2. B

      Network addresses are not a strong substitute for cryptographic proof of identity

    3. C

      Cryptographic keys change whenever a client changes networks

    4. D

      An IP address is always secret and should be used as a password

    Correct answer
    B

    Network 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.

  61. 61

    Why does a remote login machine need stronger authentication checks than a personal workstation with no valuable shared resources?

    1. A

      Kerberos requires all workstations to store users' passwords permanently

    2. B

      A personal workstation cannot receive a Kerberos ticket

    3. C

      A remote login machine does not have an IP address

    4. D

      A shared login machine may provide access to other users' processes or resources

    Correct answer
    D

    A 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.

  62. 62

    Why is a password-only login flow to a remote machine vulnerable if the machine merely checks whether a returned encrypted blob decrypts?

    1. A

      The KDC's response is encrypted with the remote machine's key, not the user's

    2. B

      An attacker may forge a plausible response because the flow does not authenticate that it came from the KDC

    3. C

      The user can only authenticate if the machine has no service principal

    4. D

      The machine cannot receive a password over a network

    Correct answer
    B

    An 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.

  63. 63

    How can a dial-up or shared login machine verify that an initial login response really came from the KDC?

    1. A

      It accepts the initial response whenever it decrypts to any readable text

    2. B

      It compares the user's password with the client's IP address

    3. C

      After the initial check, it obtains a ticket for itself and verifies it using its own secret key

    4. D

      It forwards the user's password to every service in the realm

    Correct answer
    C

    After 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.

  64. 64

    Why might an ordinary workstation omit the extra ticket-verification step used by a shared login machine?

    1. A

      Ordinary workstations do not support service principals

    2. B

      The extra step would cause the user's password to be sent in plaintext

    3. C

      The workstation may have no valuable shared resources beyond a user-controlled environment

    4. D

      The workstation's IP address proves that the KDC issued the response

    Correct answer
    C

    The 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.

  65. 65

    How does a user change a Kerberos password in the described design?

    1. A

      The user changes the KDC database using the old service key

    2. B

      The user sends the new password directly to every service in the realm

    3. C

      The user asks the application server to replace the KDC's master key

    4. D

      The user obtains a ticket for the password service and sends the new password protected with the session key

    Correct answer
    D

    The 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.

  66. 66

    Why might the password-changing service reject a ticket obtained through the TGS?

    1. A

      Only application servers are allowed to change passwords

    2. B

      It wants evidence that the user recently knew the long-term credential, not merely a potentially stolen ticket

    3. C

      TGS tickets cannot contain session keys

    4. D

      A ticket from the TGS contains the user's new password

    Correct answer
    B

    It 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.

  67. 67

    What does requiring an initial Kerberos ticket for password changes fail to prevent?

    1. A

      A person who only stole a later TGS ticket from a workstation

    2. B

      A client from requesting a ticket for a mail server

    3. C

      A service from applying its own authorization policy

    4. D

      A person who knows the user's current password from logging in and changing it

    Correct answer
    D

    A 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.

  68. 68

    Why is it unsafe to reveal an old Kerberos password after changing it?

    1. A

      The KDC automatically restores the old password when it is disclosed

    2. B

      An attacker who recorded password-change messages may use the old password to decrypt them and recover newer credentials

    3. C

      The old password remains the service's long-term key

    4. D

      A changed password cannot be used to obtain any tickets

    Correct answer
    B

    An 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.

  69. 69

    How does Diffie-Hellman key exchange help protect a password-change exchange against later decryption?

    1. A

      The parties send their passwords to each other using separate IP addresses

    2. B

      The client and server reuse a permanent key that is stored in each packet

    3. C

      The parties derive a shared secret from exchanged public values without sending that secret directly

    4. D

      The KDC encrypts every old password with the new password

    Correct answer
    C

    The 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.

Question 1 of 69
Question 1 of 69

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent