In early 2026 the crime group Storm‑2992 launched EvilTokens, a phishing‑as‑a‑service (PhaaS) platform that weaponized Microsoft’s device‑code multi‑factor flow. By Sept 2026 it had already hit 12,000+ inboxes in over 10,000 organizations worldwide. EvilTokens used generative AI to craft highly convincing phishing lures and automated the attack chain end‑to‑end. When a victim entered the device code, the attacker’s session was silently authorized, sidestepping passwords and MFA. Stolen tokens were used to establish persistence (often by registering new devices for Primary Refresh Tokens or adding hidden inbox rules).
Working with partners, Microsoft’s DCU disrupted the EvilTokens infrastructure in Sept 2026. However, device‑code phishing remains a potent threat. Defenders must understand this attack flow, how to detect the telltale signs (such as unexpected Microsoft login prompts or new inbox rules), and apply layered defenses. Our TRACE email‑security platform flags signals like “user prompted to enter a code they didn’t request” and anomalous mailbox rules, but the first line of defense is technical controls and user vigilance. Below we detail the Storm‑2992 timeline, the attack mechanics, attacker tooling and market, and a recommended defender playbook.
EvilTokens/Storm‑2992 first emerged in February 2026. Within months it became one of the largest device‑code phishing services ever seen, thanks to its AI‑driven scale. Microsoft’s threat intelligence tracked the campaign from its early days:
After the takedown, related phishing kits (nicknamed “GhostCode” and “N0va” in internal reports) appeared, indicating attackers continue to iterate on device‑code techniques. However, specifics on those variants remain scarce. Overall, the Storm‑2992 effort marks a major inflection point: device‑code MFA is now a mass-attack vector on par with legacy credential theft.
Device‑code authentication is meant for headless devices (TVs, conference rooms) that can’t enter usernames/passwords. Normally the device shows a code and the user separately completes login on another browser. The threat here is that the authentication is decoupled from the original session. EvilTokens inserts itself into this flow: the attacker initiates the device code request and entices the user to complete it. In practice this works as follows:
checkStatus() call) while the user interacts with the real login page. When the user pastes the code at microsoft.com/devicelogin and completes any MFA prompt (if not already logged in), Microsoft hands back an access token to the attacker’s session. In other words, the victim’s account is logged into on behalf of the attacker. If the user has an active Microsoft session already, simply submitting the code grants the attacker immediate access, bypassing any further password prompt.Once the attacker has tokens, Storm‑2992 steps up for long-term access and data theft. The attacker can use the token to send internal/external emails (including new phishing messages that appear to come from the victim) and to browse the mailbox. In one observed case, the attackers immediately set up email forwarding and filtering rules via Outlook – quietly exfiltrating communications behind the scenes. They also used EvilTokens’ AI module to sift through the victim’s inbox for high‑value targets (executives, finance staff) and gather further intel via Graph API. For example:
By abusing valid authentication flows, Storm‑2992 bypassed legacy MFA while giving the attackers extended access. Unlike typical phishing, EvilTokens allowed attackers to post‑pivot: they could impersonate the victim for further attacks. This “phishing‑as‑a‑service” model even enabled syndication – affiliates could lease the EvilTokens platform for cheap (about $1,500 + $500/month) and launch their own tailored campaigns. The result was an industrialized phishing pipeline: reconnaissance and lure generation became automated, and the adversary could infect thousands of accounts with minimal manual effort.
Detecting device-code phishing is challenging because the final authentication step can happen on a legitimate Microsoft page.
The maliciousness may therefore be concentrated in the intent of the message and the authentication request, rather than in the final destination itself.
That is where TRACE becomes relevant.
In the EvilTokens case, the internal threat brief identifies the intent signal around “enter a code you didn't request” as the key detection opportunity for TRACE. The same brief characterizes TRACE's coverage of the attack as partial, rather than claiming that it controls every stage of the identity compromise.
That distinction is important.
A message can point toward Microsoft's legitimate authentication experience and still be malicious because of why the recipient is being asked to authenticate in the first place.
TRACE's role is therefore strongest on the email and intent side of the attack:
But TRACE is not a magic control that can reverse a legitimate Microsoft authentication after the user has completed it.
Once the user is on the real Microsoft page and authorizes an authentication request that the attacker initiated, identity controls have to take over.
That is why device-code phishing requires layered defense.
Across the multi-stage device-code attack lifecycle, TRACE functions as both a pre-delivery shield and a post-compromise safety net. Its primary detection leverage occurs at the start of the attack chain, where it analyzes message context to identify invariant intent—specifically flagging emails that attempt to coerce users into unsolicited, out-of-band device-code authentication flows before an attack can execute.
Once a victim reaches the genuine [microsoft.com/devicelogin](https://microsoft.com/devicelogin) portal and completes authentication, TRACE explicitly defers to native identity controls (such as Entra ID Conditional Access and token revocation) to govern the session.
However, should an attacker successfully acquire tokens, TRACE re-engages downstream by analyzing telemetry for post-compromise anomalies, including suspicious mailbox rule creation and internal-to-internal lateral phishing. This gives SOC teams clear visibility at the email and intent layers without overpromising coverage on legitimate identity provider infrastructure.

Defending against EvilTokens-style attacks requires both policy and education. Based on vendor guidance, we recommend a layered playbook:
revokeSignInSessions), require re-authentication on next login, and temporarily disable the account if possible. (Storm‑2992 actors exploit the hour‑long window of active tokens; disabling the account breaks their PRT access.)EvilTokens’ Storm‑2992 campaign proved that device‑code MFA, if unchecked, can be turned against organizations at scale. By mixing personalized lures with automated token capture, attackers industrialized an MFA bypass that evades traditional filters. Defenders must respond in kind: tighten MFA policies, train users to scrutinize unexpected login prompts, and deploy advanced email security that understands context.
In practice, every unsolicited device-code prompt should be treated as a red alert. If a user asks why they saw a code, take it seriously. Use telemetry (Trace or native tools) to correlate that prompt with the originating email. Monitor Azure AD for unknown device registrations or refresh tokens, and enforce breaking of such sessions. Combine this with robust filtering (Safe Links, anti-phish rules) and incident playbooks (token revocation, account disablement) to contain any breach quickly.
Key takeaways: The Storm‑2992/EvilTokens case highlights how AI and PhaaS model have “industrialized” phishing. Even as vendors like Microsoft and Cloudflare shut down infrastructure, variants will appear. Defense is about layering: remove risky MFA paths where possible, augment email filters with AI/behavioral analysis, and stay vigilant for the unique signals of device‑code attacks.
Device-code phishing is an attack in which an attacker initiates a legitimate device-code authentication flow and persuades a victim to complete it. The victim can unknowingly authorize the attacker's session without directly handing over a password.
EvilTokens was a phishing-as-a-service platform associated by Microsoft with Storm-2992. Microsoft said it provided cybercriminals with capabilities including AI-assisted lure personalization and analysis of compromised inboxes.
Microsoft reported more than 12,000 compromised inboxes across more than 10,000 organizations worldwide. SpyCloud separately reported 8,708 victim accounts across 6,585 corporate domains in 79 countries.
Not necessarily. The attack abuses an authentication flow so that the victim can unknowingly authorize an attacker's session. Microsoft specifically describes device-code phishing as granting attackers access without exposing the victim's credentials in the usual phishing manner.
Because the final authentication step can happen on a legitimate Microsoft page. A security system looking only for fake login pages or obviously malicious domains may therefore miss the underlying social-engineering intent.
Microsoft recommends blocking device-code flow wherever it is not required and applying Conditional Access controls where legitimate use remains necessary.
Treat it as a potential identity compromise rather than merely deleting the original email. Microsoft recommends following its compromised-account response guidance, revoking refresh tokens, forcing reauthentication and addressing compromised devices or sessions as appropriate.
The EvilTokens infrastructure was disrupted, but the underlying device-code technique remained active. The September 25 threat brief reports that sibling kits GhostCode and N0va remained active and that the technique itself was not removed by the takedown.
Because attackers may establish persistence through stolen tokens, registered devices or malicious mailbox rules. Microsoft documented cases involving new devices and Primary Refresh Tokens, as well as inbox-rule manipulation.
Be the first to get exclusive offers and the latest news
Deploy in minutes, not months. Zero tuning. See what your current tools are missing.