All articles
Identity securityAwarely Monitor editorial team7 min

EvilTokens: what to check after device code phishing

On 22 September 2026, Microsoft announced the disruption of EvilTokens infrastructure, a phishing service used to steal Microsoft 365 tokens and enable email fraud. Microsoft says the campaigns compromised more than 12,000 inboxes across more than 10,000 organisations. These are Microsoft’s observations, not an independent count of all victims.

For administrators, the operational point is the mechanism: a victim enters a code from a lure on Microsoft’s real sign-in page and unknowingly authorises the session started by an attacker. A genuine login page and a successful MFA prompt do not mean the initiating session was legitimate.

The event and the limits of confirmation

Microsoft confirms the coordinated action against EvilTokens and published both technical research and information about its legal action. CyberScoop reports, from documents and conversations with Microsoft, that 50 websites were seized and more than 175 supporting domains disabled. Those measures target known infrastructure; they do not prove that every operator or copy of the service is gone.

Microsoft describes token theft, inbox access, mail rules for persistence and Microsoft Graph queries used to identify people with financial authority. There is no exhaustive public list of affected organisations. Using Microsoft 365 does not itself mean your tenant was compromised.

In March, Huntress independently attributed a device code phishing campaign observed in its own telemetry to EvilTokens. That corroborates the technique and part of the activity, while the global totals and scope of the disruption remain explicitly attributed to Microsoft.

Why MFA can show success

Device code flow is legitimate for devices with limited interfaces. An attacker starts the flow, sends the code in a deceptive message and persuades the victim to enter it on the real Microsoft site. The victim may complete MFA for their account, while the authorisation goes to the attacker-initiated session. The password does not need to appear on a fake website.

According to Microsoft, some operators then registered new devices, created inbox rules or accessed email data. The sequence varies by incident. A device code event alone needs correlation; it does not prove exfiltration.

What to check in your own tenant

  • ▸Establish whether your organisation needs device code authentication. Microsoft recommends blocking the flow where unnecessary. For Teams devices that require it, scope exceptions to the appropriate accounts and resources after testing the impact.
  • ▸Search Entra logs for unusual device code sign-ins and correlate user, application, location, device and time with anomalous token-exchange alerts. Prioritise accounts with financial, administrative or sensitive-data access.
  • ▸After such an event, check new device registrations, abnormal Microsoft Graph request volume, recently created inbox rules, forwarding and message access. Record the time window and sources searched.
  • ▸Where evidence points to unauthorised access, follow the compromised-account procedure: revoke sessions and refresh tokens, assess active sessions and consider temporarily disabling the account for rapid containment. Microsoft warns that already issued access tokens can remain valid until expiry.
  • ▸Review messages sent from the account and hidden rules before reactivation. Changing a password alone can leave persistence or fraud initiated from a trusted inbox.

Alert priority comes from the sequence

A device code sign-in can be legitimate. It becomes more urgent when followed by new device registration, unusual Graph requests or a rule that moves or forwards messages. Look for this sequence on the same account within a coherent time window; do not turn one signal into a verdict.

Start with accounts that approve payments, administer the tenant or access shared mailboxes. Separately record which signals could not be checked because of licensing, retention or disabled logging.

How to close the response

A useful record can state whether device code flow is blocked or has documented exceptions; which logs were searched; how many events needed analysis; which rules, devices and sessions were checked; and which accounts were isolated. Include retention limits and the interval during which existing tokens could remain active.

This is primarily an identity and messaging problem, not a CVE. Awarely Monitor can help track owners and evidence in a remediation workflow, but it does not automatically inspect Entra, Microsoft Graph or inboxes. Any compromise conclusion must come from those logs and your investigation.

How to monitor CVEs and get alerts for products in your inventory