Transport rules in Exchange Online — also called mail flow rules — are server-side rules that apply to all email passing through your organisation's mail infrastructure. They operate before email reaches user inboxes, can silently copy, redirect, modify, or delete messages, and apply organisation-wide rather than per-user. This makes them a powerful administrative tool and, in the wrong hands, a powerful exfiltration mechanism.
Unlike inbox rules, which are set per-user and visible in the user's Outlook, transport rules are invisible to end users and require Exchange admin access to create or modify. A change to a transport rule — especially one that wasn't planned or approved — should always be investigated promptly, because a single well-crafted rule can silently copy all email from an entire domain to an external address.
A malicious transport rule can forward copies of all emails matching certain criteria — or all emails entirely — to an external address the attacker controls. Unlike per-user forwarding rules, a transport rule operates at the server level and affects every matching message regardless of the recipient's inbox settings or awareness.
Transport rules can also be used to: delete specific emails before delivery (to suppress alerts or notifications), modify message content (to redirect payment instructions in BEC attacks), strip attachments from certain email classes, or bypass spam/phishing filters for specific senders. These modifications happen silently and leave no visible trace for end users.
In Business Email Compromise attacks, attackers often modify existing transport rules rather than creating new ones, to reduce the likelihood of detection.
Transport rule changes are a routine part of Exchange Online administration. Legitimate scenarios include:
Any legitimate transport rule change should have a corresponding ticket, change request, or administrative audit trail linking it to a specific project or policy decision. Unexplained changes, new rules that forward to external addresses, or modifications to existing rules that add external forwarding are the key red flags.
Get-TransportRule), review the current transport rules and identify what was changed, created, or deletedGet-TransportRule | Export-Csv to capture a full snapshot of current transport rules as a baseline for future comparisonOvere Auto-Response: The Transport Rule Changed alert can be configured in Overe to trigger automatic session revocation or account block for the initiating admin when unauthorised mail flow changes are detected. Review your Auto-Response settings under Org Config > Auto-Response.
After investigating a transport rule change alert, review these related risk areas: