Skip to main content
Mallory
Malware

EvilTokens

EvilTokens is a phishing-as-a-service (PhaaS) kit used to compromise Microsoft 365 and other Microsoft accounts by abusing Microsoft’s OAuth 2.0 device authorization grant flow. Rather than stealing credentials through a fake login page, it performs device code phishing: victims are lured to enter an attacker-generated code on Microsoft’s legitimate device login page, after which Microsoft issues access and refresh tokens to the attacker’s session. This enables account takeover even when the victim completes normal MFA, because the attacker steals session tokens rather than bypassing MFA directly.

The kit has been advertised and sold on Telegram and was observed in active attacks from at least February 2026, with Sekoia publicly uncovering it in March 2026. It has been linked to account takeover and business email compromise activity and was reported in campaigns affecting organizations worldwide, including notable activity in the United States, Canada, France, Australia, India, Switzerland, and the United Arab Emirates. Targeting has focused on employees in finance, HR, transportation/logistics, and sales.

EvilTokens uses phishing lures embedded in emails and attachments, including PDF, HTML, DOCX, XLSX, and SVG files, sometimes with QR codes or hyperlinks. Observed themes include financial documents, invoices, shared documents, SharePoint access requests, calendar invites, voicemail notices, password expiry warnings, payroll notices, logistics or purchase orders, Adobe Acrobat Sign, Adobe Acrobat Viewer, DocuSign, email quarantine notices, OneDrive shared documents, and eFax notifications. In some campaigns it was assessed to support CalPhishing-style attacks using malicious .ics calendar invites and ConsentFix/device code phishing to steal session tokens.

The phishing pages impersonate trusted services such as Adobe Acrobat, DocuSign, Microsoft 365, GoDaddy, and SharePoint, display a verification code and instructions, and redirect victims via a “Continue to Microsoft” flow to the legitimate Microsoft device login page. The Microsoft device code used in these attacks is valid for about 15 minutes. After successful authentication, attackers receive short-lived access tokens and refresh tokens that can be used to access victim email, files, Teams, SharePoint, and OneDrive data.

Sekoia reported that EvilTokens includes advanced post-compromise and automation features beyond basic phishing. Reported backend capabilities include token refresh and exchange, Primary Refresh Token conversion, browser SSO cookie generation, Outlook Web Access session generation, Microsoft Graph reconnaissance, Azure enumeration, and Telegram notifications containing victim email addresses and IP geolocation when tokens are captured. Reported API paths and detection opportunities include /api/device/start, /api/device/status/<SESSION_ID>, Cloudflare Workers naming patterns, and a custom X-Antibot-Token HTTP header. Sekoia stated that the associated infrastructure spans more than 1,000 domains.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

MITRE ATT&CK

Techniques & procedures

27 distinct techniques documented for this family, organized by ATT&CK tactic.

Reconnaissance

2 techniques
T1589Gather Victim Identity InformationEvidence2

PhaaS-palveluissa tekoälyä käytetään luomaan kielellisesti virheettömiä ja tarkasti kohdennettuja huijausviestejä automatisoimalla uhrin taustatietojen etsintä sosiaalisesta mediasta.

T1598Phishing for InformationEvidence2

EvilTokens hyödyntää tekoälyä sähköpostisuodattimien ohittamisessa, kalasteluhyökkäysten räätälöinnissä sekä tuottoisimpien maalien tunnistamisessa.

Initial Access

5 techniques
T1078Valid AccountsEvidence4

Seeing a valid sign-in, Microsoft issues access and refresh tokens to the session opened by the attacker. Once inside, the criminals can access corporate email, files, Teams, SharePoint, OneDrive, and other Microsoft 365 resources and exfiltrate data or prepare BEC attacks.

T1566PhishingEvidence9

EvilTokens is a phishing-as-a-service (PhaaS) kit built to compromise Microsoft 365 accounts by abusing the OAuth 2.0 device authorization grant flow. As attacks that use the kit rely on device code phishing, they sidestep the need for convincing replicas of genuine login pages where the victims would hand over their passwords. | The victim receives an email or message that’s often dressed up as an invoice, shared document, calendar invite, or SharePoint access request. The lure involves a decoy page impersonating a trusted brand or service, along with simple wording such as “Verify to view” or “Signature required.”

T1566.001Spearphishing AttachmentEvidence2

This email contains an iCalendar (.ics) file that automatically adds a "tentative" meeting to the victim's Outlook calendar without the user needing to open the original email.

T1566.002Spearphishing LinkEvidence2

Kalasteluviestejä luodaan kohdennetusti eri organisaatioille ja käyttäjärooleille, mikä lisää onnistumisen todennäköisyyttä.

T1566.003Spearphishing via ServiceEvidence1

Device-code phishing pages impersonating Adobe, DocuSign, and SharePoint harvest Microsoft OAuth tokens.

Persistence

2 techniques
T1078Valid AccountsEvidence4

Seeing a valid sign-in, Microsoft issues access and refresh tokens to the session opened by the attacker. Once inside, the criminals can access corporate email, files, Teams, SharePoint, OneDrive, and other Microsoft 365 resources and exfiltrate data or prepare BEC attacks.

T1136Create AccountEvidence1

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

1 technique
T1078Valid AccountsEvidence4

Seeing a valid sign-in, Microsoft issues access and refresh tokens to the session opened by the attacker. Once inside, the criminals can access corporate email, files, Teams, SharePoint, OneDrive, and other Microsoft 365 resources and exfiltrate data or prepare BEC attacks.

Stealth

5 techniques
T1027Obfuscated Files or InformationEvidence1

Lisäksi tekoäly muuntelee viestien tekstiä ja koodia reaaliajassa, mikä auttaa niitä kiertämään perinteiset roskapostisuodattimet ja tietoturvajärjestelmät.

T1036MasqueradingEvidence2

Prompts direct the model to reference real email threads, mask payment changes behind “plausible business reasons”, imitate sender style, and generate emails “realistic enough to fool a trained employee.”

T1078Valid AccountsEvidence4

Seeing a valid sign-in, Microsoft issues access and refresh tokens to the session opened by the attacker. Once inside, the criminals can access corporate email, files, Teams, SharePoint, OneDrive, and other Microsoft 365 resources and exfiltrate data or prepare BEC attacks.

T1497Virtualization/Sandbox EvasionEvidence1

It also implements two anti-bot checks: A User-Agent validation against a list of known bot patterns. A time-based token computed as the SHA256 hash of the token secret + current Unix timestamp + “antibot”.

T1564Hide ArtifactsEvidence1

For the top three financial exposures, the prompt instructs the model to construct detailed attack scenarios... “PERSISTENCE: [inbox rules to create for interception and evidence cleanup]”

Credential Access

6 techniques
T1111Multi-Factor Authentication InterceptionEvidence1

...harvest Microsoft credentials and tokens in real-time, effectively allowing the threat actors to bypass multi-factor authentication (MFA).

T1528Steal Application Access TokenEvidence2

Seeing a valid sign-in, Microsoft issues access and refresh tokens to the session opened by the attacker.

T1539Steal Web Session CookieEvidence2

A key concern is the use of ConsentFix, or device code phishing, which allows attackers to steal session tokens, bypassing multi-factor authentication.

T1557Adversary-in-the-MiddleEvidence3

Since mid-February 2026, these phishing pages have been distributed in the wild and were rapidly adopted by cybercriminals specialising in Adversary-in-the-Middle (AiTM) phishing and Business Email Compromise (BEC).

T1621Multi-Factor Authentication Request GenerationEvidence1

Further probing revealed that this campaign uses a technique called ConsentFix, aka device code phishing... Hackers can infiltrate an account even if the user has multi-factor authentication (MFA) enabled, simply by stealing these tokens.

T1649Steal or Forge Authentication CertificatesEvidence1

Once a victim's token was captured, the platform could scan their inbox, calendar invites, and documents, and use that context to generate convincing follow-on attacks.

Discovery

3 techniques
T1087Account DiscoveryEvidence1

The backend server then executes parallel Microsoft Graph API requests to perform reconnaissance: /contacts... /manager... /directReports... /organization

T1497Virtualization/Sandbox EvasionEvidence1

It also implements two anti-bot checks: A User-Agent validation against a list of known bot patterns. A time-based token computed as the SHA256 hash of the token secret + current Unix timestamp + “antibot”.

T1526Cloud Service DiscoveryEvidence2

conduct reconnaissance via Microsoft Graph API... The backend server then executes parallel Microsoft Graph API requests to perform reconnaissance

Lateral Movement

1 technique
T1534Internal SpearphishingEvidence1

Things like wire fraud emails written in the victim's own voice, automatically drafted and sent within minutes of token capture.

Collection

5 techniques
T1114Email CollectionEvidence2

Once inside, the criminals can access corporate email, files, Teams, SharePoint, OneDrive, and other Microsoft 365 resources

T1114.003Email Forwarding RuleEvidence2

Employees who receive an unexpected device-code request should notify their company’s IT or security teams, who may need to review sign-in logs, revoke sessions, invalidate refresh tokens, remove malicious inbox rules, and temporarily disable the compromised account.

T1185Browser Session HijackingEvidence1

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.

T1213Data from Information RepositoriesEvidence1

its features enable attackers to weaponise harvested tokens to exfiltrate emails, files and other sensitive data from compromised Microsoft accounts... It allegedly supports unlimited accounts and Microsoft Admin, Azure, Office, OneDrive, SharePoint and Teams applications

T1557Adversary-in-the-MiddleEvidence3

Since mid-February 2026, these phishing pages have been distributed in the wild and were rapidly adopted by cybercriminals specialising in Adversary-in-the-Middle (AiTM) phishing and Business Email Compromise (BEC).

Exfiltration

1 technique
T1567Exfiltration Over Web ServiceEvidence1

Once inside, the criminals can access corporate email, files, Teams, SharePoint, OneDrive, and other Microsoft 365 resources and exfiltrate data or prepare BEC attacks.

Other

1 technique
T1656ImpersonationEvidence1

The prompt then asks for three realistic BEC emails “to be realistic enough to fool a trained employee”... imitate writing style: mirror the sender’s greeting, sentence length, tone, and signature.

INDICATORS OF COMPROMISE

IOCs tracked for this family

110 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.

View more in app
Network
110 tracked

IPs, domains, and DNS infrastructure linked to this family.

TypeValueLatest sighting
domain●●●●●●●●●●●●View more in app7 days ago
domain●●●●●●●●●●●●View more in app7 days ago
domain●●●●●●●●●●●●View more in app7 days ago
domain●●●●●●●●●●●●View more in app7 days ago
domain●●●●●●●●●●●●View more in app1 month ago
domain●●●●●●●●●●●●View more in app1 month ago
ACTIVITY FEED

Recent activity

6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching110

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping27

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.