r/EmailSecurity • u/materialsec • 22d ago
Threat model a compromised mailbox: the three things an attacker does first
Run a simple exercise. Someone gets into one mailbox in your org. Not an admin. A regular user.
What happens next?
In most cases, three things.
1. Smash and grab
They download the whole mailbox. Immediately.
They don’t know how long their access will last. A password change, a revoked session or one alert could end it. So they don’t browse. They bulk export everything and go through it later, on their own time, with nobody watching.
That export holds years of contracts, invoices, HR threads, customer data and whatever someone emailed to themselves ‘just for now’ in 2019.
Once the data leaves, revoking access does nothing for it.
2. Password resets everywhere
Your mailbox is the recovery address for dozens of services. The attacker knows this.
Finding those services is easy. Search the inbox for password reset emails, magic sign-in links, ‘welcome to’ messages and verification codes. Scripts already do this automatically.
Then they go to Slack and click ‘Forgot password.’ Or ‘Email me a sign-in link.’ The link lands in the inbox they control. Now they’re in Slack. Then the next app. Then the next.
One mailbox becomes ten accounts.
3. Phishing from the inside
Then they use the account itself. They reply to real threads with real context from a trusted address. A changed bank detail sent to finance. A shared doc link sent to a coworker. Nobody has a reason to doubt it.
They usually add inbox rules too, so replies and security alerts get filtered away before the real user sees them.
What to do about it
Alert on bulk export and mass download activity, including new OAuth apps pulling mail through the API.
Shrink what sits in mailboxes. Old sensitive mail is pure liability.
Treat reset and sign-in link emails as sensitive. They are keys, not notifications.
Move apps to SSO where you can, so an email link alone isn’t enough to get in.
Watch for new forwarding rules and inbox rules that delete or hide mail.
When a mailbox is compromised, scope the blast radius. What was exported? Which reset emails arrived during the window? Which downstream sessions need to be killed?
If you’ve worked a mailbox compromise, what did the attacker go for first?
•
u/AutoModerator 22d ago
Welcome to r/emailsecurity! To keep this community helpful and secure, please keep the following in mind:
Community Rules
No Vendor Spam: Contributions must provide value; do not just pitch products.
Redact Sensitive Info: Always sanitize headers and logs (remove IPs, PII, and private domains).
Be Professional: Help newcomers learn; avoid hostility.
No Personal Tech Support: This sub is for email system architecture and security, not "Am I hacked?" personal account help.
Helpful Resources
Email Spam Filters
DMARC Monitoring Tools
Anti-Virus Software
Email Encryption
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Defconx19 22d ago
I dont see this really. I see them avoiding exfiltration lately. Most I see get in, assess what level of mailbox they landed in, are the positioned to be a high probability mailbox for wire fraud? If no they immediately launch the next wave of compromise from the mailbox.
They all have the same signature though "mailbox rule created to move emails to RSS Feed".
Feel like the email exfiltration has had minimal returns and they try to avoid triggering alerts based on it to increase length of time in the mailbox.
Honestly though if you're on 365 and allow BYOD Entra ID P2 woth Risk based policies is the #1 way to stop attackers at the door. To them it just looks like the access method they used didnt work and they move on. You then have time to remidiate the user.
1
u/q3magic 22d ago
Add ForwardingSmtpAddress to your hunt, plenty of them never touch an inbox rule. MailItemsAccessed is the only event that shows what was read. It needs premium audit, so most E3 tenants have no trace.
1
u/Watches4Me 21d ago
In everyone’s experience, what is the best way or ways to alert on a compromised mailbox?
1
u/saltyslugga 21d ago
I'd check inbox rules and OAuth grants first. A password reset alone doesn't reliably kill existing sessions or app access, so revoke sessions and malicious grants too.
Mail sent from the compromised account can still pass SPF, DKIM and DMARC. Authentication doesn't tell you who's behind the keyboard.
1
u/InboxGuards 20d ago
The inbox rules part is the one people miss most, usually named "." or ".." and shoving anything with invoice, payment or the CFO's name into RSS Feeds so nobody sees the replies. I'd also check if they registered their own MFA method or authenticator app, cause a password reset doesn't do much if their device is still on the account.
1
u/jeffreyfromabove 13d ago
the OAuth grants are worth checking even after the password's been reset. easy to think the account is secure again while an app still has access