Network Security Lecture 23 Presented by: Dr. Munam Ali Shah.

Slides:



Advertisements
Similar presentations
The Diffie-Hellman Algorithm
Advertisements

Key distribution and certification In the case of public key encryption model the authenticity of the public key of each partner in the communication must.
Kerberos 1 Public domain image of Heracles and Cerberus. From an Attic bilingual amphora, 530–520 BC. From Italy (?).
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.
1 Security Handshake Pitfalls. 2 Authentication Handshakes Secure communication almost always includes an initial authentication handshake: –Authenticate.
Sri Lanka Institute of Information Technology
Cryptography and Network Security
Fall 2008CS 334: Computer Security1 Crypto Conclusion Message Authentication Codes Key Management.
Computer Science&Technology School of Shandong University Instructor: Hou Mengbo houmb AT sdu.edu.cn Office: Information Security Research Group.
Cryptography and Network Security
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.
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)
Key Distribution/Management and Authentication Mert ÖZARAR Bilkent University
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
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
CMSC 414 Computer and Network Security Lecture 22 Jonathan Katz.
1 Information System Security AABFS-Jordan Summer 2006 Digital Signature and Hashing Functions Prepared by: Maher Abu Hamdeh & Adel Hamdan Supervised by:
CSE 597E Fall 2001 PennState University1 Digital Signature Schemes Presented By: Munaiza Matin.
CRYPTOGRAPHIC DATA INTEGRITY ALGORITHMS
Alexander Potapov.  Authentication definition  Protocol architectures  Cryptographic properties  Freshness  Types of attack on protocols  Two-way.
31.1 Chapter 31 Network Security Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Bob can sign a message using a digital signature generation algorithm
Part Two Network Security Applications Chapter 4 Key Distribution and User Authentication.
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.
1 Chapter 11: Message Authentication and Hash Functions Fourth Edition by William Stallings Lecture slides by Lawrie Brown (modified by Prof. M. Singhal,
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:
Network Security Lecture 26 Presented by: Dr. Munam Ali Shah.
Authentication: keys, MAC, hashes, message digests, digital signatures.
10. Key Management. Contents Key Management  Public-key distribution  Secret-key distribution via public-key cryptography.
Fall 2002CS 395: Computer Security1 Chapter 11: Message Authentication and Hash Functions.
Chapter 21 Distributed System Security Copyright © 2008.
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.
Cryptography and Network Security Chapter 13 Fourth Edition by William Stallings Lecture slides by Lawrie Brown & Süleyman KONDAKCI.
Lecture 16: Security CDK4: Chapter 7 CDK5: Chapter 11 TvS: Chapter 9.
Chapter 11 Message Authentication and Hash Functions.
Network Security Lecture 25 Presented by: Dr. Munam Ali Shah.
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.
Protocol Analysis. CSCE Farkas 2 Cryptographic Protocols Two or more parties Communication over insecure network Cryptography used to achieve goal.
Lecture 11 Overview. Digital Signature Properties CS 450/650 Lecture 11: Digital Signatures 2 Unforgeable: Only the signer can produce his/her signature.
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.
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.
Cryptographic Hash Function. A hash function H accepts a variable-length block of data as input and produces a fixed-size hash value h = H(M). The principal.
Cryptography and Network Security Chapter 13
Fourth Edition by William Stallings Lecture slides by Lawrie Brown
Computer Communication & Networks
Authentication Protocols
Presented by: Dr. Munam Ali Shah
Chapter 13 – Digital Signatures & Authentication Protocols
Subject Name: NETWORK SECURITY Subject Code: 10EC832
Cryptography and Network Security
Digital Signatures Network Security.
Presentation transcript:

Network Security Lecture 23 Presented by: Dr. Munam Ali Shah

Part – 2 (e): Incorporating security in other parts of the network

Summary of the Previous Lecture In previous lecture we explored the limitations of the centralized key distribution and have explored key distribution in a decentralized fashion. We discussed in detail, how message authentication could be achieved. There are several functions and protocols used for message authentication Message Authentication Mechanism classification:  Message encryption  MAC  Hash

Outlines of today’s lecture Digital signature and authentication protocols Problems in message authentication Different protocols for message authentication will be studied Digital Signature Standard (DSS) and Digital Signature Algorithm (DSA) will be explored

Objectives You would be able to present an understanding of the higher level message authentication mechanism. You would be able demonstrate knowledge about different protocols used for message authentication

Problem in message authentication Message authentication protect two parties from third party, will it protect two parties from each ?? John sends authenticated message to Marry (msg+MAC) Marry may forge a different message and claims that it comes from John John can deny sending the message to Marry later on hence include authentication function with additional capabilities

Digital Signature Properties must depend on the message being 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

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 security depends on sender’s private-key What if sender claim later that its private key is lost Administrative controls relating to security of private key Signed message including time stamp Require prompt reporting of compromised keys If private key is stolen from X at time T then opponent use stolen key with time stamp

Arbitrated Digital Signature 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 secret or public-key algorithms Arbiter may or may not see message

Arbiter DS Techniques X –> A: M||E(K xa, [ID X ||H(M)]) A –> Y: E(K ay, [ID X ||M||E(K xa, ID X ||H(M)])||T]) Arbiter sees the message Y cannot directly check X’s signature X –>A: ID X ||E(K xy, M)||E(K xa, [IDX||H(E(K xy, M))]) A –>Y: E ( K ay,[ID X ||E(K xy, M)]) || E(K xa, [IDX||H(E(Kxy, M)) || T] ) Arbiter doesnot see the message Arbiter could form alliance with sender to deny a signed message or with receiver to forge the sender’s signature

X –> A: ID X ||E(PR x, [ID X ||E(PUy, E(PRx, M))]) A –> Y: E(PR a, [ID X ||E(PUy, E(PRx, M))||T]) public key encryption arbiter cannot see the message Advantages - Preventing alliance to defraud: no information is shared between parties before communication - No incorrectly dated messages are sent even if PR x is compromised, assuming that PR a is not compromised - Content of message from A to B are secret

Authentication Protocols used to convince parties of each others identity and to exchange session keys may be one-way or mutual key issues of authenticated key exchange are confidentiality – to prevent masquerading and to protect session keys (secret or public key are used) timeliness – to prevent replay attacks

Replay Attacks Simple replay: copies the message and replays it later Repetition that can be logged: opponent replay the time stamped message within the valid time window Repetition that cannot be detected: the original message did not arrive, only replay message arrives at destination Backward replay without modification: replay back to sender. Possible if symmetric encryption is used and sender cannot recognized the difference between message sent and received

Countermeasures for replay attacks - Use of sequence numbers (generally impractical) - message is accepted if its sequence no. is in proper order - Keep track of last sequence no. For each claimant it has dealt with. - Timestamps (needs synchronized clocks) - Party A accept the message if it arrive before or at the A’s knowledge of current time - Challenge/response (using unique nonce) - Party A first sends a nonce to B and requires the subsequent message contain correct nonce value

Symmetric Encryption Approaches 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

Needham-Schroeder Protocol Used to securely distribute a new session key for communications between A & B but it is vulnerable to a replay attack if an old session key has been compromised then message no. 3 can be resent convincing B that is communicating with A Unless B remembers all the previous session keys used with A, B will be unable to determine that this is replay attack Modifications to address this require: timestamps (Denning 81) using an extra nonce (Neuman 93)

Summary In today’s we talked about Digital signature and authentication protocols Problems in message authentication A protocol for message authentication were also studied

Next lecture topics The difference between Digital Signature Standard (DSS) and Digital Signature Algorithm (DSA) was also explored. We will talk about authentication applications We will study Kerberos which is an Authentication service developed at MIT

The End