Inbox Invasion: Exploiting MIME Ambiguities to Evade Email Attachment Detectors
Jiahe Zhang, Jianjun Chen, Qi Wang, Hangyu Zhang, Chuhan Wang, Jianwei Zhuge, Haixin Duan
Abstract
Email attachments have become a favored delivery vector for malware campaigns. In response, email attachment detectors are widely deployed to safeguard email security. However, an emerging threat arises when adversaries exploit parsing discrepancies between email detectors and clients to evade detection. Currently, uncovering these vulnerabilities still depends on manual, ad hoc methods. In this paper, we perform the first systematic evaluation of email attachment detection against parsing ambiguity vulnerabilities. We propose a novel testing methodology, MIMEminer, to systematically discover evasion vulnerabilities in email systems. We evaluated our methodology against 16 content detectors of popular email services like Gmail and iCloud, and 7 popular email clients like Outlook and Thunderbird. In total, we discovered 19 new evasion methods affecting all tested email services and clients. We further analyzed these vulnerabilities and identified three primary categories of malware evasions. We have responsibly reported those identified vulnerabilities to the affected providers to help with the remediation of such vulnerabilities and received acknowledgments from Google Gmail, Apple iCloud, Coremail, Tencent, Amavis and Perl MIME-tools.
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.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Break the Wall from Bottom: Automated Discovery of Protocol-Level Evasion Vulnerabilities in Web Application Firewalls cites Forwarding-Loop Attacks in Content Delivery Networks
- Break the Wall from Bottom: Automated Discovery of Protocol-Level Evasion Vulnerabilities in Web Application Firewalls cites T-Reqs: HTTP Request Smuggling with Differential Fuzzing
- My ZIP isn't your ZIP: Identifying and Exploiting Semantic Gaps Between ZIP Parsers cites Break the Wall from Bottom: Automated Discovery of Protocol-Level Evasion Vulnerabilities in Web Application Firewalls
- My ZIP isn't your ZIP: Identifying and Exploiting Semantic Gaps Between ZIP Parsers cites T-Reqs: HTTP Request Smuggling with Differential Fuzzing
- Identifying Logical Vulnerabilities in QUIC Implementations cites Break the Wall from Bottom: Automated Discovery of Protocol-Level Evasion Vulnerabilities in Web Application Firewalls
- Identifying Logical Vulnerabilities in QUIC Implementations cites My ZIP isn't your ZIP: Identifying and Exploiting Semantic Gaps Between ZIP Parsers
- Identifying Logical Vulnerabilities in QUIC Implementations cites The Silent Danger in HTTP: Identifying HTTP Desync Vulnerabilities with Gray-box Testing
- SIPConfusion: Exploiting SIP Semantic Ambiguities for Caller ID and SMS Spoofing cites Forwarding-Loop Attacks in Content Delivery Networks
- SIPConfusion: Exploiting SIP Semantic Ambiguities for Caller ID and SMS Spoofing cites Break the Wall from Bottom: Automated Discovery of Protocol-Level Evasion Vulnerabilities in Web Application Firewalls
- SIPConfusion: Exploiting SIP Semantic Ambiguities for Caller ID and SMS Spoofing cites My ZIP isn't your ZIP: Identifying and Exploiting Semantic Gaps Between ZIP Parsers
- SIPConfusion: Exploiting SIP Semantic Ambiguities for Caller ID and SMS Spoofing cites The Silent Danger in HTTP: Identifying HTTP Desync Vulnerabilities with Gray-box Testing
- Token Time Bomb: Evaluating JWT Implementations for Vulnerability Discovery cites Break the Wall from Bottom: Automated Discovery of Protocol-Level Evasion Vulnerabilities in Web Application Firewalls
- Token Time Bomb: Evaluating JWT Implementations for Vulnerability Discovery cites My ZIP isn't your ZIP: Identifying and Exploiting Semantic Gaps Between ZIP Parsers
- Token Time Bomb: Evaluating JWT Implementations for Vulnerability Discovery cites The Silent Danger in HTTP: Identifying HTTP Desync Vulnerabilities with Gray-box Testing
- The Silent Danger in HTTP: Identifying HTTP Desync Vulnerabilities with Gray-box Testing cites Forwarding-Loop Attacks in Content Delivery Networks
- The Silent Danger in HTTP: Identifying HTTP Desync Vulnerabilities with Gray-box Testing cites Break the Wall from Bottom: Automated Discovery of Protocol-Level Evasion Vulnerabilities in Web Application Firewalls
- The Silent Danger in HTTP: Identifying HTTP Desync Vulnerabilities with Gray-box Testing cites T-Reqs: HTTP Request Smuggling with Differential Fuzzing
Cited by top-tier papers5
- Identifying Logical Vulnerabilities in QUIC ImplementationsKaihua Wang, Jianjun Chen, Pinji Chen, Jianwei Zhuge et al.NDSS 2026 · 1 citation
- SIPConfusion: Exploiting SIP Semantic Ambiguities for Caller ID and SMS SpoofingQi Wang, Jianjun Chen, Jingcheng Yang, Jiahe Zhang et al.NDSS 2026 · 1 citation
- Token Time Bomb: Evaluating JWT Implementations for Vulnerability DiscoveryJingcheng Yang, Enze Wang, Jianjun Chen, Qi Wang et al.NDSS 2026 · 1 citation
- My ZIP isn't your ZIP: Identifying and Exploiting Semantic Gaps Between ZIP ParsersYufan You, Jianjun Chen, Qi Wang, Haixin DuanUSENIX Security 2025
- The Silent Danger in HTTP: Identifying HTTP Desync Vulnerabilities with Gray-box TestingKeran Mu, Jianjun Chen, Jianwei Zhuge, Qi Li et al.USENIX Security 2025
Builds on7
- End-to-End Measurements of Email Spoofing AttacksHang Hu, Gang WangUSENIX Security 2018 · 94 citations
- Extract Me If You Can: Abusing PDF Parsers in Malware DetectorsCurtis Carmony, Xunchao Hu, Heng Yin, Abhishek Vasisht Bhaskar et al.NDSS 2016 · 61 citations
- Forwarding-Loop Attacks in Content Delivery NetworksJianjun Chen, Xiaofeng Zheng, Hai-Xin Duan, Jinjin Liang et al.NDSS 2016 · 44 citations
- T-Reqs: HTTP Request Smuggling with Differential FuzzingBahruz Jabiyev, Steven Sprecher, Kaan Onarlioglu, Engin KirdaCCS 2021 · 35 citations
- Break the Wall from Bottom: Automated Discovery of Protocol-Level Evasion Vulnerabilities in Web Application FirewallsQi Wang, Jianjun Chen, Zheyu Jiang, Run Guo et al.S&P 2024 · 11 citations
Related papers
- A Good Fishman Knows All the Angles: A Critical Evaluation of Google's Phishing Page ClassifierChangqing Miao, Jianan Feng, Wei You, Wenchang Shi et al.CCS 2023 · 2 citations
- Weak Links in Authentication Chains: A Large-scale Analysis of Email Sender Spoofing AttacksKaiwen Shen, Chuhan Wang, Minglei Guo, Xiaofeng Zheng et al.USENIX Security 2021 · 49 citations
- Doubly Dangerous: Evading Phishing Reporting Systems by Leveraging Email Tracking TechniquesAnish Chand, Nick Nikiforakis, Phani VadrevuUSENIX Security 2025
- "Johnny, you are fired!" - Spoofing OpenPGP and S/MIME Signatures in EmailsJens Müller, Marcus Brinkmann, Damian Poddebniak, Hanno Böck et al.USENIX Security 2019 · 34 citations
- Unfiltered: Measuring Cloud-based Email Filtering BypassesSumanth Rao, Enze Liu, Grant Ho, Geoffrey M. Voelker et al.WWW 2024 · 1 citation
