Skip to content
← RegistryDossier · 4 steps · 3 edges

Mailbox forwarding rule → silent data exfil

Compromised user account. Create an Inbox / transport rule that auto-forwards every incoming message to an external attacker mailbox — invisible until an admin reviews mailbox rules.

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

§ Context

Assumed environment: attacker has either a session cookie (via AITM) or an OAuth token (via device-code) to a user's M365 mailbox. Tenant has not disabled external forwarding.

§ Steps

  1. 01
    Quiet collection of inbound mailInitial Access
    T1078Valid Accounts
  2. 02
    Mailbox access via token / cookieInitial Access
    T1078Valid Accounts
  3. 03
    Create forwarding rule to attacker mailboxCollection
    M365-MAILBOX-FORWARDMailbox Forwarding Rule
  4. 04
    Optionally batch-exfil via EWS / GraphCollection
    M365-EWS-EXFILExchange Web Services (EWS) Exfil

§ References

§ Frequently asked

What is the "Mailbox forwarding rule → silent data exfil" attack path?
Compromised user account. Create an Inbox / transport rule that auto-forwards every incoming message to an external attacker mailbox — invisible until an admin reviews mailbox rules. It chains 4 steps drawn from real-world offensive-security techniques.
What starting position does this attack require?
The first step is Quiet collection of inbound mail (T1078) — a initial access primitive. Assumed environment: attacker has either a session cookie (via AITM) or an OAuth token (via device-code) to a user's M365 mailbox.
What is the final impact of this kill-chain?
The final step lands on Optionally batch-exfil via EWS / Graph (M365-EWS-EXFIL), which falls under Collection. 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