AegisAI Perspectives · 180
Disable the hijacked account, revoke its sessions, block it from sending, then delete what it sent from every colleague's inbox in Gmail or Microsoft 365.
See it on your own Google Workspace or Microsoft 365 tenant. No MX change.
Or get the Q3 2026 State of the AI Attack report (free, instant download)
Not ready for a demo? Check your domain.

Stop the account from sending, then delete what it already sent from every colleague's mailbox. Microsoft says disabling the compromised account is preferred and highly recommended until the investigation is complete1. AegisAI weighs suspicious internal sends per account, together with impossible travel, new devices and inbox rule changes23.
If you run IT at a company of 20 to 500 people on Google Workspace or Microsoft 365, with a small team and no SOC, work through the steps below in order. The signals that point to a hijacked sender are on the account takeover protection page.
Key takeaways
| Question | Answer |
|---|---|
| How does a company stop phishing sent from a compromised internal account? | Disable the account and revoke its sessions, confirm it cannot send, then delete what it sent from every recipient mailbox316 |
| What do Google and Microsoft check on mail between colleagues? | Gmail filters internal mail for spam unless Bypass spam filters for messages received from internal senders is on. Microsoft 365 checks outbound mail for spam and unusual sending activity5, and Safe Links covers internal mail when its internal setting is on |
| What stops the account from sending more? | In Gmail, a user who reaches a sending limit cannot send for up to 24 hours13. In Microsoft 365, an outbound spam policy restricts a user who reaches a limit7 |
| How do you remove what it already sent? | Gmail: the Delete messages action in the security investigation tool. Microsoft 365: Threat Explorer, with the Search and Purge role14 |
| When can the account send again? | After the investigation is complete, when you remove the user from the Restricted entities page4 |
Short on time? Watch the explainer, or book a demo.
The real account emails colleagues. Every sender check passes, because it genuinely is that account sending22. SPF, DKIM and DMARC have nothing to fail. MITRE ATT&CK names this Internal Spearphishing (T1534): adversaries may take advantage of the trusted internal account to trick more victims19.
The account is also a sender for mass phishing. AegisAI reports 38x more AI Dragnet attacks sent from hijacked accounts in its Q3 2026 report, 0.2% to 7.7%, on data from 1 July to 2 September 202625. The report defines an AI Dragnet attack as phishing that blasts one AI-written template at as many organizations as possible, often within minutes. Internal spearphishing cannot be easily mitigated with preventive controls, since it is based on the abuse of system features20.
How the takeover itself happens is in email account takeover, step by step. How to spot it from the sign-ins is in how to spot a hijacked mailbox when MFA did not stop the attacker.
Treat the first internal phishing report as a compromised account, not as a spam complaint.
Work from the account to the mailboxes, then back to the account. Steps 1 to 3 stop new mail. Steps 4 and 5 remove what was delivered.
Disable the account. Microsoft says disabling it is preferred and highly recommended until the investigation is complete. In Google Workspace, reset the password, then reset the user's sign-in cookies18.
Revoke active sessions. Revoking them immediately invalidates any active access using the stolen credentials, with the Revoke-MgUserSignInSession command.
Confirm the account cannot send. A restricted Microsoft 365 user is restricted from sending email, but can still receive email8. A Gmail user who hits a sending limit can still receive email.
Find every recipient. In Gmail, search Gmail log events in the security investigation tool. Those events need Frontline Plus, Enterprise Plus or Education Plus, and the Security center administrator privilege17. In Microsoft 365, Threat Explorer is in Plan 2 and Real-time detections is in Plan 111.
Delete the messages from every mailbox. In Gmail, use Delete messages on the search results. In Threat Explorer, deleting messages from mailboxes needs the Search and Purge role. Do not wait for zero-hour auto purge: it searches only the last 48 hours and does not notify users when it moves a message.
Ask each colleague who opened the message whether they entered a password. Treat every yes as a second compromised account and start again at step 1.
Audit what the account changed while it was hijacked, before you give it back. In Microsoft 365, run Get-InboxRule with -IncludeHidden in Exchange Online PowerShell to list every Inbox rule, run Get-Mailbox to check mailbox forwarding, then review the audit logs in the Microsoft Defender portal.
Lift the sending block last. After the investigation is complete, remove the user from the Restricted entities page.
Do step 5 before step 7, so colleagues stop clicking while you audit.
Both platforms check internal mail, but two settings decide how much. The table lists each control a hijacked sender meets, with the edition or plan the vendor page names.
| Setting or step | Platform | What it does | What it does not do | Edition or licence |
|---|---|---|---|---|
| Bypass spam filters for messages received from internal senders | Gmail | When on, internal mail skips Gmail spam filters; Google recommends it off for all organizational units | Does not filter internal mail while it is on | Not named on the cited page |
| Daily sending limit per user account | Gmail | Caps a user account at 2,000 messages per day, applied over a rolling 24 hours | Does not remove mail already delivered; the user can still receive | Not named on the cited page |
| Delete messages in the security investigation tool | Gmail | Finds every user who received a message and deletes it from their inboxes | Gmail log events are not in other editions | Frontline Plus, Enterprise Plus, Education Plus |
| Outbound spam protection | Microsoft 365 | Checks outbound email for spam and unusual sending activity | Does not delete what was delivered | All organizations with cloud mailboxes |
| Set an internal message limit | Microsoft 365 | Sets the maximum number of internal recipients per hour, from 0 to 10000; 0 uses the service defaults6 | Does not block sending until a limit is reached | All organizations with cloud mailboxes |
| Restricted entities | Microsoft 365 | Restricts the user from sending email | Does not stop the user receiving email | All organizations with cloud mailboxes |
| Apply Safe Links to email messages sent within the organization | Microsoft 365 | Applies the Safe Links policy to messages between internal senders and internal recipients | Does not apply to internal mail while it is off | Defender for Office 365 Plan 1 and Plan 2 |
| Zero-hour auto purge | Microsoft 365 | Moves delivered malicious email | Searches only the last 48 hours; does not notify users | Not listed here |
| Threat Explorer | Microsoft 365 | Finds delivered messages and deletes them from mailboxes | Does not delete messages without the Search and Purge role | Defender for Office 365 Plan 2 |
Check the two internal settings, Bypass spam filters for messages received from internal senders and Apply Safe Links to email messages sent within the organization, before the next incident.
AegisAI agents read sign-ins and mailbox activity per account, and raise one explained finding when behavior stops matching the owner21. Impossible travel, new devices, inbox rule changes and suspicious internal sends, weighed together per account23. Early access runs on the connection you already have, review-only, with no MX change24.
One incident runs in the same order: disable the account, revoke its sessions, find every delivered copy, delete them all, then ask the people who opened one. The example below is fictional.
Illustrative, fictional. A 120 person company runs Microsoft 365. At 9:10 a finance coordinator's account sends a shared document lure to 60 colleagues. The admin disables the account at 9:25 and revokes its sessions. Threat Explorer finds 60 delivered copies and 4 opened ones. The admin deletes all 60, then asks the 4 openers about passwords. One says yes, so that account goes back to step 1.
Illustrative example, figures are fictional.
Run this order on a test account before you need it.
Track three numbers after each internal phishing incident.
To see what a finding on a hijacked sender looks like, talk to the team. On day 30, compare minutes to block with the number of colleagues who opened the message.
Disable the account, revoke its sessions, confirm it cannot send, then delete its messages from every recipient mailbox. AegisAI raises one explained finding when an account's behavior stops matching the owner.
Yes, unless Bypass spam filters for messages received from internal senders is on. Google recommends turning it off for all organizational units, so mail from internal senders is filtered for spam.
Microsoft 365 checks outbound email for spam and unusual sending activity. Safe Links checks links in mail between colleagues only when Apply Safe Links to email messages sent within the organization is on.
Do not rely on it. It searches only the last 48 hours of delivered email and does not notify users when it moves a message. Delete the messages yourself in Threat Explorer.
A sending block stops sending only. A restricted Microsoft 365 user can still receive email, and a Gmail user who hits a sending limit can still receive email. Disable the account to stop the rest.