Docsity

Authentication Applications: Kerberos and X.509, Slides of Cryptography and System Security

Partial preview of the text

Download Authentication Applications: Kerberos and X.509 and more Slides Cryptography and System Security in PDF only on Docsity!

Chapter 14 – Authentication

Applications

We cannot enter into alliance with neighboring princes until we areacquainted with their designs. — The Art of War , Sun Tzu

Authentication Applications

 will consider authentication functions  developed to support application-levelauthentication & digital signatures  will consider Kerberos – a private-keyauthentication service  then X.509 - a public-key directoryauthentication service

Kerberos Requirements

 its first report identified requirements as:  secure  reliable  transparent  scalable  implemented using an authenticationprotocol based on Needham-Schroeder

Kerberos v4 Overview

 a basic third-party authentication scheme  have an Authentication Server (AS)  users initially negotiate with AS to identify self  AS provides a non-corruptible authenticationcredential (ticket granting ticket TGT)  have a Ticket Granting server (TGS)  users subsequently request access to otherservices from TGS on basis of users TGT

Kerberos 4 Overview

Kerberos Realms

 a Kerberos environment consists of:  a Kerberos server  a number of clients, all registered with server  application servers, sharing keys with server  this is termed a realm  typically a single administrative domain  if have multiple realms, their Kerberosservers must share keys and trust

Kerberos Version 5

 developed in mid 1990’s  specified as Internet standard RFC 1510  provides improvements over v  addresses environmental shortcomings

  • encryption alg, network protocol, byte order, ticket lifetime, authentication forwarding, interrealm auth  and technical deficiencies - double encryption, non-std mode of use, session keys, password attacks

X.509 Authentication Service

 part of CCITT X.500 directory service standards  distributed servers maintaining user info database  defines framework for authentication services  directory may store public-key certificates  with public key of user signed by certification authority  also defines authentication protocols  uses public-key crypto & digital signatures  algorithms not standardised, but RSA recommended  X.509 certificates are widely used

X.509 Certificates

Obtaining a Certificate

 any user with access to CA can get anycertificate from it  only the CA can modify a certificate  because cannot be forged, certificates canbe placed in a public directory

CA Hierarchy Use

Certificate Revocation

 certificates have a period of validity  may need to revoke before expiry, eg:

user's private key is compromised

user is no longer certified by this CA

CA's certificate is compromised  CA’s maintain list of revoked certificates  the Certificate Revocation List (CRL)  users should check certificates with CA’s CRL

One-Way Authentication

 1 message ( A->B) used to establish  the identity of A and that message is from A  message was intended for B  integrity & originality of message  message must include timestamp, nonce,B's identity and is signed by A  may include additional info for B  eg session key

Two-Way Authentication

 2 messages (A->B, B->A) which alsoestablishes in addition:  the identity of B and that reply is from B  that reply is intended for A  integrity & originality of reply  reply includes original nonce from A, alsotimestamp and nonce from B  may include additional info for A