a basic introduction to kerberos
play

A Basic Introduction to Kerberos Ken Hornstein NRL Kerberos - PowerPoint PPT Presentation

A Basic Introduction to Kerberos Ken Hornstein NRL Kerberos Introduction A network protocol developed at MIT as part of Project Athena. Is a shared-secret, trusted third party authentication system. Uses encryption to provide


  1. A Basic Introduction to Kerberos Ken Hornstein NRL

  2. Kerberos Introduction • A network protocol developed at MIT as part of Project Athena. • Is a shared-secret, trusted third party authentication system. • Uses encryption to provide authentication between peers. • Designed to be used by third-party programs (like OpenAFS).

  3. Basic Kerberos Concepts • Designed to provide secure authentication (not authorization) between two entities on a network (called principal identifiers or principals for short). • Every principal is assigned an encryption key (password for users). • All encryption keys are registered with the Key Distribution Center (KDC). • Kerberos services (like AFS, IMAP) are referred to as application servers. • A zone of Kerberos administrative authority is called a realm.

  4. Kerberos Protocol Diagram 1. Send initial ticket request to KDC (clear) KDC 2. KDC sends ticket for service, encrypted with client’s key. Client 3. Client sends ticket to server Server (ticket is encrypted with server’s key)

  5. Kerberos Ticket • Contains the following information: • Client identity (kenh@ATHENA.MIT.EDU) • Server identity (afs/sipb.mit.edu@ATHENA.MIT.EDU) • Expiration time. • Session key (for encryption between the client and server) • Various other bits. • Encrypted with a key the client does not know.

  6. The Ticket-Granting Ticket • Problem with the basic Kerberos scheme is users have to keep entering their password repeatedly. • Solution to this problem is to create a new service - the Ticket Granting Service (TGS). This service allows a user to acquire tickets for other services. • Users acquire a Ticket-Granting Ticket at login time, then talk to the KDC to get additional service tickets.

  7. Kerberos Protocol Exchange with TGT 2. KDC sends ticket for TGS, encrypted with client’s key. 1. Send initial request for TGT to KDC (clear) KDC krbtgt/REALM@REALM 3. Client sends ticket request for service (afs/REALM@REALM), includes TGT service ticket. Client 4. KDC sends ticket for service (afs/REALM@REALM), encrypted with TGT session key. 5. Client sends ticket to server Server (ticket is encrypted with server’s key) Steps 1-2 are done at login time, steps 3-5 done for each new service ticket (user password not required).

  8. Kerberos & AFS • AFS is a Kerberos application service, with a few slight differences. • In the Unix implementation, the service ticket is placed in the kernel by klog/aklog. • One service key is shared across all AFS services in a single realm. • The “traditional” AFS Kerberos (kaserver) doesn’t use the standard Kerberos transport protocol.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend