EvilTokens
- Type
- Infostealer
- Capabilities
- Session hijackingInitial accessPersistenceReconnaissanceExfiltrationDefense evasionSpoofing
- Delivery
- PhishingSpearphishingLanding pageLure
- Platforms
- Cloud
EvilTokens is a subscription-based phishing-as-a-service toolkit targeting Microsoft 365 accounts through abuse of the OAuth 2.0 device authorization flow. Sold through Telegram, it provides affiliates with phishing templates and shared backend infrastructure. Microsoft tracks its developer and support operator as Storm-2992. Campaigns have affected organizations across multiple countries, including the United States, Canada, Australia, New Zealand, and Germany, with documented use against U.S. state, local, tribal, and territorial government organizations.
Lures commonly impersonate document-sharing or signing workflows associated with OneDrive, SharePoint, Adobe, and DocuSign. Delivery includes phishing emails and calendar invitations. The backend requests a legitimate Microsoft device code, displays it through an attacker-controlled landing page, and polls for authorization. Victims enter the supplied code and authenticate on Microsoft's genuine sign-in infrastructure, causing access and refresh tokens to be issued to the attacker-controlled session. This compromises authorization without requiring direct password theft or defeating MFA cryptographically.
Captured tokens support mailbox access, Microsoft Graph reconnaissance, email extraction, hidden inbox rules, and unauthorized device registration for persistent access, including acquisition of Primary Refresh Tokens. AI-assisted features analyze mailbox contents and organizational relationships, prioritize financial-fraud opportunities, translate messages, and draft business email compromise emails. Evasion mechanisms include runtime decryption of AES-GCM-encrypted phishing interfaces, anti-debugging controls, CAPTCHA gates, and multistage redirects through legitimate cloud services and compromised websites.
EvilTokens has been linked to more than 12,000 compromised inboxes across over 10,000 organizations. Microsoft disrupted the service in September 2026, but associated infrastructure and functioning device-code lures continued to appear through October and November.
Associated threat actors
4 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Storm-2992 EvilTokens Lures Continue Targeting Microsoft 365 Users After Takedown
A “Review and Sign” button then redirected the victim to an EvilTokens device code harvesting page disguised as an Adobe Acrobat document-sharing authentication screen.
BGD e-GOV CIRT is issuing this advisory to raise awareness of EvilTokens, a Phishing-as-a-Service (PhaaS) kit that abuses the legitimate Microsoft OAuth 2.0 Device Authorization Grant (device code) flow to steal persistent Microsoft 365 access and refresh tokens without requiring password theft or triggering suspicious MFA prompts.
BGD e-GOV CIRT is issuing this advisory to raise awareness of EvilTokens, a Phishing-as-a-Service (PhaaS) kit that abuses the legitimate Microsoft OAuth 2.0 Device Authorization Grant (device code) flow to steal persistent Microsoft 365 access and refresh tokens without requiring password theft or triggering suspicious MFA prompts.
Techniques & procedures
61 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
4 techniques
Reconnaissance
Threat actors query Microsoft’s GetCredentialType endpoint to confirm a targeted email address exists and is active within a tenant, typically 10-15 days before the phishing attempt is launched.
“Validation of active Microsoft 365 accounts and tenants prior to phishing delivery.”
Other observed post-compromise activity: ... targeted searches for wire transfer instructions, pending invoices, and executive correspondence (i.e., business email compromise / fraud staging).
[AI] helped them decide who to target, who to impersonate, and how to most effectively exploit the relationship to extract as much money as possible.
Resource Development
5 techniques
Resource Development
Resource Development T1583.006 [[URL_8d695d7c_67]] Acquire Infrastructure: Web Services Workers.dev, Bunny CDN, Vercel and Netlify used to host the kit
Cloudflare Workers host the lure and, optionally, the polling logic.
A “Review and Sign” button then redirected the victim to an EvilTokens device code harvesting page disguised as an Adobe Acrobat document-sharing authentication screen.
« En quelques mois, elle a été liée à plus de 12 000 boîtes mail compromises dans plus de 10 000 organisations. »
“Account compromises were achieved through a legitimate OAuth process known as device code authentication.”
Initial Access
6 techniques
Initial Access
If the user is convinced to complete the authentication process in a browser using the attacker’s code, they are giving the attacker access to the account without handing over passwords.
The victim authenticates and satisfies MFA, and the attacker, polling the token endpoint with the corresponding device code, receives access and refresh tokens for the victim’s account.
Initial Access T1566 [[URL_8d695d7c_68]] Phishing The Adobe Acrobat Sign / DocuSign lures
To bypass protections, platform operators used PDF and HTML attachments; subscribers also had access to phishing templates impersonating Microsoft, e-signature services, file-sharing services, voicemail, and other corporate services.
Entry is via email or messaging app lures impersonating document shares, meeting invitations, or HR and finance workflows, delivered as links that direct victims to attacker-controlled landing pages.
“EvilTokens was used with Outlook calendar invitations to place phishing messages directly into users’ schedules.”
Execution
1 technique
Execution
Execution T1204.001 [[URL_8d695d7c_70]] User Execution: Malicious Link The victim clicking the lure link to open the fake portal
Persistence
8 techniques
Persistence
If the user is convinced to complete the authentication process in a browser using the attacker’s code, they are giving the attacker access to the account without handing over passwords.
The victim authenticates and satisfies MFA, and the attacker, polling the token endpoint with the corresponding device code, receives access and refresh tokens for the victim’s account.
Attackers registered devices in Entra ID for persistent access.
T1098.001 — Account Manipulation: Additional Cloud Credentials (Persistence)
“Operators used ... device registration and token-refresh mechanisms to maintain access.”
“If the victim approves the request, the intruder receives an OAuth authorization token with the permissions granted.”
Manages captured authentication tokens and supports device-registration workflows for obtaining Primary Refresh Tokens (PRTs).
Notably, the “management” tab enables attackers to add users to the administration panel and assign them roles, thereby facilitating collaboration within the same EvilTokens instance.
Privilege Escalation
7 techniques
Privilege Escalation
If the user is convinced to complete the authentication process in a browser using the attacker’s code, they are giving the attacker access to the account without handing over passwords.
The victim authenticates and satisfies MFA, and the attacker, polling the token endpoint with the corresponding device code, receives access and refresh tokens for the victim’s account.
Attackers registered devices in Entra ID for persistent access.
T1098.001 — Account Manipulation: Additional Cloud Credentials (Persistence)
“Operators used ... device registration and token-refresh mechanisms to maintain access.”
“If the victim approves the request, the intruder receives an OAuth authorization token with the permissions granted.”
Manages captured authentication tokens and supports device-registration workflows for obtaining Primary Refresh Tokens (PRTs).
Stealth
12 techniques
Stealth
The phishing kit also “deploys a seven-layer anti-analysis system combining client-side behavioral verification with XOR-encrypted payloads...
The actual payload - the redirect URL - is never present in plaintext anywhere in the file. It is decrypted via AES-256-GCM with the threat actor supplied password.
“Abuse of Microsoft’s legitimate authentication portal to appear trustworthy to victims.”
inbox rule creation for forwarding and deleting messages
Attackers ... created hidden inbox rules to suppress alerts and delete evidence.
If the user is convinced to complete the authentication process in a browser using the attacker’s code, they are giving the attacker access to the account without handing over passwords.
The victim authenticates and satisfies MFA, and the attacker, polling the token endpoint with the corresponding device code, receives access and refresh tokens for the victim’s account.
The phishing kit also “deploys a seven-layer anti-analysis system combining client-side behavioral verification with XOR-encrypted payloads, a more sophisticated evasion approach...
« Techniques d’évasion : redirections multiples via sites de confiance, protection anti-bot, fenêtre popup pour la saisie du code. »
inbox rule creation for forwarding and deleting messages
Attackers registered devices in Entra ID for persistent access, created hidden inbox rules to suppress alerts and delete evidence.
“The system could search for invoices, wire-transfer discussions and executive correspondence before recommending who criminals should impersonate and how they could carry out financial fraud.”
Defense Impairment
1 technique
Defense Impairment
“The platform also has built-in tools for anti-analysis [and] detection evasion.”
Credential Access
7 techniques
Credential Access
Once the user completed the fake check, they were redirected to a spoofed sign-in page designed to steal their account credentials.
...harvest Microsoft credentials and tokens in real-time, effectively allowing the threat actors to bypass multi-factor authentication (MFA).
The adversary obtains OAuth tokens when the victim enters the attacker-generated user_code on a legitimate verification endpoint, such as microsoft.com/devicelogin , and authorizes the request.
The content identifies T1539 as a detected EvilTokens TTP and notes that access persisted when associated sessions were not revoked.
The operation uses voicemail-themed phishing emails to direct victims to adversary-in-the-middle (AiTM) pages that proxy the genuine Microsoft authentication flow, even when multi-factor authentication (MFA) is enabled.
“Multifactor authentication (MFA) doesn’t necessarily stop this attack, because the victim may complete the MFA check themselves while authorizing the attacker’s sign-in.”
If the victim entered the code, EvilTokens could obtain an authorization token and give the attacker access to the account.
Discovery
5 techniques
Discovery
EvilTokens also allowed threat actors to conduct Microsoft Graph reconnaissance to map organizational structure and permissions.
« [Le chatbot] pouvait … cartographier les rôles organisationnels et les relations de confiance. »
The phishing kit also “deploys a seven-layer anti-analysis system combining client-side behavioral verification with XOR-encrypted payloads, a more sophisticated evasion approach...
« Techniques d’évasion : redirections multiples via sites de confiance, protection anti-bot, fenêtre popup pour la saisie du code. »
“Pico de consultas Graph, principalmente usuários, funções, contatos, calendário e e mail.”
Lateral Movement
4 techniques
Lateral Movement
« [Le chatbot] pouvait … rédiger des messages usurpant l’identité de contacts de confiance. »
ARToken functions as a complete post-compromise toolkit that allows operators to leverage the captured access token recovered following successful device code authentication to maintain access.
Lateral Movement T1550.001 [[URL_8d695d7c_72]] Use Alternate Authentication Material: Application Access Token The stolen token used in place of credentials once the victim approves the code
“With active tokens gained through a collection of highly-targeted phishing lures, cybercriminals consistently bypassed multi-factor authentication, email gateways and endpoint security tools.”
Collection
9 techniques
Collection
Once the user completed the fake check, they were redirected to a spoofed sign-in page designed to steal their account credentials.
“Its chatbot could analyse compromised inboxes, identify employees authorised to make payments and map trusted relationships ... [and] search for invoices, wire-transfer discussions and executive correspondence.”
After compromising an account, EvilTokens used Microsoft Graph and AI tools to analyze the victim's mailbox, including messages relating to payments, invoices, approval personnel, and regular business contacts.
“Operators used malicious inbox rules ... to maintain access and conceal communications.”
The script automatically copies the generated device code to the victim’s clipboard via navigator.clipboard.writeText.
Finally, EvilTokens pipeline forwards all results... It also converts tokens into cookies for access to live browser sessions on Microsoft domains, bypassing passwords and MFA.
“Once obtained, the tokens allow attackers to access Microsoft 365 services, maintain persistent access through refresh tokens, and conduct follow-on activities such as further reconnaissance, phishing, and data extraction.”
Depending on the targeted service, the attacker can access emails via Exchange Online, documents from Microsoft SharePoint Online and OneDrive, or conversation history in Microsoft Teams.
The operation uses voicemail-themed phishing emails to direct victims to adversary-in-the-middle (AiTM) pages that proxy the genuine Microsoft authentication flow, even when multi-factor authentication (MFA) is enabled.
Command and Control
4 techniques
Command and Control
“[EvilTokens routes] traffic through compromised sites and legitimate cloud platforms such as Vercel, Cloudflare Workers, and AWS Lambda.”
“The operation can place deceptive links in images, use staged redirects and show fake verification checks before revealing the sign-in prompt.”
“Use of legitimate cloud-hosted services such as Cloudflare Workers, AWS Lambda and Vercel for phishing infrastructure.”
EvilTokens uses a multi-stage delivery pipeline designed to bypass traditional email gateways and endpoint security.
Exfiltration
2 techniques
Exfiltration
T1567 — Exfiltration Over Web Service (Exfiltration)
ARToken panel exposes 80+ API endpoints for device code phishing, Primary Refresh Token (PRT) persistence, email access, business email compromise (BEC) operations, and SharePoint exfiltration.
Impact
1 technique
Impact
Commercial device code phishing kits use compromised mailboxes to identify active payment threads, generate AI-assisted reply-chain messages, and redirect payments.
Observables
284 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
65 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.