114
Re: What’s up Johnny? Covert Content Attacks on Email End-To-End Encryption Jens Müller , Marcus Brinkmann, Damian Poddebniak, Sebastian Schinzel, Jörg Schwenk

Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Re: What’s up Johnny?Covert Content Attacks on Email End -To-End Encryption

Jens Müller, Marcus Brinkmann, Damian Poddebniak,Sebastian Schinzel, Jörg Schwenk

Page 2: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Remember EFAIL?

2

Page 3: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Last year: EFAIL

Remember EFAIL?

2

Page 4: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Last year: EFAIL– Major attack with a logo

Remember EFAIL?

2

Page 5: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Last year: EFAIL– Major attack with a logo

– Novel attack techniques

targeting S/MIME + PGP

Remember EFAIL?

2

Page 6: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Last year: EFAIL– Major attack with a logo

– Novel attack techniques

targeting S/MIME + PGP

• Today: non-crypto attacks

Remember EFAIL?

2

Page 7: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Last year: EFAIL– Major attack with a logo

– Novel attack techniques

targeting S/MIME + PGP

• Today: non-crypto attacks– Targeting encryption and digital signatures

Remember EFAIL?

2

Page 8: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

1. Introduction2. Attacks on Encryption3. Attacks on Signatures4. Evaluation5. Mitigation

Overview

3

Page 9: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

1. Introduction2. Attacks on Encryption3. Attacks on Signatures4. Evaluation5. Mitigation

Overview

3

Page 10: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Technology's promise

4

Page 11: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

I. “Strong crypto is virtually unbreakable.”

Technology's promise

4

Page 12: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

I. “Strong crypto is virtually unbreakable.”II. “Digital signature will prevail. Math wins.”

Technology's promise

4

Page 13: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

I. “Strong crypto is virtually unbreakable.”II. “Digital signature will prevail. Math wins.”

Technology's promise

…claims I. and II. could be bypassed witha single reply to a benign looking email?

What if…

4

Page 14: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

From: [email protected]: [email protected]: Important news

Some ASCII text message…

Traditional RFC822 email

5

Page 15: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

From: [email protected]: [email protected]: Important news

Some ASCII text message…

Traditional RFC822 email

5

Page 16: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

From: [email protected]: [email protected]: Important news

Some ASCII text message…

Traditional RFC822 email

5

Page 17: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

From: [email protected]: [email protected]: Important news

-----BEGIN PGP MESSAGE-----…-----END PGP MESSAGE-----

Traditional PGP/Inline

6

Page 18: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

From: [email protected]: [email protected]: Important news

-----BEGIN PGP MESSAGE-----…-----END PGP MESSAGE-----

Traditional PGP/Inline

6

Page 19: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

From: [email protected]: [email protected]: Important news

-----BEGIN PGP MESSAGE-----…-----END PGP MESSAGE-----

Traditional PGP/Inline

6

Page 20: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Multipart MIME email

7

Page 21: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Content-type: text/plain

Some ASCII text message…

Content-type: text/plain

This is the 2nd part

From: [email protected]: [email protected]: multipart/mixed; boundary="XXX"

--XXX

--XXX

--XXX--

Multipart MIME email

7

Page 22: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Content-type: text/plain

Some ASCII text message…

Content-type: text/plain

This is the 2nd part

From: [email protected]: [email protected]: multipart/mixed; boundary="XXX"

--XXX

--XXX

--XXX--

Multipart MIME email

7

Page 23: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Content-type: text/plain

Some ASCII text message…

Content-type: text/plain

This is the 2nd part

From: [email protected]: [email protected]: multipart/mixed; boundary="XXX"

--XXX

--XXX

--XXX--

Multipart MIME email

7

Page 24: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Content-type: text/plain

Some ASCII text message…

Content-type: text/plain

This is the 2nd part

From: [email protected]: [email protected]: multipart/mixed; boundary="XXX"

--XXX

--XXX

--XXX--

Multipart MIME email

7

Page 25: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Content-type: text/plain

Some ASCII text message…

Content-type: text/plain

This is the 2nd part

From: [email protected]: [email protected]: multipart/mixed; boundary="XXX"

--XXX

--XXX

--XXX--

Multipart MIME email

multipart/mixed

7

Page 26: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Content-type: text/plain

Some ASCII text message…

Content-type: text/plain

This is the 2nd part

From: [email protected]: [email protected]: multipart/mixed; boundary="XXX"

--XXX

--XXX

--XXX--

Multipart MIME email

multipart/mixed

texttext

7

Page 27: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

From: [email protected]: [email protected]: multipart/mixed; boundary="XXX"

--XXX

--XXX

--XXX--

Content-type: text/html

<b>HTML</b> message…

Content-type: application/pdf

%PDF-1.4 […]

Multipart MIME email

multipart/mixed

pdfhtml

7

Page 28: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

From: [email protected]: [email protected]: Important newsContent-Type: application/pkcs7-mime

MIAGCSqGSIb3DQEHA6CAMIACAQAxggHJMIIB…

S/MIME

8

Page 29: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

From: [email protected]: [email protected]: Important newsContent-Type: application/pkcs7-mime

MIAGCSqGSIb3DQEHA6CAMIACAQAxggHJMIIB…

S/MIME

8

Page 30: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

From: [email protected]: [email protected]: Important newsContent-Type: application/pkcs7-mime

MIAGCSqGSIb3DQEHA6CAMIACAQAxggHJMIIB…

S/MIME

8

Page 31: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

OpenPGP (RFC 4880)• Favored by privacy advocates• Web-of-trust (no authorities)

S/MIME (RFC 5751)• Favored by organizations• Multi-root trust-hierarchies

Two competing standards

9

Page 32: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

OpenPGP (RFC 4880)• Favored by privacy advocates• Web-of-trust (no authorities)

S/MIME (RFC 5751)• Favored by organizations• Multi-root trust-hierarchies

Two competing standards

9

Page 33: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

1. Introduction2. Attacks on Encryption3. Attacks on Signatures4. Evaluation5. Mitigation

Overview

10

Page 34: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

1. Introduction2. Attacks on Encryption3. Attacks on Signatures4. Evaluation5. Mitigation

Overview

10

Page 35: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Attacker model

11

Page 36: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Eve has captured ciphertext

Attacker model

11

Page 37: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Eve has captured ciphertext• Can modify email structure

Attacker model

11

Page 38: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Eve has captured ciphertext• Can modify email structure • Can re-send it to the victim

Attacker model

11

Page 39: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Eve has captured ciphertext• Can modify email structure • Can re-send it to the victim

– Either to recipient or sender

Attacker model

11

Page 40: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Eve has captured ciphertext• Can modify email structure • Can re-send it to the victim

– Either to recipient or sender– Both can decrypt the email

Attacker model

11

Page 41: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Covert content attack: Decryption oracle

12

Page 42: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Covert content attack: Decryption oracle

12

Page 43: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Covert content attack: Decryption oracle

12

Page 44: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Covert content attack: Decryption oracle

12

Page 45: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

To: [email protected]

Decryption oracle

From: [email protected]

Content-Type: application/pkcs7-mime

MIAGCSqGSIb3DQEHA6CAMIACAQAxggHJMIIB…

13

Page 46: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

To: [email protected]

Decryption oracle

From: [email protected]

Content-Type: application/pkcs7-mime

MIAGCSqGSIb3DQEHA6CAMIACAQAxggHJMIIB…

13

Page 47: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

To: [email protected]

Decryption oracle

From: [email protected]

Content-Type: application/pkcs7-mime

MIAGCSqGSIb3DQEHA6CAMIACAQAxggHJMIIB…

13

Page 48: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

To: [email protected]

Decryption oracle

From: [email protected]

Content-Type: application/pkcs7-mime

MIAGCSqGSIb3DQEHA6CAMIACAQAxggHJMIIB…

13

Page 49: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

To: [email protected]

Decryption oracle

From: [email protected]

Content-Type: application/pkcs7-mime

MIAGCSqGSIb3DQEHA6CAMIACAQAxggHJMIIB…

13

Page 50: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Content-type: multipart/mixed; boundary="XXX"

--XXX

--XXX

--XXX--

To: [email protected]

Decryption oracle

From: [email protected]

Content-Type: application/pkcs7-mime

MIAGCSqGSIb3DQEHA6CAMIACAQAxggHJMIIB…

13

Page 51: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Content-type: multipart/mixed; boundary="XXX"

--XXX

--XXX

--XXX--

To: [email protected]

Decryption oracle

From: [email protected]

Content-Type: application/pkcs7-mime

MIAGCSqGSIb3DQEHA6CAMIACAQAxggHJMIIB…

Content-type: text/plain

What's up Johnny?

13

Page 52: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Content-type: multipart/mixed; boundary="XXX"

--XXX

--XXX

--XXX--

To: [email protected]

Decryption oracle

From: [email protected]

Content-Type: application/pkcs7-mime

MIAGCSqGSIb3DQEHA6CAMIACAQAxggHJMIIB…

Content-type: text/plain

What's up Johnny?

multipart/mixed

???text

13

Page 53: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Content-type: multipart/mixed; boundary="XXX"

--XXX

--XXX

--XXX--

Content-type: text/plain

Secret message, for Johnny's eyes only…

To: [email protected]

Decryption oracle

From: [email protected]

Content-type: text/plain

What's up Johnny?

multipart/mixed

text secret

13

Page 54: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Content-type: multipart/mixed; boundary="XXX"

--XXX

--XXX

--XXX--

Content-type: text/plain

Secret message, for Johnny's eyes only…

To: [email protected]

Decryption oracle

From: [email protected]

Content-type: text/plain

What's up Johnny?

13

Page 55: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Content-type: multipart/mixed; boundary="XXX"

--XXX

--XXX

--XXX--

Content-type: text/plain

Secret message, for Johnny's eyes only…

To: [email protected]

Decryption oracle

From: [email protected]

Content-type: text/plain

What's up Johnny?

13

Page 56: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Content-type: multipart/mixed; boundary="XXX"

--XXX

--XXX

--XXX--

Content-type: text/plain

Secret message, for Johnny's eyes only…

To: [email protected]

Decryption oracle

From: [email protected]

Content-type: text/plain

What's up Johnny?\n\n\n\n\n\n…

13

Page 57: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Content-type: multipart/mixed; boundary="XXX"

--XXX

--XXX

--XXX--

Content-type: text/plain

Secret message, for Johnny's eyes only…

To: [email protected]

Decryption oracle

From: [email protected]

Content-type: text/plain

What's up Johnny?\n\n\n\n\n\n…

13

Page 58: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Content-type: multipart/mixed; boundary="XXX"

--XXX

--XXX

--XXX--

Content-type: text/plain

Secret message, for Johnny's eyes only…

To: [email protected]

Decryption oracle

From: [email protected]

Content-type: text/html

What's up Johnny? <!--

13

Page 59: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Content-type: multipart/mixed; boundary="XXX"

--XXX

--XXX

--XXX--

Content-type: text/plain

Secret message, for Johnny's eyes only…

To: [email protected]

Decryption oracle

From: [email protected]

Content-type: text/html

What's up Johnny? <!--

13

Page 60: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Content-type: multipart/mixed; boundary="XXX"

--XXX

--XXX

--XXX--

Content-ID: <part2>

Secret message, for Johnny's eyes only…

To: [email protected]

Decryption oracle

From: [email protected]

Content-type: text/html

What's up Johnny? <img src="cid:part2">

13

Page 61: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Content-type: multipart/mixed; boundary="XXX"

--XXX

--XXX

--XXX--

Content-Disposition: attachment

Secret message, for Johnny's eyes only…

To: [email protected]

Decryption oracle

From: [email protected]

Content-type: text/plain

What's up Johnny?

13

Page 62: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

1. Introduction2. Attacks on Encryption3. Attacks on Signatures4. Evaluation5. Mitigation

Overview

14

Page 63: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

1. Introduction2. Attacks on Encryption3. Attacks on Signatures4. Evaluation5. Mitigation

Overview

14

Page 64: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Covert content attack: Signing oracle

15

Page 65: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Covert content attack: Signing oracle

15

Page 66: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Covert content attack: Signing oracle

15

Page 67: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Covert content attack: Signing oracle

15

Page 68: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Covert content attack: Signing oracle

15

Page 69: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

From: [email protected]: [email protected]: text/html

What's up Johnny?I hereby declare war.

Signature oracle

16

Page 70: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Signature oracle

From: [email protected]: [email protected]: text/html

What's up Johnny?<div class="covert"> I hereby declare war. </div>

16

Page 71: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Signature oracle

From: [email protected]: [email protected]: text/html

<style>IF condition:Hide * but show .covert

</style>What's up Johnny?<div class="covert">I hereby declare war.</div>

16

Page 72: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Signature oracle

From: [email protected]: [email protected]: text/html

<style>@media (max-device-width: 834px) {.covert {visibility: hidden;}}

</style>What's up Johnny?<div class="covert">I hereby declare war.</div>

hide covertcontent on mobile devices

16

Page 73: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Signature oracle

From: [email protected]: [email protected]: text/html

<style>@media (max-device-width: 834px) {.covert {visibility: hidden;}}

@media (min-device-width: 835px) {* {visibility: hidden;}.covert {visibility: visible}}

</style>What's up Johnny?<div class="covert">I hereby declare war.</div>

but show on desktop devices

16

Page 74: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

I'm fine, thanks.

On 01/05/19 09:53, Eve wrote:> What's up Johnny?

Re: What's up Johnny?

17

Page 75: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

I'm fine, thanks.

On 01/05/19 09:53, Eve wrote:> What's up Johnny?

Re: What's up Johnny?

Reply email sent from Johnny’s mobile phone

17

Page 76: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

I'm fine, thanks.

On 01/05/19 09:53, Eve wrote:> What's up Johnny?

Re: What's up Johnny?

Reply email sent from Johnny’s mobile phone

17

Page 77: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

I'm fine, thanks.

On 01/05/19 09:53, Eve wrote:> What's up Johnny?

Re: What's up Johnny?

I hereby declare war.

Signed email received on a desktop device

Reply email sent from Johnny’s mobile phone

17

Page 78: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Conditional rules

18

Page 79: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Targeting device type (@media)

Conditional rules

18

Page 80: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Targeting device type (@media)• Targeting email client (@supports)

Conditional rules

18

Page 81: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Targeting device type (@media)• Targeting email client (@supports)• Targeting user account (@document)

Conditional rules

18

Page 82: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Targeting device type (@media)• Targeting email client (@supports)• Targeting user account (@document)

Conditional rules

18

Page 83: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

1. Introduction2. Attacks on Encryption3. Attacks on Signatures4. Evaluation5. Mitigation

Overview

19

Page 84: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

1. Introduction2. Attacks on Encryption3. Attacks on Signatures4. Evaluation5. Mitigation

Overview

19

Page 85: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

OS ClientDecryption Signatures

S/MIME PGP S/MIME PGP

Windows

ThunderbirdOutlookWin. 10 MailWin Live MailThe Bat!PostboxeM Client

Linux

KMailEvolutionTrojitáClawsMutt

macOSApple MailMailMateAirmail

iOS Mail App

Android

K-9 MailR2Mail2MailDroidNine

Web

Exchange/OWARoundcubeHorde/IMPMailpile

● Plaintext can be completely hidden

◐ Plaintext merged with attacker-text

○ No vulnerabilities found

– Cryptosystem not available

Decryption oracles

● Covert rules kept in reply message

◐ Covert rules only for received mail

Signature oracles

20

Page 86: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

OS ClientDecryption Signatures

S/MIME PGP S/MIME PGP

Windows

Thunderbird ●Outlook ○Win. 10 Mail ○Win Live Mail ○The Bat! ○Postbox ●eM Client ○

Linux

KMail ◐Evolution ◐Trojitá ◐Claws ◐Mutt ◐

macOSApple Mail ●MailMate ●Airmail ●

iOS Mail App ●

Android

K-9 Mail –R2Mail2 ○MailDroid ○Nine ○

Web

Exchange/OWA ○Roundcube –Horde/IMP ○Mailpile –

● Plaintext can be completely hidden

◐ Plaintext merged with attacker-text

○ No vulnerabilities found

– Cryptosystem not available

Decryption oracles

● Covert rules kept in reply message

◐ Covert rules only for received mail

Signature oracles

20

Page 87: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

OS ClientDecryption Signatures

S/MIME PGP S/MIME PGP

Windows

Thunderbird ● ●Outlook ○ ○Win. 10 Mail ○ –Win Live Mail ○ –The Bat! ○ ○Postbox ● ●eM Client ○ ○

Linux

KMail ◐ ◐Evolution ◐ ◐Trojitá ◐ ◐Claws ◐ ◐Mutt ◐ ◐

macOSApple Mail ● ●MailMate ● ●Airmail ● ●

iOS Mail App ● –

Android

K-9 Mail – ○R2Mail2 ○ ●MailDroid ○ ○Nine ○ –

Web

Exchange/OWA ○ –Roundcube – ◐Horde/IMP ○ ○Mailpile – ○

● Plaintext can be completely hidden

◐ Plaintext merged with attacker-text

○ No vulnerabilities found

– Cryptosystem not available

Decryption oracles

● Covert rules kept in reply message

◐ Covert rules only for received mail

Signature oracles

20

Page 88: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

OS ClientDecryption Signatures

S/MIME PGP S/MIME PGP

Windows

Thunderbird ● ● ●Outlook ○ ○ ◐Win. 10 Mail ○ – ◐Win Live Mail ○ – ●The Bat! ○ ○ ○Postbox ● ● ●eM Client ○ ○ ◐

Linux

KMail ◐ ◐ ○Evolution ◐ ◐ ◐Trojitá ◐ ◐ ◐Claws ◐ ◐ ○Mutt ◐ ◐ ○

macOSApple Mail ● ● ◐MailMate ● ● ●Airmail ● ● ●

iOS Mail App ● – ●

Android

K-9 Mail – ○ –R2Mail2 ○ ● ◐MailDroid ○ ○ ●Nine ○ – ●

Web

Exchange/OWA ○ – ●Roundcube – ◐ ◐Horde/IMP ○ ○ ◐Mailpile – ○ –

● Plaintext can be completely hidden

◐ Plaintext merged with attacker-text

○ No vulnerabilities found

– Cryptosystem not available

Decryption oracles

● Covert rules kept in reply message

◐ Covert rules only for received mail

Signature oracles

20

Page 89: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

OS ClientDecryption Signatures

S/MIME PGP S/MIME PGP

Windows

Thunderbird ● ● ● ●Outlook ○ ○ ◐ ◐Win. 10 Mail ○ – ◐ –Win Live Mail ○ – ● –The Bat! ○ ○ ○ ○Postbox ● ● ● ●eM Client ○ ○ ◐ ◐

Linux

KMail ◐ ◐ ○ ○Evolution ◐ ◐ ◐ ◐Trojitá ◐ ◐ ◐ ◐Claws ◐ ◐ ○ ○Mutt ◐ ◐ ○ ○

macOSApple Mail ● ● ◐ ◐MailMate ● ● ● ●Airmail ● ● ● ●

iOS Mail App ● – ● –

Android

K-9 Mail – ○ – ●R2Mail2 ○ ● ◐ ◐MailDroid ○ ○ ● ●Nine ○ – ● –

Web

Exchange/OWA ○ – ● –Roundcube – ◐ ◐ ◐Horde/IMP ○ ○ ◐ ◐Mailpile – ○ – ○

● Plaintext can be completely hidden

◐ Plaintext merged with attacker-text

○ No vulnerabilities found

– Cryptosystem not available

Decryption oracles

● Covert rules kept in reply message

◐ Covert rules only for received mail

Signature oracles

20

Page 90: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

OS ClientDecryption Signatures

S/MIME PGP S/MIME PGP

Windows

Thunderbird ● ● ● ●Outlook ○ ○ ◐ ◐Win. 10 Mail ○ – ◐ –Win Live Mail ○ – ● –The Bat! ○ ○ ○ ○Postbox ● ● ● ●eM Client ○ ○ ◐ ◐

Linux

KMail ◐ ◐ ○ ○Evolution ◐ ◐ ◐ ◐Trojitá ◐ ◐ ◐ ◐Claws ◐ ◐ ○ ○Mutt ◐ ◐ ○ ○

macOSApple Mail ● ● ◐ ◐MailMate ● ● ● ●Airmail ● ● ● ●

iOS Mail App ● – ● –

Android

K-9 Mail – ○ – ●R2Mail2 ○ ● ◐ ◐MailDroid ○ ○ ● ●Nine ○ – ● –

Web

Exchange/OWA ○ – ● –Roundcube – ◐ ◐ ◐Horde/IMP ○ ○ ◐ ◐Mailpile – ○ – ○

● Plaintext can be completely hidden

◐ Plaintext merged with attacker-text

○ No vulnerabilities found

– Cryptosystem not available

Decryption oracles

● Covert rules kept in reply message

◐ Covert rules only for received mail

Signature oracles

20

Page 91: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

1. Introduction2. Attacks on Encryption3. Attacks on Signatures4. Evaluation5. Mitigation

Overview

21

Page 92: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

1. Introduction2. Attacks on Encryption3. Attacks on Signatures4. Evaluation5. Mitigation

Overview

21

Page 93: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Decryption oracles

22

Page 94: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Accepting ASCII text only

Decryption oracles

22

Page 95: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Accepting ASCII text only

Decryption oracles

22

Page 96: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Accepting ASCII text only• Enforcing digital signatures

Decryption oracles

22

Page 97: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Accepting ASCII text only• Enforcing digital signatures

Decryption oracles

22

Page 98: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Accepting ASCII text only• Enforcing digital signatures• Warn on partial encryption

Decryption oracles

22

Page 99: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Accepting ASCII text only• Enforcing digital signatures• Warn on partial encryption

Decryption oracles

22

Page 100: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Accepting ASCII text only• Enforcing digital signatures• Warn on partial encryption• All-or-Nothing Encryption

Decryption oracles

22

Page 101: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Accepting ASCII text only• Enforcing digital signatures• Warn on partial encryption• All-or-Nothing Encryption

Decryption oracles

Root causes: long-term keys +ciphertext usage out-of-context

22

Page 102: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Signing oracles

23

Page 103: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Dropping CSS Support

Signing oracles

23

Page 104: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Dropping CSS Support

Signing oracles

23

Page 105: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Dropping CSS Support• Only ASCII Text in replies

Signing oracles

23

Page 106: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Dropping CSS Support• Only ASCII Text in replies• Remove styles from replies

Signing oracles

23

Page 107: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Conclusion

24

Page 108: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Crypto is not enough, bypasses exist

Conclusion

24

Page 109: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Crypto is not enough, bypasses exist• 22 of 24 tested clients are vulnerable

Conclusion

24

Page 110: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Crypto is not enough, bypasses exist• 22 of 24 tested clients are vulnerable• Building security on top of email is hard

Conclusion

24

Page 111: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

• Crypto is not enough, bypasses exist• 22 of 24 tested clients are vulnerable• Building security on top of email is hard

Conclusion

Thank you! Questions?Exploits: github.com/RUB-NDS/Covert-Content-Attacks

24

Page 112: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

HTML and CSS support in various email clients

Page 113: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Proprietary conditional features

Page 114: Re: What’s up Johnny? - DEF CON CON 27/DEF CON 27... · S/MIME PGP S/MIME PGP Windows Thunderbird Outlook Win. 10 Mail Win Live Mail The Bat! Postbox eM Client Linux KMail Evolution

Blinding options