1 Digital Signatures & Authentication Protocols. 2 Digital Signatures have looked at message authentication –but does not address issues of lack of trust.

Slides:



Advertisements
Similar presentations
The Diffie-Hellman Algorithm
Advertisements

DIGITAL SIGNATURES and AUTHENTICATION PROTOCOLS - Chapter 13
DIGITAL SIGNATURES and AUTHENTICATION PROTOCOLS - Chapter 13 DIGITAL SIGNATURES and AUTHENTICATION PROTOCOLS - Chapter 13 Digital Signatures Authentication.
CIS 725 Key Exchange Protocols. Alice ( PB Bob (M, PR Alice (hash(M))) PB Alice Confidentiality, Integrity and Authenication PR Bob M, hash(M) M, PR Alice.
Sri Lanka Institute of Information Technology
Cryptography and Network Security
Computer Science&Technology School of Shandong University Instructor: Hou Mengbo houmb AT sdu.edu.cn Office: Information Security Research Group.
Cryptography and Network Security
Chapter 14 From Cryptography and Network Security Fourth Edition written by William Stallings, and Lecture slides by Lawrie Brown, the Australian Defence.
Authentication & Kerberos
Cryptography and Network Security Chapter 15 Fifth Edition by William Stallings Lecture slides by Lawrie Brown.
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.
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)
SMUCSE 5349/73491 Authentication Protocols. SMUCSE 5349/73492 The Premise How do we use perfect cryptographic mechanisms (signatures, public-key and symmetric.
Digital signatures, DSS and authentication protocols
Cryptography1 CPSC 3730 Cryptography Chapter 10 Key Management.
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
Digital Signature Algorithm (DSA) Kenan Gençol presented in the course BIL617 Cryptology instructed by Asst.Prof.Dr. Nuray AT Department of Computer Engineering,
Cryptography1 CPSC 3730 Cryptography Chapter 13 Digital Signature Standard (DSS)
COMP4690, HKBU1 Computer Security -- Cryptography Chapter 3 Key Management Message Authentication Digital Signature.
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.
CSE 597E Fall 2001 PennState University1 Digital Signature Schemes Presented By: Munaiza Matin.
Network Security Essentials Fifth Edition by William Stallings Fifth Edition by William Stallings.
Alexander Potapov.  Authentication definition  Protocol architectures  Cryptographic properties  Freshness  Types of attack on protocols  Two-way.
Cryptography and Network Security Chapter 13 Fifth Edition by William Stallings.
Cryptography and Network Security Chapter 13
Information Security and Management 13. Digital Signatures and Authentication Protocols Chih-Hung Wang Fall
Chapter 5 Digital Signatures MSc. NGUYEN CAO DAT Dr. TRAN VAN HOAI 1.
Bob can sign a message using a digital signature generation algorithm
Information Security Principles Assistant Professor Dr. Sana’a Wafa Al-Sayegh 1 st Semester ITGD 2202 University of Palestine.
Symmetric and Asymmetric Ciphers. Symmetric Encryption  or conventional / private-key / single-key  sender and recipient share a common key  all classical.
IT 221: Introduction to Information Security Principles Lecture 6:Digital Signatures and Authentication Protocols For Educational Purposes Only Revised:
CSCE 715: Network Systems Security Chin-Tser Huang University of South Carolina.
10. Key Management. Contents Key Management  Public-key distribution  Secret-key distribution via public-key cryptography.
Network Security Lecture 23 Presented by: Dr. Munam Ali Shah.
Cryptography and Network Security (CS435) Part Eight (Key Management)
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.
Digital Signatures and Authentication Protocols Chapter 13.
Cryptography and Network Security Chapter 13 Fourth Edition by William Stallings.
Chapter 3 (B) – Key Management; Other Public Key Cryptosystems.
1 Number Theory and Advanced Cryptography 6. Digital Signature Chih-Hung Wang Sept Part I: Introduction to Number Theory Part II: Advanced Cryptography.
Cryptography and Network Security Chapter 13 Fourth Edition by William Stallings Lecture slides by Lawrie Brown & Süleyman KONDAKCI.
1 Chapter 10: Key Management in Public key cryptosystems Fourth Edition by William Stallings Lecture slides by Lawrie Brown (Modified by Prof. M. Singhal,
Prepared by Dr. Lamiaa Elshenawy
DIGITAL SIGNATURE. A digital signature is an authentication mechanism that enables the creator of a message to attach a code that acts as a signature.
Key Management Network Systems Security Mort Anvari.
Digital Signature Standard (DSS) US Govt approved signature scheme designed by NIST & NSA in early 90's published as FIPS-186 in 1991 revised in 1993,
X. Digital Signatures and Authentication Protocols We begin this chapter with an overview of digital signatures, authentication protocol and Digital Signature.
User Authentication  fundamental security building block basis of access control & user accountability  is the process of verifying an identity claimed.
Lecture 9 Overview. Digital Signature Properties CS 450/650 Lecture 9: Digital Signatures 2 Unforgeable: Only the signer can produce his/her signature.
Fall 2006CS 395: Computer Security1 Key Management.
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.
Cryptography and Network Security Chapter 13
Fourth Edition by William Stallings Lecture slides by Lawrie Brown
Computer and Network Security
B. R. Chandavarkar CSE Dept., NITK Surathkal
Authentication Protocols
Chapter 13 – Digital Signatures & Authentication Protocols
Subject Name: NETWORK SECURITY Subject Code: 10EC832
Cryptography and Network Security Chapter 13
Chapter -8 Digital Signatures
Cryptography and Network Security
Digital Signatures Network Security.
Presentation transcript:

1 Digital Signatures & Authentication Protocols

2 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 at the time of signature –Must be verifiable by third parties to resolve disputes

3 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 a storage

4 Direct Digital Signatures involves only the parties: sender and 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

5 Arbitrated Digital Signatures involves use of arbiter A –Sender sends the signed message to arbiter –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 be able to see message

6 Authentication Protocols used to convince parties of each others identity and to exchange session keys may be one-way or mutual key issues in authenticated key exchange: –confidentiality – to protect session keys –timeliness – to prevent replay attacks published protocols are often found to have flaws and need to be modified

7 Replay Attacks where a valid signed message is copied and later resent –simple replay (simply copy and replay later) –repetition that can be logged (replay a timestamped message within its valid time window) –repetition that cannot be detected (the original message is suppressed and only replayed message arrives at the destination) –backward replay without modification (a message is replayed back to the sender; can work if symmetric encryption is used)

8 Replay Attacks countermeasures include –use of sequence numbers (generally impractical– each party must remember the last sequence for every other person) –timestamps (needs synchronized clocks) –challenge/response (using unique nonce)

9 Using Symmetric Encryption as discussed previously, we 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

10 Needham-Schroeder Protocol does key distribution using a KDC Also performs authentication for session between A and 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 )]

11 Needham-Schroeder Protocol used to securely distribute a new session key for communications between A & B 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)

12 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

13 Denning AS Protocol Denning 81 presented the following: 1. A -> AS: ID A || ID B 2. AS -> A: E PRas [ID A ||PU a ||T] || E PRas [ID B ||PU b ||T] 3. A -> B: E PRas [ID A ||PU a ||T] || E PRas [ID B ||PU b ||T] || E PUb [E PRas [K s ||T]] note session key is chosen by A, hence AS need not be trusted to protect it timestamps prevent replay but requires synchronized clocks

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

15 Using Symmetric Encryption One-way authentication protocol: 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

16 Public-Key Approaches if confidentiality is a major concern, can use: A->B: E PUb [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 PRa [H(M)] || E PRas [T||ID A ||PU a ] –with message, signature, certificate

17 Digital Signature Standard (DSS) A digital signature function (can not be used for encryption or key exchange) US Govt approved signature scheme designed by NIST & NSA in early 90's published as FIPS-186 in 1991 revised in 1993, 1996 & then 2000 uses the SHA hash algorithm DSS is the standard, DSA is the algorithm FIPS (2000) includes alternative RSA & elliptic curve signature variants

18 Digital Signature Algorithm (DSA) creates a 320 bit signature smaller and faster than RSA a digital signature scheme only security depends on difficulty of computing discrete logarithms

19 Digital Signature Algorithm (DSA)

20 Digital Signature Algorithm (DSA) Sig: a signature function that has four inputs: a.Hash H b.A random number k c.Private key of the sender d.A global public key (known to a group of communicating principals) The signature consists of two parts, r and s. At the receiver side, verification is done.

21 Summary have discussed: –digital signatures –authentication protocols (mutual & one-way) –digital signature algorithm and standard