Presentation is loading. Please wait.

Presentation is loading. Please wait.

Advanced Authentication Campus-Booster ID: 351 www.supinfo.com Copyright © SUPINFO. All rights reserved Kerberos.

Similar presentations


Presentation on theme: "Advanced Authentication Campus-Booster ID: 351 www.supinfo.com Copyright © SUPINFO. All rights reserved Kerberos."— Presentation transcript:

1 Advanced Authentication Campus-Booster ID: 351 www.supinfo.com Copyright © SUPINFO. All rights reserved Kerberos

2 Your trainer… Title: **Enter title or job role. Accomplishments: **What makes the presenter qualified to present this course. Education: **List degrees if important. Publications: **Writings by the presenter on the subject of the course or presentation. Contact: **Campus-Booster ID: presenter@supinfo.com Presenter’s Name Kerberos

3 Course Objectives Discover what Kerberos is Know how to secure your network infrastructure Know how to manage a Kerberos-enabled network During this course you will: Kerberos

4 Course Plan An introduction to Kerberos Kerberos principles Kerberos installation Kerberos-related tools Here are the plan of what we'll see: Kerberos

5 Introducing Kerberos Which purpose, how it work Kerberos

6 Part's plan Kerberos utility Vocabulary Keypoints of Kerberos An example of pre-authentication Here are the chapters we'll see Introducing Kerberos

7 Why Kerberos ? Introducing Kerberos Unified and secure authentication No more clear text passwords No spoofing User's identity is verified No replay Tickets are ciphered and the key regularly change Secure the network

8 AS - Authentication Server which verify users identities and gives TGT TGS – (Ticket Granting Service) issue service tickets KDC - (Key Distribution Center) contains a database, the AS, and the TGS Ticket - Certificate allowing users to access services TGT - (Ticket Granting Ticket) user's ID card which must be shown to the KDC before a communication Service ticket - Ticket which grant access to a service Principal - Kerberos user, service or host Realm - Kerberos domain Some vocabulary Introducing Kerberos

9  Two implementations : MIT and HEIMDAL, we'll see the MIT version  Symmetrical keys authentication protocol  Client/server protocol  Use a ticket system to grant access to users on a service Kerberos it's: Kerberos a few words Introducing Kerberos

10 Asymmetrical Key Ciphering system I need a key Prove to the server that you're the one you pretend to be and get your unique symmetrical key Pre-Authentication Introducing Kerberos Client KDC Certification Authority Do you know it ? Yes I know it Here is your key ! Warning : this is not included whith Kerberos

11 Stop and Think Introducing Kerberos Why does Kerberos exist ? To unify authentication and secure services What is the KDC ? It’s a set of components including : a database, the AS and the TGS What is the purpose of the pre-authentication ? The pre-authentication is used to send private data (a symmetrical key) over a non-secure network

12 How does it work ? Explanation about Kerberos protocol Kerberos

13 Part's plan Overview of Kerberos Ticket Granting Ticket delivery Service ticket delivery How to access a service Here are the chapters we’ll see : How does it work ?

14 Kerberos overview The user auth and retrieve a Ticket Granting TicketThe user ask the KDC for a Service Ticket with it's TGT The user can now access the service with its Service Ticket How does it work ? Before any transaction you'll need the shared key to dialog with the KDC Tickets have a lifetime. Generally they're valid up to 10 hours, a common working duration. A Service Ticket is delivered for A SINGLE service and for ONE SESSION on it.

15 Client The client sends a Ticket Granting Ticket request to the KDC KDC The Key Distribution Center checks if the user exists in his database (LDAP, BDB) If the user exists, the KDC can know emit a Ticket Granting Ticket for the user The server encrypt the TGT with the user's password and sends it to the client The client decrypt the TGT with it's password and cache it for ten hours Ticket Granting Ticket delivery How does it work ?

16 Client The client sends a Service Ticket request + TGT KDC The KDC checks if the matching user for this TGT is allowed to use this service. If the user is granted on the service, the KDC will send a Service Ticket The server sends the Service Ticket encrypted with the service key The client can know use the ticket to access securly the service Service Ticket delivery How does it work ?

17 The client sends the Service Ticket The service checks if the ticket is valid If the ticket is valid, he accepts the connexion to the client for a single session The client and the server may now communicate Choosen service Access a service How does it work ?

18 What do you need to request tickets to the KDC ? A Ticket Granting Ticket, which enable you to communicate with the KDC. How do you get a Service Ticket ? You must show your identity to the KDC by sending him the TGT. If your TGT is valid, you'll be able to require Service Tickets. What do you do with a Service Ticket ? You just have to give it to the corresponding service. It will check it and establish the connexion for a single session. Stop and Think How does it work ?

19 Installation and Tools How to use Kerberos Kerberos

20 Part's plan Installation Client side commands Server side commands Configuration files Here are the chapters we'll see: Installation and tools

21 To install Kerberos you'll need these three packages: libkrb53 krb5-server krb5-workstation For those wanting a management GUI: gnome-kerberos The differents packages How to install Kerberos Installation and tools

22 kinit - This command will be used to retrieve a Ticket Granting Ticket on the KDC. It will be used in further communications with the KDC. kdestroy - This command deletes Kerberos cached tickets. klist - This command lists Kerberos user’s tickets and displays some informations. Client side commands Installation and tools

23 kadmind - launch the administration server for Kerberos v5. krb5kdc - launch the Key Distribution Center for Kerberos v5. kadmin - This command is used to manage Kerberos database kdb5_util - Low level task on the Kerberos database (creation,...) Server side commands Installation and tools

24 krb5.conf : client side configuration file for Kerberos v5. kdc.conf : Key Distribution Center and Authentication Server configuration for Kerberos v5. Detail of the configuration files Configuration files Installation and tools

25 To access a service you'll need the corresponding Service Ticket Kerberos : advanced authentication The network is now secure Course summary To communicate you'll need a Ticket Granting Ticket Kerberos

26 Tell me more... Publications Web Sites If you want to dig inside knowledge... http://gost.isi.edu/brian/security/kerberos.html http://www.oreilly.com/catalog/kerberos/ Kerberos http://web.mit.edu/Kerberos/

27 Congratulations You have successfully completed the SUPINFO course module Kerberos

28 The End Kerberos


Download ppt "Advanced Authentication Campus-Booster ID: 351 www.supinfo.com Copyright © SUPINFO. All rights reserved Kerberos."

Similar presentations


Ads by Google