Lune

USENIX Security2019Top-tier venue

"Johnny, you are fired!" - Spoofing OpenPGP and S/MIME Signatures in Emails

Jens Müller, Marcus Brinkmann, Damian Poddebniak, Hanno Böck, Sebastian Schinzel, Juraj Somorovsky, Jörg Schwenk

Abstract

OpenPGP and S/MIME are the two major standards to encrypt and digitally sign emails. Digital signatures are supposed to guarantee authenticity and integrity of messages. In this work we show practical forgery attacks against various implementations of OpenPGP and S/MIME email signature verification in five attack classes: (1) We analyze edge cases in S/MIME's container format. (2) We exploit in-band signaling in the GnuPG API, the most widely used OpenPGP implementation. (3) We apply MIME wrapping attacks that abuse the email clients' handling of partially signed messages. (4) We analyze weaknesses in the binding of signed messages to the sender identity. (5) We systematically test email clients for UI redressing attacks. Our attacks allow the spoofing of digital signatures for arbitrary messages in 14 out of 20 tested OpenPGP-capable email clients and 15 out of 22 email clients supporting S/MIME signatures. While the attacks do not target the underlying cryptographic primitives of digital signatures, they raise concerns about the actual security of OpenPGP and S/MIME email applications. Finally, we propose mitigation strategies to counter these attacks. 1 We examined OpenPGP keyservers and measured over 20k key uploads per month consistently over the last 4 years. We also found that Thunderbird reports 150k daily users (on work days) for the PGP-plugin Enigmail.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Large-scale and Longitudinal Measurement Study of DKIM Deployment cites End-to-End Measurements of Email Spoofing Attacks
  • A Large-scale and Longitudinal Measurement Study of DKIM Deployment cites Efail: Breaking S/MIME and OpenPGP Email Encryption using Exfiltration Channels
  • FakeBehalf: Imperceptible Email Spoofing Attacks against the Delegation Mechanism in Email Systems cites A Large-scale and Longitudinal Measurement Study of DKIM Deployment
  • FakeBehalf: Imperceptible Email Spoofing Attacks against the Delegation Mechanism in Email Systems cites End-to-End Measurements of Email Spoofing Attacks
  • FakeBehalf: Imperceptible Email Spoofing Attacks against the Delegation Mechanism in Email Systems cites Efail: Breaking S/MIME and OpenPGP Email Encryption using Exfiltration Channels
  • Email Spoofing with SMTP Smuggling: How the Shared Email Infrastructures Magnify this Vulnerability cites End-to-End Measurements of Email Spoofing Attacks
  • Email Spoofing with SMTP Smuggling: How the Shared Email Infrastructures Magnify this Vulnerability cites Efail: Breaking S/MIME and OpenPGP Email Encryption using Exfiltration Channels
  • The Challenges of Bringing Cryptography from Research Papers to Products: Results from an Interview Study with Experts cites Efail: Breaking S/MIME and OpenPGP Email Encryption using Exfiltration Channels
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. The Challenges of Bringing Cryptography from Research Papers to Products: Results from an Interview Study with ExpertsKonstantin Fischer, Ivana Trummová, Phillip Gajland, Yasemin Acar et al.USENIX Security 2024 · 9 citations
  2. FakeBehalf: Imperceptible Email Spoofing Attacks against the Delegation Mechanism in Email SystemsJinrui Ma, Lutong Chen, Kaiping Xue, Bo Luo et al.USENIX Security 2024 · 7 citations
  3. Interface Illusions: Uncovering the Rise of Visual Scams in Cryptocurrency WalletsGuoyi Ye, Geng Hong, Yuan Zhang, Min YangWWW 2024 · 7 citations
  4. A Large-scale and Longitudinal Measurement Study of DKIM DeploymentChuhan Wang, Kaiwen Shen, Minglei Guo, Yuxuan Zhao et al.USENIX Security 2022
  5. Email Spoofing with SMTP Smuggling: How the Shared Email Infrastructures Magnify this VulnerabilityChuhan Wang, Chenkai Wang, Songyi Yang, Sophia Liu et al.USENIX Security 2025

Builds on2

  1. End-to-End Measurements of Email Spoofing AttacksHang Hu, Gang WangUSENIX Security 2018 · 94 citations
  2. Efail: Breaking S/MIME and OpenPGP Email Encryption using Exfiltration ChannelsDamian Poddebniak, Christian Dresen, Jens Müller, Fabian Ising et al.USENIX Security 2018 · 64 citations

Related papers

  1. 27 Years and 81 Million Opportunities Later: Investigating the Use of Email Encryption for an Entire UniversityChristian Stransky, Oliver Wiese, Volker Roth, Yasemin Acar et al.S&P 2022 · 27 citations
  2. S/MINE: Collecting and Analyzing S/MIME Certificates at ScaleGurur Öndarö, Jonas Kaspereit, Samson Umezulike, Christoph Saatjohann et al.USENIX Security 2025
  3. Mitigation of Attacks on Email End-to-End EncryptionJörg Schwenk, Marcus Brinkmann, Damian Poddebniak, Jens Müller et al.CCS 2020 · 10 citations
  4. Content-Type: multipart/oracle - Tapping into Format Oracles in Email End-to-End EncryptionFabian Ising, Damian Poddebniak, Tobias Kappert, Christoph Saatjohann et al.USENIX Security 2023
  5. Styled to Steal: The Overlooked Attack Surface in Email ClientsLeon Trampert, Daniel Weber, Christian Rossow, Michael SchwarzCCS 2025
Dusk over the sea between two cliffs drawn in fine vertical lines