William Stallings, Cryptography and Network Security 4/e

William Stallings, Cryptography and Network Security 4/e

Chapter 15: Electronic Mail Security Fourth Edition by William Stallings Lecture slides by Lawrie Brown (Modified by Prof. M. Singhal, U of Kentucky) 1 Email Security email is one of the most widely used and

regarded network services currently message contents are not secure may be inspected either in transit or by suitably privileged users on destination system 2 Email 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 3

Pretty Good Privacy (PGP) Open source, freely available software package for secure e-mail de facto standard for secure email developed by Phil Zimmermann selected best available crypto algs to use Runs on a variety of platforms like Unix, PC, Macintosh and other systems originally free (now also have commercial versions available) 4

PGP Operation Authentication 1. sender creates message 2. Generates a digital signature for the message 3. use SHA-1 to generate 160-bit hash of message 4. signed hash with RSA using sender's private key, and is attached to message 5. receiver uses RSA with sender's public key to decrypt and recover hash code 6. receiver verifies received message using hash

of it and compares with decrypted hash code 5 PGP Operation Confidentiality 1. sender generates a message and encrypts it. 2. Generates a128-bit random number as session key 3. Encrypts the message using CAST-128 / IDEA / 3DES in CBC mode with session key 4. session key encrypted using RSA with recipient's public key and attached to the msg

5. receiver uses RSA with private key to decrypt and recover session key 6. session key is used to decrypt message 6 PGP Operation Confidentiality & Authentication can use both services on the same message create signature & attach it to the message encrypt both message & signature attach RSA/ElGamal encrypted session key

This sequence is preferred because --one can store the plaintext message/file and its signature --no need to decrypt the message/file again and again 7 PGP Operation Compression PGP compresses messages to save space for e-mail transmission and storage by default PGP compresses message after

signing but before encrypting so can store uncompressed message & signature for later verification Encryption after compression strengthens security (because compression has less redundancy) uses ZIP compression algorithm 8 PGP Operation Email Compatibility

when using PGP will have binary data (8-bit octets) to send (encrypted message, etc) however email 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 PGP also segments messages if too big (maximum length 50,000 octets)

9 PGP Operation Summary 10 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

uses random inputs taken from -actual keys hit -keystroke timing of a user 11 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 12 PGP Message Format

13 PGP Key Rings each PGP user has a pair of keyrings: 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

security of private keys thus depends on the pass-phrase security 14 PGP Message Generation 15 PGP Message Reception

16 Summary have considered: secure email PGP 17

Recently Viewed Presentations

  • Virtue in the Middle Ages - University of South Florida

    Virtue in the Middle Ages - University of South Florida

    Virtues are dispositions by which we achieve our specific good effectively. We need them because our specific good is rational activity, and our appetites alone do not suffice for fully rational choice. Sensory appetite needs virtue in order to follow...
  • The Malthusian Model - UCLA Anderson School of Management

    The Malthusian Model - UCLA Anderson School of Management

    Background: Social capital. Social capital = a dense network of civic associations "[t]he study of social capital is that of network-based processes that generate beneficial outcomes through norms and trust" (Durlauf and Fafchamps, 2004)
  • Conceptual Exploration

    Conceptual Exploration

    Conceptual Exploration. The aim of this presentation is to provide students with tools which are useful for concept clarification. This is an important step in the process of analysing arguments or developing one's own arguments.
  • LO To find the surface area and volume

    LO To find the surface area and volume

    Each apartment will be a simple cube design and dimensions will be 5m in each direction. How many apartments will Richard be able to get into your design? Grade Shape/Space/Measure A I understand the difference between formulae for area, perimeter...
  • Operations Strategy in a Global Environment

    Operations Strategy in a Global Environment

    Operations Management ... Learning Objectives Identify five OM strategy insights provided by PIMS research Identify and explain four global operations strategy options When you complete this chapter you should be able to: Global Strategies Boeing - sales and production are...
  • will 100 % possible A-What will you do

    will 100 % possible A-What will you do

    may/ might 50 % possible A-What will you do after school? B-I dont know. I may/might go to my grandparents or I may/might play computer games. A- Where will you go on holiday? B- I am not sure. We may/might...
  • Academic Services Division Information Day Programme 09.10 10.20

    Academic Services Division Information Day Programme 09.10 10.20

    Data entry completed either by School or Timetabling Office Process should be completed by mid May Data then downloaded by Timetabling Office in order to create draft student timetables 2009-10 Academic Year Key Dates 4 May 2010 - Module pre-enrolment...
  • Transition Leadership Network - esc4.net

    Transition Leadership Network - esc4.net

    Transition Leadership Network. Jane Chiesl Georges. Education Specialist, Region 4 ESC. TownsleyRaposa. ... Limits authority of the US Secretary of Education, especially on state decision-making on testing, standards, and school turnarounds.