Email Forwarding Rules Explained: The Quiet Backdoor That Survives a Password Reset

Change your password after a breach, and you have locked the front door. But if the intruder spent five minutes inside your mailbox first, there is a good chance they also left a window open: an email forwarding rule that quietly copies your mail to an address they control. This Sunday explainer covers what forwarding rules are, why attackers love them, and how anyone, not only security teams, can check their email forwarding rules after a breach.

The timing is not abstract. On 29 October, web host DreamHost disclosed that a third-party component behind its File Manager had been exploited, exposing FTP/SFTP credentials for File Manager users and, for some customers, access to webmail. DreamHost said the affected share was well under 10% of accounts, forced password resets, and told customers to do two things beyond changing passwords: review their website files, and check their email forwarding rules. That second instruction is the subject of this article.

What an email forwarding rule actually is

Every major mail service lets you write small instructions that run automatically on incoming mail. “Move newsletters to a folder.” “Mark anything from my bank as important.” “Forward everything to my personal address while I’m travelling.”

These are useful features. They are also, from an attacker’s point of view, a near-perfect surveillance tool:

  • They run on the server, not on your laptop. No malware, no suspicious process, nothing for antivirus to find.
  • They keep running after you change your password. A rule is a setting on the mailbox, not a logged-in session. Resetting the password ends the attacker’s login; it does not delete the rule they created while they were logged in.
  • Multi-factor authentication does not undo them either. MFA protects the next login. A rule that already exists does not need to log in at all.
  • They are rarely looked at. Most people have never opened the rules screen in their mail client, so a new entry can sit there for months.

MITRE ATT&CK, the industry’s shared catalogue of attacker behaviour, lists this as its own technique: T1114.003, Email Collection: Email Forwarding Rule. That it earns its own entry tells you how common it is.

How attackers use forwarding rules (technical analysis, in plain terms)

Picture an attacker who has stolen a webmail password, through a breach like DreamHost’s, a phishing page, or a reused password. They have a short window before the victim notices. Three patterns show up again and again in incident reports:

1. The silent copy. A rule forwards every incoming message, or only messages containing words like invoice, payment, bank, password or reset, to an outside address. The victim still receives their mail normally, so nothing looks wrong.

2. The disappearing reply. In business email compromise (BEC), attackers pose as a supplier or executive to redirect a payment. To stop the real person seeing the replies, they add a rule that moves any message mentioning the supplier’s name straight to a rarely viewed folder such as Archive, RSS Feeds or Conversation History, or deletes it outright. The conversation carries on without the real owner ever seeing it.

3. The innocent-looking name. Rules are often given names that do not draw the eye: a single full stop, two dots, or something that resembles a system label. Some mail platforms also let rules be created in ways that do not show in the normal settings screen, which is why administrators check from the server side rather than relying on what a user can see.

Why does this matter beyond one inbox? Because email is the reset channel for almost everything else. Whoever reads your mail can request a password reset for your cloud console, your accounting software or your domain registrar, and catch the link before you do. A forwarding rule turns a one-off password theft into ongoing access to every account tied to that mailbox.

Impact: who should care

  • Small businesses and freelancers on shared hosting (the DreamHost situation): one mailbox often handles invoices, client contracts and the admin login for the website itself. Risk: high if you were notified, moderate otherwise.
  • Microsoft 365 and Google Workspace organisations: rules are a standard step in BEC. The financial loss comes from a redirected payment, not the rule itself, but the rule is what keeps the fraud hidden.
  • Cloud teams: if the mailbox that receives AWS, Azure or GCP root-account or billing alerts is quietly forwarding them, the attacker sees your security alerts as soon as you do, or instead of you.

The key point for non-specialists: “I changed my password” is not the same as “I’m clean.” Changing the password removes the attacker’s way in. Checking rules removes what they left behind.

The CloudShieldSecure perspective

At CloudKonsult we keep coming back to the same lesson in this blog: incidents are rarely about the first door an attacker opens; they are about what they set up to keep coming back. We made the same point about cloud roles in how to audit AWS cross-account trust policies: a trust relationship, like a forwarding rule, outlives the password that created it.

That is the thinking behind CloudShieldSecure. Rather than only asking “is this account’s password strong?”, the platform watches for changes to configuration that grants ongoing access, such as new trust relationships, new keys and new integrations, and flags the ones nobody approved. Mail rules are the everyday, non-technical version of the same problem, and the fix is the same habit: after any security scare, inventory what changed, not just who logged in.

For everyone (10 minutes):

  1. Open your mail settings and find “Rules”, “Filters” or “Forwarding”. In Outlook on the web, that is Settings → Mail → Rules and Settings → Mail → Forwarding. In Gmail, it is Settings → See all settings → Filters and Blocked Addresses, plus the Forwarding and POP/IMAP tab.
  2. Delete anything you did not create, especially rules that forward to unfamiliar addresses, delete messages, or move them to folders you never use.
  3. Check the forwarding address field separately. Many services have a mailbox-wide forwarding setting that is not a “rule” and appears on a different screen.
  4. Review recent sign-in activity if your provider shows it, and sign out of all other sessions.
  5. Change your password and turn on MFA, then look at the rules list once more. Doing both matters: the new password stops new logins, and the rule check removes what was already left behind.

For IT and security teams:

  1. Block automatic external forwarding by default. In Microsoft 365, the outbound spam policy’s automatic forwarding setting controls this; the system default blocks it, so confirm nobody has switched it to On. Google Workspace has an equivalent admin control for automatic forwarding. Allow exceptions by named mailbox, not tenant-wide.
  2. Alert on rule creation. New inbox rules that forward externally, delete mail, or match finance keywords should generate an alert. Most SIEM and XDR products ship a ready-made detection for this.
  3. Make rule review part of every account-compromise playbook. A password reset ticket is not closed until mailbox rules, forwarding settings, connected apps and delegated access have been reviewed.
  4. Protect the alert mailboxes. Treat the inboxes that receive cloud root, billing and security notifications as privileged accounts, with MFA and monitoring to match.

Sources & references

Assess your security posture today

CloudShield Secure scans, validates, and prioritises threats across your entire attack surface.

Explore CloudShield Secure →
← Weekly Threat Round-Up: The wfx-loot GitHub … N-central 4EverAble2Shell Zero-Day: Why Hotfix 2 … →