Cryptography Reference: Network Security

Slides:



Advertisements
Similar presentations
Last Class: The Problem BobAlice Eve Private Message Eavesdropping.
Advertisements

Internet and Intranet Protocols and Applications Lecture 9a: Secure Sockets Layer (SSL) March, 2004 Arthur Goldberg Computer Science Department New York.
Netprog: Cryptgraphy1 Cryptography Reference: Network Security PRIVATE Communication in a PUBLIC World. by Kaufman, Perlman & Speciner.
Public-key Cryptography Montclair State University CMPT 109 J.W. Benham Spring, 1998.
ECOMMERCE TECHNOLOGY SUMMER 2002 COPYRIGHT © 2002 MICHAEL I. SHAMOS Cryptographic Security.
1 Encryption What is EncryptionWhat is Encryption Types of EncryptionTypes of Encryption.
Lecture 22 Network Security CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger.
8-1 What is network security? Confidentiality: only sender, intended receiver should “understand” message contents m sender encrypts message m receiver.
Netprog: Security1 Security Terminology Traditional Unix Security TCP Wrapper Cryptography Kerberos.
Lecture 24 Cryptography CPE 401 / 601 Computer Network Systems slides are modified from Jim Kurose and Keith Ross and Dave Hollinger.
Introduction to Cryptography
How HTTPS Works J. David Giese. Hyper Text Transfer Protocol BrowserHTTP Server GET / HTTP/1.1 HOST: edge-effect.github.io HEADERS BODY HTTP/ OK.
May 2002Patroklos Argyroudis1 A crash course in cryptography and network security Patroklos Argyroudis CITY Liberal Studies.
8-1Network Security Chapter 8 roadmap 8.1 What is network security? 8.2 Principles of cryptography 8.3 Message integrity, authentication.
Network Security – Part 2 (Continued) Lecture Notes for May 8, 2006 V.T. Raja, Ph.D., Oregon State University.
10/1/2015 9:38:06 AM1AIIS. OUTLINE Introduction Goals In Cryptography Secrete Key Cryptography Public Key Cryptograpgy Digital Signatures 2 10/1/2015.
Image Representation Privacy/Cryptography CS 104 October 3, 2011.
Cryptography, Authentication and Digital Signatures
David Evans CS200: Computer Science University of Virginia Computer Science Class 36: Public-Key Cryptography If you want.
23-1 Last time □ P2P □ Security ♦ Intro ♦ Principles of cryptography.
Internet Security. 2 PGP is a security technology which allows us to send that is authenticated and/or encrypted. Authentication confirms the identity.
Internet-security.ppt-1 ( ) 2000 © Maximilian Riegel Maximilian Riegel Kommunikationsnetz Franken e.V. Internet Security Putting together the.
1 Cryptography NOTES. 2 Secret Key Cryptography Single key used to encrypt and decrypt. Key must be known by both parties. Assuming we live in a hostile.
Advanced Database Course (ESED5204) Eng. Hanan Alyazji University of Palestine Software Engineering Department.
8-1 Chapter 8 Security Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 part 2: Message integrity.
Digital Signatures, Message Digest and Authentication Week-9.
Cryptography: Digital Signatures Message Digests Authentication
Network Security Continued. Digital Signature You want to sign a document. Three conditions. – 1. The receiver can verify the identity of the sender.
Computer and Network Security - Message Digests, Kerberos, PKI –
1 Internet data security (HTTPS and SSL) Ruiwu Chen.
CS480 Cryptography and Information Security Huiping Guo Department of Computer Science California State University, Los Angeles 14. Digital signature.
Web Security.
The Secure Sockets Layer (SSL) Protocol
Cryptography – Test Review
최신정보보호기술 경일대학교 사이버보안학과 김 현성.
Key Exchange References: Applied Cryptography, Bruce Schneier
Public-Key Cryptography and Message Authentication
Digital Signatures Cryptographic technique analogous to hand-written signatures. sender (Bob) digitally signs document, establishing he is document owner/creator.
Computer Communication & Networks
Cryptography Reference: Network Security
Secure Sockets Layer (SSL)
Information Security message M one-way hash fingerprint f = H(M)
Encryption. Encryption Basics • Plaintext - the original message ABCDEFG • Ciphertext - the coded message DFDFSDFSD • Cipher - algorithm for.
Public-key Cryptography
Encryption
Introduction to security goals and usage of cryptographic algorithms
Information Security message M one-way hash fingerprint f = H(M)
Information Security message M one-way hash fingerprint f = H(M)
Digital Signatures Cryptographic technique analogous to hand-written signatures. sender (Bob) digitally signs document, establishing he is document owner/creator.
12 E-Commerce Overview.
Keys Campbell R. Harvey Duke University, NBER and
Campbell R. Harvey Duke University and NBER
Pooja programmer,cse department
Security through Encryption
Campbell R. Harvey Duke University and NBER
Information Security message M one-way hash fingerprint f = H(M)
The Secure Sockets Layer (SSL) Protocol
Intro to Cryptography Some slides have been taken from:
Protocol ap1.0: Alice says “I am Alice”
Lecture 5: Transport layer (TLS / SSL) and Security ( PGP )
Cryptography Reference: Network Security
Lecture 10: Network Security.
Public-Key, Digital Signatures, Management, Security
Chapter 29 Cryptography and Network Security
Digital Signatures Cryptographic technique analogous to hand-written signatures. sender (Bob) digitally signs document, establishing he is document owner/creator.
Unit 8 Network Security.
Security: Integrity, Authentication, Non-repudiation
Cryptography and Network Security
Chapter 8 roadmap 8.1 What is network security?
Presentation transcript:

Cryptography Reference: Network Security PRIVATE Communication in a PUBLIC World. by Kaufman, Perlman & Speciner. Netprog: Cryptgraphy

Secret Key Cryptography Single key used to encrypt and decrypt. Key must be known by both parties. Assuming we live in a hostile environment (otherwise - why the need for cryptography?), it may be hard to share a secret key. Netprog: Cryptgraphy

Public Key Cryptography (a.k.a. asymmetric cryptography) Relatively new field - 1975 (as far as we know, the NSA is not talking). Each entity has 2 keys: private key (a secret) public key (well known). Netprog: Cryptgraphy

Using Keys Private keys are used for decrypting. Public keys are used for encrypting. encryption plaintext ciphertext public key decryption ciphertext plaintext private key Netprog: Cryptgraphy

plaintext signed message Digital Signature Public key cryptography is also used to provide digital signatures. signing plaintext signed message private key verification signed message plaintext public key Netprog: Cryptgraphy

Transmitting over an insecure channel. Alice wants to send Bob a private message. Apublic is Alice’s public key. Aprivate is Alice’s private key. Bpublic is Bob’s public key. Bprivate is Bob’s private key. Netprog: Cryptgraphy

Hello Bob, Wanna get together? Alice Bob encrypt using Bpublic decrypt using Bprivate Netprog: Cryptgraphy

OK Alice, Your place or mine? Bob decrypt using Aprivate encrypt using Apublic Netprog: Cryptgraphy

Bob’s Dilemma Nobody can read the message from Alice, but anyone could produce it. How does Bob know that the message was really sent from Alice? Bob may be comforted to know that only Alice can read his reply. Netprog: Cryptgraphy

Alice can sign her message! Alice can create a digital signature and prove she sent the message (or someone with knowledge of her private key). The signature can be a message digest encrypted with Aprivate. Netprog: Cryptgraphy

Message Digest Also known as “hash function” or “one-way transformation”. Transforms a message of any length and computes a fixed length string. We want it to be hard to guess what the message was given only the digest. Guessing is always possible. Netprog: Cryptgraphy

Alice’s Signature Alice feeds her original message through a hash function and encrypts the message digest with Aprivate. Bob can decrypt the message digest using Apublic. Bob can compute the message digest himself. If the 2 message digests are identical, Bob knows Alice sent the message. Netprog: Cryptgraphy

Revised Scheme Alice Bob Sign with Aprivate check signature using Apublic encrypt using Bpublic decrypt using Bprivate Netprog: Cryptgraphy

Why the digest? Alice could just encrypt her name, and then Bob could decrypt it with Apublic. Why wouldn’t this be sufficient? Netprog: Cryptgraphy

Implications Suppose Alice denies she sent the message? Bob can prove that only someone with Alice’s key could have produced the message. Netprog: Cryptgraphy

Another possible problem Suppose Bill receives a message from Alice including a digital signature. “meet me at the library tonight” Bill sends the same message to Joe so that it looks like the message came from Alice. Bill includes the digital signature from the message Alice sent to him. Joe is convinced Alice sent the message! Netprog: Cryptgraphy

Solution? Always start your messages with: Dear Bill, Create a digest from the encrypted message and sign that digest. There are many other schemes as well. Netprog: Cryptgraphy

Speed Secret key encryption/decryption algorithms are much faster than public key algorithms. Many times a combination is used: use public key cryptography to share a secret key. use the secret key to encrypt the bulk of the communication. Netprog: Cryptgraphy

Secure Protocols There are a growing number of applications for secure protocols: email electronic commerce electronic voting homework submission Netprog: Cryptgraphy

Secure Protocols Many application protocols include the use of cryptography as part of the application level protocol. The cryptographic scheme employed is part of the protocol. If stronger cryptographic tools become available we need to change the protocol. Netprog: Cryptgraphy

SSL and TLS Secure Sockets Layer (SSL) is a different approach - a new layer is added that provides a secure channel over a TCP only link. TLS is Transport Layer Security (IETF standard based on SSL). Netprog: Cryptgraphy

SSL layer Application SSL TCP IP Application SSL TCP IP Netprog: Cryptgraphy

Advantages of SSL/TLS Independent of application layer Includes support for negotiated encryption techniques. easy to add new techniques. Possible to switch encryption algorithms in the middle of a session. Netprog: Cryptgraphy

HTTPS Usage HTTPS is HTTP running over SSL. used for most secure web transactions. HTTPS server usually runs on port 443. Include notion of verification of server via a certificate. Central trusted source of certificates. Netprog: Cryptgraphy