Book a demo →
← All posts
Threat Watch

Token Spraying: Replayed Microsoft 365 Session Tokens Skip MFA and Hide Fraud in the Mailbox

Huntress tracked stolen Microsoft 365 session tokens replayed at 79 organizations. How replay skips MFA, how inbox rules hid fraud, and what to check.

Token Spraying: Replayed Microsoft 365 Session Tokens Skip MFA and Hide Fraud in the Mailbox

AegisAI Threat Watch · Session token replay

Token Spraying: Replayed Microsoft 365 Session Tokens Skip MFA and Hide Fraud in the Mailbox

Attackers replayed stolen Microsoft 365 session tokens at 79 organizations, then used hidden inbox rules and a payroll email to turn each session into fraud.

Analysis based on Huntress research, published 22 Oct 2026.

A stolen Microsoft 365 session token lets an attacker sign in without a password or a second factor, and the access can outlast a password reset. Huntress tracked a ten-week campaign, from 14 July to 22 September 2026, that replayed such tokens at 79 organizations and named the pattern token spraying, after password spraying.

The sign-in was the start of the attack, not the loss. The money-making steps ran through the mailbox: inbox rules that deleted or hid mail, and in one case a payroll email to an outside accountant with a second rule to bury the replies.

79
organizations with related incidents over ten weeks
497
successful sign-ins, against more than 200,000 failed attempts
12 min
from MFA prompt to hijacked session on 21 July; 4 minutes on 22 September
48+
rogue devices registered in victims' Entra directories

Source: Huntress, M365 Token Spray and Replay Campaign Compromises Business Email Accounts.

Key judgments

  • A post-MFA token moves the attack past the point where MFA applies. The relay hands the real login page and MFA prompt to the victim and keeps the session issued afterwards, so each replay needs no password and no second prompt.
  • The persistence was built outside the token. Rogue devices and replacement authenticators survive a password reset, which is why Huntress lists device and MFA cleanup as separate steps after revoking sessions.
  • The mailbox is where the loss occurs. One- and two-character rule names deleted mail or filed it in RSS Feeds and Conversation History, and in the payroll case a second rule hid an accountant's replies.
  • Conditional Access worked where it covered all users, all apps and all client types, but a block proves only that the credential was valid. Ranking tenants by failed attempts pointed responders at the four where the policy was already working.

How does email account takeover work when a stolen session token skips MFA?

A session token is issued only after a user has entered a password and completed MFA. Whoever holds it has already satisfied both checks, so a replayed token produces a sign-in that looks like a continuation of a verified session. Huntress calls this token spraying: many stolen tokens replayed across many organizations, the way password spraying tries one guessed password across many accounts.

Huntress names three ways the tokens were obtained and gives no breakdown between them.

  1. Adversary-in-the-middle relays behind fake sign-in pages pass the genuine login page and MFA prompt through to the victim, then keep the session token issued at the end (MITRE T1557).
  2. Device code phishing talks a victim into entering a code on Microsoft's own sign-in page. The device authorization grant was designed for devices without a usable browser, and its specification warns that an attacker can start the flow and send the victim the code (RFC 8628).
  3. Social engineering during a legitimate login process.

The pace is the point. Huntress documented one relay on 21 July in which the hijacked session appeared 12 minutes after the victim reached the MFA prompt, and a case on 22 September that took 4 minutes.

Time (UTC), 21 JulyEvent
17:18A relay captures the victim at the MFA prompt
17:30The session is hijacked from a 1337 Services address
17:43The same session is used from a second 1337 Services address
18:08A new authenticator labeled "iPhone 13" is activated on the account

Times from the Huntress timeline. The new authenticator appears 50 minutes after the MFA prompt.

Replay came from six addresses in one range, in four phases

The replay traffic came from six addresses in 193.26.115.0/24, hosted by 1337 Services GmbH (AS210558), a provider incorporated in Hamburg. Huntress notes the provider offers legitimate hosting and that attackers rent such space, an approach it abbreviates as BYOIP. The addresses were used one after another, and Huntress says it cannot state why the operator rotated them.

The four phases

  1. July wave, 14 July to 3 August. Scripted and browser replay; by 3 August, 37 organizations had a sign-in and 37 rogue devices had been registered.
  2. August and September wave, from 17 August after a two-week gap. More hiding rules, device code phishing and a replay against SharePoint Online with a bare "Mozilla/5.0" user agent.
  3. The 11 September burst. An automated program with a "node" user agent replayed stolen sessions against nearly 30 organizations over four days, producing hundreds of successful sign-ins.
  4. Relay and replay, 2 to 22 September. A relay at one address, replay from another; on 22 September the victim finished MFA at 20:46 UTC and the replay followed at 20:50.

Blocking the /24 would have covered all six main replay hosts, but Huntress says the operator also used a few other 1337 Services addresses outside it, and that blocking any single address would have stopped one phase at most. Blocking the relay does not stop replay of tokens already stolen.

The login was genuine and the session was borrowed. Authentication happened once, and the attacker never had to repeat it.

AegisAI Threat Intelligence

What did the attacker do inside the mailbox after the replay?

A stolen token eventually expires, so the attacker worked to outlast it and then to profit. Huntress found three persistence methods: rogue devices, replaced MFA methods and hidden inbox rules.

Devices and authenticators

At least 48 rogue devices were registered in victims' Entra directories, named "DESKTOP-" followed by eight uppercase hexadecimal characters, a pattern that differs from the seven-character default Windows names. The first detection was a sign-in on 14 July from a device with such a name (MITRE T1098.005).

In 19 organizations the attacker cleared the existing MFA methods and registered a new authenticator within three hours of the first campaign sign-in (MITRE T1556.006).

Inbox rules that hide mail

Every suspicious rule Huntress saw was created from a VPN or rented hosting address, never from the 1337 Services range. In four mailboxes the rules were created through the Outlook REST API rather than Outlook itself, and two were created within minutes of the first campaign sign-in (MITRE T1564.008).

Rule nameActionTrigger
.Mark read, deleteAll mail
sssMark read, deleteAll mail
ssMove to RSS Feeds, mark readOne business partner's domain
iTMove to Conversation History, mark readAll mail
sHidePayroll, direct deposit, bank, bonus
dMove to Conversation History, mark readOne external accountant's address

Six of the eight rule names Huntress lists; the other two are variants of the same pattern.

The payroll case

In one mailbox the attacker sent a payroll-related email to an external accountant's address. A rule named s hid any message mentioning payroll, direct deposit, bank or bonus, and about five minutes later a second rule, d, moved all mail from that accountant to Conversation History and marked it read. The victim never saw the replies. The email's content is not described. In a separate mailbox, a rule named sss deleted all mail while the account was used to send spam to hundreds of external recipients, until Entra ID Protection rated the account high risk.

Why do password resets and MFA not remove the attacker?

A reset changes one credential. Huntress states that a password reset alone does not remove attacker-registered devices or MFA methods, and does not invalidate the access token, which it puts at roughly 90 minutes of life. The refresh token and session cookie expire, but the access token stays valid until the identity sessions are revoked or disabled.

Revocation does work when it is used. Replays of sessions that had been revoked failed with error AADSTS50133 (SsoArtifactRevoked), including a retry of the same stolen session three times from three addresses in August. Microsoft's documentation describes continuous access evaluation as enforcing session revocation in near real time after events such as a password reset, for supported clients and services (Microsoft Learn). Neither mechanism removes a registered device or an authenticator the attacker added.

Sign-in-time controls also see only the sign-in. The rules that hide fraud are created after it, sometimes through an API, from addresses that never appear in the replay range. Only a control that watches the mailbox itself sees the new rule and the message that was never meant to be answered.

Where Conditional Access stopped the campaign

On the 11 September burst, Conditional Access policies blocked the campaign address 1,052 times across four organizations. The organizations without such a policy were compromised. Huntress advises requiring MFA, or blocking access, for all users, all cloud apps and all client app types, unconditionally.

It also warns against reading a block as a win. Error AADSTS53003 (blocked by Conditional Access) fires after authentication succeeds, so it indicates a valid credential. Ranking tenants by failed attempts would have pointed responders at the four where the policy was already working, and away from the organizations being compromised.

Two Microsoft controls address the token itself. Token protection binds sign-in session tokens to a registered device, so a stolen token cannot be used from another device, but its documented coverage is native applications for Exchange Online, SharePoint Online and Teams on supported platforms, with browser support limited to selected web apps (Microsoft Learn). One of the two replay builds Huntress observed used a browser session against OfficeHome. For device code phishing, an authentication flows policy can restrict the flow, and Microsoft recommends blocking it wherever possible (Microsoft Learn).

How AegisAI protects against it

The lure emails were not published, so how the victims were reached is not known. For the email-borne routes, the relay and device code lures, the approach below applies.

AegisAI's agents evaluate the message and the destination it points to together, and pull a malicious message out of mailboxes before users see or click it.

When a lure or a compromised session is caught, the response compounds: the message is withheld at classification, copies already delivered are retracted, rewritten links refuse a late visit, the account's outbound and internal mail gets rescanned, and lateral phishing attempts to colleagues are blocked at the same bar rather than treated as a fresh, unrelated message.

More on how that works: inbound email security.

What the reporting does not tell us

Delivery. Huntress does not publish the lure emails, subject lines or sender domains used to reach victims, so detection of the first message cannot be built from this report.

Token sources. Huntress names three routes and gives no split between them.

Counts. Two sections of the report give different totals for the 11 September burst, 303 successful sign-ins across 29 organizations in one and 232 across 28 in the other, and the report does not reconcile them. The 79 organizations are described as related incidents, and Huntress does not say how many were its customers.

Attribution. No threat actor is named, and the operator's reason for rotating addresses is not known.

MITRE ATT&CK mapping

IDNameUse in this campaign
T1557Adversary-in-the-MiddleRelays passed the real login and MFA prompt to the victim and kept the post-MFA session.
T1528Steal Application Access TokenDevice code phishing granted token access without the password.
T1550.001Use Alternate Authentication Material: Application Access TokenStolen tokens were replayed in place of a password and MFA.
T1098.005Account Manipulation: Device RegistrationAt least 48 rogue DESKTOP- devices were registered.
T1556.006Modify Authentication Process: Multi-Factor AuthenticationMFA methods were cleared and a new authenticator registered in 19 organizations.
T1564.008Hide Artifacts: Email Hiding RulesRules named ".", "sss", "iT", "s" and "d" deleted or hid mail.

Mapping by AegisAI, selected from the techniques Huntress lists, plus T1528 added by AegisAI for the device code route.

Recommendations for defenders

  • Close the Conditional Access gaps. Require MFA, or block, for all users, all cloud apps and all client app types, unconditionally, and restrict the device code flow with an authentication flows policy.
  • Triage on credential validity, not volume. Treat Conditional Access blocks (AADSTS53003) as evidence of a valid stolen credential and respond to them.
  • Contain in the right order. Revoke sessions and reset the password, then remove attacker-registered devices and MFA methods; a reset alone leaves both in place.
  • Audit Entra for the persistence. Review devices named "DESKTOP-" plus eight hexadecimal characters that registered from hosting addresses, and authenticators registered within minutes of an MFA clear. Confirm before deleting, because the device pattern is not unique to this campaign.
  • Watch mailbox rules as a fraud signal. Alert on rules with one- to three-character or punctuation-only names, rules that file mail into RSS Feeds, RSS Subscriptions or Conversation History, rules keyed on payroll or bank terms, and rules created through the API from hosting addresses.
  • Bind tokens where supported. Evaluate token protection and continuous access evaluation for Exchange Online, SharePoint Online and Teams, and plan for the browser sessions they do not yet cover.

FAQ

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

Account takeover is when an attacker gains control of a real mailbox and uses it as the owner would. In this campaign the attacker replayed a stolen Microsoft 365 session token, registered devices and a new authenticator to keep access, then used inbox rules to hide mail while a payroll email went to an outside accountant.

What is token spraying?

Token spraying is Huntress's name for replaying many stolen session tokens across many organizations, in the way password spraying tries one guessed password across many accounts. Huntress counted 79 organizations, 497 successful sign-ins and more than 200,000 failed attempts between 14 July and 22 September 2026.

Does resetting a password stop a stolen session token attack?

Not by itself. Huntress states that a reset alone does not remove attacker-registered devices or MFA methods and does not invalidate the access token. The sequence it gives is to revoke the sessions, reset the password, then remove the devices and authenticators the attacker added.

How do attackers hide fraud in a compromised Microsoft 365 mailbox?

They create inbox rules with short names such as ".", "sss" and "iT" that delete mail or move it to folders like RSS Feeds and Conversation History. In the payroll case, one rule hid messages mentioning payroll or bank terms and a second moved an accountant's replies out of sight.

References

  • Huntress (22 Oct 2026). M365 Token Spray and Replay Campaign Compromises Business Email Accounts. huntress.com
  • MITRE ATT&CK. T1557 Adversary-in-the-Middle; T1528 Steal Application Access Token; T1550.001 Application Access Token; T1098.005 Device Registration; T1556.006 Multi-Factor Authentication; T1564.008 Email Hiding Rules. attack.mitre.org
  • IETF (August 2019). RFC 8628: OAuth 2.0 Device Authorization Grant. rfc-editor.org
  • Microsoft Learn. How token protection enhances Conditional Access policies. learn.microsoft.com
  • Microsoft Learn. Authentication flows as a condition in Conditional Access policy. learn.microsoft.com
  • Microsoft Learn. Continuous access evaluation in Microsoft Entra. learn.microsoft.com