A trucking company shared on Reddit(새 창) how an attacker got into its dispatcher’s email and tried to divert its cargo. It started with a phishing link disguised as a routine “setup” request from a business partner. The attacker then quietly deleted booking emails and blocked notifications, and it took about a week for anyone to notice.
Everything that enabled this to happen took place in the background, through settings most people never open. Forwarding rules and inbox filters are among the easiest of those settings to abuse, but luckily they’re also easy to check.
This guide shows you how to look for them in Gmail and Outlook, what a malicious rule looks like, and what to do if you find one.
What is a hidden forwarding rule?
A forwarding rule is a setting that tells your inbox to do something automatically when a message arrives. Most people use them for efficiency, such as moving newsletters into a dedicated folder. Attackers use the same feature to access your emails even if they can no longer access your account.
If someone has access to your account, even just for a few minutes, they can set up rules that:
- Forward a copy of your mail to an address they control, so they can read invoices, contracts, and password reset emails
- Delete or archive messages from specific senders, such as your bank, a key client, or your email provider’s security alerts
- Mark messages as read or move them to a folder you never open, like RSS Feeds or Archive
- Target keywords such as “invoice,” “payment,” or “bank details,” so only the most valuable emails are touched
The problem is that changing your password doesn’t remove any of this. Rules are stored in your mailbox, not tied to your login. If you reset your password but don’t check your rules, the attacker can keep reading your mail indefinitely.
This is why forwarding rules are a favorite tool in business email compromise, where criminals quietly watch a conversation about a payment, then step in at the right moment with new bank details.
Warning signs to look out for
You don’t need a reason to check your rules — a quick look every few months is a good habit to get into. But check right away if you notice any of these:
- Expected emails don’t arrive. A client says they replied, a supplier says they sent the invoice, but there’s nothing in your inbox or spam folder.
- Messages you haven’t opened are marked as read, or replies appear in odd folders.
- Customers or suppliers mention emails you didn’t send, especially ones asking to update payment details.
- Security alerts have stopped. If you normally get sign-in notifications and they’ve gone quiet, that’s suspicious in itself.
- You see a forwarding notice you don’t recognize. Gmail shows a banner for a week after forwarding is turned on. If you didn’t set it up, treat it as an emergency.
- You recently clicked a link or installed software at someone else’s request, or entered your password on a page that didn’t look quite right.
How to check Gmail for hidden forwarding rules
These steps work for personal Gmail and Google Workspace accounts. Use a computer — most of these settings aren’t available in the Gmail mobile app.
- Check automatic forwarding
In Gmail, click the gear icon, then See all settings → Forwarding and POP/IMAP. Under Forwarding, Disable forwarding should be selected, and there should be no address you don’t recognize. If you find one, select Disable forwarding, click Remove address, and save your changes.
- Check your filters
Go to Filters and Blocked Addresses. Read each filter and ask yourself whether you created it. Pay close attention to any filter that:
- Forwards mail to another address
- Deletes messages or uses Skip the Inbox (Archive it)
- Marks messages as read
- Matches words like “invoice,” “payment,” “security,” or “password,” or the name of your bank or a major client
Delete anything you don’t recognize. While you’re on this tab, check the blocked addresses list too. An attacker can block your bank or IT provider so their warnings never reach you.
- Check who else has access
Go to Accounts and Import → Grant access to your account. Anyone listed here can read and send mail as you. Remove anyone you didn’t add.
- Check POP and IMAP
On Forwarding and POP/IMAP, look at whether POP or IMAP has been switched on. These let an email app download your mail. If you don’t use a separate email app, you can turn them off.
- Check signed-in devices and connected apps
Open your Google Account and go to Security. Under Your devices, sign out of anything you don’t recognize. Under Your connections to third-party apps and services, remove apps you don’t use. A malicious app with access to your Gmail can recreate a rule you just deleted.
How to check Outlook and Microsoft 365 for hidden forwarding rules
These steps cover Outlook.com, new Outlook, and Outlook on the web, which share the same settings. Rules sync from the cloud, so checking in one place shows you the rules for your whole account.
- Check automatic forwarding
Click the gear icon, then go to Mail → Forwarding. Forwarding should be off, with no address you don’t recognize. If you find one, select Disable forwarding and save.
- Check your inbox rules
Go to Mail → Rules. Look at each rule’s name and what it does. Attackers often use names that are easy to miss, like a single dot, a dash, or a word like “sync.” Be suspicious of any rule that forwards or redirects mail, deletes it, marks it as read, or moves it to a folder such as RSS Feeds, Conversation History, or Archive. Delete anything you didn’t create.
If you use classic Outlook for Windows, you can also see rules under File → Manage Rules & Alerts.
- Check your blocked senders
Go to Mail → Junk email and look at the Blocked senders and domains list. Remove any address you didn’t add. In the trucking company’s case, strange addresses on the block list were the first clue that something was wrong.
- Check recent sign-ins
For a personal Microsoft account, go to account.microsoft.com, open Security, and review your sign-in activity. For a work account, your admin can check sign-in logs in the Microsoft Entra admin center.
For IT teams and Microsoft 365 admins
If someone manages IT for your business and you’re worried about anything, share this section with them. You don’t need to do this yourself (and may not have access to).
Check for hidden rules
In Microsoft 365 and Exchange, an attacker can edit a rule so it disappears from Outlook and Outlook on the web while it keeps forwarding or deleting mail. This was reported to Microsoft in 2018 and remains possible today(새 창). Run Get-InboxRule -Mailbox user@company.com -IncludeHidden in Exchange Online PowerShell. Without -IncludeHidden, these rules won’t appear.
Block external forwarding
Check the outbound spam policy in Microsoft Defender. Automatic forwarding to outside addresses is blocked by default, so make sure nobody has switched that off, and only allow exceptions for people who need them.
What to do if you find a rule you didn’t create
Finding a malicious rule means someone has had access to your account. Deleting the rule is only the first step. Work through the following in order, ideally from a device you trust.
Take a screenshot first. Note the rule’s name, what it does, and any address it forwards to. You’ll want this if you report the incident or need to work out what was exposed.
Change your password and sign out everywhere. Do this straight away. Use a new, unique password. Both Google and Microsoft let you sign out of all other sessions, which cuts off anyone still logged in.
Turn on two-factor authentication, or check that your existing 2FA methods and recovery email and phone number haven’t been changed.
Remove unfamiliar devices and apps. Remote access tools are a common way in. If you installed software at someone else’s request, have it checked or removed.
Delete the rule and turn off forwarding. Check again a day or two later. If the rule comes back, the attacker still has a way in that you haven’t found, such as a signed-in device or a connected app.
Warn the people who matter. Tell clients and suppliers that your account was compromised, and that they should confirm any request to change payment details by phone, using a number they already have.
Look at what was forwarded. The forwarding address tells you who has been reading your mail. Think about what passed through your inbox during that time, such as invoices, contracts, or customer details. Depending on where you’re based, you may need to report a data breach.
How to stop it happening again
Forwarding rules are a symptom; the real problem is someone getting into your account in the first place. Here are some ways to prevent unauthorized access to your accounts.
Put a check in your calendar. Ten minutes every three months to review forwarding, filters, and connected apps is enough to catch most problems early. Ask anyone in your business who handles payments or bookings to do the same.
Use unique passwords and two-factor authentication. A stolen password from another site shouldn’t open your inbox. A business password manager like Proton Pass creates and stores a unique password for every account, and an authenticator app can add another layer of security.
Be wary of setup links and remote access requests. The trucking company attack started with a link that looked like part of a routine booking. If someone asks you to install software or sign in through a link, check with them through another channel first. AI-generated phishing makes these requests look more convincing than ever, so a polished message is no reason to trust it.
Agree on a payment rule. Make it company policy that changes to bank details are always confirmed by phone, using a number you already have. This one habit defeats most business email compromise scams, even when an attacker is reading your inbox.
Choose a business email provider built for privacy. Proton Mail uses end-to-end and zero-access encryption, so your messages are protected from everyone — even us. For businesses, Proton Sentinel adds extra monitoring for suspicious sign-ins, and admins can manage every account in their organization from one place.
An attacker in your inbox is most dangerous when nobody’s looking. Taking ten minutes to look is one of the simplest things you can do to protect your business.






