Skip to main content
Definition Website Computer and Technology

Kerberos

Subject: Computer and Technology noun /ˈkɜːr.bər.əs/ 1 definition

  1. Definition (noun)

    Entry #336 · Updated

    Kerberos is a centralized, ticket-based network authentication protocol originally developed at MIT and standardized in RFC 4120 to verify client and service identities over untrusted networks using symmetric-key cryptography. Rather than transmitting passwords to individual application servers, a client authenticates once with a trusted Key Distribution Center (KDC)—comprising an Authentication Server (AS) and a Ticket-Granting Server (TGS)—to obtain an encrypted Ticket-Granting Ticket (TGT). The client presents that TGT to the TGS to acquire short-lived service tickets and symmetric session keys, enabling target services to validate requests locally via timestamped authenticators and perform optional mutual authentication without contacting the KDC. By encapsulating identity proofs inside time-bounded tickets, Kerberos delivers single sign-on across a security realm while leaving authorization decisions to applications and requiring synchronized clocks alongside a highly available, securely guarded KDC.

    Common Forms

    • Standard Single-Realm Kerberos: Core RFC 4120 deployment using password-derived symmetric keys or service keytab files to authenticate principals within one administrative realm against a local KDC (such as MIT Kerberos or Heimdal) over port 88.

    • PKINIT (Public-Key Kerberos): An RFC 4556 extension that replaces password-based pre-authentication with X.509 digital certificates—often stored on smart cards or hardware tokens—during the initial AS exchange before issuing symmetric tickets.

    • Active Directory Kerberos: Microsoft's enterprise implementation integrating the KDC with LDAP and DNS, embedding a signed Privilege Attribute Certificate (PAC) inside tickets so Windows services can evaluate group memberships and authorization claims.

    • Cross-Realm Kerberos: Connects independent realms via shared inter-realm krbtgt keys, allowing a principal authenticated in one realm to obtain referral tickets and access services in another trusted realm.

    Example

    An engineer runs kinit alice@CORP.EXAMPLE on her workstation, authenticating with the KDC on port 88 to store an encrypted, 10-hour TGT in her local credential cache. When she subsequently runs ssh db01.corp.example, the SSH client presents that TGT to the TGS to obtain a service ticket for host/db01.corp.example@CORP.EXAMPLE and authenticates over GSS-API without prompting for her password again.