Skip to content
← RegistryDossier · 6 steps · 5 edges

Header smuggling → gateway sees vendor, mailbox sees attacker

Crafted RFC-edge headers cause SPF/DMARC to validate against one From while Outlook renders the other — slips past Microsoft Defender / Proofpoint and lands as a 'verified' message.

Filed by AD Knowledge Base
§ Kill-chainDrag · zoom · scroll

§ Context

Assumed environment: target uses a mainstream secure email gateway. Internal Outlook clients render From per RFC 5322; the gateway parses RFC 5321 envelope — two different views.

§ Steps

  1. 01
    Deliver to target usersInitial Access
    T1566Phishing
  2. 02
    Victim trusts apparent senderExecution
    T1204User Execution
  3. 03
    Identify gateway / mail client versionsReconnaissance
    W-RECON-FINGERPRINTTech Stack Fingerprinting
  4. 04
    Test against catch-all + DefenderDefense Evasion
    W-WAF-BYPASSWAF Bypass
  5. 05
    Cred capture / payload execInitial Access
    PH-AITM-EVILGINXAITM Phishing — Evilginx / Modlishka
  6. 06
    Craft double-From / encoded-header payloadInitial Access
    EM-HEADER-SMUGGLEEmail Header Smuggling

§ References

§ Frequently asked

What is the "Header smuggling → gateway sees vendor, mailbox sees attacker" attack path?
Crafted RFC-edge headers cause SPF/DMARC to validate against one From while Outlook renders the other — slips past Microsoft Defender / Proofpoint and lands as a 'verified' message. It chains 6 steps drawn from real-world offensive-security techniques.
What starting position does this attack require?
The first step is Deliver to target users (T1566) — a initial access primitive. Assumed environment: target uses a mainstream secure email gateway.
What is the final impact of this kill-chain?
The final step lands on Craft double-From / encoded-header payload (EM-HEADER-SMUGGLE), which falls under Initial Access. From here, an operator typically pivots into post-exploitation or maintains persistence.
How can defenders detect or prevent this attack?
Detection and prevention vary per step. Refer to each linked MITRE ATT&CK entry under "References" — every technique on that page lists defensive controls, detection telemetry, and known threat-actor usage.

§ Related dossiers