Topic · Threats
Mailbox rule persistence
Mailbox rule persistence uses forwarding, deletion or hiding rules to maintain attacker access or conceal activity.
How it works
A compromised account creates inbox rules to redirect sensitive mail or suppress security alerts.
What can go wrong
Normal user mail can continue while unauthorized copies are silently sent elsewhere.
What to check or do
Review server-side and client-side rules, external forwarding settings and account audit events.
Practical scenario
After a mailbox takeover, a malicious actor adds a rule that silently forwards selected invoices to an external address and deletes notifications. The user still sends authenticated email normally, so SPF and DKIM checks offer no indication of the leak.
Verification checklist
- Review all inbox, transport and forwarding rules for unauthorized destinations.
- Inspect recent rule creation events and sign-in sessions.
- Remove malicious configuration and revoke tokens and app grants.
- Search for exposed messages and monitor for rule recreation.
Put this into practice
Run a focused check, then explore protection if your domain needs it.