Kerberos (original) (raw)

Last Updated : 30 Apr, 2026

Kerberos provides a centralized authentication server whose function is to authenticate users to servers and servers to users.

Components

Kerberos consists of three main components that work together to authenticate users, manage tickets and control secure access to network services.

1. Authentication Server (AS)

This performs initial verification of user identity and issues a ticket for further access.

2. Ticket Granting Server (TGS)

It issues service tickets required to access specific services or servers.

3. Database

It stores user credentials and access-related information required for the authentication process.

Working of Kerberos

Kerberos works on a trusted third-party authentication model where a central server issues time-limited tickets to enable secure authentication and access to network services without repeatedly sending passwords.

Step 1: User Request for Service

The user logs in and requests access to a network service. The request is sent to the Authentication Server (AS) to obtain a Ticket Granting Ticket (TGT).

Step 2: Authentication Server Verification

The AS verifies the user credentials using its database and issues a TGT along with a session key. The response is encrypted using a key derived from the user’s password.

Step 3: TGT Decryption and Request to TGS

The user decrypts the response using their password and obtains the TGT. It is then sent to the Ticket Granting Server (TGS) along with an authenticator containing the user identity and network address.

Step 4: Ticket Granting Server Processing

The TGS validates the TGT and authenticator. After successful verification, it issues a service ticket for the requested server.

Step 5: Service Request to Server

The user sends the service ticket and a new authenticator to the application server.

Step 6: Service Access Granted

The server verifies the ticket and authenticator. If valid, access to the requested service is granted.

authentication_server

Kerberos Security Analysis

Kerberos is a widely used authentication protocol, but it is not completely immune to attacks. While it provides strong security, certain vulnerabilities can still be exploited if proper safeguards are not followed.

Security threats

Strengths

Applications of Kerberos

Limitations