Someone’s Microsoft 365 account has been taken over. Maybe a customer rang about an odd email. Maybe a staff member typed their password into a page that turned out to be fake. Either way, the first instinct is to change the password and hope that’s the end of it.
Change it, but don’t stop there. Whoever got in may have set things up so they can keep reading that mailbox after the password changes. The first hour is about closing those doors in the right order, without destroying the evidence of what happened.
Why a new password isn’t the end of it
The Australian Signals Directorate lists what attackers leave behind. They set up rules that forward incoming email to other accounts so they can keep reading it after the password changes. They add their own multi-factor authentication methods. They add account recovery options so they can get back in, and they set automatic replies to spread their scam further.
Microsoft’s guidance for a compromised Microsoft 365 mailbox covers the same ground from the admin side and adds more: apps that have been given access to the account, and app passwords, which Microsoft notes aren’t automatically revoked when the password is reset.
So there are two jobs. The person whose account it is, or their manager, does a few quick things and makes a phone call. IT does the rest.
Your part: the first 15 minutes
1. Ring your IT provider. Tell them whose account it is, what you noticed and when. If a password was typed into a fake page, say so, and say whether a code from a phone was entered too.
2. If money or bank details are involved, ring the bank. ASD’s first step for a compromised email account is to check your money is secure, because someone with access to your email may be able to reset passwords on your other accounts.
3. Screenshot the rules and forwarding before anyone touches them. In new Outlook or Outlook on the web, go to Settings, then Mail, then Rules, and then Settings, Mail, Forwarding. In classic Outlook, it’s File, then Manage Rules & Alerts. Screenshot anything you didn’t create. The rule’s name, its conditions and where it sends mail are exactly what IT will want to see.
4. Look at Sent Items and Deleted Items. ASD suggests checking those folders for emails sent or deleted without your knowledge. Note what you find, but don’t clean anything up yet.
5. Don’t delete evidence, and don’t warn everyone from that mailbox. Until IT has secured the account, anything sent from it, and any replies, may be read by the same person who got in. The warning can wait an hour. The screenshots can’t.
IT’s part: what should happen next
Microsoft’s steps, in order, are:
- Disable the account, or reset the password. Microsoft prefers disabling it until the investigation is done. If the password is reset instead, the new one shouldn’t be sent by email, because the attacker may still have the mailbox.
- Revoke the account’s sessions, so anything still signed in with the stolen credentials stops working.
- Check the multi-factor methods and remove any device or method that isn’t the owner’s.
- Review apps that have been given consent to the account and remove anything that shouldn’t be there.
- Check the admin roles assigned to the account.
- Review mail forwarding and inbox rules, including hidden ones, and remove anything the attacker added.
- Read the sign-in and audit logs from just before the suspicious activity started: IP address, location, time, and whether each sign-in succeeded.
Once the investigation is complete, the password is reset and the account is switched back on. If it was used to send a lot of email, Microsoft notes it may be blocked from sending until an admin releases it.
If you can see your own work account’s activity, Microsoft’s My Sign-ins page lists recent sign-ins with approximate location, app and whether each one succeeded. It’s useful to look at with IT, but it doesn’t replace the admin logs.
What this looks like in practice
Over the past year we logged 10 tickets across 9 clients about possible hacks, compromised email, fraud attempts, dark web password alerts and unusual sign-ins. The time logged on them ranged from about 15 minutes to well over three hours.
One started with a staff member at a client business who clicked a link in a phishing email and typed in their email address, then closed the browser when a fake sign-in page asked for their password. Our service desk rang them to go through exactly what they’d entered, and checked the business’s Microsoft 365 sign-in activity as a precaution. Because they’d stopped before the password and told us, the risk was limited.
Once the account is secure
- Tell the people who got emails in your name, from a mailbox IT has confirmed is clean. ASD provides a short template for this.
- Report it. ReportCyber sends your report to the ACSC and the relevant police. If a scam was used to get in, or the account was used to scam others, ASD says to report it to Scamwatch as well.
- Check whether personal information was exposed. If the compromise caused serious harm to your contacts, ASD notes you may have obligations under the Notifiable Data Breaches scheme.
- Change any password that was the same, and check accounts that use that email address for password recovery.
If you need help at any hour, the Australian Cyber Security Hotline is 1300 CYBER1 (1300 292 371), open 24/7. Our own service desk runs 8am to 6pm weekdays, with after-hours support by phone.
The one step for today, if you think an account has been taken over: open Outlook’s rules and forwarding settings and screenshot anything you didn’t create, before anyone touches it.
If you’d like us to look over how your Microsoft 365 accounts are protected, get in touch.
