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

A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
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 RobisonAnna Loughnan Colquhoun
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
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 2024The Digital Insurer
 
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...Martijn de Jong
 
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 AutomationSafe Software
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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...Miguel Araújo
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 

Recently uploaded (20)

A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
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
 
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...
 
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
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

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 HealthThinkNow
 
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.pdfmarketingartwork
 
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 2024Neil Kimberley
 
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)contently
 
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 2024Albert Qian
 
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 InsightsKurio // The Social Media Age(ncy)
 
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 2024Search Engine Journal
 
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 summarySpeakerHub
 
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 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 Tessa Mero
 
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 IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
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 managementMindGenius
 
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...RachelPearson36
 
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...Applitools
 
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 WorkGetSmarter
 

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