The short answer: First, block access to the compromised Microsoft 365 account, securely change its password, and revoke all active sessions separately. Then check MFA methods, app permissions, roles, delegations, mailbox rules, and forwarding, while also reviewing sent messages, files, and payments. Changing the password alone does not prove that the attacker has lost access.
Stop access first, then investigate
An attacker may not rely solely on a stolen password. They may have an active session, have added their own multi-factor authentication method, have access through an app, or have created a rule that forwards new messages to them.
Three workstreams must therefore begin at the same time:
- The administrator restricts access to the account.
- The finance team checks payments and changes to bank details.
- The company determines whom the account contacted and which data it accessed.
Work from another trusted device and use a separate administrator account. If you do not have one, do not try to handle the incident from within the compromised mailbox. Call the administrator using a previously known phone number.
If you need us to take over the response, secure Microsoft 365, and document the steps taken, we can handle it as part of our business IT management. However, if a payment is suspicious, do not wait for the technical investigation—contact the bank immediately.
How to recognise a potentially compromised account
A single unusual event may not be proof. A combination of several warning signs requires a rapid response:
- unfamiliar messages appear in the Sent Items or Deleted Items folders;
- emails disappear, move to unusual folders, or are deleted automatically;
- email is being forwarded to an unknown address;
- the user receives unsolicited prompts in Microsoft Authenticator;
- a phone number, MFA method, signature, or contact details have changed;
- a customer has received a fraudulent invoice or a request to change bank details;
- the mailbox has been restricted because of suspicious email activity;
- sign-in logs show unknown devices, apps, or times.
Record the exact time the issue was first discovered, the time zone, and the last time the account was known to be operating normally. Document suspicious messages, rules, and settings before removing them, provided this does not delay blocking the account.
What the user of the compromised account should do
- Stop using the account and do not send any further messages from it.
- Call the administrator from another device or through a different communication channel.
- Do not approve unexpected prompts in Microsoft Authenticator.
- Tell the administrator the time and device of the last known legitimate sign-in.
- Alert the finance team if the mailbox contains invoices or payment-related communications.
- Do not send the new password through the compromised mailbox.
- Do not reply within a suspicious email thread.
If the user protected other services with the same password, they must change it directly within each service. Start with email, the password manager, banking systems, and accounts that can be used to recover access to other services.
1. Block sign-in
Microsoft’s official procedure for responding to a compromised mailbox includes restricting access, revoking sessions, and reviewing changes to both the account and the mailbox.
Block sign-in from the user’s profile in Microsoft Entra ID. The names and locations of settings may change as the portal is updated; look for the account status or the Block sign-in option.
Do not delete the account immediately. Deletion can complicate the preservation of email and audit records, as well as the safe restoration of service.
If an account with an administrative role has been compromised, checking that user alone is not enough. Review role changes, other privileged accounts, apps, and tenant-wide settings as well.
2. Reset the password securely
Set a new, unique password and give it to the user through a previously verified channel, such as in person or by calling a known phone number. Do not send it to the compromised mailbox.
For an identity synchronised from an on-premises Active Directory, change the password in the source directory. For a federated identity, action must also be taken in the environment that actually authenticates the sign-in.
Resetting the password is necessary, but it is not enough. It does not remove an attacker’s MFA method, consent granted to an app, mailbox delegation, or forwarding rule.
3. Revoke active sessions
After blocking the account or resetting its password, use the option in the user’s profile to revoke sign-in sessions. You can also issue the request through Microsoft Graph PowerShell, for example:
Revoke-MgUserSignInSession -UserId uzivatel@firma.cz
Revoking sessions invalidates refresh tokens and requires fresh authentication. However, Microsoft warns that access may not end immediately in every app. This depends on the token type, the app, and the authentication method. For details, see the documentation on emergency revocation of user access.
Continue monitoring sign-in logs after taking action. Confirmation of the Revoke sessions command alone does not prove that every access path has been closed.
4. Review every MFA method
Open Authentication methods in the user’s profile and compare the registered methods with those the user actually owns:
- phone numbers;
- Microsoft Authenticator registrations;
- security keys and passkeys;
- software and hardware OATH tokens;
- Temporary Access Pass;
- app passwords, if the tenant still uses them.
Remove any unknown methods. If you cannot reliably establish the origin of the registrations, require the user to register MFA again from a trusted device.
Weak MFA may not have caused the incident. The attacker may have exploited an approved prompt, a stolen session, or an app permission. The article MFA in the workplace: passkeys and FIDO2 instead of SMS examines additional protection options.
5. Look for ways the attacker could regain access
| Check | What to look for | Why changing the password is not enough |
|---|---|---|
| App permissions | Unknown apps with access to email or files | An app may have granted consent and its own tokens |
| Administrative roles | Newly assigned or unnecessary roles | A privileged account can modify the entire tenant |
| Mailbox forwarding | An unknown internal or external address | New email may continue to reach the attacker |
| Inbox rules | Rules that redirect, delete, or hide messages | A rule may conceal replies and warnings |
| Mailbox delegation | An unknown user with access | Another account may be able to read or send email |
| Recovery details | An unfamiliar phone, device, or email address | The attacker may be able to recover access |
For each app, verify the publisher, the date consent was granted, the affected user, and the scope of its permissions. Do not remove a legitimate business integration simply because you do not recognise its name. At the same time, do not treat a „verified publisher" label as proof that the company actually approved the specific permissions.
You can also inspect mailbox forwarding and rules in Exchange Online PowerShell:
Get-Mailbox -Identity uzivatel@firma.cz |
Format-List ForwardingAddress,ForwardingSmtpAddress,DeliverToMailboxAndForward
Get-InboxRule -Mailbox uzivatel@firma.cz -IncludeHidden |
Format-List Name,Enabled,RedirectTo,ForwardTo,ForwardAsAttachmentTo,Identity
Record any suspicious item before removing it. Save its name, identifier, destination, discovery time, and the account used to perform the action.
6. Review messages, files, and payments
Checking the Sent Items folder is not enough. The attacker may have deleted messages or used another app. Depending on the available licences and settings, the administrator should also use message tracing, sign-in records, and audit logs.
Look particularly for:
- fraudulent invoices and changes to bank details;
- requests for urgent or confidential payments;
- links and attachments sent to contacts;
- attempts to reset passwords for other services;
- access to OneDrive, SharePoint, and Teams;
- unusual downloading, sharing, or deletion of files;
- changes to roles, app consent, and security settings.
Contact recipients using a previously known phone number. Do not reply within the same thread, as the attacker may still be able to read or control the conversation. For voice-based payment requests, use an agreed secondary verification method; the article Deepfake executive voices and CEO fraud explains the risk.
If a payment has already been sent, call the bank immediately and record the case number. Do not wait for the technical analysis to be completed. An empty Sent Items folder or the absence of a fraudulent payment does not rule out access to documents.
7. Preserve evidence and build a timeline
The availability of audit data may vary depending on the licence, configuration, and age of the record. Export it as soon as possible, but do not delay blocking the account to do so.
Record the following for every step:
| Field | What to record |
|---|---|
| Time | Date, time, and time zone |
| Account | UPN, roles, and affected services |
| Finding | Message, rule, app, IP address, or device |
| Action | Blocking, reset, session revocation, or permission removal |
| Performed by | Name of the responsible person |
| Evidence | Log export, message ID, or screenshot of the setting |
| Impact | Affected people, files, customers, and payments |
| Status | Confirmed, ruled out, or not yet verified |
Review sign-in and audit records from before the first known suspicious activity until the response was completed. Do not limit the initial search to a single IP address or country. IP geolocation is not reliable proof of identity, and the attacker may use infrastructure in the same country as the victim.
An incident record is not a substitute for a legal assessment of a potential personal data breach. It does, however, provide the evidence needed to decide whom to notify and which impacts still cannot be ruled out.
Checklist before re-enabling the account
Do not restore the account to service until all of the following have been completed:
- Sign-in was blocked during the response.
- The password was changed through a secure channel.
- Active sessions were revoked.
- MFA methods match those owned by the legitimate user.
- Apps and their permissions were reviewed.
- Roles and delegations were reviewed.
- Mailbox rules and forwarding were checked.
- Sent messages, files, and payments were reviewed.
- The user understands what to do next and signs in only from known devices.
- Post-response sign-in logs show no continuing misuse.
Finally, determine whether the same password was used elsewhere, whether the company has a separate administrator account, and who will stand in for the administrator during the next incident. The business password and account checklist provides a practical overview of access arrangements when an administrator leaves or is unavailable.
Common mistakes when handling a compromised account
- Changing only the password and closing the incident.
- Leaving the account active during a lengthy manual review of the mailbox.
- Approving an unexpected MFA prompt to „make it stop appearing".
- Removing rules and messages without preserving evidence.
- Calling a phone number provided in a suspicious email.
- Treating a familiar IP address or country as proof of a legitimate sign-in.
- Restoring the account without reviewing apps, delegations, and forwarding.
- Delaying notification to the bank until the administrator completes the technical analysis.
Frequently asked questions
Is changing the password enough for a compromised Microsoft 365 account?
No. A password change alone does not address active sessions, unauthorised MFA methods, app permissions, delegations, or forwarding rules. Each of these access paths must be checked separately.
Should a compromised account be deleted immediately?
No. Block sign-in first and preserve the necessary records. Deletion can complicate the investigation, email retention, and the safe restoration of service.
How can I find out where the attacker signed in from?
The administrator should review sign-in records in Microsoft Entra ID, focusing on the time, IP address, app, device, multi-factor authentication status, and sign-in result. An unusual country is a warning sign, not definitive proof on its own. Conversely, a familiar location does not rule out an attack.
Do we need to alert customers?
Quickly contact recipients who are known or likely to have received a fraudulent invoice, link, or payment request. Determine the scope of any further notification based on the identified impact and a legal assessment, not solely on whether financial loss occurred.
When should we call an external IT administrator?
Immediately, if you do not have a secure administrator account, cannot revoke sessions and app consent, a privileged account has been compromised, or there is a risk of a fraudulent payment or data breach. The response should produce a timeline, a list of actions taken, and a clear distinction between confirmed facts and risks that cannot yet be ruled out.
Where to find us
ITHOPE is a company based in Brno, Czechia: we do data recovery from disks, RAID and NAS, PC and laptop service and IT for business, all in our own lab at Viniční 3587/216, 615 00 Brno.
Phone +420 775 556 063 (24/7 line). You can bring the device in person, or send it by courier (Zásilkovna, PPL).