Malicious Inbox Rules and Mail Forwarding in Microsoft 365: Detect and Block (2026)

Attackers hide inbox rules and mail forwarding after a Microsoft 365 breach. Learn how Texas SMBs detect them, block forwarding, and respond to account takeover and phishing.
Introduction
The most dangerous thing an attacker does after breaking into a Microsoft 365 mailbox is often not what you see. It is a quiet malicious inbox rule or mail forwarding setting that copies your email to an outside address and hides the replies. For a Texas small business, that hidden rule can sit for weeks, feeding an attacker the invoices, wire details, and customer conversations needed to commit payment fraud, long after the password was reset and everyone thought the incident was over.
Why Attackers Create Inbox Rules
Once a criminal has a valid session, the goal is to stay invisible and keep collecting. An inbox rule does both. A typical rule forwards anything mentioning "invoice," "payment," or "wire" to a free email account, then moves the original into the RSS Feeds or Archive folder, or marks it read, so the real user never notices. Other rules delete security alerts and bounce-backs so the victim never learns something is wrong. This is a common step in business email compromise, and it works because the rule survives a password change. Resetting the password closes the door but leaves the tap on the pipe.
The Settings Attackers Abuse
There are several places a persistent forward can hide, and a quick check of only one is how businesses get reinfected:
- User inbox rules that forward, redirect, or delete messages based on keywords, senders, or subjects.
- Mailbox-level forwarding set through the mailbox properties, which can copy every message to an external address.
- Transport rules created by an administrator account, which apply across the tenant and are easy to overlook.
- Connected applications that were granted mailbox access, so the attacker keeps reading mail without ever using the password again.
How to Spot a Suspicious Rule
Look for rules with odd or blank names, a single punctuation mark as a name, or conditions that match financial words. Any rule that forwards to an address outside your domain deserves immediate scrutiny, as does any rule that deletes mail or moves it to a rarely used folder. Check the audit log for rule creation events, and compare the time of creation against unusual sign-ins, such as logins from a country where you have no staff or from a device nobody recognizes. Tying these signals together is the job of identity threat detection and response, which is far cheaper than discovering the problem when a vendor calls about a payment that went to the wrong account.
Block the Problem Before It Starts
You do not have to rely on catching every rule by hand. Several settings stop most of the damage at the tenant level:
- Disable automatic external forwarding in the outbound spam policy so users cannot forward to outside addresses, and approve exceptions case by case.
- Alert on new inbox rules that forward or delete, and on new transport rules, so a human reviews them the same day.
- Restrict user consent for third-party apps so a stolen login cannot quietly authorize a mailbox-reading application.
- Require strong sign-in controls with Entra conditional access policies so stolen credentials alone are not enough.
These steps line up with the broader Microsoft 365 security hardening checklist, and they are mostly configuration, not new spending.
What to Do If You Find One
Treat a malicious rule as proof of account takeover, not as a nuisance to delete. Work through the response in order so you do not leave a backdoor behind:
- Revoke all active sessions and reset the password, then re-register multi-factor authentication on a trusted device.
- Remove every suspicious inbox rule, mailbox forward, and any application the user does not recognize.
- Search the audit log to learn which messages were forwarded and for how long, since that defines who may have been exposed.
- Alert your finance team and any vendors involved in recent payment discussions to verify bank details by phone.
- Preserve the logs and evidence, because insurers, clients, or counsel may ask for them later.
Your written incident response plan should already name who does each step, and the mailbox audit trail is also the kind of record covered in our Microsoft 365 eDiscovery guide if a dispute follows. Because attackers often arrive through stolen sessions, it is worth reading how infostealer malware and stolen session tokens bypass passwords entirely.
Where to Start
Start with two checks that take under an hour. First, disable automatic external forwarding in your tenant and confirm it with a test mailbox. Second, export every inbox rule and mailbox forward across your users and review anything that sends mail outside the company or deletes it. If the list is long or you find something unfamiliar, bring in a provider offering cybersecurity services to investigate and to set up continuous alerting, and pair it with managed IT services so the tenant settings stay locked down. You can also compare your controls with peers in the Texas SMB IT and cybersecurity benchmark.
Need Help With Cybersecurity?
LayerLogix provides expert cybersecurity solutions for businesses across Houston and nationwide.
Related Articles
Need Expert IT Support?
Let our team help your Houston business with enterprise-grade IT services and cybersecurity solutions.


