SlideShare a Scribd company logo
1 of 15
Download to read offline
Kerberos
Luis Belloch Gómez
SSD - Febrero 2010
Kerberos es un protocolo de Autenticación.


Creado por Miller, Neuman, Schiller y Saltzer
para el proyecto Athena del MIT, en los años
80.


Basado en el protocolo Needham-Schroeder.
The Kerberos Authentication System uses a
series of encrypted messages to prove to a
verifier that a client is running on behalf of a
particular user.
Kerberos is a distributed authentication
service that allows a process (a client) running
on behalf of a principal (a user) to prove its
identity to a verifier (an application server, or
just server) without sending data across the
network that might allow an attacker or the
verifier to subsequently impersonate the
principal.
exp
                 1.         Kerberos
            1         Kc (Kc,v , v, texp , n)
                                 c     client
    C           AS
                 1.
                 1.   c, (T
                                  as auth. server (kdc)
                            Kerberos
                            Kerberos
                      K v, texp), = K verifier t )
                                  v
                                  n    (K , c, (server)
            2           v    c,v v c,v            exp


3       4           Kc (Kc,v , v, texp , n)
                1 c, v, Paso 3
                    c, v,ttexp ,,n
                 1.1.       exp n
                    Kv (Tc,v ) = Kv (Kc,v , c, texp )
    V           2 Kcc(Kc,v ,,v, ttexp,,n)
                    K (Kc,v v, exp n)
                    Kc,v (ts, ck, Ks )
                 1.1. vv(Tc,v))) = 3 vv(Kc,v ,,c, ttexp))
                    K (Tc,v = K (Kc,v c, exp
                    K Paso K
                    Kv (Tc,v

                3 Kc,v (ts, ck, Ks )
                 1.1. Paso 3
                 1.1. Paso 3
                 1.2. Paso 4
                      Kv (Tc,v )
                      Kc,v (ts, ck, Kss))
                       Kc,v (ts, ck, K
                4     ts, Kc,v
                      Kv (Tc,v ))
                      Kv (Tc,v
exp
                 1.         Kerberos
            1         Kc (Kc,v , v, texp , n)
                                 c     client
    C           AS
                 1.
                 1.   c, (T
                                  as auth. server (kdc)
                            Kerberos
                            Kerberos
                      K v, texp), = K verifier t )
                                  v
                                  n    (K , c, (server)
            2           v    c,v v c,v            exp


3       4           Kc (Kc,v , v, texp , n)
                1 c, v, Paso 3
                    c, v,ttexp ,,n
                 1.1.       exp n
                    Kv (Tc,v ) = Kv (Kc,v , c, texp )
    V           2 Kcc(Kc,v ,,v, ttexp,,n)
                    K (Kc,v v, exp n)
                    Kc,v (ts, ck, Ks )
                     ticket

                 1.1. vv(Tc,v))) = 3 vv(Kc,v ,,c, ttexp))
                    K (Tc,v = K (Kc,v c, exp
                    K Paso K
                    Kv (Tc,v

                3 Kc,v (ts, ck, Ks )
                 1.1. Paso 3
                 1.1. Paso 3
                 1.2. Paso 4
                      Kv (Tc,v )
                      Kc,v (ts, ck, Kss))
                       Kc,v (ts, ck, K
                4     ts, Kc,v
                      Kv (Tc,v ))
                      Kv (Tc,v
exp
                 1.         Kerberos
            1         Kc (Kc,v , v, texp , n)
                                 c     client
    C           AS
                 1.
                 1.   c, (T
                                  as auth. server (kdc)
                            Kerberos
                            Kerberos
                      K v, texp), = K verifier t )
                                  v
                                  n    (K , c, (server)
            2           v    c,v v c,v            exp


3       4           Kc (Kc,v , v, texp , n)
                1 c, v, Paso 3
                    c, v,ttexp ,,n
                 1.1.       exp n
                    Kv (Tc,v )key Kv (Kc,v , c, texp )
                      session =

    V           2 Kcc(Kc,v ,,v, ttexp,,n)
                    K (Kc,v v, exp n)
                    Kc,v (ts, ck, Ks )session key
                     ticket

                 1.1. vv(Tc,v))) = 3 vv(Kc,v ,,c, ttexp))
                    K (Tc,v = K (Kc,v c, exp
                    K Paso K
                    Kv (Tc,v

                3 Kc,v (ts, ck, Ks )
                 1.1. Paso 3
                 1.1. Paso 3
                 1.2. Paso 4
                      Kv (Tc,v )
                      Kc,v (ts, ck, Kss))
                       Kc,v (ts, ck, K
                4     ts, Kc,v
                      Kv (Tc,v ))
                      Kv (Tc,v
exp
                 1.         Kerberos
            1         Kc (Kc,v , v, texp , n)
                                 c     client
    C           AS
                 1.
                 1.   c, (T
                                  as auth. server (kdc)
                            Kerberos
                            Kerberos
                      K v, texp), = K verifier t )
                                  v
                                  n    (K , c, (server)
            2           v    c,v v c,v            exp


3       4           Kc (Kc,v , v, texp , n)
                1 c, v, Paso 3
                    c, v,ttexp ,,n
                 1.1.       exp n
                    Kv (Tc,v )key Kv (Kc,v , c, texp )
                      session =

    V           2 Kcc(Kc,v ,,v, ttexp,,n)
                    K (Kc,v v, exp n)
                    Kc,v (ts, ck, Ks )session key
                     ticket

                 1.1. vv(Tc,v))) = 3 vv(Kc,v ,,c, ttexp))
                    K (Tc,v = K (Kc,v c, exp
                    K Paso K
                    Kv (Tc,v
                      authenticator

                3 Kc,v (ts, ck, Ks )
                 1.1. Paso 3
                 1.1. Paso 3
                 1.2. Paso 4
                      Kv (Tc,v )
                      Kc,v (ts, ck, Kss))
                       Kc,v (ts, ck, K
                4     ts, Kc,v
                      Kv (Tc,v ))
                      Kv (Tc,v
Ktgs (Tc,tgs ) texp , n)
                                   Kc (Kc,tgs , tgs,
                                1.2. tgs, ttexp,,)n4
                                          Paso
                                1 Ktgs (Tc,tgs n
                                   c, tgs, exp
             1
             solo la
                          AS       c, t , n
                                   v, c,tgs (ts, ..)
                                   K exp
           primera vez
                                2 Kc (Kc,tgs ,,tgs, texp , n)n)
                                   Kc,tgs (Kc,v , v,t exp ,n)
                                   Kc (Kc,tgs tgs, texp ,
               2                   K (T            )
      C                                tgs
                                   K (Tc,tgs
                                             c,tgs
                                1.1. tgsPaso) 3
                                1.2. v (Tcvn 4
                                   K t Paso )
                                   v,     ,
                                    Ktgs (Tc,tgs )
                                      exp
            3 4                 3   Kc,tgs (ts, ..)
  5 6                           1.1. c,tgs (Kc,v3 v, texp , n)
                                   K Paso ,
                         TGS       K (T       )
                                1.3. tgs Paso 4
                                         Paso 5
                                          c,tgs
                                1.2. (T ) 3
                                1.1. Paso
                                   Kv, v expcv ..)
                                       t ,n
      V                         4
                                    Kc,tgs (ts,
                                    Kc,tgs (Kck,,Kst) , n)
                                         (ts, c,v
                                    Kc,v (Tc,tgs ) v, exp
                                    Ktgs
                                   Kc,tgs (ts, ..) 5
                                1.3. v expc,v ) 4
                                   v, Paso
                                1.2. v (Tc,v )
                                   K t Paso,n
c
as
      client
      auth. server              5   Kc,v (ts, c,v ,)v, ts ) , n)
                                    Kc,tgs (K
                                    K tgs (Tc,tgs
                                              ck, K exp
v
tgs
      verifier (server)
      ticket granting service
                                1.4. vt(TPaso 46
                                1.3. Paso 5
                                1.2. Paso
                                   K cv )
                                   v,     ,n
                                    Kv (Tc,v )
                                       exp
                                    Kc,tgs (Kc,v , v, texp , n)
                                6   Kc,v (ts, ck, Ks )
                                         (ts)
                                1.3.      Paso 5
Ktgs (Tc,tgs ) texp , n)
                                   Kc (Kc,tgs , tgs,
                                1.2. tgs, ttexp,,)n4
                                          Paso
                                1 Ktgs (Tc,tgs n
                                   c, tgs, exp
             1
             solo la
                          AS       c, t , n
                                   v, c,tgs (ts, ..)
                                   K exp
           primera vez
                                2 Kc (Kc,tgs ,,tgs, texp , n)n)
                                   Kc,tgs (Kc,v , v,t exp ,n)
                                   Kc (Kc,tgs tgs, texp ,
               2                   K (T            )
      C                            ticket
                                       tgs    c,tgs
                                1.1. tgsPaso) 3
                                   K (Tc,tgs
                                1.2. v (Tcvn 4
                                   K t Paso )
                                   v,     ,
                                    Ktgs (Tc,tgs )
                                      exp
            3 4                 3   Kc,tgs (ts, ..)
  5 6                           1.1. c,tgs (Kc,v3 v, texp , n)
                                   K Paso ,
                                   ticket
                         TGS       K (T       )
                                1.3. tgs Paso 4
                                         Paso 5
                                          c,tgs
                                1.2. (T ) 3
                                1.1. Paso
                                   Kv, v expcv ..)
                                       t ,n
      V                         4
                                    Kc,tgs (ts,
                                    Kc,tgs (Kck,,Kst) , n)
                                         (ts, c,v
                                    Kc,v (Tc,tgs ) v, exp
                                    Ktgs
                                   Kc,tgs (ts, ..) 5
                                   ticket
                                1.3. v expc,v ) 4
                                   v, Paso
                                1.2. v (Tc,v )
                                   K t Paso,n
c
as
      client
      auth. server              5   Kc,v (ts, c,v ,)v, ts ) , n)
                                    Kc,tgs (K
                                    K tgs (Tc,tgs
                                              ck, K exp
v
tgs
      verifier (server)
      ticket granting service
                                1.4. vt(TPaso 46
                                1.3. Paso 5
                                1.2. Paso
                                     ticket
                                   K cv )
                                   v,     ,n
                                    Kv (Tc,v )
                                       exp
                                    Kc,tgs (Kc,v , v, texp , n)
                                6   Kc,v (ts, ck, Ks )
                                         (ts)
                                1.3.      Paso 5
Diferencias con
       Needham-Schroeder
1. Uso de marcas de tiempo para evitar la reutilización
   de los tickets por terceros (Replay Attack) [4].
2. Introducción del Ticket Granting Service, para evitar
   volver a autenticar contra el KDC en cada uso.
3. Permite el uso entre distintos realms de
   autenticación.
Ampliaciones

Uso de criptografía de clave pública.


One-time passcode.
Desventajas  Problemas
1. Sensible a la elección de las claves
2. La distribución de claves debe ser segura
3. KDC centraliza las claves
    3.1.Puede comprometer a toda la red
    3.2.Solo funciona si el KDC está online
4. Requiere sincronización de tiempos
5. Necesidad de adaptar las aplicaciones
6. Implementaciones no interoperables [5]
Implementaciones
Microsoft Windows
http://msdn.microsoft.com/en-us/library/aa378747(VS.85).aspx

Apple MacOS X
http://developer.apple.com/opensource/kerberosintro.html

Kerberos Infrastructure HOWTO
http://tldp.org/HOWTO/Kerberos-Infrastructure-HOWTO/

Debian
http://www.debian-administration.org/articles/570
http://wiki.debian.org/LDAP/Kerberos

Ubuntu (Samba+Kerberos)
https://help.ubuntu.com/community/Samba/Kerberos

FreeBSD (Heimdal)
http://www.freebsd.org/doc/en/books/handbook/kerberos5.html
Bibliografía
1. B. Clifford Neuman and Theodore Ts'o. Kerberos: An Authentication
   Service for Computer Networks, IEEE Communications, 32(9):
   33-38. September 1994
2. John Kohl and B. Clifford Neuman. The Kerberos Network
   Authentication Service (Version 5). Internet Request for Comments
   RFC-1510. September 1993
3. S. M. Bellovin and M. Merritt. Limitations of the kerberos
   authenication system. Computer Communication Review, 20(5):
   119-132, October 1990
4. D. E. Denning and G. M. Sacco. Timestamps in key distribution
   protocols. Communication of the ACM, 24(8):533-536, August 1981
5. Findings of Fact-Allegedly New "Bad" Acts Relating to
   Interoperation (139a) New York v. Microsoft Corp., 224 F. Supp. 2d
   76 - Dist. Court, Dist. of Columbia 2002

More Related Content

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

Kerberos

  • 2. Kerberos es un protocolo de Autenticación. Creado por Miller, Neuman, Schiller y Saltzer para el proyecto Athena del MIT, en los años 80. Basado en el protocolo Needham-Schroeder.
  • 3. The Kerberos Authentication System uses a series of encrypted messages to prove to a verifier that a client is running on behalf of a particular user.
  • 4. Kerberos is a distributed authentication service that allows a process (a client) running on behalf of a principal (a user) to prove its identity to a verifier (an application server, or just server) without sending data across the network that might allow an attacker or the verifier to subsequently impersonate the principal.
  • 5. exp 1. Kerberos 1 Kc (Kc,v , v, texp , n) c client C AS 1. 1. c, (T as auth. server (kdc) Kerberos Kerberos K v, texp), = K verifier t ) v n (K , c, (server) 2 v c,v v c,v exp 3 4 Kc (Kc,v , v, texp , n) 1 c, v, Paso 3 c, v,ttexp ,,n 1.1. exp n Kv (Tc,v ) = Kv (Kc,v , c, texp ) V 2 Kcc(Kc,v ,,v, ttexp,,n) K (Kc,v v, exp n) Kc,v (ts, ck, Ks ) 1.1. vv(Tc,v))) = 3 vv(Kc,v ,,c, ttexp)) K (Tc,v = K (Kc,v c, exp K Paso K Kv (Tc,v 3 Kc,v (ts, ck, Ks ) 1.1. Paso 3 1.1. Paso 3 1.2. Paso 4 Kv (Tc,v ) Kc,v (ts, ck, Kss)) Kc,v (ts, ck, K 4 ts, Kc,v Kv (Tc,v )) Kv (Tc,v
  • 6. exp 1. Kerberos 1 Kc (Kc,v , v, texp , n) c client C AS 1. 1. c, (T as auth. server (kdc) Kerberos Kerberos K v, texp), = K verifier t ) v n (K , c, (server) 2 v c,v v c,v exp 3 4 Kc (Kc,v , v, texp , n) 1 c, v, Paso 3 c, v,ttexp ,,n 1.1. exp n Kv (Tc,v ) = Kv (Kc,v , c, texp ) V 2 Kcc(Kc,v ,,v, ttexp,,n) K (Kc,v v, exp n) Kc,v (ts, ck, Ks ) ticket 1.1. vv(Tc,v))) = 3 vv(Kc,v ,,c, ttexp)) K (Tc,v = K (Kc,v c, exp K Paso K Kv (Tc,v 3 Kc,v (ts, ck, Ks ) 1.1. Paso 3 1.1. Paso 3 1.2. Paso 4 Kv (Tc,v ) Kc,v (ts, ck, Kss)) Kc,v (ts, ck, K 4 ts, Kc,v Kv (Tc,v )) Kv (Tc,v
  • 7. exp 1. Kerberos 1 Kc (Kc,v , v, texp , n) c client C AS 1. 1. c, (T as auth. server (kdc) Kerberos Kerberos K v, texp), = K verifier t ) v n (K , c, (server) 2 v c,v v c,v exp 3 4 Kc (Kc,v , v, texp , n) 1 c, v, Paso 3 c, v,ttexp ,,n 1.1. exp n Kv (Tc,v )key Kv (Kc,v , c, texp ) session = V 2 Kcc(Kc,v ,,v, ttexp,,n) K (Kc,v v, exp n) Kc,v (ts, ck, Ks )session key ticket 1.1. vv(Tc,v))) = 3 vv(Kc,v ,,c, ttexp)) K (Tc,v = K (Kc,v c, exp K Paso K Kv (Tc,v 3 Kc,v (ts, ck, Ks ) 1.1. Paso 3 1.1. Paso 3 1.2. Paso 4 Kv (Tc,v ) Kc,v (ts, ck, Kss)) Kc,v (ts, ck, K 4 ts, Kc,v Kv (Tc,v )) Kv (Tc,v
  • 8. exp 1. Kerberos 1 Kc (Kc,v , v, texp , n) c client C AS 1. 1. c, (T as auth. server (kdc) Kerberos Kerberos K v, texp), = K verifier t ) v n (K , c, (server) 2 v c,v v c,v exp 3 4 Kc (Kc,v , v, texp , n) 1 c, v, Paso 3 c, v,ttexp ,,n 1.1. exp n Kv (Tc,v )key Kv (Kc,v , c, texp ) session = V 2 Kcc(Kc,v ,,v, ttexp,,n) K (Kc,v v, exp n) Kc,v (ts, ck, Ks )session key ticket 1.1. vv(Tc,v))) = 3 vv(Kc,v ,,c, ttexp)) K (Tc,v = K (Kc,v c, exp K Paso K Kv (Tc,v authenticator 3 Kc,v (ts, ck, Ks ) 1.1. Paso 3 1.1. Paso 3 1.2. Paso 4 Kv (Tc,v ) Kc,v (ts, ck, Kss)) Kc,v (ts, ck, K 4 ts, Kc,v Kv (Tc,v )) Kv (Tc,v
  • 9. Ktgs (Tc,tgs ) texp , n) Kc (Kc,tgs , tgs, 1.2. tgs, ttexp,,)n4 Paso 1 Ktgs (Tc,tgs n c, tgs, exp 1 solo la AS c, t , n v, c,tgs (ts, ..) K exp primera vez 2 Kc (Kc,tgs ,,tgs, texp , n)n) Kc,tgs (Kc,v , v,t exp ,n) Kc (Kc,tgs tgs, texp , 2 K (T ) C tgs K (Tc,tgs c,tgs 1.1. tgsPaso) 3 1.2. v (Tcvn 4 K t Paso ) v, , Ktgs (Tc,tgs ) exp 3 4 3 Kc,tgs (ts, ..) 5 6 1.1. c,tgs (Kc,v3 v, texp , n) K Paso , TGS K (T ) 1.3. tgs Paso 4 Paso 5 c,tgs 1.2. (T ) 3 1.1. Paso Kv, v expcv ..) t ,n V 4 Kc,tgs (ts, Kc,tgs (Kck,,Kst) , n) (ts, c,v Kc,v (Tc,tgs ) v, exp Ktgs Kc,tgs (ts, ..) 5 1.3. v expc,v ) 4 v, Paso 1.2. v (Tc,v ) K t Paso,n c as client auth. server 5 Kc,v (ts, c,v ,)v, ts ) , n) Kc,tgs (K K tgs (Tc,tgs ck, K exp v tgs verifier (server) ticket granting service 1.4. vt(TPaso 46 1.3. Paso 5 1.2. Paso K cv ) v, ,n Kv (Tc,v ) exp Kc,tgs (Kc,v , v, texp , n) 6 Kc,v (ts, ck, Ks ) (ts) 1.3. Paso 5
  • 10. Ktgs (Tc,tgs ) texp , n) Kc (Kc,tgs , tgs, 1.2. tgs, ttexp,,)n4 Paso 1 Ktgs (Tc,tgs n c, tgs, exp 1 solo la AS c, t , n v, c,tgs (ts, ..) K exp primera vez 2 Kc (Kc,tgs ,,tgs, texp , n)n) Kc,tgs (Kc,v , v,t exp ,n) Kc (Kc,tgs tgs, texp , 2 K (T ) C ticket tgs c,tgs 1.1. tgsPaso) 3 K (Tc,tgs 1.2. v (Tcvn 4 K t Paso ) v, , Ktgs (Tc,tgs ) exp 3 4 3 Kc,tgs (ts, ..) 5 6 1.1. c,tgs (Kc,v3 v, texp , n) K Paso , ticket TGS K (T ) 1.3. tgs Paso 4 Paso 5 c,tgs 1.2. (T ) 3 1.1. Paso Kv, v expcv ..) t ,n V 4 Kc,tgs (ts, Kc,tgs (Kck,,Kst) , n) (ts, c,v Kc,v (Tc,tgs ) v, exp Ktgs Kc,tgs (ts, ..) 5 ticket 1.3. v expc,v ) 4 v, Paso 1.2. v (Tc,v ) K t Paso,n c as client auth. server 5 Kc,v (ts, c,v ,)v, ts ) , n) Kc,tgs (K K tgs (Tc,tgs ck, K exp v tgs verifier (server) ticket granting service 1.4. vt(TPaso 46 1.3. Paso 5 1.2. Paso ticket K cv ) v, ,n Kv (Tc,v ) exp Kc,tgs (Kc,v , v, texp , n) 6 Kc,v (ts, ck, Ks ) (ts) 1.3. Paso 5
  • 11. Diferencias con Needham-Schroeder 1. Uso de marcas de tiempo para evitar la reutilización de los tickets por terceros (Replay Attack) [4]. 2. Introducción del Ticket Granting Service, para evitar volver a autenticar contra el KDC en cada uso. 3. Permite el uso entre distintos realms de autenticación.
  • 12. Ampliaciones Uso de criptografía de clave pública. One-time passcode.
  • 13. Desventajas Problemas 1. Sensible a la elección de las claves 2. La distribución de claves debe ser segura 3. KDC centraliza las claves 3.1.Puede comprometer a toda la red 3.2.Solo funciona si el KDC está online 4. Requiere sincronización de tiempos 5. Necesidad de adaptar las aplicaciones 6. Implementaciones no interoperables [5]
  • 14. Implementaciones Microsoft Windows http://msdn.microsoft.com/en-us/library/aa378747(VS.85).aspx Apple MacOS X http://developer.apple.com/opensource/kerberosintro.html Kerberos Infrastructure HOWTO http://tldp.org/HOWTO/Kerberos-Infrastructure-HOWTO/ Debian http://www.debian-administration.org/articles/570 http://wiki.debian.org/LDAP/Kerberos Ubuntu (Samba+Kerberos) https://help.ubuntu.com/community/Samba/Kerberos FreeBSD (Heimdal) http://www.freebsd.org/doc/en/books/handbook/kerberos5.html
  • 15. Bibliografía 1. B. Clifford Neuman and Theodore Ts'o. Kerberos: An Authentication Service for Computer Networks, IEEE Communications, 32(9): 33-38. September 1994 2. John Kohl and B. Clifford Neuman. The Kerberos Network Authentication Service (Version 5). Internet Request for Comments RFC-1510. September 1993 3. S. M. Bellovin and M. Merritt. Limitations of the kerberos authenication system. Computer Communication Review, 20(5): 119-132, October 1990 4. D. E. Denning and G. M. Sacco. Timestamps in key distribution protocols. Communication of the ACM, 24(8):533-536, August 1981 5. Findings of Fact-Allegedly New "Bad" Acts Relating to Interoperation (139a) New York v. Microsoft Corp., 224 F. Supp. 2d 76 - Dist. Court, Dist. of Columbia 2002