Quick answer: A malicious email forwarding rule can allow an attacker to keep receiving copies of selected messages after compromising an email account. The rule may forward invoices, password-reset messages, financial discussions, or confidential documents to an external address without making the activity obvious to the account owner. If you suspect an attack, inspect both forwarding settings and inbox rules, remove unauthorized rules, reset credentials, revoke active sessions, review connected applications, and investigate other account activity. Changing the password alone is not a complete incident-response plan.
An email account can appear normal even when someone else is quietly receiving its messages. An employee may continue reading and replying to emails while an attacker receives copies of invoices, customer conversations, password-reset notifications, and internal documents through an automated forwarding rule.
This is one reason compromised email accounts can remain dangerous after the initial phishing message has disappeared. The attacker does not necessarily need to sign in every day. A rule created inside the mailbox can continue performing a task automatically.
Microsoft documents suspicious inbox forwarding rules as a recognized technique in business email compromise and phishing investigations. Google Workspace also warns administrators that automatic forwarding can be abused to extract organizational information.
The important lesson is that securing an email account involves more than changing its password. Users and administrators must understand how forwarding, inbox filters, connected applications, and account sessions can be abused.
1. What Is an Email Forwarding Rule?
An email forwarding rule is an instruction that automatically sends incoming messages to another email address or mailbox. It is a normal productivity feature. People use it to consolidate several inboxes, route customer inquiries, or send selected messages to a colleague.
An inbox rule can perform several actions, including:
- Forwarding a message to another email address.
- Redirecting messages while preserving the original sender information in supported systems.
- Moving messages into a specific folder.
- Deleting or archiving messages.
- Marking messages as read.
- Applying actions only when certain words, senders, or subjects appear.
These functions are not inherently dangerous. The risk appears when someone creates or changes a rule without authorization.
For example, an employee may have an inbox rule that moves ordinary newsletters into a folder. An attacker who gains access to that mailbox could create another rule that forwards messages containing the words "invoice," "payment," or "bank details" to an external address.
The employee might never notice that the selected messages are also leaving the organization.
2. How Attackers Use Forwarding Rules
Forwarding-rule attacks generally occur after an attacker obtains access to an email account. The initial compromise may result from phishing, stolen credentials, password reuse, malware, or another account-access technique.
The attacker may then examine the mailbox to understand the victim's relationships, responsibilities, and ongoing business activity.
Step 1: Gain access to the mailbox
The attacker first needs a way to access the account. A convincing fake Microsoft 365 or Google sign-in page can capture credentials. Other possibilities include stolen browser sessions, reused passwords, or compromised devices.
The attacker does not necessarily need to compromise the company's entire network. Access to one employee's mailbox may be sufficient to collect useful business information.
Step 2: Study existing conversations
After entering the account, the attacker may search for messages involving finance departments, suppliers, customers, executives, purchase orders, and payment instructions.
This reconnaissance helps identify which communications are valuable and which messages should be monitored.
Step 3: Create a forwarding or manipulation rule
The attacker creates an inbox rule that sends selected messages to an external address. The rule may apply to all incoming messages or only to messages containing specific keywords.
Targeted forwarding is particularly dangerous because it can look less unusual than sending every message outside the organization.
Step 4: Hide important communications
Some malicious rules move selected messages into unexpected folders, mark them as read, or delete notifications. This can make it harder for the legitimate user to recognize that a fraudulent conversation is taking place.
Microsoft's investigation guidance specifically recommends checking forwarding destinations, rule conditions, the IP address used to create a rule, and other suspicious activity around the same time.
Step 5: Exploit the information
The attacker may use the collected information to impersonate an employee, redirect a supplier payment, prepare a convincing phishing message, or gather confidential information for another attack.
This is why forwarding rules can become part of a business email compromise (BEC) operation. The goal is not always to steal the mailbox itself. It may be to exploit the trust already established between employees, suppliers, and customers.
3. Why These Attacks Can Be Difficult to Notice
Forwarding rules are legitimate administrative features, so their presence does not automatically indicate a compromise. Employees create filters and rules regularly, and some organizations use automated routing for genuine business purposes.
The difficulty is distinguishing ordinary configuration changes from unauthorized ones.
The mailbox still appears to work normally
The victim can continue receiving and sending messages. A malicious forwarding rule does not necessarily interrupt normal email activity.
As a result, an employee may not suspect anything until a supplier reports unusual payment instructions or a customer discovers that confidential information has been exposed.
Rules may be created through a web interface
Administrators should not assume that reviewing only a desktop email application will reveal every relevant configuration change. Mailbox rules and server-side settings may be managed through web interfaces or administrative tools.
Microsoft provides separate investigation guidance for inbox rules and email forwarding activity. This is one reason organizations should monitor cloud mailbox configuration rather than relying exclusively on desktop-client visibility.
Attackers can target only valuable messages
A rule that forwards messages containing financial keywords may produce fewer obvious signs than one that copies every incoming email.
For example, an attacker may focus on messages containing:
- Payment confirmation.
- Bank account.
- Purchase order.
- Invoice.
- Wire transfer.
- Contract approval.
- Password reset.
These terms are examples, not a definitive detection list. An attacker can choose different conditions depending on the victim's responsibilities.
4. Warning Signs That an Email Account May Be Compromised
Users should investigate unexpected mailbox behavior, particularly when several warning signs appear together.
- Messages appear as read even though the user has not opened them.
- Important messages unexpectedly disappear from the inbox.
- Emails are moved into unfamiliar folders.
- Contacts receive suspicious messages that the account owner did not send.
- Unexpected forwarding addresses appear in account settings.
- New filters contain unfamiliar conditions or actions.
- Unrecognized devices or locations appear in account sign-in history.
- Suppliers report receiving unusual payment or account-change requests.
- Password-reset notifications arrive without a corresponding request.
- Unexpected applications or integrations appear in the account's connected-app list.
None of these signs proves that an attacker has compromised the mailbox. Some may have ordinary explanations. However, unexpected forwarding destinations and rules should be treated seriously until verified.
5. How to Check Gmail for Suspicious Forwarding
Personal Gmail users can review forwarding settings and filters from the web interface. Menu names may change slightly as Google updates its interface.
Check the forwarding settings
- Open Gmail from a trusted device.
- Select the settings icon.
- Choose See all settings.
- Open the Forwarding and POP/IMAP section.
- Review whether forwarding is enabled.
- Check every forwarding address displayed.
- Remove an address that you do not recognize and did not authorize.
Do not remove a legitimate forwarding address without checking its purpose. Some users intentionally forward mail to another personal or business account.
Review Gmail filters
- Open Gmail settings.
- Select Filters and Blocked Addresses.
- Review the existing filters.
- Inspect unfamiliar filters and their actions.
- Pay particular attention to forwarding, deletion, archiving, and automatic marking as read.
- Remove rules that you cannot explain or verify.
Also review connected applications and recent account security activity. An attacker may have used more than one method to maintain access.
6. How Microsoft 365 Users Can Check Outlook and Exchange
Microsoft 365 environments can contain several different types of mail routing configuration. Users should inspect their mailbox rules, while administrators should review the broader Exchange and security environment.
Review Outlook rules
In Outlook on the web, open Settings and navigate to the Mail rules area. Review every rule, including its conditions and actions.
Look for rules that forward or redirect messages to an unfamiliar external address, move important emails into unexpected folders, or delete selected messages.
Check mailbox forwarding settings
Inbox rules are not the only way to forward messages. A mailbox may also have a forwarding address configured through its mailbox settings.
Administrators should check the mailbox's forwarding configuration in the Exchange administration environment, rather than assuming that the Outlook rules list provides the entire picture.
Investigate suspicious alerts
Microsoft Defender XDR provides investigation guidance for suspicious inbox forwarding rules. The documented workflow includes reviewing the destination address, rule conditions, IP address, sign-in activity, and related security alerts.
For organizations using Exchange Online, administrators can also examine mailbox rules through administrative tools such as the Exchange Online PowerShell Get-InboxRule cmdlet.
PowerShell access should be restricted to authorized administrators. A user should not run unfamiliar administrative commands copied from an email or an untrusted website.
7. What to Do If You Find a Malicious Rule
Finding an unauthorized rule is an incident-response situation, not merely a housekeeping task. Removing the rule is important, but it should be part of a broader recovery process.
Step 1: Preserve useful evidence
For business accounts, record the suspicious rule, its destination address, creation or modification time if available, and related sign-in information. Follow the organization's incident-response policy before deleting evidence that security staff may need.
For a personal account, record enough information to explain what happened and which messages may have been exposed.
Step 2: Remove the unauthorized rule
Disable or delete the malicious forwarding rule after preserving relevant evidence. Check other rules as well. Attackers may create several rules that perform different actions.
Step 3: Secure the account
Change the password from a trusted device. Use a unique password that has not been used on another website.
Enable multifactor authentication if it is not already active. A phishing-resistant authentication method, such as a passkey or security key where supported, is preferable to relying exclusively on a password.
Step 4: Revoke active sessions and investigate connected apps
Review active sessions, trusted devices, application access, and account recovery methods. Revoke sessions and tokens where the provider offers those controls and where the incident-response team determines they are necessary.
Do not assume that changing a password automatically invalidates every existing session or every authorization granted to an external application.
Step 5: Check sent mail and account activity
Review sent messages, deleted messages, drafts, mailbox access logs, and unusual sign-in events. Look for messages that were sent without the user's knowledge or communications that may have been manipulated.
Step 6: Notify affected people
If the account belongs to a business, notify the IT or security team immediately. Contact the finance department if invoices, bank details, or payment instructions may have been exposed.
Where fraudulent payment instructions have already been acted upon, contact the bank or payment provider using a verified telephone number as quickly as possible. Do not rely on contact details contained in the suspicious message.
8. How Organizations Can Prevent Forwarding-Rule Attacks
Organizations should treat email forwarding as a controlled capability rather than a feature that every mailbox can use without oversight.
Restrict automatic external forwarding
Administrators should consider disabling external automatic forwarding by default and allowing exceptions only when there is a documented business requirement.
Google Workspace's security health guidance recommends turning off automatic forwarding to reduce the risk of data exfiltration through email forwarding.
Monitor rule creation and modification
Security teams should monitor changes to mailbox rules, forwarding destinations, transport rules, and other mail-routing settings.
Useful detection signals include:
- New forwarding rules sending data to external domains.
- Rules created shortly after unusual sign-in activity.
- Rules that target financial or confidential messages.
- Multiple configuration changes from an unfamiliar IP address.
- Rules that move or delete messages associated with security notifications.
Use multifactor authentication and strong access controls
Multifactor authentication reduces the risk that a stolen password alone will be sufficient to access an account. Conditional access policies, device controls, and least-privilege permissions can further reduce exposure.
Protect financial workflows
Email should not be the only verification channel for changes to supplier banking information or payment destinations.
Organizations should establish a separate verification process using a known contact number or another previously trusted channel. The verification process should be agreed upon before a payment-change request occurs.
9. A Practical Email Security Review Checklist
- Confirm that every external forwarding address is authorized.
- Review inbox rules and filters for unexpected actions.
- Check mailbox-level forwarding settings.
- Review sign-in history and unfamiliar devices.
- Investigate connected applications and delegated access.
- Enable multifactor authentication.
- Remove unnecessary application permissions.
- Restrict external forwarding where possible.
- Monitor changes to mailbox configuration.
- Use independent verification for financial changes.
- Maintain a documented response process for compromised accounts.
Frequently Asked Questions
Can an attacker forward my emails without me knowing?
Yes. A forwarding rule may operate automatically while the mailbox continues to function normally. Users should review forwarding addresses, filters, and account activity periodically.
Does changing my email password remove malicious forwarding rules?
Not necessarily. A password change does not replace the need to inspect and remove unauthorized rules, review connected applications, revoke sessions where appropriate, and investigate other account activity.
Are all email forwarding rules dangerous?
No. Forwarding is a legitimate productivity feature. The important questions are whether the destination is authorized, whether the rule has a valid purpose, and whether its creation or modification was expected.
Can forwarding rules be used in business email compromise?
Yes. Attackers may use them to monitor financial discussions, collect invoice information, and prepare fraudulent payment instructions. The FBI identifies compromised legitimate business email accounts as a common component of BEC scams.
Should companies disable external forwarding?
Organizations should generally restrict automatic external forwarding and create controlled exceptions for legitimate business needs. The exact policy should reflect the organization's requirements and security controls.
Conclusion
Malicious email forwarding rules are dangerous because they can turn a compromised mailbox into a continuing source of information for an attacker. The victim may still receive messages, communicate with colleagues, and use the account normally while sensitive information is being copied elsewhere.
Users should periodically review forwarding settings and inbox rules. Organizations should monitor configuration changes, restrict unnecessary external forwarding, and investigate unusual mailbox activity.
If a malicious rule is discovered, remove it as part of a wider incident-response process. Secure the account, revoke unauthorized access, investigate connected applications, and verify whether sensitive conversations or payments were affected.
Email security is not just about stopping suspicious messages before they arrive. It also requires detecting what happens after an account has been compromised.
Sources
- Microsoft Learn — Alert Classification for Suspicious Inbox Forwarding Rules
- Microsoft Learn — Alert Classification for Suspicious Email Forwarding Activity
- Google Workspace — Monitor the Health of Gmail Settings
- FBI Internet Crime Complaint Center — Business Email Compromise
- FBI — Spoofing and Phishing
