Docsity

Digital Signatures and Authentication Protocols-Computer Security-Lecture Slides, Slides of Computer Security

Partial preview of the text

Download Digital Signatures and Authentication Protocols-Computer Security-Lecture Slides and more Slides Computer Security in PDF only on Docsity!

Dr. Hanif Durad

Lecture Outline^ ^ Digital Signatures^ ^

Direct Digital Signatures  Arbitrated Digital Signatures ^ Authentication Protocols^ ^

Mutual Authentication ^ Conventional Encryption Approach ^ Public-Key Encryption Approach  One-Way Authentication ^ Conventional Encryption Approach ^ Public-Key Encryption Approach ^ Digital Signature Standard

Dr. Hanif Durad

13.1 Digital Signatures

^ Must be able to verify the author and thedate/time of the signature ^ Must be able to authenticate the contents at thetime of the signature ^ The signature must be verifiable by third parties,to resolve disputes

Dr. Hanif Durad

13.1.2 Direct Digital Signatures^ ^ Involves only the communicating parties(no arbiter)

Dr. Hanif Durad

Fig 11.1 (c)

See table 11.1 (c)

Dr. Hanif Durad

Fig 11.1 (d)

See table 11.1 (d)

Dr. Hanif Durad

Hash Functions (6/8)^ Fig 11.5 (d)

See table 11.3(d)

Dr. Hanif Durad

13.1.3 Arbitrated DigitalSignatures

^ There is an

arbiter

between the communicating parties ^ Every signed message from sender X to receiver Y goes to firstarbiter A ^ A verifies the message and signature performing a number oftests ^ The message is then dated and sent to Y with an indication thatit has been verified to the satisfaction of the arbiter ^ The presence of A solves the problem faced by direct signatureschemes

Dr. Hanif Durad

Arbitrated Digital Signature Techniques

Dr. Hanif Durad

13.2.1 Mutual Authentication(1/3)  Enable communicating parties to satisfythemselves mutually about each other’s identityand to exchange session keys  Central to the problem of authenticated keyexchange are two issues 1. Confidentiality

: use encryption. (requires the prior existence of secret or public keys) 2. Timeliness

: to cope with

replay

attacks

Dr. Hanif Durad

^ Timestamps

: Party A accepts a message as fresh only if the message contains a timestamp that, in A’s judgment,is close enough to A’s knowledge of current time.Requires that clocks be synchronized among the variousparticipants  Challenge/response

: Party A, expecting a fresh message

Two approaches to avoid replayattacks mutual authentication (2/3)from B, first sends B a nonce (challenge) and requiresthat the subsequent message (response) received from Bcontain the correct nonce value

Dr. Hanif Durad

Needham-Schroeder’s Algorithm (1/3)

Figure 7.9 Key Distribution Scenario

Dr. Hanif Durad

Needham-Schroeder’s Algorithm(2/3)  Needham and Schroeder’s protocol1. A^ 

KDC: ID

||ID^ ||NA B

1

2. KDC

^ A: E(K

, [K||IDas^

||N^ ||E(KB^1

,[K||IDb s^

])])A

3. A^ 

B:^

E(K, [Kb^

||ID^ ]s A^

4. B^ 

A:^

E(K^ , Ns^

5. A^ 

B:^

E(K, f(Ns^

^ The handshake of steps 4 and 5 is to prevent areplay attack

Dr. Hanif Durad

Denning’s Protocol to Overcomethe Weakness Of NS (1/2)  Protocol: added timestamps to steps 2 and 31. A^ 

KDC:

ID||IDA^

B

2. KDC

^ A: E(K

, [K||IDas^

||T||E(KB

,[K||IDb s^

||T])])A

3. A^ 

B:^

E(K, [Kb^

||ID^ ||T]s A^

4. B^ 

A:^

E(K^ , Ns^

5. A^ 

B:^

E(K, f(Ns^

Dr. Hanif Durad

Denning’s protocol to overcomethe weakness of NS (2/2)

^ Because the timestamp T is encrypted using thethe secure master keys, an opponent, even withknowledge of an old session key, cannot succeedbecause a replay of step 3 will be detected by B asuntimely ^ However a new concern is raised: this schemerequires reliance on clocks that are synchronizedthroughout the network ^ Distributed clocks can become unsynchronized^ 

suppress-replay attacks