Home
Back to insights

How to Remediate Compromised Mailboxes Safely

7 min read
How to Remediate Compromised Mailboxes Safely

A compromised mailbox is rarely an isolated identity event. It may be the starting point for payment fraud, internal phishing, data theft, malicious inbox rules or a wider account takeover campaign. Knowing how to remediate compromised mailboxes means moving quickly enough to contain the threat, while preserving the evidence needed to establish what happened and who else may be affected.

For organisations running Microsoft 365, the technical actions are familiar. The difficulty is co-ordinating them into a repeatable process that accounts for people, mail flow, identity, cloud applications and business continuity. Resetting a password alone is not remediation.

How to remediate compromised mailboxes in Microsoft 365

The first priority is containment. Disable the affected account or block sign-in where the risk is active, revoke existing sessions and reset the password using an approved recovery process. Require the user to re-register multi-factor authentication where there is evidence that MFA prompts, recovery methods or authentication details may have been manipulated.

Speed matters, but so does context. A blanket account disablement can interrupt critical activity for senior staff, shared operational functions or automated processes. Security and IT teams should agree an emergency access route in advance, with a documented owner who can assess the operational impact and authorise exceptions. The exception should be time-bound and monitored, not treated as a reason to delay containment.

Capture the available evidence before it rolls out of standard log retention. Record the alert source, reported message, timestamps, source IP addresses, user agents, sign-in locations, authentication methods and any changes to the account. Preserve suspicious emails with their headers and attachments. If the incident may involve fraud, legal exposure or a regulated data set, involve the relevant incident response, legal and compliance stakeholders early.

Verify the compromise, not just the alert

An unusual sign-in is a useful indicator, but it does not always prove account compromise. Travel, mobile networks, virtual private networks and legacy applications can create misleading signals. Conversely, a successful phishing-led sign-in may look entirely normal if the attacker is using a familiar UK location or a stolen session token.

Review Microsoft 365 sign-in activity alongside audit records. Establish whether there were successful interactive sign-ins, unfamiliar devices, atypical mailbox access patterns, failed MFA attempts, changes to authentication methods or access from anonymous infrastructure. Look for activity immediately before and after the suspected compromise, rather than relying on a single event.

The investigation should also establish the attack path. Did the user enter credentials into a phishing site? Did they approve a fraudulent MFA request? Was a session cookie stolen? Did they authorise a malicious OAuth application? The answer changes the remediation required. A password reset can address stolen credentials, but it will not remove a harmful application consent or undo a stolen authenticated session unless sessions are also revoked.

Inspect mailbox persistence and outbound activity

Attackers often configure mailbox features that allow access or interception to continue after the user regains control. These artefacts are especially relevant in business email compromise, where the attacker may want to observe conversations before changing payment details or redirecting communications.

Review inbox and transport rules, forwarding addresses, delegated mailbox permissions, Send As and Send on Behalf permissions, automatic replies, deleted items and recoverable items. Pay particular attention to rules that move messages containing terms such as invoice, bank, payment or remittance into obscure folders, mark them as read, or forward them externally.

Check whether the account sent phishing, credential-harvesting or fraud-related messages internally or externally. Identify recipients, subject lines, URLs, attachments and reply chains. An attacker who sends from a trusted internal mailbox can achieve far higher engagement than an external phishing campaign, particularly where they impersonate a finance leader, IT team or existing supplier.

The scope of this work should extend beyond the affected mailbox when the evidence warrants it. Search for the same sender, URL, attachment hash, subject pattern or mailbox rule across the tenant. Review whether the compromised account accessed shared mailboxes, SharePoint content, Teams files or cloud applications. A mailbox compromise may be the visible part of a broader identity incident.

Remove malicious messages at scale

If the compromised account has delivered malicious messages, recipient notification is necessary but insufficient. Users may not see the warning, may have already clicked, or may retain messages in deleted folders. Use Microsoft 365 search and remediation capabilities to locate and remove matching messages from affected mailboxes, including copies created through forwarding or replies where feasible.

Define the search criteria carefully. Broad searches can remove legitimate business correspondence, while overly narrow searches leave attacker variants behind. Test the query against known malicious samples and validate the result set before applying tenant-wide action. Where the risk is significant, preserve copies and document the decision-making trail before removal.

Recipient follow-up should be proportionate to the observed activity. If a malicious link was sent internally, tell recipients what to do, including how to report the message and what information to provide if they interacted with it. If payment instructions or supplier bank details were altered, engage finance teams and the affected external parties through independently verified contact details. Do not rely on addresses or telephone numbers contained in the compromised email thread.

Close the route used by the attacker

Remediation is incomplete until the team addresses the control gap that permitted access. For credential phishing, assess the effectiveness of conditional access policies, phishing-resistant MFA where appropriate, legacy authentication controls, password protection and risky sign-in response. For consent phishing, review enterprise application permissions, user consent settings and the approval process for new applications.

A useful investigation asks two related questions: why did this user interact with the message, and why was the organisation unable to stop or contain it sooner? The first is not about assigning blame. It may expose a convincing supplier impersonation, a process weakness or a campaign tailored using public information. The second may reveal gaps in email telemetry, alert ownership, logging retention or incident handover.

Human reporting is central here. Employees who can report suspicious messages directly from Outlook provide the security team with earlier evidence of active campaigns. When those reports enter a defined phishing triage process, analysts can assess the message, identify lookalike variants, remove delivered copies and turn real attack data into defensive improvements.

Turn the incident into measurable phishing resilience

Once immediate risk is controlled, conduct a focused post-incident review. Record the timeline from delivery or initial sign-in to report, triage, containment and full remediation. Measure how many recipients received the malicious message, how many reported it, how many interacted with it and whether remediation reached all identified copies.

These measures provide a more useful view of phishing resilience than training completion rates alone. They show whether users can recognise threats, whether reporting reaches analysts quickly, and whether security operations can convert intelligence into action. In regulated or operationally sensitive environments, they also support evidence for governance reviews, audits and control assurance.

Training should be targeted to the techniques observed. A generic reminder to be careful with email has limited value after a sophisticated account takeover. If the incident involved a fake Microsoft 365 sign-in page, focus on credential-harvesting indicators and reporting behaviour. If it involved invoice fraud, include the finance verification process and escalation route. Training should reinforce that reporting a suspected email is preferable to silently deleting it.

For organisations that lack dedicated phishing response capacity, a specialist operating model can shorten the gap between user reporting and action. Wise Fish supports this lifecycle through Cofense-enabled reporting, phishing triage, threat intelligence and inbox remediation, aligned to the realities of UK Microsoft 365 environments.

Build a repeatable mailbox compromise playbook

The strongest response is one that does not depend on an individual administrator remembering every command under pressure. Document the technical sequence, decision points, ownership and escalation thresholds. Include identity containment, evidence capture, mailbox rule review, application consent checks, tenant-wide message search, recipient communications, business fraud procedures and recovery validation.

Exercise the playbook with realistic scenarios. A compromised executive mailbox, a finance mailbox forwarding invoices externally and a user who approves a malicious OAuth application will each require different investigative emphasis. Testing exposes practical constraints, such as insufficient audit retention, unclear out-of-hours authority or uncertainty over who can approve a tenant-wide message purge.

A well-remediated mailbox is not simply one that can sign in again. It is an account whose attacker access has been removed, whose activity has been understood, whose victims have been protected, and whose incident has made the next phishing attempt easier to detect and contain.

How quickly could your team contain the next report?

Assess your reporting, triage and remediation steps against a practical maturity model, and see where the workflow breaks down.

Take the phishing protection assessment

Share this article

How to Remediate Compromised Mailboxes Safely

We use cookies to analyse site usage and improve your experience. By continuing, you agree to our Privacy Policy and Cookie Policy. We never sell your data.