COMP4690, HKBU1 Computer Security -- Cryptography Chapter 3 Key Management Message Authentication Digital Signature.

Slides:



Advertisements
Similar presentations
Computer Science&Technology School of Shandong University Instructor: Hou Mengbo houmb AT sdu.edu.cn Office: Information Security Research Group.
Advertisements

Cryptography and Network Security
Cryptography and Network Security Chapter 13 Fourth Edition by William Stallings Lecture slides by Lawrie Brown.
Cryptography and Network Security Chapter 13 Fourth Edition by William Stallings.
1 Digital Signatures & Authentication Protocols. 2 Digital Signatures have looked at message authentication –but does not address issues of lack of trust.
Public Key Advanced Topics. Hash and MAC Algorithms Each of the messages, like each one he had ever read of Stern's commands, began with a number and.
1 Chapter 13 – Digital Signatures & Authentication Protocols Fourth Edition by William Stallings Lecture slides by Lawrie Brown (modified by Prof. M. Singhal,
Cryptography and Network Security (CS435) Part Eleven (Digital Signatures and Authentication Protocols)
Hash functions a hash function produces a fingerprint of some file/message/data h = H(M)  condenses a variable-length message M  to a fixed-sized fingerprint.
Cryptography1 CPSC 3730 Cryptography Chapter 10 Key Management.
Cryptography and Network Security Hash Algorithms.
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 Third Edition by William Stallings Lecture slides by Lawrie Brown.
Cryptography and Network Security Chapter 11 Fourth Edition by William Stallings.
1 Pertemuan 09 Hash and Message Digest Matakuliah: H0242 / Keamanan Jaringan Tahun: 2006 Versi: 1.
CSCE 790: Computer Network Security Chin-Tser Huang University of South Carolina.
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
Chapter3 Public-Key Cryptography and Message Authentication.
Cryptography and Network Security Chapter 11 Fourth Edition by William Stallings Lecture slides by Lawrie Brown/Mod. & S. Kondakci.
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
Cryptography1 CPSC 3730 Cryptography Chapter 11, 12 Message Authentication and Hash Functions.
Cryptography and Network Security Chapter 10. Chapter 10 – Key Management; Other Public Key Cryptosystems No Singhalese, whether man or woman, would venture.
1 Cryptography and Network Security (Various Hash Algorithms) Fourth Edition by William Stallings Lecture slides by Lawrie Brown (Changed by Somesh Jha)
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
Lecture 2: Message Authentication Anish Arora CSE5473 Introduction to Network Security.
Cryptography and Network Security Chapter 13
Chapter 5 Digital Signatures MSc. NGUYEN CAO DAT Dr. TRAN VAN HOAI 1.
Information Security Principles Assistant Professor Dr. Sana’a Wafa Al-Sayegh 1 st Semester ITGD 2202 University of Palestine.
Cryptography and Network Security Chapter 14 Fifth 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.
Message Authentication  message authentication is concerned with: protecting the integrity of a message protecting the integrity of a message validating.
Information Security Principles Assistant Professor Dr. Sana’a Wafa Al-Sayegh 1 st Semester ITGD 2202 University of Palestine.
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
1 Chapter 11: Message Authentication and Hash Functions Fourth Edition by William Stallings Lecture slides by Lawrie Brown (modified by Prof. M. Singhal,
1 Cryptography and Network Security Fourth Edition by William Stallings Lecture slides by Lawrie Brown (Changed by Somesh Jha)
CSCE 715: Network Systems Security Chin-Tser Huang University of South Carolina.
Fall 2002CS 395: Computer Security1 Chapter 11: Message Authentication and Hash Functions.
Network Security Lecture 23 Presented by: Dr. Munam Ali Shah.
Cryptography and Network Security (CS435) Part Eight (Key Management)
1 Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown (Changed by Somesh Jha)
Cryptography and Network Security Chapter 13 Fifth Edition by William Stallings Lecture slides by Lawrie Brown.
11.1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Message Integrity and Message Authentication.
Cryptography and Network Security Chapter 13 Fourth Edition by William Stallings.
Chapter 4 Message Authentication MSc. NGUYEN CAO DAT Dr. TRAN VAN HOAI 1.
Chapter 3 (B) – Key Management; Other Public Key Cryptosystems.
Cryptography and Network Security Chapter 13 Fourth Edition by William Stallings Lecture slides by Lawrie Brown & Süleyman KONDAKCI.
Chapter 11 Message Authentication and Hash Functions.
Cryptography and Network Security Chapter 12 Fifth Edition by William Stallings Lecture slides by Lawrie Brown.
1 Chapter 10: Key Management in Public key cryptosystems Fourth Edition by William Stallings Lecture slides by Lawrie Brown (Modified by Prof. M. Singhal,
Cryptography and Network Security (CS435) Part Nine (Message Authentication)
Key Management Network Systems Security Mort Anvari.
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.
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.
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
Key Management public-key encryption helps address key distribution problems have two aspects of this: – distribution of public keys – use of public-key.
CSEN 1001 Computer and Network Security Amr El Mougy Mouaz ElAbsawi.
Dr. Nermin Hamza.  Attacks:  Traffic Analysis : traffic analysis occurs when an eavesdroppers observes message traffic on network. Not understand the.
Information and Network Security Dr. Hadi AL Saadi Message Authentication and Hash Functions.
Fourth Edition by William Stallings Lecture slides by Lawrie Brown
Computer and Network Security
Authentication Protocols
Subject Name: NETWORK SECURITY Subject Code: 10EC832
Key Management Network Systems Security
Presentation transcript:

COMP4690, HKBU1 Computer Security -- Cryptography Chapter 3 Key Management Message Authentication Digital Signature

COMP4690, HKBU2 Part 1 Key Management

COMP4690, HKBU3 Key Distribution in Symmetric System 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

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

COMP4690, HKBU5 Key Distribution Center KDC: key distribution center Every user share a unique master key with KDC A and B communicate using a session key. The session key is used for the duration of a logical connection. Session key is generated by KDC dynamically.

COMP4690, HKBU6 Key distribution using KDC 1. A issues a request to KDC including A,B’s ID, and a nonce, which differs with each request. 2. KDC responds with a message encrypted using K a. The message includes (1) the session key K s, (2) the original request message, (3) K s &ID A encrypted by K b. 3. A stores the session key K s, and forwards the encrypted K s &ID A to B. Remark: Step 1-3 implements the key distribution. 4. B sends a nonce (encrypted by K s ) to A. 5. A responds with nonce+1 (encrypted by K s ) to B. Remark: Step 4-5 performs authentication.

COMP4690, HKBU7 Key Distribution Scenario

COMP4690, HKBU8 Public-Key Management public-key encryption helps address key distribution problems have two aspects of this: 1. distribution of public keys 2. use of public-key encryption to distribute secret keys

COMP4690, HKBU9 1. Distribution of Public Keys can be considered as using one of: Public announcement Publicly available directory Public-key authority Public-key certificates

COMP4690, HKBU10 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 major weakness is forgery anyone can create a key claiming to be someone else until forgery is discovered, the forger can masquerade as claimed user

COMP4690, HKBU11 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 participants register securely with directory participants can replace key at any time directory is periodically published directory can be accessed electronically

COMP4690, HKBU12 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 Problem: the Public-Key Authority could be a bottleneck in the system.

COMP4690, HKBU13 Public-Key Authority

COMP4690, HKBU14 Public-Key Certificates certificates allow key exchange without real- time access to public-key authority created by a trusted Certificate Authority (CA) bind its owner’s identity to public key also includes other info such as period of validity (like a credit card!), rights of use, etc can be verified by anyone who knows the CA’s public-key

COMP4690, HKBU15 Public-Key Certificates KR auth is the private key used by the CA.

COMP4690, HKBU16 2. Public-Key Distribution of Session 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 symmetric encryption to protect message contents hence need a session key have several alternatives for negotiating a suitable session

COMP4690, HKBU17 Simple Secret Key Distribution proposed by Merkle in 1979 A generates a new temporary public key pair A sends B the public key and his identity B generates a session key K, sends it to A encrypted using the supplied public key A decrypts the session key and both use

COMP4690, HKBU18 Merkle’s scheme The problem is that an opponent can intercept and impersonate both halves of protocol, finds out the session key K s, and then sniffers the communication between A and B. (man-in-the-middle attack)

COMP4690, HKBU19 Public-Key Distribution of Secret Keys Assume A and B have securely exchanged public-keys. It can provide confidentiality and authentication.

COMP4690, HKBU20 Diffie-Hellman Key Exchange first public-key type scheme proposed by Diffie & Hellman in 1976 along with the exposition of public key concepts note: now know that James Ellis (UK CESG) secretly proposed the concept in 1970 is a practical method for public exchange of a secret key used in a number of commercial products

COMP4690, HKBU21 Diffie-Hellman Key Exchange a public-key distribution scheme cannot be used to exchange an arbitrary message rather it can establish a common key known only to the two participants value of key depends on the participants (and their private and public key information) based on exponentiation in a finite (Galois) field (modulo a prime or a polynomial) – easy security relies on the difficulty of computing discrete logarithms (similar to factoring) – hard

COMP4690, HKBU22 Diffie-Hellman Setup all users agree on global parameters: large prime integer q α a primitive root of q each user (eg. A) generates their key chooses a secret key (number): x A < q compute their public key: y A = α x A mod q each user makes public that key y A

COMP4690, HKBU23 Diffie-Hellman Key Exchange shared session key for users A & B is K AB : K AB = α x A. x B mod q = y A x B mod q (which B can compute) = y B x A mod q (which A can compute) K AB is used as session key in private-key encryption scheme between Alice and Bob if Alice and Bob subsequently communicate, they will have the same key as before, unless they choose new public-keys attacker needs an x, must solve discrete log

COMP4690, HKBU24

COMP4690, HKBU25 Diffie-Hellman Example users Alice & Bob who wish to swap keys: agree on prime q=353 and α=3 select random secret keys: A chooses x A =97, B chooses x B =233 compute public keys: y A = 3 97 mod 353 = 40 (Alice) y B = mod 353 = 248 (Bob) compute shared session key as: K AB = y B x A mod 353 = = 160 (Alice) K AB = y A x B mod 353 = = 160 (Bob)

COMP4690, HKBU26 Part 2 Message Authentication & Hash Functions

COMP4690, HKBU27 Message Authentication message authentication is concerned with: protecting the integrity of a message validating identity of originator non-repudiation of origin (dispute resolution) will consider the security requirements then three alternative functions used: message encryption message authentication code (MAC) hash function

COMP4690, HKBU28 Security Requirements disclosure traffic analysis masquerade content modification sequence modification timing modification source repudiation destination repudiation

COMP4690, HKBU29 Message Encryption message encryption by itself also provides a measure of authentication if symmetric encryption is used then: receiver knows sender must have created it since only sender and receiver know key used know content cannot of been altered if message has suitable structure, redundancy or a checksum to detect any changes

COMP4690, HKBU30 Message Encryption if public-key encryption is used: encryption provides no confidence of sender since anyone potentially knows public-key however if sender signs message using their private-key then encrypts with recipients public key have both secrecy and authentication again need to recognize corrupted messages but at cost of two public-key uses on message

COMP4690, HKBU31

COMP4690, HKBU32

COMP4690, HKBU33 Message Authentication Code (MAC) generated by an algorithm that creates a small fixed-sized block depending on both message and some key like encryption though need not be reversible appended to message as a signature receiver performs same computation on message and checks it matches the MAC provides assurance that message is unaltered and comes from sender

COMP4690, HKBU34 Message Authentication Code

COMP4690, HKBU35 Message Authentication Codes as shown the MAC provides confidentiality can also use encryption for secrecy generally use separate keys for each can compute MAC either before or after encryption is generally regarded as better done before why use a MAC? sometimes only authentication is needed sometimes need authentication to persist longer than the encryption (eg. archival use) note that a MAC is not a digital signature

COMP4690, HKBU36 MAC Properties a MAC is a cryptographic checksum MAC = C K (M) condenses a variable-length message M using a secret key K to a fixed-sized authenticator is a many-to-one function potentially many messages have same MAC but finding these needs to be very difficult

COMP4690, HKBU37 Requirements for MACs taking into account the types of attacks need the MAC to satisfy the following: 1. knowing a message and MAC, is infeasible to find another message with same MAC 2. MACs should be uniformly distributed 3. MAC should depend equally on all bits of the message

COMP4690, HKBU38 Using Symmetric Ciphers for MACs can use any block cipher chaining mode and use final block as a MAC Data Authentication Algorithm (DAA) is a widely used MAC based on DES-CBC using IV=0 and zero-pad of final block encrypt message using DES in CBC mode and send just the final block as the MAC or the leftmost M bits (16≤M≤64) of final block but final MAC is now too small for security

COMP4690, HKBU39 Hash Functions condenses arbitrary message to fixed size usually assume that the hash function is public and not keyed cf. MAC which is keyed hash used to detect changes to message can use in various ways with message most often to create a digital signature

COMP4690, HKBU40 Hash Functions & Digital Signatures

COMP4690, HKBU41 Hash Function Properties a Hash Function produces a fingerprint of some file/message/data h = H(M) condenses a variable-length message M to a fixed-sized fingerprint assumed to be public

COMP4690, HKBU42 Requirements for Hash Functions 1. can be applied to any sized message M 2. produces fixed-length output h 3. is easy to compute h=H(M) for any message M 4. given h is infeasible to find x s.t. H(x)=h one-way property 5. given x is infeasible to find y s.t. H(y)=H(x) weak collision resistance 6. is infeasible to find any x,y s.t. H(y)=H(x) strong collision resistance

COMP4690, HKBU43 Birthday Attacks might think a 64-bit hash is secure but by Birthday Paradox is not birthday attack works thus: opponent generates 2 m / 2 variations of a valid message all with essentially the same meaning opponent also generates 2 m / 2 variations of a desired fraudulent message two sets of messages are compared to find pair with same hash (probability > 0.5 by birthday paradox) have user sign the valid message, then substitute the forgery which will have a valid signature conclusion is that need to use larger fingerprint

COMP4690, HKBU44 Hash Algorithms see similarities in the evolution of hash functions & block ciphers increasing power of brute-force attacks leading to evolution in algorithms from DES to AES in block ciphers from MD4 & MD5 to SHA-1 & RIPEMD-160 in hash algorithms likewise tend to use common iterative structure as do block ciphers

COMP4690, HKBU45 MD5 designed by Ronald Rivest (the R in RSA) latest in a series of MD2, MD4 produces a 128-bit hash value until recently was the most widely used hash algorithm in recent times have both brute-force & cryptanalytic concerns specified as Internet standard RFC1321

COMP4690, HKBU46 MD4 precursor to MD5 also produces a 128-bit hash of message has 3 rounds of 16 steps vs 4 in MD5 design goals: collision resistant (hard to find collisions) direct security (no dependence on "hard" problems) fast, simple, compact favours little-endian systems (eg PCs)

COMP4690, HKBU47 Secure Hash Algorithm (SHA- 1) SHA was designed by NIST & NSA in 1993, revised 1995 as SHA-1 US standard for use with DSA signature scheme standard is FIPS , also Internet RFC3174 nb. the algorithm is SHA, the standard is SHS produces 160-bit hash values now the generally preferred hash algorithm based on design of MD4 with key differences

COMP4690, HKBU48 Revised Secure Hash Standard NIST have issued a revision FIPS adds 3 additional hash algorithms SHA-256, SHA-384, SHA-512 designed for compatibility with increased security provided by the AES cipher structure & detail is similar to SHA-1 hence analysis should be similar

COMP4690, HKBU49 RIPEMD-160 RIPEMD-160 was developed in Europe as part of RIPE project in 96 by researchers involved in attacks on MD4/5 initial proposal strengthen following analysis to become RIPEMD-160 somewhat similar to MD5/SHA uses 2 parallel lines of 5 rounds of 16 steps creates a 160-bit hash value slower, but probably more secure, than SHA

COMP4690, HKBU50 Keyed Hash Functions as MACs have desire to create a MAC using a hash function rather than a block cipher because hash functions are generally faster not limited by export controls unlike block ciphers hash includes a key along with the message original proposal: KeyedHash = Hash(Key|Message) some weaknesses were found with this eventually led to development of HMAC

COMP4690, HKBU51 HMAC specified as Internet standard RFC2104 uses hash function on the message: HMAC K = Hash[(K + XOR opad) || Hash[(K + XOR ipad)||M)]] where K + is the key padded out to size and opad, ipad are specified padding constants overhead is just 3 more hash calculations than the message needs alone any of MD5, SHA-1, RIPEMD-160 can be used

COMP4690, HKBU52 HMAC Overview

COMP4690, HKBU53 HMAC Security know that the security of HMAC relates to that of the underlying hash algorithm attacking HMAC requires either: brute force attack on key used birthday attack (but since keyed would need to observe a very large number of messages) choose hash function used based on speed verses security constraints

COMP4690, HKBU54 Part 3 Digital Signatures

COMP4690, HKBU55 Digital Signatures have looked at message authentication but does not address issues of lack of trust digital signatures provide the ability to: verify author, date & time of signature authenticate message contents be verified by third parties to resolve disputes hence include authentication function with additional capabilities

COMP4690, HKBU56 Digital Signature Properties must depend on the message signed must use information unique to sender to prevent both forgery and denial must be relatively easy to produce must be relatively easy to recognize & verify be computationally infeasible to forge with new message for existing digital signature with fraudulent digital signature for given message be practical save digital signature in storage

COMP4690, HKBU57 Direct Digital Signatures involve only sender & receiver assumed receiver has sender’s public-key digital signature made by sender signing entire message or hash with private-key can encrypt using receivers public-key important that sign first then encrypt message & signature security depends on sender’s private-key

COMP4690, HKBU58 Arbitrated Digital Signatures involves use of arbiter A validates any signed message then dated and sent to recipient requires suitable level of trust in arbiter can be implemented with either private or public-key algorithms arbiter may or may not see message

COMP4690, HKBU59 Authentication Protocols used to convince parties of each others identity and to exchange session keys may be one-way or mutual key issues are confidentiality – to protect session keys timeliness – to prevent replay attacks

COMP4690, HKBU60 Replay Attacks where a valid signed message is copied and later resent simple replay repetition that can be logged repetition that cannot be detected backward replay without modification countermeasures include use of sequence numbers (generally impractical) timestamps (needs synchronized clocks) challenge/response (using unique nonce)

COMP4690, HKBU61 Using Symmetric Encryption as discussed previously can use a two-level hierarchy of keys usually with a trusted Key Distribution Center (KDC) each party shares own master key with KDC KDC generates session keys used for connections between parties master keys used to distribute these to them

COMP4690, HKBU62 Needham-Schroeder Protocol original third-party key distribution protocol for session between A B mediated by KDC protocol overview is: 1. A→KDC: ID A || ID B || N 1 2. KDC→A: E Ka [Ks || ID B || N 1 || E Kb [Ks||ID A ] ] 3. A→B: E Kb [Ks||ID A ] 4. B→A: E Ks [N 2 ] 5. A→B: E Ks [f(N 2 )]

COMP4690, HKBU63 Needham-Schroeder Protocol used to securely distribute a new session key for communications between A & B but is vulnerable to a replay attack if an old session key has been compromised then message 3 can be resent convincing B that is communicating with A modifications to address this require: timestamps (Denning 81) using an extra nonce (Neuman 93)

COMP4690, HKBU64 Using Public-Key Encryption have a range of approaches based on the use of public-key encryption need to ensure have correct public keys for other parties using a central Authentication Server (AS) various protocols exist using timestamps or nonces

COMP4690, HKBU65 Denning AS Protocol Denning 81 presented the following: 1. A→AS: ID A || ID B 2. AS→A: E KRas [ID A ||KU a ||T] || E KRas [ID B ||KU b ||T] 3. A→B: E KRas [ID A ||KU a ||T] || E KRas [ID B ||KU b ||T] || E KUb [E KRa [K s ||T]] note session key is chosen by A, hence AS need not be trusted to protect it timestamps prevent replay but require synchronized clocks

COMP4690, HKBU66 One-Way Authentication required when sender & receiver are not in communications at same time (eg. ) have header in clear so can be delivered by system may want contents of body protected & sender authenticated

COMP4690, HKBU67 Using Symmetric Encryption can refine use of KDC but can’t have final exchange of nonces, vis: 1. A→KDC: ID A || ID B || N 1 2. KDC→A: E Ka [Ks || ID B || N 1 || E Kb [Ks||ID A ] ] 3. A→B: E Kb [Ks||ID A ] || E Ks [M] does not protect against replays could rely on timestamp in message, though delays make this problematic

COMP4690, HKBU68 Public-Key Approaches have seen some public-key approaches if confidentiality is major concern, can use: A→B: E KUb [Ks] || E Ks [M] has encrypted session key, encrypted message if authentication needed use a digital signature with a digital certificate: A→B: M || E KRa [H(M)] || E KRas [T||ID A ||KU a ] with message, signature, certificate

COMP4690, HKBU69 Digital Signature Standard (DSS) US Govt approved signature scheme FIPS 186 uses the SHA hash algorithm designed by NIST & NSA in early 90's DSS is the standard, DSA is the algorithm a variant on ElGamal and Schnorr schemes creates a 320 bit signature, but with bit security security depends on difficulty of computing discrete logarithms

COMP4690, HKBU70 Digital Signature Approaches

COMP4690, HKBU71 The Digital Signature Algorithm

COMP4690, HKBU72 DSA Key Generation have shared global public key values ( p,q,g ): a large prime p = 2 L where L= 512 to 1024 bits and is a multiple of 64 choose q, a 160 bit prime factor of p-1 choose g = h (p-1)/q (mod p) where h 1 users choose private & compute public key: choose x<q compute y = g x (mod p)

COMP4690, HKBU73 DSA Signature Creation to sign a message M the sender: generates a random signature key k, k<q k must be random, be destroyed after use, and never be reused then computes signature pair: r = (g k (mod p))(mod q) s = [k -1 (H(M)+ xr)](mod q) sends signature (r,s) with message M

COMP4690, HKBU74 DSA Signature Verification having received M & signature (r,s) to verify a signature, recipient computes: w = s -1 (mod q) u1= (H(M)w)(mod q) u2= (rw)(mod q) v = (g u1.y u2 (mod p)) (mod q) if v=r then signature is verified see book web site for details of proof why ftp://shell.shore.net/members/w/s/ws/Support/Crypto/DSSProof.pdf

COMP4690, HKBU75 Public Key Infrastructure (PKI) A PKI enables users of an insecure public network to securely and privately exchange data through the use of public key-pairs that are obtained and shared through a trusted Certificate Authority. It can provide authentication, integrity, confidentiality, and non-repudiation services. A PKI consists of: A Certificate Authority: issues and verifies digital certificates A Registration Authority: the verifier for the CA before a digital certificate is issued to a requester One or more directories to held the certificates A certificate management system

COMP4690, HKBU76 PKI Terms Certificate authority CAs provide the function of binding a public key-pair to a given identity, by digitally signing a public key certificate that contains some representation of the identity and a corresponding public key. Certificate repository The repository system allows users to easily locate certificates. Certificate revocation How to break the binding (in case of ID change, key compromise, etc.)? Key backup and recovery How to recover the lost key? Automatic key update All certificates should have a lifetime. How to renew the certificate?

COMP4690, HKBU77 PKI Terms Key history A user can have multiple old certificate and one current certificate. This is known as the user’s key history. Cross-certificate There are multiple PKIs independently implemented and operated. There is a need for some of these PKIs to be interconnected. Non-repudiation A specific user must not be able to deny having participated in a transaction at an earlier time. Time-stamping To support non-repudiation. All users must trust the time source for the PKI.

COMP4690, HKBU78 References William Stallings, Cryptography and Network Security, 3rd Edition, Prentice Hall, A. J. Menezes,et. al, Handbook of Applied Cryptography, CRC Press. Free version can be downloaded from: S. Hansche, et. al, Official (ISC) 2 Guide to the CISSP Exam, Auerbach Publications, 2003.