
A login flow built for smart TVs is now the fastest-growing way into Microsoft 365, Salesforce, and GitHub accounts. It never touches your password. It never touches your MFA prompt either.
9:47 AM, and Nothing Looks Wrong
Quick note before this starts: the scene below is made up. The name, the company, the exact wording — all invented. The mechanics are not. This is genuinely how the attack plays out, thousands of times a month.
Priya is two coffees into her morning when a Teams message pops up. It’s from someone she half-recognizes, a name from a partner org she’s talked to before. “Hey, can you approve this real quick? Meeting’s about to start and I got locked out.” A link. Eight characters: BQR2-TKXM.
She clicks. The page that loads is microsoft.com. Not a lookalike. Not a typo’d domain. The real Microsoft sign-in page, padlock and all, the one she’s used a thousand times. She’s already signed into this laptop, so there’s no password box, no push notification, no security key to tap. Just a field asking for the code, and a button underneath that says Allow.
She types it in. She clicks Allow. A line flashes up confirming she’s signed in to something called “Microsoft Authentication Broker.” Sounds like backend plumbing. She shrugs and goes back to her coffee.
She just handed a stranger her mailbox, her Teams history, her OneDrive. No password stolen. No MFA beaten, not technically. She did everything right, on the real website, and none of it mattered.
That’s device code phishing. By mid-2026 it’s one of the fastest-growing ways into a company, and the reason is sitting right there in the story above: it doesn’t feel like an attack while it’s happening.
The Feature Being Abused
To see why this works, you have to look at the feature underneath it. And there’s nothing fake about that feature — it’s a real, deliberately built part of the OAuth 2.0 standard, published as RFC 8628 back in 2019.
The problem it solves is a simple one: how do you log into something with no keyboard? A smart TV. A streaming box. A printer. A screen in a conference room. The device shows a short code. You grab your phone, open a login page, type the code in, hit approve. The device polls quietly in the background, and once you say yes, it’s in. No password ever gets typed into a remote control.
It’s a genuinely clever piece of engineering. The problem is that it didn’t stay on smart TVs. CLI tools picked it up. Developer sign-ins use it. GitHub uses it to authenticate VS Code and command-line tools. Plenty of internal apps use it too, because it’s a smooth way to log in something that can’t easily run a full browser flow. That popularity is exactly what opened the door.
Here’s the part worth sitting with: nothing in this flow checks whether the device asking for the code is actually your device. The whole system assumes you’re the one holding it. It was never built to survive a stranger generating a code and just… asking you to approve it. Politely. Over Teams.

Figure 1. How a single click hands over a valid OAuth token — no password stolen, no MFA prompt ever fires.
This Didn’t Stay Theoretical for Long
Researchers flagged this as a real attack path back in 2020. For years, though, it stayed a red-team party trick — the kind of thing you’d see in a conference talk, not your inbox.
That changed in August 2024. Microsoft’s threat intel team started tracking a group it calls Storm-2372, which it believes — moderate confidence — is aligned with Russia. Storm-2372 played the long game: fake Teams meeting invites, WhatsApp and Signal messages building rapport with a target over weeks before ever sending a phishing code. Targets ranged across government, NGOs, defense, telecom, and energy, spanning Europe, North America, Africa, and the Middle East. Microsoft went public in February 2025.
By summer 2025, the technique had jumped from espionage to organized crime. A group called ShinyHunters built a fake version of Salesforce’s own Data Loader tool, then paired it with vishing calls — attackers posing as IT support on the phone — to talk victims through the device code flow. Add up the campaigns tied to these actors and you get past 1,000 organizations and something like 1.5 billion stolen records. The victim list reads like a security conference’s sponsor board: Cloudflare, Zscaler, Palo Alto Networks, Proofpoint, Tenable, CyberArk, Google. Also Chanel. Also Qantas. Also Adidas and Pandora.
So much for “this only happens to nation-state targets.” It took about a year to reach ordinary criminals running an extortion racket.
Then the Criminal Market Industrialized It
Here’s the part that should actually worry you: at some point, device code phishing stopped requiring any skill at all.
In mid-February 2026, a kit called EvilTokens showed up on Telegram. First real subscription product built specifically for this attack, tiers running $600 to $1,500, and in five weeks it had hit more than 340 Microsoft 365 organizations across five countries. By March 15, Microsoft’s own research team was seeing 10 to 15 brand-new campaigns launch every day. Hundreds of fresh compromises, daily. One thing researchers kept coming back to: this was the moment AI-assisted development fully arrived in the phishing-as-a-service market. Personalized lures that used to take a human hours to hand-craft were suddenly automatic.
The kits didn’t stop there. ARToken, a variant Cisco Talos picked apart, comes with persistence baked in — refresh tokens, automatic mailbox access, BEC automation, SharePoint exfiltration, all packaged as menu options for a paying subscriber. Tycoon2FA, which used to be the biggest adversary-in-the-middle kit around, bolted device code phishing onto its platform in May 2026. And in April, a kit called Kali365 (also spotted operating as Octopi365 and Freedom365, for reasons nobody’s quite sure of) spread fast enough that the FBI’s Internet Crime Complaint Center put out a dedicated advisory on May 21 — the first time the Bureau has ever done that for a single named phishing kit.
By the time Push Security published its own deep dive in late June, they’d counted more than 25 separate kit families in active use. Barracuda counted 7 million device code phishing attacks in a single four-week window.
Here’s what that looks like laid out on a timeline:

Figure 2. From an IETF standards document to industrial-scale criminal tooling — most of the acceleration happened in the last five months.
Six Reasons This Keeps Winning
1. It doesn’t fight your MFA. It walks around it.
Every defense most companies built over the last five years — passwords, push MFA, hardware keys, passkeys — protects one moment: proving you are who you say you are. Device code phishing skips that moment entirely. Most victims are already logged in by the time the phishing message shows up. The whole attack happens one step later, in the part where you decide whether to let an app act on your behalf. Almost nobody guards that step the way they guard the login box. It’s not that passkeys and hardware keys fail here. They just were never standing in the way to begin with.
2. Renting this now costs less than a nice dinner
Device code phishing used to take real skill. Not anymore — it’s a checkbox in a phishing-as-a-service dashboard. EvilTokens, Kali365, Tycoon2FA: all of them offer it as a standard feature. Kali365 throws in AI-written lures, automated campaign infrastructure, and a live dashboard showing exactly who’s clicked what, for a few hundred dollars a month. The FBI put it plainly in its advisory: this hands sophisticated, previously nation-state-grade capability to anyone with a Telegram account and a subscription fee.
3. Kits are getting built faster than anyone can track them
Twenty-five-plus kit families inside eighteen months would have sounded absurd a few years back, when a genuinely new AiTM kit showing up was news for a week. Researchers keep noticing that a lot of these kits share nearly identical code, not because one group copied another, but because they were independently built by prompting an LLM with roughly the same instructions. One researcher — a VP of R&D at Push Security, no less — built a working version himself, mostly just to see how easy it had become.
4. Microsoft’s the target today. It won’t be the only one for long.
Almost all the activity anyone’s tracking right now — Push puts it near 99% — is aimed at Microsoft 365. But the device authorization grant isn’t a Microsoft thing. It’s an open standard. GitHub runs on it for CLI and VS Code logins. AWS supports it. Salesforce’s own device flow is exactly what ShinyHunters already tore through. When kit builders go looking for their next target, and they will, most other platforms have nowhere near the conditional-access tooling that Microsoft’s Entra ID has built up around this.
5. It’s part of a bigger shift toward attacking authorization
Device code phishing isn’t alone out there. Late in 2025, Push Security found something they named ConsentFix, ClickFix-style social engineering mixed with OAuth consent phishing, first tied to Russian actors and later forked into public criminal tools. No device code this time. The victim copies a URL containing an authorization code and pastes it into a phishing page. Same outcome: full account takeover, no password touched, and because there’s no login step at all, no MFA method gets a chance to even fire. It’s the same move, run twice. Attackers picked the authorization layer on purpose, because that’s where almost nobody’s watching.
6. It leaves almost nothing for your existing tools to catch
A lure can show up over email, Teams, a LinkedIn message, a text, a hacked website, even a malicious search ad. Doesn’t matter which — once the victim clicks through, they land on the provider’s actual domain. No fake URL for your email gateway to catch. No spoofed certificate for a browser to flag. The whole thing happens on infrastructure your tools are built to trust by default. Microsoft, the FBI, and Push Security all land on the same answer: you need visibility somewhere that can see the lure and the approval step together, and right now that’s really only the browser.
Auth vs. Authz, Side by Side
Device code phishing and ConsentFix aren’t two different problems. They’re the same idea, used twice.
| AiTM Phishing | Device Code Phishing | ConsentFix | |
| What it steals | Session cookie, mid-login | OAuth access/refresh token | OAuth authorization code |
| Fake login page needed? | Yes | No — real provider URL | No — real provider URL |
| Defeats passkeys? | Usually not | Yes, entirely | Yes, entirely |
| Layer attacked | Authentication | Authorization | Authorization |
| Victim pre-logged-in? | No | Usually yes | Usually yes |
Look at the last two columns. That’s really the whole story. Once attackers stopped trying to beat MFA head-on and started going after the step right after it, passkeys quietly stopped being the finish line a lot of security teams assumed they were.
What Defenders Should Actually Do About It
None of this makes MFA a wasted investment. It still stops a mountain of ordinary credential attacks. But device code flows need their own line item now, separate from your MFA rollout. Based on what the FBI and Microsoft are both recommending, here’s what actually helps:
- Restrict device code flow with a Conditional Access policy in Microsoft Entra ID. This is the single biggest lever you have. Block it tenant-wide, then carve out narrow, named exceptions for whoever actually needs it. Don’t forget to exclude your break-glass accounts, or you’ll lock yourselves out too.
- Lock down authentication transfer policies too. The FBI calls this out specifically — some variants move a session from a compromised computer over to a phone, and that needs its own policy.
- Don’t stop at Microsoft. If your team uses GitHub CLI logins, cloud SSO logins, anything running RFC 8628, go check whether the same kind of restriction even exists there. And take a look at your own OAuth-connected apps while you’re at it — ShinyHunters got in through a fake Data Loader app, and that trick works anywhere.
- Retrain the “spot the phish” instinct. Check the domain, look for the padlock — that advice actively fails here, because both are real. The new rule is simpler: if you didn’t start a device sign-in yourself, don’t enter a code someone else sent you. Doesn’t matter who it looks like it’s from.
- Get detection down to the browser. Since this whole attack runs on infrastructure your email and network tools already trust, the browser is really the only place positioned to see the lure and the approval happen together, no matter which provider gets hit next.
- Assume some of this gets through anyway, and go hunt for it. Watch for new app consents, a device getting registered right after a normal-looking sign-in, mailbox rules nobody remembers creating. That’s the fingerprint this attack leaves behind.
Frequently Asked Questions
If I’ve got hardware security keys or passkeys, am I safe from this?
No. And this is really the one thing worth remembering out of this whole piece. Device code phishing doesn’t touch your credentials or your MFA method at all — it goes after the step that happens after you’ve already signed in. Plenty of organizations with excellent, fully-enforced phishing-resistant MFA have gotten hit by this anyway, because that layer was never in the attack’s way to begin with.
Is this really just a Microsoft 365 thing?
Right now, yes, mostly — but only because that’s where the kit builders happened to start. ShinyHunters already proved the exact same trick works on Salesforce, at a scale of over a billion records. GitHub, AWS, anything else running the OAuth device flow is just as exposed. It’s a matter of when, not if.
How would we even know this happened to us?
Not through the usual phishing signals — there’s no bad domain, no weird certificate. Look at what happens after: a device or app getting authorized right after a normal-looking sign-in, new mail-forwarding rules, logins from places that don’t make sense. Browser-level monitoring is currently the most realistic way to catch it while it’s happening, instead of finding out three weeks later.
Can’t we just turn off device code login?
For a lot of companies, sure, and that’s honestly the cleanest fix if you don’t rely on it. But plenty do rely on it: developer CLI logins, GitHub Actions runners, conference-room hardware. Figure out where you actually use it first, then use Conditional Access to scope it down instead of leaving it wide open by default.
Give me the one-line version.
MFA locked the front door. Device code phishing, and ConsentFix right behind it, found the side door standing wide open. Go lock down device code flow in Conditional Access this week — attackers already know it’s there.