Lecture 5: Email security: PGP Anish Arora CSE 5473 Introduction to Network Security.

Slides:



Advertisements
Similar presentations
Cryptography and Network Security Chapter 18
Advertisements

Security 1. is one of the most widely used and regarded network services currently message contents are not secure may be inspected either.
Lecture 5: security: PGP Anish Arora CIS694K Introduction to Network Security.
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
Chapter 5 Electronic mail security. Outline Pretty good privacy S/MIME Recommended web sites.
1 Pertemuan 12 Security Matakuliah: H0242 / Keamanan Jaringan Tahun: 2006 Versi: 1.
NS-H / Security. NS-H / Security is one of the most widely used and regarded network services currently message.
Electronic mail security
Electronic mail security -- Pretty Good Privacy.
Henric Johnson1 Electronic mail security Henric Johnson Blekinge Institute of Technology, Sweden
Cryptography and Network Security Chapter 15 Fourth Edition by William Stallings Lecture slides by Lawrie Brown.
Electronic Mail Security. Authentication and confidentiality problems Two systems: - PGP (Pretty Good Privacy) - S/MIME (Science Multipurpose Internet.
Lecture 9: Security via PGP CS 436/636/736 Spring 2012 Nitesh Saxena.
Electronic Mail Security
Cryptography and Network Security Chapter 18
Chap 81 Electronic mail security. Chap 82 Outline Pretty good privacy S/MIME Recommended web sites.
Electronic mail security. Outline Pretty good privacy S/MIME.
Security.  is one of the most widely used and regarded network services  currently message contents are not secure may be inspected either.
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
Network Security Essentials Chapter 7 Fourth Edition by William Stallings (Based on Lecture slides by Lawrie Brown)
Chapter 6 Electronic Mail Security MSc. NGUYEN CAO DAT Dr. TRAN VAN HOAI 1.
1 Firewalls. 2 What is a firewall? Device that provides secure connectivity between networks (internal/external; varying levels of trust) Used to implement.
1 Electronic mail security Ola Flygt Växjö University, Sweden
Cryptography and Network Security (CS435) Part Twelve (Electronic Mail Security)
Chapter 15: Electronic Mail Security
1 Electronic Mail Security Outline Pretty good privacy S/MIME Based on slides by Dr. Lawrie Brown of the Australian Defence Force Academy, University College,
1 Chapter 5 Electronic mail security. 2 Outline Pretty good privacy S/MIME Recommended web sites.
Pretty Good Privacy (PGP) Security for Electronic .
CSCE 815 Network Security Lecture 11 Security PGP February 25, 2003.
SECURITY – Chapter 15 SECURITY – Chapter 15 ….for authentication and confidentiality PGP 1.Uses best algorithms as building blocks 2.General.
NETWORK SECURITY.
Security PGP IT352 | Network Security |Najwa AlGhamdi 1.
NSP 02 - Electronic Mail Security1 Electronic Mail Security Ch 15 of Cryptography and Network Security - Third Edition by William Stallings Modified from.
Security Using PGP - Prajakta Bahekar. Importance of Security is one of the most widely used network service on Computer Currently .
PGP & IP Security  Pretty Good Privacy – PGP Pretty Good Privacy  IP Security. IP Security.
Authentication Applications 1. Kerberos 2. Key Management and Distribution 3. X.509 Directory Authentication service 4. Public Key Infrastructure 5. Electronic.
1 Electronic Mail Security Behzad Akbari Fall 2009 In the Name of the Most High.
Electronic Mail Security Prepared by Dr. Lamiaa Elshenawy
Security  is one of the most widely used and regarded network services  currently message contents are not secure may be inspected either.
By Marwan Al-Namari & Hafezah Ben Othman Author: William Stallings College of Computer Science at Al-Qunfudah Umm Al-Qura University, KSA, Makkah 1.
Chapter 7 : Web Security Lecture #1-Week 12 Dr.Khalid Dr. Mohannad Information Security CIT 460 Information Security Dr.Khalid Dr. Mohannad 1.
2013Prof. Reuven Aviv, Mail Security1 Pretty Good Privacy (PGP) Prof. Reuven Aviv Dept. of Computer Science Tel Hai Academic College.
Prof. Wenguo Wang Network Information Security Prof. Wenguo Wang Tel College of Computer Science QUFU NORMAL UNIVERSITY.
1 CNLab/University of Ulsan Chapter 16 Electronic Mail Security  PGP (Pretty Good Privacy)  S/MIME.
Lecture 8 (Chapter 18) Electronic Mail Security Prepared by Dr. Lamiaa M. Elshenawy 1.
第五章 电子邮件安全. Security is one of the most widely used and regarded network services currently message contents are not secure –may be inspected.
Electronic mail security. Outline Pretty good privacy S/MIME.
Security Depart. of Computer Science and Engineering 刘胜利 ( Liu Shengli) Tel:
Electronic mail security
Security is one of the most widely used and regarded network services
Chapter 15 – Electronic Mail Security
By Marwan Al-Namari Author: William Stallings
Security Pretty Good Privacy (PGP)
CSE565: Computer Security Lectures 19, 20 Electronic Mail Security
Selected Research Topics Electronic Mail Security
Electronic Mail Security
MAIL AND SECURITY PERTEMUAN 13
Cryptography and Network Security Chapter 15
NET 536 Network Security Networks and Communication Department
ELECTRONIC MAIL SECURITY
ELECTRONIC MAIL SECURITY
Cryptography and Network Security Chapter 15
Cryptography and Network Security Chapter 15
Cryptography and Network Security Chapter 15
Electronic Mail Security
Cryptography and Network Security
….for authentication and confidentiality PGP
Presentation transcript:

Lecture 5: security: PGP Anish Arora CSE 5473 Introduction to Network Security

security is one of the most widely used and regarded network services; essentially file transfer, except:  sender and receiver not present at same time  has diversity (character sets, headers, …)  not a transparent channel (8 bit data, CRLF)  often across realms currently message contents are not secure  may be inspected either in transit  or by suitably privileged users on destination system often principals have not met previously  use chain of certificates

security enhancements confidentiality  protection from disclosure authentication  of sender of message message integrity  protection from modification non-repudiation of origin  protection from denial by sender accounting, self-destruct, audit, anonymity, proof of delivery…

Internet Protocol is SMTP:  ASCII commands, responses  separate headers from envelope  TCP port 25  uses DNS  binary content, structure  MIME (multipurpose internet mail extensions) Note: Mail servers & mail agents use SMTP for exchange, clients use SMTP typically for relaying only, preferring POP/IMAP for receiving

Pretty Good Privacy (PGP) widely used confidentiality and authentication service for securing electronic mail and other file storage applications developed by Phil Zimmermann selected best available crypto algorithms to use integrated into a single program available on Unix, PC, Macintosh systems originally free, now have commercial versions available also

Operational description Consist of five services:  Authentication  Confidentiality  Compression  compatibility  Segmentation

PGP operation: Authentication 1. sender creates a message 2. SHA-1 used to generate 160-bit hash code of message 3. hash code is encrypted with RSA using the sender's private key, and result is attached to message 4. receiver uses RSA or DSS with sender's public key to decrypt and recover hash code 5. receiver generates new hash code for message and compares with decrypted hash code, if match, message is accepted as authentic

PGP operation: Confidentiality 1. sender generates message and random 128-bit number to be used as session key for this message only 2. message is encrypted, using CAST-128 / IDEA/3DES with session key 3. session key is encrypted using RSA with recipient's public key, then attached to message 4. receiver uses RSA with its private key to decrypt and recover session key 5. session key is used to decrypt message

PGP Operation: Confidentiality & Authentication uses both services on same message  create signature & attach to message  encrypt both message & signature  attach RSA encrypted session key

PGP operation: Compression by default PGP compresses message after signing but before encrypting  placement of the compression algorithm is critical  so can store uncompressed message & signature for later verification  & because compression is non deterministic uses ZIP compression algorithm

PGP operation: compatibility when using PGP will have binary data to send (encrypted message etc) however was designed only for text hence PGP must encode raw binary data into printable ASCII characters uses radix-64 algorithm  maps 3 bytes to 4 printable chars  also appends a CRC

Segmentation and reassembly Often restricted to a maximum message length of 50,000 octets Longer messages must be broken up into segments PGP automatically subdivides a message that is too large The receiver strips off all headers and reassemble the block

PGP operation: Summary

PGP services: Summary

PGP session keys need a session key for each message  of varying sizes: 56-bit DES, 128-bit CAST or IDEA, 168-bit Triple-DES generated using ANSI X12.17 mode uses random inputs taken from previous uses and from keystroke timing of user

PGP public & private keys since many public/private keys may be in use, need to identify which is actually used to encrypt session key in a message  could send full public-key with every message  but this is inefficient rather use a key identifier based on key  is least significant 64-bits of the key  will very likely be unique also use key ID in signatures

PGP key rings each PGP user has a pair of key rings:  public-key ring contains all the public-keys of other PGP users known to this user, indexed by key ID  private-key ring contains the public/private key pair(s) for this user, indexed by key ID & encrypted keyed from a hashed passphrase

The main issue: PGP key management does not rely on certificate authorities in PGP every user is own CA  can sign keys for users they know directly (certificates are like X.509) forms a “web of trust”  trust keys have signed  can trust keys others have signed if have a chain of signatures to them key ring includes trust indicators users can also revoke their keys

PGP’s distributed web of trust model

Revoking public keys The owner issue a key revocation certificate Normal signature certificate with a revoke indicator Corresponding private key is used to sign the certificate Revocation is best effort: no guarantees

Why Johnny (Still) Can’t Encrypt Usability studies (‘99 and ‘07) showed majority of users could not properly encrypt using PGP The user interface is not intuitive enough  Transparency of encryption/signature is confusing  users seem to need feedback that was secured  Verification is confusing  users don’t follow the reasoning for verification

S/MIME Uses a hybrid version of X.509 hierarchical certificate authority and web-of-trust Supports message encryption (aka envelopes), message signing (with and without encryption), and signed message digest

What about? Spam Hoaxes, chain letters