Cryptography and Network Security Chapter 14 Fifth Edition by William Stallings Lecture slides by Lawrie Brown.

Slides:



Advertisements
Similar presentations
Key Management Nick Feamster CS 6262 Spring 2009.
Advertisements

Chapter 14 – Authentication Applications
Kerberos and X.509 Fourth Edition by William Stallings
CSCE 815 Network Security Lecture 10 KerberosX.509 February 13, 2003.
Authentication Applications. will consider authentication functions will consider authentication functions developed to support application-level authentication.
PIS: Unit III Digital Signature & Authentication Sanjay Rawat PIS Unit 3 Digital Sign Auth Sanjay Rawat1 Based on the slides of Lawrie.
Cryptography and Network Security Chapter 14
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
Network Security Essentials Chapter 4
CSCE 715: Network Systems Security Chin-Tser Huang University of South Carolina.
Chapter 14 From Cryptography and Network Security Fourth Edition written by William Stallings, and Lecture slides by Lawrie Brown, the Australian Defence.
Chapter 4 Authentication Applications. Objectives: authentication functions developed to support application-level authentication & digital signatures.
Cryptography and Network Security (CS435) Part Eleven (Digital Signatures and Authentication Protocols)
Cryptography1 CPSC 3730 Cryptography Chapter 10 Key Management.
Key Management public-key encryption helps address key distribution problems have two aspects of this: –distribution of public keys –use of public-key.
Cryptography and Network Security Chapter 10 Fourth Edition by William Stallings.
Chapter3 Public-Key Cryptography and Message Authentication.
Key Management and Distribution. YSLInformation Security – Mutual Trust2 Major Issues Involved in Symmetric Key Distribution For symmetric encryption.
Cryptography and Network Security Chapter 10. Chapter 10 – Key Management; Other Public Key Cryptosystems No Singhalese, whether man or woman, would venture.
Computer Science Public Key Management Lecture 5.
Chapter 5 Digital Signatures MSc. NGUYEN CAO DAT Dr. TRAN VAN HOAI 1.
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
Key Management and Diffie- Hellman Dr. Monther Aldwairi New York Institute of Technology- Amman Campus 12/3/2009 INCS 741: Cryptography 12/3/20091Dr. Monther.
Lecture 23 Internet Authentication Applications modified from slides of Lawrie Brown.
Unit 1: Protection and Security for Grid Computing Part 2
Certificate-Based Operations. Module Objectives By the end of this module participants will be able to: Define how cryptography is used to secure information.
10. Key Management. Contents Key Management  Public-key distribution  Secret-key distribution via public-key cryptography.
Cryptography and Network Security Chapter 14 Authentication Fourth Edition by William Stallings Lecture slides by Lawrie Brown Changed and extended by.
Cryptography and Network Security (CS435) Part Eight (Key Management)
Computer and Network Security Rabie A. Ramadan Lecture 6.
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
Module 4 Network & Application Security: Kerberos – X509 Authentication service – IP security Architecture – Secure socket layer – Electronic mail security.
Chapter 3 (B) – Key Management; Other Public Key Cryptosystems.
Cryptography and Network Security Chapter 10
Cryptography and Network Security Key Management and Other Public Key Cryptosystems.
Cryptography and Network Security Chapter 14 Fourth Edition by William Stallings Lecture slides by Lawrie Brown.
ECE509 Cyber Security : Concept, Theory, and Practice Key Management Spring 2014.
Network Security Lecture 25 Presented by: Dr. Munam Ali Shah.
1 Chapter 10: Key Management in Public key cryptosystems Fourth Edition by William Stallings Lecture slides by Lawrie Brown (Modified by Prof. M. Singhal,
Data Security and Encryption (CSE348) 1. Lecture # 21 2.
Cryptography and Network Security Chapter 14
Key Management Network Systems Security Mort Anvari.
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
Lecture 11 Overview. Digital Signature Properties CS 450/650 Lecture 11: Digital Signatures 2 Unforgeable: Only the signer can produce his/her signature.
CSCE 715: Network Systems Security Chin-Tser Huang University of South Carolina.
CSCE 715: Network Systems Security Chin-Tser Huang University of South Carolina.
Lecture 9 Overview. Digital Signature Properties CS 450/650 Lecture 9: Digital Signatures 2 Unforgeable: Only the signer can produce his/her signature.
Cryptography and Network Security Chapter 10 Fourth Edition by William Stallings Lecture slides by Lawrie Brown.
Fall 2006CS 395: Computer Security1 Key Management.
1 Chapter 3-3 Key Distribution. 2 Key Management public-key encryption helps address key distribution problems have two aspects of this: –distribution.
Key Management and Distribution Anand Seetharam CST 312.
Lecture 14 Public Key Cryptography and RSA. Summary principles of public-key cryptography principles of public-key cryptography RSA algorithm, implementation,
Pertemuan #8 Key Management Kuliah Pengaman Jaringan.
Key Management public-key encryption helps address key distribution problems have two aspects of this: – distribution of public keys – use of public-key.
Cryptography and Network Security Chapter 14 Fifth Edition by William Stallings Lecture slides by Lawrie Brown.
Cryptography and Network Security Chapter 14
Computer and Network Security
Cryptography and Network Security
Authentication Applications
Cryptography and Network Security Chapter 14
Cryptography and Network Security Chapter 14
Cryptography and Network Security Chapter 14
Chapter 10: Key Management (Again) and other Public Key Systems
Digital Certificates and X.509
Key Management Network Systems Security
Cryptography and Network Security Chapter 14
Kerberos and X.509 Fourth Edition by William Stallings
Cryptography and Network Security Chapter 14
Presentation transcript:

Cryptography and Network Security Chapter 14 Fifth Edition by William Stallings Lecture slides by Lawrie Brown

Chapter 14 – Key management and distribution We cannot enter into alliance with neighboring princes until we are acquainted with their designs. —The Art of War, Sun Tzu

Key Distribution  symmetric schemes require both parties to share a common secret key  issue is how to securely distribute this key  often secure system failure due to a break in the key distribution scheme

Key Distribution  given parties A and B have various key distribution alternatives: 1. A can select key and physically deliver to B 2. third party can select & deliver key to A & B 3. if A & B have communicated previously can use previous key to encrypt a new key 4. if A & B have secure communications with a third party C, C can relay key between A & B

Number of Keys Required to Support Arbitrary Connections between Endpoints

Key Hierarchy  typically have a hierarchy of keys  session key temporary key temporary key used for encryption of data between users used for encryption of data between users for one logical session then discarded for one logical session then discarded  master key used to encrypt session keys used to encrypt session keys shared by user & key distribution center shared by user & key distribution center

The Use of a Key Hierarchy

Key Distribution Scenario

Key Distribution Issues  hierarchies of KDC’s required for large networks, but must trust each other  session key lifetimes should be limited for greater security  use of automatic key distribution on behalf of users, but must trust system  use of decentralized key distribution  controlling key usage

Decentralized Key Distribution

Controlling Key Usage  Data-encrypting key, for general communication across a network  PIN-encrypting key, for personal identification numbers (PINs) used in electronic funds transfer and point-of-sale applications  File-encrypting key, for encrypting files stored in publicly accessible locations

Control Vector Encryption and Decryption

Public-Key Distribution of Secret Keys  use previous methods to obtain public-key  can use for secrecy or authentication  but public-key algorithms are slow  so usually want to use private-key encryption to protect message contents  hence need a session key  have several alternatives for negotiating a suitable session

Simple Secret Key Distribution  proposed by Merkle in 1979 A generates a new temporary public key pair A generates a new temporary public key pair A sends B the public key and their identity A sends B the public key and their identity B generates a session key K sends it to A encrypted using the supplied public key B generates a session key K sends it to A encrypted using the supplied public key A decrypts the session key and both use A decrypts the session key and both use  problem is that an opponent can intercept and impersonate both halves of protocol

Simple Use of Public-Key Encryption to Establish a Session Key

Public-Key Distribution of Secret Keys  if have securely exchanged public-keys:

Distribution of Public Keys  can be considered as using one of: public announcement public announcement publicly available directory publicly available directory public-key authority public-key authority public-key certificates public-key certificates

Uncontrolled Public-Key Distribution

Public Announcement  users distribute public keys to recipients or broadcast to community at large eg. append PGP keys to messages or post to news groups or list eg. append PGP keys to messages or post to news groups or list  major weakness is forgery anyone can create a key claiming to be someone else and broadcast it anyone can create a key claiming to be someone else and broadcast it until forgery is discovered can masquerade as claimed user until forgery is discovered can masquerade as claimed user

Public-Key Publication

Publicly Available Directory  can obtain greater security by registering keys with a public directory  directory must be trusted with properties: contains {name,public-key} entries contains {name,public-key} entries participants register securely with directory participants register securely with directory participants can replace key at any time participants can replace key at any time directory is periodically published directory is periodically published directory can be accessed electronically directory can be accessed electronically  still vulnerable to tampering or forgery

Public-Key Authority

 improve security by tightening control over distribution of keys from directory  has properties of directory  and requires users to know public key for the directory  then users interact with directory to obtain any desired public key securely does require real-time access to directory when keys are needed does require real-time access to directory when keys are needed

Public-Key Certificates

 certificates allow key exchange without real-time access to public-key authority  a certificate binds identity to public key usually with other info such as period of validity, rights of use etc usually with other info such as period of validity, rights of use etc  with all contents signed by a trusted Public-Key or Certificate Authority (CA)  can be verified by anyone who knows the public-key authorities public-key

X.509 Authentication Service  part of CCITT X.500 directory service standards distributed servers maintaining user info database distributed servers maintaining user info database  defines framework for authentication services directory may store public-key certificates directory may store public-key certificates with public key of user signed by certification authority 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 algorithms not standardised, but RSA recommended  X.509 certificates are widely used

X.509 Certificates  issued by a Certification Authority (CA), containing: version (1, 2, or 3) version (1, 2, or 3) serial number (unique within CA) identifying certificate serial number (unique within CA) identifying certificate signature algorithm identifier signature algorithm identifier issuer X.500 name (CA) issuer X.500 name (CA) period of validity (from - to dates) period of validity (from - to dates) subject X.500 name (name of owner) subject X.500 name (name of owner) subject public-key info (algorithm, parameters, key) subject public-key info (algorithm, parameters, key) issuer unique identifier (v2+) issuer unique identifier (v2+) subject unique identifier (v2+) subject unique identifier (v2+) extension fields (v3) extension fields (v3) signature (of hash of all fields in certificate) signature (of hash of all fields in certificate)  notation CA > denotes certificate for A signed by CA

X.509 Certificates

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

CA Hierarchy  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 each CA has certificates for clients (forward) and parent (backward) 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

CA Hierarchy Use

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

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

Certificate Revocation  certificates have a period of validity  may need to revoke before expiry, eg: 1. user's private key is compromised 2. user is no longer certified by this CA 3. CA's certificate is compromised  CA’s maintain list of revoked certificates the Certificate Revocation List (CRL) the Certificate Revocation List (CRL)  users should check certificates with CA’s CRL

Public Key Infrastructure

Summary  have considered: Kerberos trusted key server system Kerberos trusted key server system X.509 authentication and certificates X.509 authentication and certificates