Docsity

Authentication Applications-Computer Security-Lecture Slides, Slides of Computer Security

Partial preview of the text

Download Authentication Applications-Computer Security-Lecture Slides and more Slides Computer Security in PDF only on Docsity!

Dr. Hanif Durad

Lecture Outline^ ^ Identify authentication needs for client-server systems^ ^ Using variants of principles developsuitable protocols^ ^ Examine Kerberos protocol^ ^ X.509 Authentication Service

Dr. Hanif Durad

Security Protocol Layers

Dr. Hanif Durad

Terminology

SSL^

Secure Sockets Layer SOCKS

SOCKS is a generic proxy protocol forTCP/IP-based networking applications.

Dr. Hanif Durad

KERBEROS

In Greek mythology, a many headed dog, theguardian of the entrance of Hades

Dr. Hanif Durad

Why Kerberos?^ ^ Following threats^ ^ A user may gain access and pretend to beanother user^ ^ Alter network address of workstation and use asimpersonated workstation^ ^ Eavesdrop on exchanges and use a replay attack

Dr. Hanif Durad

Motivation^ ^ Kerberos protocol assumes distributedclient/server architecture^ ^ In each architecture, one or more Kerberosservers employed

Dr. Hanif Durad

Principal requirements were^ ^ Transparent:

Other than initial password

entry, users should not be aware of theauthentication exchanges  Scalable:

System must be capable of

supporting large numbers of clients andservers

Dr. Hanif Durad

Kerberos^ ^ Users wish to access services on servers.^ ^ Three threats exist:^ ^ User pretend to be another user.^ ^ User alter the network address of a workstation.^ ^ User eavesdrop on exchanges and use a replayattack.

Dr. Hanif Durad

Few definitions^ ^ AS: Authentication Server^ ^ TGS: Ticket Granting Server^ ^ KDC: Key Distribution Center (KDC == AS +TGS)^ ^ Ticket: Encrypted information issued by the KDCto verify the identity of a user^ ^ TGT: Ticket granting ticket. Initial ticket issuedby the KDC that allows a user to obtain servicetickets

Dr. Hanif Durad

Kerberos^ ^ Realm: An administrative grouping of users and systems.Each realm has its own KDC.^ ^ Authenticator: Information encrypted with the session keythat prevents a malicious user from intercepting a ticketand presenting it as the actual us^ ^ Session Key: A Key accessible only by the two specifiedparties that allows for encrypted communications betweenthe client and service.^ ^ Service Ticket: Ticket issued by the KDC thatauthenticates the user to a service

Dr. Hanif Durad

Simple Authentication

(1) C^

^ AS:

IDc^ || P

|| IDc

v

(2) AS

^ C:

Ticket

(3) C^

^ V:^

IDc^ ||

Ticket

Ticket = E [K

v,^ IDc^

|| P|| IDc^

v]

A S C^

V 1 2

3

K^ V

Dr. Hanif Durad

Simple Authentication Problems  Password needs to be re-entered each time a differentserver is accessed and AS has to be contacted toissue a ticket  May be assumed that ticket is for “one use only”, butnothing in ticket to enforce that  Nothing to prevent ticket being used for years!  Password is transmitted in clear text over thenetwork  Introduce new

Ticket Granting Service

(TGS)

Dr. Hanif Durad

New Additions  K: is a secret key shared between AS & TGSC^  K: is a secret key shared between TGS & VV^  Ticket^ tgs

: is a ticket-granting ticket issued by AS for TGSTicket^ V

: is service granting ticket issued by TGS for VTS : is Timestamp indicating the date & time atwhich the ticket was issuedLifetime : indicating the length of time for which theticket is valid

Dr. Hanif Durad

Improvements  User asked for password to unwrap Ticket

which istgs^

held in client machine  If C ends session before expiry of ticket capturedmessage 2 poses no threat  Also C cannot extend validity of ticket becauseencrypted with TGS’s key  TGS needs to hold private keys of servers  Neither V nor TGS will do business if ticket is out ofdate or client network address is wrong