Connected & Protected
24/7 Support
HomeBlogEvilTokens abuses Microsoft device code flow for account takeovers
Phishing, Security, Social Engineering
#Phishing, Security, Social Engineering
#EvilTokens
#Microsoft device code flow
#account takeover
#phishing-as-a-service
#PhaaS
#social engineering
#Microsoft 365 security
#device code phishing
#authentication bypass
#cybersecurity threats
#malicious toolkits
#phishing techniques

EvilTokens abuses Microsoft device code flow for account takeovers

A new phishing-as-a-service (PhaaS) campaign is abusing Microsoft’s device code authentication flow to gain unauthorized access to user accounts. Sekoia researchers first spotted the toolkit “EvilTokens” that lets attackers capture authentication tokens by tricking users into completing a legitimate login process in Microsoft’s own environment. The activity, observed since at least mid-February, relies on social engineering lures that prompt victims to enter a device code on a real Microsoft login page, Sekoia researchers noted in a blog post. “To compromise Microsoft 365 accounts, EvilTokens pages rely on device code phishing, a technique that differs from the common AitM tactic of replicating Microsoft authentication pages,” the researchers said. The PhaaS toolkit is offering a host of features to its affiliates, including modules for access weaponization, email harvesting, reconnaissance capabilities, and a built-in webmail interface, all powered through Ai automation, the researchers added. EvilTokens was found operating through bots on Telegram, with a dedicated channel for kit upgrades. The campaign has so far mostly affected countries, including the US, Australia, Canada, France, India, Switzerland, and the UAE. Device code authentication as an access broker The campaign centers around the abuse of Microsoft’s device authorization grant flow, a feature designed to simplify logins for devices like smart TVs or command-line tools. EvilTokens repurposes this workflow by generating a legitimate device code and then tricking victims into entering it themselves on the official login page. Once the victim completes authentication, the attacker receives access tokens tied to the session. These tokens can then be used to access Microsoft 365 services, including email and cloud resources, without triggering typical credential-based alerts. Sekoia researchers noted that this technique sidesteps many conventional phishing detections. Because the authentication happens on a legitimate Microsoft domain, there is no credential interception in transit, and multi-factor authentication is completed as happens in a normal login flow. The attack results in a form of account takeover coming from a seemingly expected user behavior. A phishing package with post-compromise focus Beyond the initial access vector, EvilTokens is structured as a full-service phishing platform. The kit provides affiliates with ready-to-use lures, infrastructure, and automation tools designed to carry out both the phishing phase and post-compromise activity. The lures used in the campaign include fake SharePoint document notifications, DocuSign requests, and account alerts, all meant to urge users toward entering device codes. Once access is obtained, the platform enables inbox analysis, allowing attackers to identify high-value targets such as financial conversations or invoice threads. “By leveraging the short-lived access token, the attacker can exfiltrate targeted user data for up to 60 minutes following the device code phishing attack,” they said. “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 received tokens with 60 minutes expiry can also be redeemed for generating new access tokens, with a rolling 90-day validity, allowing attackers to maintain persistence on the compromised account. Distributed through Telegram channels, the PhaaS service includes bot-driven workflows to manage campaigns and token collection. Researchers also observed ongoing development efforts, with indications that support for additional platforms beyond Microsoft may be introduced. Sekoia shared a set of attack infrastructure details to support tracking. These include phishing domain and URL patterns, self-hosted affiliate domains, EvilTokens admin domains, and the YARA rule for detecting the phishing page.

S
Security lapse lets researchers view React2Shell hackers’ dashboard | CSO Online
Content Author
Content Specialist

The author is a cybersecurity expert with extensive experience in analyzing phishing threats and malware tactics. They specialize in identifying vulnerabilities in authentication processes and have contributed to various security publications.

Expertise: Cybersecurity, Phishing Analysis, Authentication Vulnerabilities, Malware Research
Published: April 4, 2026
Updated: May 10, 2026
5 min read

Quick Answer

EvilTokens is a phishing-as-a-service toolkit that abuses Microsoft’s device code authentication flow, enabling attackers to gain unauthorized access to user accounts and Microsoft 365 services through social engineering tactics.

TL;DR

EvilTokens is a new PhaaS campaign that exploits Microsoft’s device code authentication to facilitate account takeovers. By tricking users into entering device codes on legitimate Microsoft pages, attackers gain access tokens to Microsoft 365 services without triggering typical security alerts.

Key Takeaways

  • 1EvilTokens uses social engineering to exploit Microsoft’s device code flow.
  • 2The PhaaS toolkit offers various features for attackers, including automation.
  • 3Phishing techniques bypass conventional detection methods due to legitimate authentication.
EvilTokens abuses Microsoft device code flow for account takeovers

EvilTokens abuses Microsoft device code flow for account takeovers

The phishing-as-a-service toolkit leverages legitimate authentication to capture tokens and access Microsoft 365 services.

Credit: IB Photography - shutterstock.com

A new phishing-as-a-service (PhaaS) campaign is abusing Microsoft’s device code authentication flow to gain unauthorized access to user accounts.

Sekoia researchers first spotted the toolkit “EvilTokens” that lets attackers capture authentication tokens by tricking users into completing a legitimate login process in Microsoft’s own environment.

The activity, observed since at least mid-February, relies on social engineering lures that prompt victims to enter a device code on a real Microsoft login page, Sekoia researchers noted in a blog post. “To compromise Microsoft 365 accounts, EvilTokens pages rely on device code phishing, a technique that differs from the common AitM tactic of replicating Microsoft authentication pages,” the researchers said.

The PhaaS toolkit is offering a host of features to its affiliates, including modules for access weaponization, email harvesting, reconnaissance capabilities, and a built-in webmail interface, all powered through Ai automation, the researchers added.

EvilTokens was found operating through bots on Telegram, with a dedicated channel for kit upgrades. The campaign has so far mostly affected countries, including the US, Australia, Canada, France, India, Switzerland, and the UAE.

CrowdStrike
Related Product

CrowdStrike Advanced Defend

by CrowdStrike$15.41/mo

CrowdStrike provides advanced cloud-native platform protection for endpoints, cloud workloads, identities, and data with a single lightweight agent.

Learn More

Device code authentication as an access broker

The campaign centers around the abuse of Microsoft’s device authorization grant flow, a feature designed to simplify logins for devices like smart TVs or command-line tools. EvilTokens repurposes this workflow by generating a legitimate device code and then tricking victims into entering it themselves on the official login page.

Once the victim completes authentication, the attacker receives access tokens tied to the session. These tokens can then be used to access Microsoft 365 services, including email and cloud resources, without triggering typical credential-based alerts.

Sekoia researchers noted that this technique sidesteps many conventional phishing detections. Because the authentication happens on a legitimate Microsoft domain, there is no credential interception in transit, and multi-factor authentication is completed as happens in a normal login flow.

The attack results in a form of account takeover coming from a seemingly expected user behavior.

A phishing package with post-compromise focus

Beyond the initial access vector, EvilTokens is structured as a full-service phishing platform. The kit provides affiliates with ready-to-use lures, infrastructure, and automation tools designed to carry out both the phishing phase and post-compromise activity.

The lures used in the campaign include fake SharePoint document notifications, DocuSign requests, and account alerts, all meant to urge users toward entering device codes. Once access is obtained, the platform enables inbox analysis, allowing attackers to identify high-value targets such as financial conversations or invoice thread

SentinelOne
Related Product

SentinelOne Control

by SentinelOne$8.00/mo

Prevention and detection of attacks across all major vectors with fully automated, policy-driven response capabilities and real-time forensics.

Learn More
s.

“By leveraging the short-lived access token, the attacker can exfiltrate targeted user data for up to 60 minutes following the device code phishing attack,” they said. “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 received tokens with 60 minutes expiry can also be redeemed for generating new access tokens, with a rolling 90-day validity, allowing attackers to maintain persistence on the compromised account.

Distributed through Telegram channels, the PhaaS service includes bot-driven workflows to manage campaigns and token collection. Researchers also observed ongoing development efforts, with indications that support for additional platforms beyond Microsoft may be introduced.

Sekoia shared a set of attack infrastructure details to support tracking. These include phishing domain and URL patterns, self-hosted affiliate domains, EvilTokens admin domains, and the YARA rule for detecting the phishing page.

Shweta has been writing about enterprise technology since 2017, most recently reporting on cybersecurity for CSO online. She breaks down complex topics from ransomware to zero trust architecture for both experts and everyday readers. She has a postgraduate diploma in journalism from the Asian College of Journalism, and enjoys reading fiction, watching movies, and experimenting with new recipes when she’s not busy decoding cyber threats.

Show me more

Security lapse lets researchers view React2Shell hackers’ dashboard

A core infrastructure engineer pleads guilty to federal charges in insider attack

Google patches fourth Chrome zero-day so far this year

CSO Executive Sessions ASEAN: From Compliance to Cyber Resilience-Securing Patient Trust in Southeast Asia’s Hospitals

How Intelligence and AI Are Changing Cyber Defense | Erin Whitmore, Former CIA

Inside the SMB Threat Landscape: AT&T’s Senthil Ramakrishnan on Why Small Businesses Are Cybercrime’s Favorite Target

CSO Executive Sessions ASEAN: From Compliance to Cyber Resilience-Securing Patient Trust in Southeast Asia’s Hospitals

How Intelligence and AI Are Changing Cyber Defense | Erin Whitmore, Former CIA

Inside the SMB Threat Landscape: AT&T’s Senthil Ramakrishnan on Why Small Businesses Are Cybercrime’s Favorite Target

Originally published on April 2, 2026 by CSO Online.

Expert Analysis for Orange County Businesses

How this impacts SMBs in Southern California

Tech News Roundup: EvilTokens abuses Microsoft device code flow for account takeovers

The emergence of the EvilTokens phishing-as-a-service (PhaaS) toolkit underscores a growing threat landscape for small and medium businesses (SMBs) in Orange County and Southern California. By exploiting Microsoft's device code authentication, this attack allows adversaries to gain unauthorized access to Microsoft 365 accounts through sophisticated social engineering tactics. For local businesses, the implications are significant: compromised accounts can lead to data breaches, loss of sensitive information, and a serious disruption of operations, all of which can erode customer trust and lead to financial losses.

To protect against such threats, SMBs must prioritize cybersecurity measures that go beyond traditional defenses. TNC offers robust managed IT services and cybersecurity solutions tailored for the unique needs of businesses in this region. By implementing advanced security protocols, including multi-factor authentication and continuous monitoring through our MSSP Services, organizations can mitigate the risks posed by phishing attacks like EvilTokens. Additionally, our cloud backup and BCDR solutions ensure that your critical data is safeguarded and recoverable in case of an incident. Don’t leave your company vulnerable—partner with TNC to build a stronger, more resilient cybersecurity posture.

Read the full article: CSO Online

Frequently Asked Questions

What is EvilTokens?

EvilTokens is a phishing-as-a-service toolkit that exploits Microsoft’s device code authentication to perform account takeovers.

How does the device code phishing technique work?

Attackers trick victims into entering a legitimate device code on a real Microsoft login page, capturing access tokens for unauthorized use.

Content Quality

Last Reviewed:April 4, 2026
Fact-Checked:April 4, 2026
0
Word Count:815 words

Article Tags

Phishing, Security, Social Engineering
EvilTokens
Microsoft device code flow
account takeover
phishing-as-a-service
PhaaS
social engineering
Microsoft 365 security
device code phishing
authentication bypass
cybersecurity threats
malicious toolkits
phishing techniques
S

About Security lapse lets researchers view React2Shell hackers’ dashboard | CSO Online

Content Author

The author is a cybersecurity expert with extensive experience in analyzing phishing threats and malware tactics. They specialize in identifying vulnerabilities in authentication processes and have contributed to various security publications.

Expertise: Cybersecurity, Phishing Analysis, Authentication Vulnerabilities, Malware Research

Ready to Transform Your Business?

Discover how our expert IT solutions can help your business thrive.