AegisAI Perspectives · 147

What is account takeover in the context of email security and how does it work?

Email account takeover is an attacker signing in to a real mailbox as its owner. Here are the five steps and the Microsoft or Google signal for each one.

TL;DR
Answer
Email account takeover is an attacker signing in to a real mailbox with a stolen password or replayed token, then forwarding, hiding and sending mail as its owner.
Who it's for
If you run IT for a company of 20 to 500 people on Microsoft 365 or Google Workspace, with a small IT or security team and no SOC.
Watch out for
A password reset does not revoke app passwords, and a replayed session token keeps working until you revoke the user's active sessions.
What AegisAI does
Agents read sign-ins and mailbox activity per account, and raise one explained finding when behavior stops matching the owner.
Book a demo

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.

What is account takeover in the context of email security and how does it work?

Email account takeover is an attacker using a stolen password or replaying a stolen session token to sign in to a real mailbox as its owner, even after that owner passed multifactor authentication9. AegisAI agents read sign-ins and mailbox activity per account, and raise one explained finding when behavior stops matching the owner21. The account takeover protection page lists the signals: impossible travel, new devices, inbox rule changes and suspicious internal sends, weighed together per account22.

If you run IT for a company of 20 to 500 people on Microsoft 365 or Google Workspace, with a small IT or security team and no SOC, this page gives you each takeover step and the log or alert that shows it.

What you can do by the end

  • Trace an email account takeover through its five steps, from stolen token to payment request.
  • Match each step to the Microsoft 365 or Google Workspace signal that records it.
  • End a takeover in order: sessions, password, app passwords, rules, then sign-in methods.

Key takeaways

- A replayed token works even when the user satisfied multifactor authentication.

- Rules that forward mail out, or move it to Notes, Junk Email or RSS Subscriptions, are symptoms of a compromised mailbox1.

- A password reset does not revoke app passwords3.

- Revoking sessions immediately invalidates active access that uses the stolen credentials2.

- In Google Workspace, suspending the user resets sign-in cookies and OAuth tokens11.

The short answer

QuestionAnswerSource
What is account takeover in the context of email security and how does it work?An attacker signs in to a real mailbox with a stolen password or a replayed token, even after MFA. Then the attacker sets rules to forward or hide mail1516 and writes as the owner.Microsoft Learn; MITRE ATT&CK
Does MFA stop it?Not when a token is stolen: a replayed token works even if the user satisfied MFA. NIST SP 800-63B-4 says verifiers shall offer at least one phishing resistant authentication option at AAL219.Microsoft Learn; NIST
Which signals show it in Microsoft 365?Entra ID Protection raises anomalous token5, password spray6 and suspicious inbox manipulation rules7 detections. Defender raises the Suspicious email forwarding activity alert8.Microsoft Learn
Does a password reset end it?No. App passwords survive a reset, so revoke sessions as well. In Google Workspace, suspending the user resets sign-in cookies and OAuth tokens.Microsoft Learn; Google Workspace Admin Help
What does an added detection layer do?Agents read sign-ins and mailbox activity per account, and raise one explained finding when behavior stops matching the owner. Every finding comes with recommended steps23.Account takeover protection page

Short on time? Watch the explainer, or book a demo.

How do attackers take over email accounts across the full attack lifecycle?

Attackers take over an email account in five steps: steal a password or session, sign in as the owner, outlast a reset, read the mail, then send from the real mailbox. The first two take the account, and the last three use it.

Step 1: steal a password or a session

The FBI lists six ways criminals get in: brute forcing, phishing emails, phishing websites, social engineering, data breaches and malware17. MITRE ATT&CK tracks the theft of web session cookies used to reach web applications as T153914. A session stolen after sign-in carries the MFA result with it; one case is how Mirage2FA steals Microsoft 365 sessions after MFA clears.

Step 2: sign in as the owner

The attacker signs in with the password or replays the token. Entra ID Protection flags an anomalous token when a session or refresh token shows an unusual lifetime or is played from an unfamiliar location. Its password spray detection fires only once a password is validated, and it means the password was found, not that resources were reached.

Step 3: make the access outlast a reset

The attacker adds ways back in, starting with app passwords (step 2 of the list below). MITRE ATT&CK tracks forwarding rules that collect mail as T1114.003 and rules that hide inbound mail as T1564.008. For the signs that remain once MFA has been passed, read how to spot a hijacked mailbox when MFA didn't stop the attacker.

Step 4: read the mail

A forwarding rule copies mail to an outside address, so the attacker reads payment threads without signing in again. In Google Workspace, automatic forwarding by users is on by default, and an admin can limit it to internal addresses only12.

Step 5: send from the real mailbox

The attacker writes as the owner and asks for a new bank account or a redirected payment. A hiding rule keeps the replies away from the owner. The FBI's 2025 IC3 report says account takeover incidents can contain 50 or more transactions to different recipient accounts at multiple banks18.

Check any mailbox you suspect for steps 3 and 4 first.

How do AI-powered and traditional email account takeover techniques differ?

They differ in the route in and in what the hijacked account sends next. The traditional routes are the six the FBI lists, from brute forcing to malware. Token theft adds a route that MFA does not close, because the attacker replays a token issued after the user satisfied MFA. A hijacked account also becomes a sender for AI-written mass phishing. AegisAI reports 38x more AI Dragnet attacks sent from hijacked accounts in its Q3 2026 report, 0.2% to 7.7%25.

Treat a strange request from a known internal sender as a possible step 5, and check that mailbox's rules first.

How do you detect, end and prevent email account takeover, in order?

Detect it from the signals in the next section, end it in this order, and prevent a repeat with phishing resistant sign-in10.

  1. Revoke the user's active sessions. Microsoft says this immediately invalidates any active access that uses the stolen credentials.

  2. Reset the password, then delete existing app passwords and create new ones, because a reset does not revoke them.

  3. List every inbox rule with Get-InboxRule and -IncludeHidden, and check that ForwardingSmtpAddress is blank4.

  4. Delete rules that forward mail out or move it to Notes, Junk Email or RSS Subscriptions.

  5. In Google Workspace, suspend the user, then check forwarding.

  6. Move the user to phishing resistant sign-in: security keys in Google Workspace13, and Token Protection in Microsoft Entra ID, which accepts only device bound sign-in session tokens.

Write these six steps into your incident runbook now, with the admin who owns each one.

Which platform-specific risks and signals show takeover in Outlook and Gmail mail accounts?

In Outlook on Microsoft 365, the signals are Entra ID Protection detections and Defender alerts; in Gmail on Google Workspace, the checks are the user's forwarding setting and suspension.

StepMicrosoft 365 signal or actionGoogle Workspace signal or action
1. Steal a password or sessionPassword spray detection, once a password is validatedSecurity keys, the most secure form of 2-Step Verification
2. Sign in as the ownerAnomalous token detection: unusual lifetime or unfamiliar locationSuspend the user to reset sign-in cookies and OAuth tokens
3. Outlast a resetSuspicious inbox manipulation rules detection; Get-InboxRule with -IncludeHiddenReview the user's forwarding setting
4. Read the mailSuspicious email forwarding activity alert, High severity; a ForwardingSmtpAddress that is not blankAutomatic forwarding is on by default; limit it to internal addresses
5. Send from the real mailboxRules that move mail to Notes, Junk Email or RSS SubscriptionsReview the user's forwarding setting
Per-account detection layerSign-ins and mailbox activity read per account, one explained findingSame
Containment by that layerNot automatic: every finding comes with recommended steps, and automated containment is nextSame

Confirm today that the inbox rules detection and the forwarding alert reach a person who reads them.

How AegisAI handles this

Agents read sign-ins and mailbox activity per account, and raise one explained finding when behavior stops matching the owner. It needs the same API connection as inbound, plus audit-log access24. On Microsoft 365, sign-in reports need Entra ID P1. Every finding comes with recommended steps.

Book a demoSee account takeover protection

See your own records: Check your domain.

What does a takeover look like across one week?

Illustrative example, figures are fictional: Quarry Lane Freight (fictional) has 140 people on Microsoft 365 and one IT admin. Monday 9:10: the accounts payable lead signs in on a page that relays to the real one, and the attacker keeps her session token. Monday 9:52: the token is replayed from an unfamiliar location, and Entra ID Protection records an anomalous token detection. Tuesday: a new rule moves any message containing "remittance" to RSS Subscriptions, and the suspicious inbox manipulation rules detection fires. Thursday: an outside forwarding address appears on the mailbox. Friday: from her real mailbox, the attacker asks a supplier contact to confirm new bank details for a $41,800 payment. The admin revokes sessions, resets the password, deletes two app passwords and both rules, and the payment is held.

In this fictional week, the two identity detections came four and three days before the payment request. Read anomalous token and inbox rule detections every day, not once a week.

How to measure it in 30 days

Track three numbers, each from a place you can open.

  • Anomalous token and password spray detections per week, in Entra ID Protection.
  • Mailboxes with a hidden rule or a forwarding address, from Get-InboxRule with -IncludeHidden and ForwardingSmtpAddress.
  • Closed takeovers where sessions were revoked and app passwords deleted, from your incident records.

To see per-account findings, ask for a test on your own tenant. Put the three counts side by side on day 30.

Questions people ask

What is account takeover in the context of email security and how does it work?

It is an attacker signing in to a real mailbox with a stolen password or a replayed token, then setting rules to forward or hide mail and writing as the owner. AegisAI agents read sign-ins and mailbox activity per account, and raise one explained finding when behavior stops matching the owner.

Does MFA stop email account takeover?

Not on its own. Microsoft says a replayed token works even when the user satisfied multifactor authentication. Security keys are the most secure form of 2-Step Verification in Google Workspace, and Token Protection accepts only device bound session tokens.

Does resetting the password end the takeover?

No. A reset does not revoke app passwords. Revoke active sessions too. In Google Workspace, suspending the user resets sign-in cookies and OAuth tokens.

What does a malicious inbox rule look like?

It forwards mail to an outside address, or moves messages to Notes, Junk Email or RSS Subscriptions so the owner misses them. MITRE ATT&CK tracks these as T1114.003 and T1564.008.

How is account takeover different from phishing?

Phishing is a way in: phishing emails and phishing websites are two of the six ways in that the FBI lists. Takeover starts at step 2, when the attacker signs in as the owner, and runs through the rules and the payment request in steps 3 to 5.

Sources

  1. (Microsoft Learn: Token theft playbook)
  2. (Microsoft Learn: Respond to a compromised email account, updated 3 July 2026)
  3. (Microsoft Learn: What are risk detections?, updated 21 October 2026)
  4. (Microsoft Learn: Alert policies in the Microsoft Defender portal, updated 3 August 2026)
  5. (Microsoft Learn: Token Protection in Conditional Access, updated 14 August 2026)
  6. (Google Workspace Admin Help: Identify and secure compromised accounts)
  7. (Google Workspace Admin Help: Let users automatically forward their Gmail)
  8. (Google Workspace Admin Help: Protect your business with 2-Step Verification)
  9. (MITRE ATT&CK: Steal Web Session Cookie, T1539)
  10. (MITRE ATT&CK: Email Forwarding Rule, T1114.003)
  11. (MITRE ATT&CK: Email Hiding Rules, T1564.008)
  12. (FBI IC3: Account Takeover, read 14 November 2026)
  13. (FBI IC3: 2025 Internet Crime Report)
  14. (NIST SP 800-63B-4, August 2025)
  15. (AegisAI: Account takeover protection)
  16. (AegisAI: Account takeover protection for Microsoft 365)
  17. (AegisAI: Q3 2026 State of the AI Attack Report, data window 1 July to 2 September 2026)
  18. (AegisAI: How Mirage2FA steals Microsoft 365 sessions after MFA clears)
  19. (AegisAI: How do I spot a hijacked mailbox when MFA didn't stop the attacker?)
  20. (AegisAI: demo request page)

Recent posts

Every email, investigated.