Kerberos Objectives

attachments/Pasted image 20250610191657.png|700

Components of Kerberos

attachments/Pasted image 20250610192115.png|700

1. Ticket Granting Ticket (TGT)

2. Key Distribution Center (KDC)

3. Service Principle Name (SPN)

4. Kerberos Database

5. Session Key


Three pairs of Request-Response

Kerberos authentication works in 3 pairs :

  1. AS_REQ and AS_REP
  2. TGS_REQ and TGS_REP
  3. AP_REQ and AP_REP

attachments/Pasted image 20250611142611.png

Kerberos Authentication Protocol work flow

  1. AS_REQ : The client request an authentication ticket or Ticket Granting Ticket(TGT).
  2. AS_REP : The key distribution centre(KDC) verifies the client and sends back an encrypted Ticket Granting Ticket(TGT).
  3. TGS_REQ : The client sends the encrypted TGT to the Ticket Granting Server(TGS) with the Service Principle Name(SPN) of the service the client wants to access.
  4. TGS_REP : The Key Distribution Centre(KDC) verifies the Ticket Granting Ticket(TGT) of the user has access to the service, then sends a valid session key for the service to the client.
  5. AP_REQ : The client requests the service and sends the valid session key to prove the user has access.
  6. AP_REP : The service grant access.

attachments/Pasted image 20250611205224.png|700
attachments/Pasted image 20250611205304.png|700
attachments/Pasted image 20250611205341.png|700
attachments/Pasted image 20250611205410.png|700


Difference between NTLM and kerberose authentication

attachments/Pasted image 20250611211018.png|700