Скачать презентацию Chapter 4 Authentication Applications Outline l l Скачать презентацию Chapter 4 Authentication Applications Outline l l

085ba179df0cba5ba19677d0f6f919f2.ppt

  • Количество слайдов: 45

Chapter 4 Authentication Applications Chapter 4 Authentication Applications

Outline l l l Threat, Vulnerability, Exploit Authentication Applications Kerberos X. 509 Authentication Service Outline l l l Threat, Vulnerability, Exploit Authentication Applications Kerberos X. 509 Authentication Service Recommended reading and Web Sites

What is a threat? l l Threat – any circumstance or event that has What is a threat? l l Threat – any circumstance or event that has potential to cause harm to a system or network. Threat can be l l Internal threat External threat It may cause destruction of data and property. It may involve invasion of privacy

Vulnerability and Exploit ? l Vulnerability – Existence of weakness, design or implementation error Vulnerability and Exploit ? l Vulnerability – Existence of weakness, design or implementation error that can lead to an unexpected, undesirable event compromising the security of the system. l Exploit – A program or technique that takes advantage of a vulnerability in software or system that can be used for breaking the security and attacking a host over the network.

Internal Threat l l l Internal threats are threats from with in the organization Internal Threat l l l Internal threats are threats from with in the organization These threat originate from individuals who have authorized access to the network or have an account on a server. It can be from a disgruntled former or current employee or contractor.

Internal Threat l An internal user may attack a system for any number of Internal Threat l An internal user may attack a system for any number of reasons, including the following: l l l Data theft Espionage Sabotage General malice 80% of reported security incidents involved inside abuse (CSI/FBI computer crime and security survey, 2004).

Internal Threat : Sniffing l l One of the major internal threat is “sniffing”. Internal Threat : Sniffing l l One of the major internal threat is “sniffing”. Sniffing – is the process of reading the packets that are transmitted on the network. l Example: l l l Passwords Credit card numbers TELNET, FTP SMTP (e-mail) packets if unencrypted can be successfully sniffed.

External Threat l l l The threat from outside the organization, who have no External Threat l l l The threat from outside the organization, who have no legitimate rights to corporate system or information. External threats like “love bug” can create huge economic losses to corporate company with in a short time. Types of external threats: l l l Social Engineering Denial of Service attack Virus, Worm and Trojans Organizational attacks Accidental security breaches Automated attacks

Social Engineering l Social engineering l l l “The act of obtaining unauthorized access Social Engineering l Social engineering l l l “The act of obtaining unauthorized access to a network by manipulating authorized users in to revealing their passwords and access information. ” Also refer as “People hacking” Social engineering relies on communication skills. Social engineering user’s often use telephone to convince. Social engineering user’s use confidential data or information for unauthorized access to network. Example of attack: - telephone scams, hoaxes and virus e-mail

Denial of Service attack l l Do. S is an attack designed to prevent Denial of Service attack l l Do. S is an attack designed to prevent your computer or network from operating or commucating. Block access to resources Flood network, degrades performance, causes server to Fail. Result in l l l Loss of revenue Prestige Service to customer

Authentication Applications l l l developed to support application-level authentication & digital signatures will Authentication Applications l l l developed to support application-level authentication & digital signatures will discuss Kerberos – a private-key authentication service discuss X. 509 - a public-key directory authentication service

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

KERBEROS l l Authentication service developed as a part of MIT’s Athena project provides KERBEROS l l Authentication service developed as a part of MIT’s Athena project provides centralized private-key third-party authentication in a distributed network l l l allows users access to services distributed through network without needing to trust all workstations rather all trust a central authentication server

KERBEROS l l l An open distributed environment Any user can access services from KERBEROS l l l An open distributed environment Any user can access services from any workstation Several security threats exists in such an environment: l l l A user impersonate another user A user may change the network address of a w/s and may make it look as another w/s A user may eavesdrop on a session and mount a replay attack later

KERBEROS : The Requirements l its first report identified requirements as: l l l KERBEROS : The Requirements l its first report identified requirements as: l l l secure reliable transparent scalable implemented using an authentication protocol based on Needham-Schroeder

KERBEROS l l Provides a centralized authentication server to authenticate users to servers and KERBEROS l l Provides a centralized authentication server to authenticate users to servers and servers to users. Relies on conventional encryption, making no use of public-key encryption Two versions: version 4 and 5 Version 4 makes use of DES

Kerberos Version 4 l Terms: l l l l l C = Client AS Kerberos Version 4 l Terms: l l l l l C = Client AS = authentication server V = server IDc = identifier of user on C IDv = identifier of V Pc = password of user on C ADc = network address of C Kv = secret encryption key shared by AS an V TS = timestamp || = concatenation

A Simple Authentication Dialogue (1) C AS: IDc || Pc || IDv (2) AS A Simple Authentication Dialogue (1) C AS: IDc || Pc || IDv (2) AS C: Ticket (3) C V: IDc || Ticket = EKv[IDc || Pc || IDv]

Version 4 Authentication Dialogue l Problems: l l Lifetime associated with the ticket-granting ticket Version 4 Authentication Dialogue l Problems: l l Lifetime associated with the ticket-granting ticket If too short repeatedly asked for password If too long greater opportunity to replay The threat is that an opponent will steal the ticket and use it before it expires

Version 4 Authentication Dialogue Authentication Service Exhange: To obtain Ticket-Granting Ticket (1) C AS: Version 4 Authentication Dialogue Authentication Service Exhange: To obtain Ticket-Granting Ticket (1) C AS: IDc || IDtgs ||TS 1 (2) AS C: EKc [Kc, tgs|| IDtgs || TS 2 || Lifetime 2 || Tickettgs] Ticket-Granting Service Echange: To obtain Service-Granting Ticket (3) C TGS: IDv ||Tickettgs ||Authenticatorc (4) EKc [Kc, ¨v|| IDv || TS 4 || Ticketv] TGS C: Client/Server Authentication Exhange: To Obtain Service (5) C V: (6) V C: Ticketv || Authenticatorc EKc, v[TS 5 +1]

Overview of Kerberos Overview of Kerberos

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

Request for Service in Another Realm Request for Service in Another Realm

Difference Between Version 4 and 5 l l l Encryption system dependence (V. 4 Difference Between Version 4 and 5 l l l Encryption system dependence (V. 4 DES) Internet protocol dependence Message byte ordering Ticket lifetime Authentication forwarding Interrealm authentication

Kerberos Encryption Techniques Kerberos Encryption Techniques

PCBC Mode PCBC Mode

Kerberos - in practice l l l Currently have two Kerberos versions: 4 : Kerberos - in practice l l l Currently have two Kerberos versions: 4 : restricted to a single realm 5 : allows inter-realm authentication, in beta test Kerberos v 5 is an Internet standard specified in RFC 1510, and used by many utilities To use Kerberos: need to have a KDC on your network need to have Kerberised applications running on all participating systems major problem - US export restrictions Kerberos cannot be directly distributed outside the US in source format (& binary versions must obscure crypto routine entry points and have no encryption) else crypto libraries must be reimplemented locally

X. 509 Authentication Service l l Distributed set of servers that maintains a database X. 509 Authentication Service l l Distributed set of servers that maintains a database about users. Each certificate contains the public key of a user and is signed with the private key of a CA. Is used in S/MIME, IP Security, SSL/TLS and SET. RSA is recommended to use.

X. 509 Formats X. 509 Formats

Typical Digital Signature Approach Typical Digital Signature Approach

Obtaining a User’s Certificate l Characteristics of certificates generated by CA: l l Any Obtaining a User’s Certificate l Characteristics of certificates generated by CA: l l Any user with access to the public key of the CA can recover the user public key that was certified. No part other than the CA can modify the certificate without this being detected.

CA Hierarchy l l l if both users share a common CA then they CA Hierarchy l l l if both users share a common CA then they are assumed to know its public key otherwise CA's must form a hierarchy use certificates linking members of hierarchy to validate other CA's l each CA has certificates for clients (forward) and parent (backward) each client trusts parents certificates enable verification of any certificate from one CA by users of all other CAs in hierarchy

X. 509 CA Hierarchy X. 509 CA Hierarchy

Revocation of Certificates l Reasons for revocation: l l l The users secret key Revocation of Certificates l Reasons for revocation: l l l The users secret key is assumed to be compromised. The user is no longer certified by this CA. The CA’s certificate is assumed to be compromised.

Authentication Procedures l X. 509 includes three alternative authentication procedures: l l One-Way Authentication Authentication Procedures l X. 509 includes three alternative authentication procedures: l l One-Way Authentication Two-Way Authentication Three-Way Authentication all use public-key signatures

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

Two-Way Authentication l 2 messages (A->B, B->A) which also establishes in addition: l l Two-Way Authentication l 2 messages (A->B, B->A) which also establishes in addition: l l l the identity of B and that reply is from B that reply is intended for A integrity & originality of reply includes original nonce from A, also timestamp and nonce from B may include additional info for A

Three-Way Authentication l l l 3 messages (A->B, B->A, A->B) which enables above authentication Three-Way Authentication l l l 3 messages (A->B, B->A, A->B) which enables above authentication without synchronized clocks has reply from A back to B containing signed copy of nonce from B means that timestamps need not be checked or relied upon

Authentication Procedures Authentication Procedures

X. 509 Version 3 l l l has been recognised that additional information is X. 509 Version 3 l l l has been recognised that additional information is needed in a certificate l email/URL, policy details, usage constraints rather than explicitly naming new fields defined a general extension method extensions consist of: l extension identifier l criticality indicator l extension value

Certificate Extensions l l l key and policy information l convey info about subject Certificate Extensions l l l key and policy information l convey info about subject & issuer keys, plus indicators of certificate policy certificate subject and issuer attributes l support alternative names, in alternative formats for certificate subject and/or issuer certificate path constraints l allow constraints on use of certificates by other CA’s

Recommended Reading and WEB Sites l l www. whatis. com (search for kerberos) Bryant, Recommended Reading and WEB Sites l l www. whatis. com (search for kerberos) Bryant, W. Designing an Authentication System: A Dialogue in Four Scenes. http: //web. mit. edu/kerberos/www/dialogue. html l Kohl, J. ; Neuman, B. “The Evolotion of the Kerberos Authentication Service” http: //web. mit. edu/kerberos/www/papers. html l http: //www. isi. edu/gost/info/kerberos/