SlideShare une entreprise Scribd logo
1  sur  31
Télécharger pour lire hors ligne
ELECTRONIC MAIL
SECURITY
Introduction
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
Email security requirements
♦ Confidentiality
♦ Authentication
♦ Integrity
♦ Non-repudiation
Basic phase of Email
internt
pull
email email email
senders SMTP servers receivers SMTP servers
sender receiver
Privacy enhanced mail
PEM adopted by the Internet
Architecture Board (IAB) to provide
secure electronic mail communication over
the internet
Steps of PEM
♦ Canonical conversion
♦ Digital signature
♦ Encryption
♦ Base 64 encoding
Canonical conversions
♦ PEM transforms each email message into an
abstract canonical representation. This
means that regardless of the architecture
and the operating system of the sending and
receiving computers, the email message
always travels in a uniform, independent
format.
Message digest creation
Sender’s private key
Email message
To:abc@xyz.com
From:mnc@xyz.com
Subject:meeting
Message digest
Algorithm(MD2
Or MD5)
1010101010101
01010………..
………………
1010101010101
01010………..
………………
encrypt
digital
signature
Digital signature
encryption
Email message
To:abc@xyz.com
From:mnc@xyz.com
Subject:meeting
digital
signature
encrypt
Encrypted
result
+
Symmetric
key
DES in CBC
mode
Base 64encoding
Printable encoding characters
0 A 8 I 16 Q 24 Y 32 g 40 o 48 w 56 4
1 B 9 J 17 R 25 Z 33 h 41 p 49 x 57 5
2 C 10 K 18 S 26 a 34 i 42 q 50 y 58 6
3 D 11 L 19 T 27 b 35 j 43 r 51 z 59 7
4 E 12 M 20 U 28 c 36 k 44 s 52 0 60 8
5 F 13 N 21 V 29 d 37 l 45 t 53 1 61 9
6 G 14 O 22 W 30 e 38 m 46 u 54 2 62 +
7 H 15 P 23 X 31 f 39 n 47 v 55 3 63 /
Pretty Good Privacy (PGP)
PGP provides a confidentiality and
authentication service that can be used for
electronic mail and file storage applications.
A number of reasons can be cited for this
growth.
♦ available free worldwide
♦ It is based on extremely secure algorithm.
♦ wide range of applicability
♦ not developed by governmental
organization.
Operational description
The actual operation of PGP, consists of
five services: authentication,
confidentiality, compression, e-mail
compatibility, and segmentation
Authentication
1. sender creates message
2. make SHA-1160-bit hash of message
3. attached RSA signed hash to message
4. receiver decrypts & recovers hash code
5. receiver verifies received message hash
Confidentiality
1. sender forms 128-bit random session key
2. encrypts message with session key
3. attaches session key encrypted with RSA
4. receiver decrypts & recovers session key
5. session key is used to decrypt message
Confidentiality & Authentication
can use both services on same message
create signature & attach to message
encrypt both message & signature
attach RSA/ElGamal encrypted session key
Compression
♦ by default PGP compresses message after
signing but before encrypting
– so can store uncompressed message & signature
for later verification
– & because compression is non deterministic
♦ uses ZIP compression algorithm
Email Compatibility
♦ when using PGP will have binary data 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
PGP Operation – 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 Message Format
PGP Key Rings
PGP Message Generation
PGP Message Reception
S/MIME (Secure/Multipurpose
Internet Mail Extensions)
♦ security enhancement to MIME email
– original Internet RFC822 email was text only
– MIME provided support for varying content
types and multi-part messages
– with encoding of binary data to textual form
– S/MIME added security enhancements
♦ have S/MIME support in many mail agents
– eg MS Outlook, Mozilla, Mac Mail etc
Signed mail
1. The user writes the message as clear-text.
2. The message digest is being calculated
(using SHA-1[2] or MD5[3]).
3. The message digest is being encrypted
using the signer’s private key (DSS[4] or
RSA[5]).
Signed mail
Encrypted mail
1. The user writes the message as clear-text.
2. A random session key is being created
(tripleDES[6] or RC2[7])
3. The message is being encrypted using the
random session key.
4. For every recipient, the session key is being
encrypted using the recipient’s public key
(DH[8] or RSA[5]).
Encrypted mail
S/MIME Cryptographic
Algorithms
♦ digital signatures: DSS & RSA
♦ hash functions: SHA-1 & MD5
♦ session key encryption: ElGamal & RSA
♦ message encryption: AES, Triple-DES,
RC2/40 and others
♦ MAC: HMAC with SHA-1
S/MIME Functions
♦ enveloped data
– encrypted content and associated keys
♦ signed data
– encoded message + signed digest
♦ clear-signed data
– cleartext message + encoded signed digest
♦ signed & enveloped data
– nesting of signed & encrypted entities

Contenu connexe

Tendances

Cryptography and network security
Cryptography and network securityCryptography and network security
Cryptography and network securitypatisa
 
Pgp pretty good privacy
Pgp pretty good privacyPgp pretty good privacy
Pgp pretty good privacyPawan Arya
 
Public Key Cryptosystem
Public Key CryptosystemPublic Key Cryptosystem
Public Key CryptosystemDevakumar Kp
 
Network security - OSI Security Architecture
Network security - OSI Security ArchitectureNetwork security - OSI Security Architecture
Network security - OSI Security ArchitectureBharathiKrishna6
 
Spoofing
SpoofingSpoofing
SpoofingSanjeev
 
S/MIME & E-mail Security (Network Security)
S/MIME & E-mail Security (Network Security)S/MIME & E-mail Security (Network Security)
S/MIME & E-mail Security (Network Security)Prafull Johri
 
Message authentication
Message authenticationMessage authentication
Message authenticationCAS
 
Network security cryptographic hash function
Network security  cryptographic hash functionNetwork security  cryptographic hash function
Network security cryptographic hash functionMijanur Rahman Milon
 
public key infrastructure
public key infrastructurepublic key infrastructure
public key infrastructurevimal kumar
 
Firewall and its types and function
Firewall and its types and functionFirewall and its types and function
Firewall and its types and functionNisarg Amin
 
Computer security concepts
Computer security conceptsComputer security concepts
Computer security conceptsG Prachi
 
Transport Layer Security (TLS)
Transport Layer Security (TLS)Transport Layer Security (TLS)
Transport Layer Security (TLS)Arun Shukla
 
Email Security Presentation
Email Security PresentationEmail Security Presentation
Email Security PresentationYosef Gamble
 

Tendances (20)

Cryptography and network security
Cryptography and network securityCryptography and network security
Cryptography and network security
 
Pgp pretty good privacy
Pgp pretty good privacyPgp pretty good privacy
Pgp pretty good privacy
 
Public Key Cryptosystem
Public Key CryptosystemPublic Key Cryptosystem
Public Key Cryptosystem
 
Network security - OSI Security Architecture
Network security - OSI Security ArchitectureNetwork security - OSI Security Architecture
Network security - OSI Security Architecture
 
Spoofing
SpoofingSpoofing
Spoofing
 
S/MIME & E-mail Security (Network Security)
S/MIME & E-mail Security (Network Security)S/MIME & E-mail Security (Network Security)
S/MIME & E-mail Security (Network Security)
 
Encryption ppt
Encryption pptEncryption ppt
Encryption ppt
 
Hash Function
Hash FunctionHash Function
Hash Function
 
Network security ppt
Network security pptNetwork security ppt
Network security ppt
 
Network security
Network securityNetwork security
Network security
 
Message authentication
Message authenticationMessage authentication
Message authentication
 
Web Security
Web SecurityWeb Security
Web Security
 
Network security cryptographic hash function
Network security  cryptographic hash functionNetwork security  cryptographic hash function
Network security cryptographic hash function
 
Web Security
Web SecurityWeb Security
Web Security
 
public key infrastructure
public key infrastructurepublic key infrastructure
public key infrastructure
 
Firewall and its types and function
Firewall and its types and functionFirewall and its types and function
Firewall and its types and function
 
Computer security concepts
Computer security conceptsComputer security concepts
Computer security concepts
 
Transport Layer Security (TLS)
Transport Layer Security (TLS)Transport Layer Security (TLS)
Transport Layer Security (TLS)
 
Email Security Presentation
Email Security PresentationEmail Security Presentation
Email Security Presentation
 
Email threats
Email threatsEmail threats
Email threats
 

Similaire à Email security

Similaire à Email security (20)

Network security
Network securityNetwork security
Network security
 
Ch15
Ch15Ch15
Ch15
 
Network Security CS2
Network Security CS2Network Security CS2
Network Security CS2
 
Information and data security email security
Information and data security email securityInformation and data security email security
Information and data security email security
 
module 4_7th sem_ Electronic Mail Security.pptx
module 4_7th sem_ Electronic Mail Security.pptxmodule 4_7th sem_ Electronic Mail Security.pptx
module 4_7th sem_ Electronic Mail Security.pptx
 
1682302951397_PGP.pdf
1682302951397_PGP.pdf1682302951397_PGP.pdf
1682302951397_PGP.pdf
 
ch15 (1).ppt
ch15 (1).pptch15 (1).ppt
ch15 (1).ppt
 
ch15.ppt
ch15.pptch15.ppt
ch15.ppt
 
ch15.ppt
ch15.pptch15.ppt
ch15.ppt
 
ch15.ppt
ch15.pptch15.ppt
ch15.ppt
 
PGP.ppt
PGP.pptPGP.ppt
PGP.ppt
 
Celebrity Cricket League 2016 - http://ccl5.com/
Celebrity Cricket League 2016 - http://ccl5.com/ Celebrity Cricket League 2016 - http://ccl5.com/
Celebrity Cricket League 2016 - http://ccl5.com/
 
18CS2005 Cryptography and Network Security
18CS2005 Cryptography and Network Security18CS2005 Cryptography and Network Security
18CS2005 Cryptography and Network Security
 
CRYPTOGRAPHY AND NETWORK SECURITY- E-Mail Security
CRYPTOGRAPHY AND NETWORK SECURITY- E-Mail SecurityCRYPTOGRAPHY AND NETWORK SECURITY- E-Mail Security
CRYPTOGRAPHY AND NETWORK SECURITY- E-Mail Security
 
Email sec11
Email sec11Email sec11
Email sec11
 
CNS ppt.pdf
CNS ppt.pdfCNS ppt.pdf
CNS ppt.pdf
 
E-mail Security.ppt
E-mail Security.pptE-mail Security.ppt
E-mail Security.ppt
 
unit6.ppt
unit6.pptunit6.ppt
unit6.ppt
 
M.FLORENCE DAYANA/electronic mail security.pdf
M.FLORENCE DAYANA/electronic mail security.pdfM.FLORENCE DAYANA/electronic mail security.pdf
M.FLORENCE DAYANA/electronic mail security.pdf
 
BAIT1103 Chapter 5
BAIT1103 Chapter 5BAIT1103 Chapter 5
BAIT1103 Chapter 5
 

Dernier

Engineering Mechanics Chapter 5 Equilibrium of a Rigid Body
Engineering Mechanics  Chapter 5  Equilibrium of a Rigid BodyEngineering Mechanics  Chapter 5  Equilibrium of a Rigid Body
Engineering Mechanics Chapter 5 Equilibrium of a Rigid BodyAhmadHajasad2
 
ChatGPT-and-Generative-AI-Landscape Working of generative ai search
ChatGPT-and-Generative-AI-Landscape Working of generative ai searchChatGPT-and-Generative-AI-Landscape Working of generative ai search
ChatGPT-and-Generative-AI-Landscape Working of generative ai searchrohitcse52
 
Lecture 1: Basics of trigonometry (surveying)
Lecture 1: Basics of trigonometry (surveying)Lecture 1: Basics of trigonometry (surveying)
Lecture 1: Basics of trigonometry (surveying)Bahzad5
 
Test of Significance of Large Samples for Mean = µ.pptx
Test of Significance of Large Samples for Mean = µ.pptxTest of Significance of Large Samples for Mean = µ.pptx
Test of Significance of Large Samples for Mean = µ.pptxHome
 
nvidia AI-gtc 2024 partial slide deck.pptx
nvidia AI-gtc 2024 partial slide deck.pptxnvidia AI-gtc 2024 partial slide deck.pptx
nvidia AI-gtc 2024 partial slide deck.pptxjasonsedano2
 
Best-NO1 Best Rohani Amil In Lahore Kala Ilam In Lahore Kala Jadu Amil In Lah...
Best-NO1 Best Rohani Amil In Lahore Kala Ilam In Lahore Kala Jadu Amil In Lah...Best-NO1 Best Rohani Amil In Lahore Kala Ilam In Lahore Kala Jadu Amil In Lah...
Best-NO1 Best Rohani Amil In Lahore Kala Ilam In Lahore Kala Jadu Amil In Lah...Amil baba
 
Guardians and Glitches: Navigating the Duality of Gen AI in AppSec
Guardians and Glitches: Navigating the Duality of Gen AI in AppSecGuardians and Glitches: Navigating the Duality of Gen AI in AppSec
Guardians and Glitches: Navigating the Duality of Gen AI in AppSecTrupti Shiralkar, CISSP
 
Multicomponent Spiral Wound Membrane Separation Model.pdf
Multicomponent Spiral Wound Membrane Separation Model.pdfMulticomponent Spiral Wound Membrane Separation Model.pdf
Multicomponent Spiral Wound Membrane Separation Model.pdfGiovanaGhasary1
 
Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...
Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...
Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...amrabdallah9
 
Basic Principle of Electrochemical Sensor
Basic Principle of  Electrochemical SensorBasic Principle of  Electrochemical Sensor
Basic Principle of Electrochemical SensorTanvir Moin
 
Quasi-Stochastic Approximation: Algorithm Design Principles with Applications...
Quasi-Stochastic Approximation: Algorithm Design Principles with Applications...Quasi-Stochastic Approximation: Algorithm Design Principles with Applications...
Quasi-Stochastic Approximation: Algorithm Design Principles with Applications...Sean Meyn
 
SUMMER TRAINING REPORT ON BUILDING CONSTRUCTION.docx
SUMMER TRAINING REPORT ON BUILDING CONSTRUCTION.docxSUMMER TRAINING REPORT ON BUILDING CONSTRUCTION.docx
SUMMER TRAINING REPORT ON BUILDING CONSTRUCTION.docxNaveenVerma126
 
Landsman converter for power factor improvement
Landsman converter for power factor improvementLandsman converter for power factor improvement
Landsman converter for power factor improvementVijayMuni2
 
Phase noise transfer functions.pptx
Phase noise transfer      functions.pptxPhase noise transfer      functions.pptx
Phase noise transfer functions.pptxSaiGouthamSunkara
 
Nodal seismic construction requirements.pptx
Nodal seismic construction requirements.pptxNodal seismic construction requirements.pptx
Nodal seismic construction requirements.pptxwendy cai
 
Power System electrical and electronics .pptx
Power System electrical and electronics .pptxPower System electrical and electronics .pptx
Power System electrical and electronics .pptxMUKULKUMAR210
 
The relationship between iot and communication technology
The relationship between iot and communication technologyThe relationship between iot and communication technology
The relationship between iot and communication technologyabdulkadirmukarram03
 

Dernier (20)

Engineering Mechanics Chapter 5 Equilibrium of a Rigid Body
Engineering Mechanics  Chapter 5  Equilibrium of a Rigid BodyEngineering Mechanics  Chapter 5  Equilibrium of a Rigid Body
Engineering Mechanics Chapter 5 Equilibrium of a Rigid Body
 
ChatGPT-and-Generative-AI-Landscape Working of generative ai search
ChatGPT-and-Generative-AI-Landscape Working of generative ai searchChatGPT-and-Generative-AI-Landscape Working of generative ai search
ChatGPT-and-Generative-AI-Landscape Working of generative ai search
 
Lecture 1: Basics of trigonometry (surveying)
Lecture 1: Basics of trigonometry (surveying)Lecture 1: Basics of trigonometry (surveying)
Lecture 1: Basics of trigonometry (surveying)
 
計劃趕得上變化
計劃趕得上變化計劃趕得上變化
計劃趕得上變化
 
Test of Significance of Large Samples for Mean = µ.pptx
Test of Significance of Large Samples for Mean = µ.pptxTest of Significance of Large Samples for Mean = µ.pptx
Test of Significance of Large Samples for Mean = µ.pptx
 
nvidia AI-gtc 2024 partial slide deck.pptx
nvidia AI-gtc 2024 partial slide deck.pptxnvidia AI-gtc 2024 partial slide deck.pptx
nvidia AI-gtc 2024 partial slide deck.pptx
 
Best-NO1 Best Rohani Amil In Lahore Kala Ilam In Lahore Kala Jadu Amil In Lah...
Best-NO1 Best Rohani Amil In Lahore Kala Ilam In Lahore Kala Jadu Amil In Lah...Best-NO1 Best Rohani Amil In Lahore Kala Ilam In Lahore Kala Jadu Amil In Lah...
Best-NO1 Best Rohani Amil In Lahore Kala Ilam In Lahore Kala Jadu Amil In Lah...
 
Guardians and Glitches: Navigating the Duality of Gen AI in AppSec
Guardians and Glitches: Navigating the Duality of Gen AI in AppSecGuardians and Glitches: Navigating the Duality of Gen AI in AppSec
Guardians and Glitches: Navigating the Duality of Gen AI in AppSec
 
Multicomponent Spiral Wound Membrane Separation Model.pdf
Multicomponent Spiral Wound Membrane Separation Model.pdfMulticomponent Spiral Wound Membrane Separation Model.pdf
Multicomponent Spiral Wound Membrane Separation Model.pdf
 
Lecture 4 .pdf
Lecture 4                              .pdfLecture 4                              .pdf
Lecture 4 .pdf
 
Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...
Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...
Strategies of Urban Morphologyfor Improving Outdoor Thermal Comfort and Susta...
 
Basic Principle of Electrochemical Sensor
Basic Principle of  Electrochemical SensorBasic Principle of  Electrochemical Sensor
Basic Principle of Electrochemical Sensor
 
Litature Review: Research Paper work for Engineering
Litature Review: Research Paper work for EngineeringLitature Review: Research Paper work for Engineering
Litature Review: Research Paper work for Engineering
 
Quasi-Stochastic Approximation: Algorithm Design Principles with Applications...
Quasi-Stochastic Approximation: Algorithm Design Principles with Applications...Quasi-Stochastic Approximation: Algorithm Design Principles with Applications...
Quasi-Stochastic Approximation: Algorithm Design Principles with Applications...
 
SUMMER TRAINING REPORT ON BUILDING CONSTRUCTION.docx
SUMMER TRAINING REPORT ON BUILDING CONSTRUCTION.docxSUMMER TRAINING REPORT ON BUILDING CONSTRUCTION.docx
SUMMER TRAINING REPORT ON BUILDING CONSTRUCTION.docx
 
Landsman converter for power factor improvement
Landsman converter for power factor improvementLandsman converter for power factor improvement
Landsman converter for power factor improvement
 
Phase noise transfer functions.pptx
Phase noise transfer      functions.pptxPhase noise transfer      functions.pptx
Phase noise transfer functions.pptx
 
Nodal seismic construction requirements.pptx
Nodal seismic construction requirements.pptxNodal seismic construction requirements.pptx
Nodal seismic construction requirements.pptx
 
Power System electrical and electronics .pptx
Power System electrical and electronics .pptxPower System electrical and electronics .pptx
Power System electrical and electronics .pptx
 
The relationship between iot and communication technology
The relationship between iot and communication technologyThe relationship between iot and communication technology
The relationship between iot and communication technology
 

Email security

  • 2. Introduction 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
  • 3. Email security requirements ♦ Confidentiality ♦ Authentication ♦ Integrity ♦ Non-repudiation
  • 4. Basic phase of Email internt pull email email email senders SMTP servers receivers SMTP servers sender receiver
  • 5. Privacy enhanced mail PEM adopted by the Internet Architecture Board (IAB) to provide secure electronic mail communication over the internet Steps of PEM ♦ Canonical conversion ♦ Digital signature ♦ Encryption ♦ Base 64 encoding
  • 6. Canonical conversions ♦ PEM transforms each email message into an abstract canonical representation. This means that regardless of the architecture and the operating system of the sending and receiving computers, the email message always travels in a uniform, independent format.
  • 7. Message digest creation Sender’s private key Email message To:abc@xyz.com From:mnc@xyz.com Subject:meeting Message digest Algorithm(MD2 Or MD5) 1010101010101 01010……….. ……………… 1010101010101 01010……….. ……………… encrypt digital signature Digital signature
  • 10. Printable encoding characters 0 A 8 I 16 Q 24 Y 32 g 40 o 48 w 56 4 1 B 9 J 17 R 25 Z 33 h 41 p 49 x 57 5 2 C 10 K 18 S 26 a 34 i 42 q 50 y 58 6 3 D 11 L 19 T 27 b 35 j 43 r 51 z 59 7 4 E 12 M 20 U 28 c 36 k 44 s 52 0 60 8 5 F 13 N 21 V 29 d 37 l 45 t 53 1 61 9 6 G 14 O 22 W 30 e 38 m 46 u 54 2 62 + 7 H 15 P 23 X 31 f 39 n 47 v 55 3 63 /
  • 11. Pretty Good Privacy (PGP) PGP provides a confidentiality and authentication service that can be used for electronic mail and file storage applications. A number of reasons can be cited for this growth. ♦ available free worldwide ♦ It is based on extremely secure algorithm. ♦ wide range of applicability ♦ not developed by governmental organization.
  • 12. Operational description The actual operation of PGP, consists of five services: authentication, confidentiality, compression, e-mail compatibility, and segmentation
  • 13. Authentication 1. sender creates message 2. make SHA-1160-bit hash of message 3. attached RSA signed hash to message 4. receiver decrypts & recovers hash code 5. receiver verifies received message hash
  • 14. Confidentiality 1. sender forms 128-bit random session key 2. encrypts message with session key 3. attaches session key encrypted with RSA 4. receiver decrypts & recovers session key 5. session key is used to decrypt message
  • 15. Confidentiality & Authentication can use both services on same message create signature & attach to message encrypt both message & signature attach RSA/ElGamal encrypted session key
  • 16. Compression ♦ by default PGP compresses message after signing but before encrypting – so can store uncompressed message & signature for later verification – & because compression is non deterministic ♦ uses ZIP compression algorithm
  • 17. Email Compatibility ♦ when using PGP will have binary data 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
  • 18. PGP Operation – Summary
  • 19. 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
  • 20. 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
  • 25. S/MIME (Secure/Multipurpose Internet Mail Extensions) ♦ security enhancement to MIME email – original Internet RFC822 email was text only – MIME provided support for varying content types and multi-part messages – with encoding of binary data to textual form – S/MIME added security enhancements ♦ have S/MIME support in many mail agents – eg MS Outlook, Mozilla, Mac Mail etc
  • 26. Signed mail 1. The user writes the message as clear-text. 2. The message digest is being calculated (using SHA-1[2] or MD5[3]). 3. The message digest is being encrypted using the signer’s private key (DSS[4] or RSA[5]).
  • 28. Encrypted mail 1. The user writes the message as clear-text. 2. A random session key is being created (tripleDES[6] or RC2[7]) 3. The message is being encrypted using the random session key. 4. For every recipient, the session key is being encrypted using the recipient’s public key (DH[8] or RSA[5]).
  • 30. S/MIME Cryptographic Algorithms ♦ digital signatures: DSS & RSA ♦ hash functions: SHA-1 & MD5 ♦ session key encryption: ElGamal & RSA ♦ message encryption: AES, Triple-DES, RC2/40 and others ♦ MAC: HMAC with SHA-1
  • 31. S/MIME Functions ♦ enveloped data – encrypted content and associated keys ♦ signed data – encoded message + signed digest ♦ clear-signed data – cleartext message + encoded signed digest ♦ signed & enveloped data – nesting of signed & encrypted entities