Presentation is loading. Please wait.

Presentation is loading. Please wait.

Elias M. Awad Third Edition ELECTRONIC COMMERCE From Vision to Fulfillment 12-1© 2007 Prentice-Hall, Inc ELC 200 Day 24.

Similar presentations


Presentation on theme: "Elias M. Awad Third Edition ELECTRONIC COMMERCE From Vision to Fulfillment 12-1© 2007 Prentice-Hall, Inc ELC 200 Day 24."— Presentation transcript:

1 Elias M. Awad Third Edition ELECTRONIC COMMERCE From Vision to Fulfillment 12-1© 2007 Prentice-Hall, Inc ELC 200 Day 24

2 12-2 © 2007 Prentice-Hall, Inc Agenda Assignment 8 Posted DUE ECommerce Initiative Frameworks –GuidelinesGuidelines –Due MAY 7 @ 10 AM Finish discussion on Encryption

3 12-3 © 2007 Prentice-Hall, Inc End of days? (subject to change) April 21 –Finish Chap 14 Encryption –Assignment 8 Due April 24 & 28 –CyperProtect simulation –Chap 15 getting the money –Optional Assignment 9 Due May 1 May 1 –Quiz 4 –Chapters 12  16 –20 M/C and 4 short essay May 7 @ 10 AM –16 days away! –eCommerce frameworks due –Student presentations 5 Mins!

4 Elias M. Awad Third Edition ELECTRONIC COMMERCE From Vision to Fulfillment 12-4© 2007 Prentice-Hall, Inc Encryption: A Matter of Trust

5 12-5 © 2007 Prentice-Hall, Inc Crypto resources History –http://www.vectorsite.net/ttcode.htmlhttp://www.vectorsite.net/ttcode.html Bruce Schneider –http://www.schneier.com/index.htmlhttp://www.schneier.com/index.html Organizations –http://www.cryptography.com/http://www.cryptography.com/ –http://www.openpgp.org/http://www.openpgp.org/ –http://www.cdt.org/crypto/http://www.cdt.org/crypto/ –http://www.iacr.org/http://www.iacr.org/ Tutorials –http://cryptoclub.math.uic.edu/indexmain.htmlhttp://cryptoclub.math.uic.edu/indexmain.html Jobs –http://www.nsa.gov/CAREERS/careers_8.cfmhttp://www.nsa.gov/CAREERS/careers_8.cfm –http://www.iacr.org/jobs/http://www.iacr.org/jobs/

6 12-6 © 2007 Prentice-Hall, Inc Problems with the One Key Crypto System How do you safely transfer keys to peers? You need a separate key for every peer –Example A spy master has 30 agents in the field who need to also communicate with each other. –Spy master needs 30 keys –Each spy needs an additional 29 keys to talk to the other spies in addition to the one key to talk to the spy master – (31*30)/2 ~ 465 keys to manage and keep secure!

7 12-7 © 2007 Prentice-Hall, Inc Classes of Algorithms Secret-key (symmetric) encryption : encryption system in which sender and receiver possess the same key; the key used to encrypt a message also can be used to decrypt it Stream cipher : a symmetric algorithm that encrypts a single bit of plaintext at a time Block cipher : a symmetric algorithm that encrypts a number of bits as a single unit Public-key (asymmetric) encryption : encoding/decoding using two mathematically related keys or key-pairs; one public key and one private key Key-pairs can be used in two ways: –To provide message confidentiality –To prove the authenticity of the message originator

8 12-8 © 2007 Prentice-Hall, Inc Two-key crypto system You need two related keys (one private and one public) for every peer –Example A spy master has 30 agents in the field who need to also communicate with each other. –Spy master needs 1 private and 1 public key and the public keys of his 30 spies –Each spy needs 1 Private and 1 public key and the 30 public keys of his spymaster and 29 fellow spies –31 pairs of keys = 62 keys »The public keys do not have to be secure, they can be posted on a web site »The private keys do not have to be revealed

9 12-9 © 2007 Prentice-Hall, Inc Message Confidentiality Using a Key-Pair

10 12-10 © 2007 Prentice-Hall, Inc Public Key Encryption Public Key Encryption for Confidentiality Encrypted Message Encrypted Message Party A Party B Encrypt with Party B’s Public Key Decrypt with Party B’s Private Key Decrypt with Party A’s Private Key Encrypt with Party A’s Public Key Note: Four keys are used to encrypt and decrypt in both directions

11 12-11 © 2007 Prentice-Hall, Inc Common Cryptosystems RSA Algorithm is the most commonly used public-key algorithm, although it is vulnerable to attack Data Encryption Standards (DES) is a popular secret-key encryption system; the first to be widely adopted commercially Triple DES (3DES) is a stronger version of DES that uses three 56-bit keys to encrypt each block of plaintext RC4 is a variable-length cipher widely used on the Internet as a bulk encryption cipher in SSL protocol IDEA is a strong encryption algorithm using a 128-bit key to encrypt 64-bit blocks; resistant to brute-force attack

12 12-12 © 2007 Prentice-Hall, Inc Major Attacks on Cryptosystems Chosen-plaintext attack Known-plaintext attack Ciphertext-only attack Third-party attack –Man in the middle

13 12-13 © 2007 Prentice-Hall, Inc Authentication and Trust Digital Signature is a special signature for signing electronic correspondence, produced by encrypting the message digest with the sender’s private key Authentication is verifying that a message or document, in fact, comes from the claimed sender Hash function is a formula that converts a message of a given length into a string of digits called a message digest Cryptographic hash functions are generally used to construct the message digest

14 12-14 © 2007 Prentice-Hall, Inc The Digital Signature Process

15 12-15 © 2007 Prentice-Hall, Inc Digital Certificates Digital certificates are the heart of secure online transactions A digital certificate is a software program that can be installed in a browser Your digital certificate identifies you to Web sites equipped to check it automatically Digital certificate is an electronic document issued by a certificate authority to establish a merchant’s identity Certificate authority (CA) is a trusted entity that issues and revokes public-key certificates and manages key-pairs

16 12-16 © 2007 Prentice-Hall, Inc Crypto, Digital Signature and Digital Certificates Cryptography provides security by using encryption –Ensures privacy Digital Signatures are just like a real signature –DCMA makes them just as legally binding as a signed paper document Digital Certificates uses Cryptographic techniques to prove Identity

17 12-17 © 2007 Prentice-Hall, Inc Digital Signature Sender Receiver DSPlaintext Add Digital Signature to Each Message Provides Message-by-Message Authentication Encrypted for Confidentiality

18 12-18 © 2007 Prentice-Hall, Inc Digital Signature: Sender DS Plaintext MD Hash Sign (Encrypt) MD with Sender’s Private Key To Create the Digital Signature: 1.Hash the plaintext to create a brief message digest; This is NOT the digital signature 2. Sign (encrypt) the message digest with the sender’s private key to create the digital Signature

19 12-19 © 2007 Prentice-Hall, Inc Digital Signature Sender Encrypts Receiver Decrypts Send Plaintext plus Digital Signature Encrypted with Symmetric Session Key DSPlaintext Transmission

20 12-20 © 2007 Prentice-Hall, Inc Digital Signature: Receiver DSReceived Plaintext MD 1. Hash 2. Decrypt with True Party’s Public Key 3. Are they Equal? 1. Hash the received plaintext with the same hashing algorithm the sender used. This gives the message digest 2. Decrypt the digital signature with the sender’s public key. This also should give the message digest. 3. If the two match, the message is authenticated; The sender has the true Party’s private key

21 12-21 © 2007 Prentice-Hall, Inc Public Key Deception Impostor “I am the True Person.” “Here is TP’s public key.” (Sends Impostor’s public key) “Here is authentication based on TP’s private key.” (Really Impostor’s private key) Decryption of message from Verifier encrypted with Impostor’s public key, so Impostor can decrypt it Verifier Must authenticate True Person. Believes now has TP’s public key Believes True Person is authenticated based on Impostor’s public key “True Person, here is a message encrypted with your public key.” Critical Deception

22 12-22 © 2007 Prentice-Hall, Inc Digital Certificates Digital certificates are electronic documents that give the true party’s name and public key Applicants claiming to be the true party have their authentication methods tested by this public key If they are not the true party, they cannot use the true party’s private key and so will not be authenticated Digital certificates follow the X.509 Standard

23 12-23 © 2007 Prentice-Hall, Inc Digital Signatures and Digital Certificates Public key authentication requires both a digital signature and a digital certificate to give the public key needed to test the digital signature DSPlaintext Applicant Verifier Certificate Authority Digital Certificate: True Party’s Public Key

24 12-24 © 2007 Prentice-Hall, Inc Four Classes of Digital Certificates Class 1 certificates contain minimum checks on the user’s background Class 2 certificates check for information like real name, Social Security number, and the date of birth Class 3 certificates are the strongest type Class 4 certificates are the most thorough

25 12-25 © 2007 Prentice-Hall, Inc Managing Cryptographic Keys Key management is the process of making keys known to the systems that need them and making sure keys are protected against disclosure or substitution Key Life Cycle –Key generation and registration –Key distribution –Key backup and recovery Key escrow : location where keys held in trust by a third party reside –http://pgp.mit.edu/http://pgp.mit.edu/ Notary service : company that provides encryption- oriented services including key escrow, key recovery, time stamping, trusted intermediary, and archiving –Key revocation and destruction

26 12-26 © 2007 Prentice-Hall, Inc Third-Party Services Certificate authority verifies certificates intended for use by other distinct legal entities Certificate policy is a set of rules that identifies how, when, and for what reasons certificates are used within the assigned organization Directory service is a repository that distributes certificates as requested by message originators

27 12-27 © 2007 Prentice-Hall, Inc Internet Security Protocols Two key protocols for secure World Wide Web transactions are: –Secure Socket Layer (SSL) is a protocol for secure Web transactions, secures data packets at the network layer –Secure HTTP (S-HTTP) is a protocol that secures Web transactions and nothing else Secure Electronic Transaction (SET) is a protocol used for handling funds transfers from credit card issuers to a merchant’s bank account –A digital certificate customers can request from their issuing bank by filling out a form on the bank’s Web site –A digital wallet is an online shopping device that seals personal information in a free plug-in that can be invoked when making a purchase

28 12-28 © 2007 Prentice-Hall, Inc Secure E-mail Pretty Good Privacy (PGP) is a protocol that encrypts the data with a one-time algorithm and then encrypts the key to the algorithm using public-key cryptography –http://www.pgp.com/http://www.pgp.com/ –http://www.gnupg.org/http://www.gnupg.org/ S/MIME (Multipurpose Internet Mail Extension) is a powerful protocol that provides security for different data types and attachments to e-mails Message Security Protocol (MSP) is a protocol that secures e-mail attachments across multiple platforms

29 12-29 © 2007 Prentice-Hall, Inc Implications for E-Commerce Developing high-powered and reliable encryption methods is a top priority for many organizations Most encryption systems have prevention as the sole means of defense Merchants face a number of choices when considering encryption methods A major concern is the cost associated with different encryption methods Government regulations present considerable problems for businesses

30 12-30 © 2007 Prentice-Hall, Inc Chapter Summary Encryption addresses message transmission security requirements Encryption satisfies requirements for authentication, integrity, and nonrepudiation There are two classes of key-based algorithms –Secret key –Public key Cryptanalysis is the science of deciphering encrypted messages without knowing the right key

31 12-31 © 2007 Prentice-Hall, Inc Chapter Summary (Cont’d) One way to implement public-key authentication is to send a digital signature with each message A digital certificate is an electronic document issued by a certificate authority (CA) to establish a merchant’s identity by verifying its name and public key Security measures installed to minimize vulnerability to the exchange of information includes –SSL –SHTTP –SET –S/MIME


Download ppt "Elias M. Awad Third Edition ELECTRONIC COMMERCE From Vision to Fulfillment 12-1© 2007 Prentice-Hall, Inc ELC 200 Day 24."

Similar presentations


Ads by Google