top of page
perceptive_background_267k.jpg

6 Reasons Why Device Code Phishing is the Fastest-Growing Threat of 2026

Published:

31 juli 2026 om 11:24:59

Alert date:

31 juli 2026 om 12:01:34

Source:

thehackernews.com

Click to open the original link from this advisory

Identity & Access, Web Technologies, Enterprise Applications, Data Breach & Exfiltration

Device code phishing exploits the OAuth 2.0 device authorization grant flow to steal access tokens from victims. Originally designed for input-constrained devices like smart TVs and printers, this mechanism is being abused at industrial scale. The attack has rapidly evolved from a niche red-team technique to a widespread threat in under six months in 2026. Attackers trick users into entering device codes on attacker-controlled pages, granting them persistent OAuth tokens. The technique is particularly dangerous because it bypasses traditional phishing defenses and MFA in many configurations. The article outlines six key reasons why this attack vector is the fastest-growing threat of 2026, highlighting its abuse across a wide range of modern applications.

Technical details

Device code phishing abuses the OAuth 2.0 device authorization grant flow to steal access tokens. Originally designed for input-constrained devices (smart TVs, printers), the flow has been widely adopted for CLI logins and other use cases. In an attack, the victim is directed to a phishing page, given a short device code, and instructed to enter it on the legitimate provider's device login page (e.g., microsoft.com/devicelogin). The victim selects their account and clicks 'Allow', unknowingly granting the attacker an OAuth access token. Because the attack targets the authorization layer—not the authentication layer—it bypasses all forms of MFA including passkeys and hardware security keys. The attack was first described in 2020, adopted by nation-state actors (Storm-2372) in 2024, used by ShinyHunters against Salesforce at scale in 2025, and industrialized via the EvilTokens kit in February 2026. By April 2026, Microsoft reported 10–15 new campaigns every 24 hours, and Barracuda counted 7 million attacks in four weeks. The PhaaS ecosystem now includes kits like Kali365 (offering both AiTM and device code phishing), Tycoon2FA (added device code phishing in May 2026), and ARToken (ships with PRT persistence, mailbox access, BEC automation, and SharePoint exfiltration). AI-assisted development (LLM-generated code) has dramatically lowered the barrier to entry, resulting in 25+ distinct device code phishing kits in the wild. The attack is also part of a broader shift toward authorization-layer attacks, including ConsentFix (OAuth consent phishing discovered in late 2025). Stolen tokens can enable privilege escalation to full SSO-level access.

Mitigation steps:

1. Restrict device code authentication flows via Conditional Access policies in Microsoft Entra ID/Azure AD where feasible, blocking or limiting the OAuth 2.0 device authorization grant for users/groups that do not require it. 2. Be aware that restricting device code flows for Microsoft does not protect against attacks targeting GitHub, AWS, Salesforce, or other platforms implementing the same grant type—apply equivalent controls where available. 3. Deploy browser-layer detection tooling (such as Push Security) that can detect both the phishing lure delivery and the device code approval flow across any provider, regardless of delivery channel (email, messaging, social media, search, compromised sites). 4. Use behavioral/technique-based detection rules targeting the structural signatures of device code phishing kits and device code approval flows, rather than relying solely on IOC/domain-based approaches, as new kits and infrastructure rotate rapidly. 5. Educate users to recognize unsolicited requests to enter device codes on any provider's device login page, emphasizing that legitimate services will not prompt users to enter codes from external sources. 6. Monitor for anomalous OAuth token issuance events, unexpected application authorizations, and device code flow authentication events in identity provider logs. 7. Audit and restrict which applications are permitted to use device authorization grant flows within your environment. 8. Consider agentic or AI-assisted threat hunting pipelines that continuously write and deploy detection rules targeting new device code phishing kit behavior classes.

Affected products:

Microsoft 365 / Azure AD (OAuth 2.0 device authorization grant)
Salesforce (OAuth 2.0 device authorization grant
DataLoader application)
GitHub (CLI tools
VS Code tunnels)
AWS (device code flows)
Any application implementing the OAuth 2.0 device authorization grant (RFC 8628)

Related links:

Related CVE's:

Related threat actors:

IOC's:

Device code phishing kit: EvilTokens, Device code phishing kit: Kali365, Device code phishing kit: Tycoon2FA (with device code phishing module added May 2026), Device code phishing kit: ARToken (affiliate panel targeting Microsoft 365), Malicious application: 'DataLoader' (used in ShinyHunters Salesforce campaign), OAuth consent phishing toolkit: ConsentFix v3

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Deze website toont informatie afkomstig van externe bronnen; Perceptive aanvaardt geen verantwoordelijkheid voor de juistheid, volledigheid of actualiteit van deze informatie.

bottom of page