An employee at a mid-sized firm gets a Teams meeting invite. It looks like it came from a colleague at a partner organization someone they've actually spoken to. The message is polite, contextual, unhurried. It asks them to authorize access to a shared document and includes a short code and a link to microsoft.com/devicelogin.
They click. The page is the real Microsoft sign-in page, genuine domain, genuine everything. They enter the code, sign in with their password, approve the push notification on their phone. MFA passes. The document never loads, but that's easy to shrug off. A glitch. They move on.
Nothing was fake. There was no lookalike domain to catch, no misspelled URL, no credential-harvesting clone. The employee did everything security awareness training told them to do. And an attacker now holds a valid OAuth token for their Microsoft 365 account: one that survives password resets and doesn't trigger a fresh MFA challenge.
This is device code phishing, and in 2026 it stopped being a nation-state curiosity and became a commodity. This post is about why attacks like this one have broken the defenses most organizations still lean on, and why the most reliable way to catch them is to stop waiting for a human to notice and instead set a trap that wants to be attacked. That trap is Sarab Siege.
The attacks that broke the rules
For a decade, phishing defense rested on two assumptions: a filter can block the malicious message, and a trained user can spot the fake page. Two techniques now dismantle both.
Device code phishing: no fake anything
The OAuth 2.0 device authorization flow was built for devices that can't easily show a login form: smart TVs, CLI tools, IoT hardware. You get a short code on the constrained device and type it into a normal browser to authorize it.
Attackers abuse this by starting the flow themselves. They generate a legitimate device code against Microsoft's real endpoint, then socially engineer a victim into entering that code on the genuine microsoft.com/devicelogin page. The victim authenticates against real Microsoft infrastructure (password, MFA, this works) and the resulting token is handed to the attacker's device.
Read that again: there is no phishing domain. There is no fake page. The victim interacts only with Microsoft. MFA completes successfully because the victim really did complete it. This is why it works even against users who are careful, and it's why passkeys don't automatically save you here: in a classic AiTM attack a passkey refuses to sign for the fake domain, but here the victim is signing on the real domain, so the credential works exactly as designed.
Adversary-in-the-middle: MFA completes, then gets stolen
AiTM takes a different route to the same destination. Instead of a static fake page, the attacker runs a reverse proxy that sits between the victim and the real identity provider. The victim sees a pixel-perfect login because they're literally being shown the real one, relayed in real time. They type their password, they approve the MFA prompt, and the proxy transcribes all of it to Microsoft. The moment the identity provider issues the post-authentication session cookie, the proxy grabs it.
The attacker now has a valid session token and replays it from their own machine. No password needed going forward, no new MFA challenge: the stolen cookie already proves the session authenticated. Microsoft watched one AiTM campaign hit 35,000 users across 26 countries in three days. Group-IB put the 2025 increase at 46%; Microsoft measured a 146% jump the year before. Kits like Tycoon 2FA have been observed evading multiple email-security vendors (including recognized market leaders) using invisible Unicode, custom CAPTCHAs, and anti-analysis checks that filter out researchers before ever serving the page.
Push notifications, TOTP codes, SMS one-time passwords: all transparent to the proxy. The victim does everything right and is compromised anyway.
Why are these so hard to defend against
The reason the traditional playbook struggles against these attacks:
- There's often nothing for a gateway to block. Device code phishing needs no malicious attachment and no fake domain. The “payload” is a legitimate Microsoft URL and a six-digit code. It doesn't have to sneak anything past your email filter because there's nothing malicious in the message body to catch.
- MFA is not the backstop people think it is. Both techniques are specifically designed to let MFA succeed and then steal what MFA produced. Every “we have MFA, we're covered” assumption is a liability the moment one of these lures lands.
- The signal lives in token and session behavior, not login attempts. Detection means correlating sign-in context, token issuance, and anomalous OAuth grants: telemetry most organizations aren't watching closely, and which looks legitimate at first glance because, mechanically, it is.
- You cannot train your way out of it. This is the hardest truth. Awareness training is built on teaching people to notice something wrong: a misspelled domain, an urgent tone, an unexpected attachment. Device code phishing removes the “something wrong.” The page is real. There is no visual tell. You can run simulations for every employee, every quarter, forever, and a well-crafted device code lure will still get clicks, because clicking is the correct action taken in the wrong context. Training raises the floor; it does not close this door.
So if you can't reliably filter it, and you can't reliably train users to catch it, what's left?
Sarab Siege: turn the mailbox into the sensor
Siege is a decoy email identity: a mailbox with a persona that exists to attract exactly this traffic. This mailbox is not used by any legitimate user and has no real user to interact with. It passively waits for attackers, so any email or interaction directed to it is considered malicious by default, significantly reducing false positives. A device code lure or an AiTM link arriving in a Sarab Siege mailbox isn't ambiguous. It's a hit.
But Siege doesn't just detect. It engages. When a message lands, the persona replies in character, believably, the way a slightly naive employee would. It asks questions. It plays along. It draws the operator into a conversation, and every round of that conversation pulls more out of them.
The full lure infrastructure
The device code authorization URL and user code, the AiTM proxy domain, redirect chains, and any follow-up links the attacker sends when the first one “doesn't work.”
Files, detonated safely
Any attachment is routed to a sandbox for analysis rather than trusted or discarded, so you learn what it does.
Sender and domain intelligence
Header analysis, sending infrastructure, domain age and reputation, and the hosting or PaaS platforms behind the campaign: the same clean-reputation services attackers lean on to evade risk scoring.
Behavioral fingerprints
Timing, persistence, how the operator reacts when pushed, and the tooling patterns that help classify which technique and, often, which actor or kit you're looking at.
All of it is normalized and fed into your SIEM as structured detections, so the moment a campaign touches your decoy, your security team knows, with the indicators already collected, not a vague “possible phishing” flag.
Why a decoy beats a filter here
A filter must make a hard call on every message to a real person: block it and risk breaking legitimate work, or allow it and risk compromise. Sarab Siege has no such dilemma. Its mailbox has no legitimate correspondents, so it can be aggressive, patient, and probing in ways a production inbox never could.
And engagement gets you more than passive detection ever would. A quarantine tells you a message looked bad. Siege tells you the attacker's device code URL, the domains behind the campaign, what the attached file does, and how the operator behaves under pressure: the material you need to define the attack, attribute it, and hunt for it elsewhere in your environment before it reaches someone who will click for real.
Where Sarab Siege fits
To be clear about what Siege is and isn't: Siege is a detection, intelligence, and early-warning layer. It identifies campaigns the instant they touch your environment and hands your team the intel to act. It works best alongside the preventive controls that make a stolen token or an abused flow worthless:
- Block the OAuth device authorization flow via Conditional Access wherever your organization doesn't legitimately need it. For most environments, that's nearly everywhere, and it neutralizes device code phishing at the source.
- Move high-value accounts to phishing-resistant, FIDO2/passkey authentication, which defeats classic AiTM because the credential won't sign for a proxy domain.
- Enforce device-aware Conditional Access so a replayed cookie from an unknown device is challenged or refused.
- Watch token and OAuth-grant telemetry, not just login success.
Prevention shrinks the attack surface. Siege watches the surface that's left and tells you the moment someone tests it.
The takeaway
The uncomfortable reality of 2026 is that the most effective phishing no longer looks like phishing. The page is real, the domain is Microsoft's own, MFA passes, and your best-trained employee has no visible tell to catch. You cannot filter what carries no malicious payload, and you cannot train people to notice what shows no sign of being wrong.
So, change what you're relying on. Instead of hoping every user catches every lure, plant one identity that's built to catch them for you and to turn each attempt into intelligence. That's Siege: not another thing to train your people on, but a tripwire that identifies the attacker the moment they reach in and tells you exactly who they are and how they work.
References
1. Microsoft Security Blog, “Breaking the code: multi-stage ‘code of conduct’ phishing campaign leads to AiTM token compromise,” May 4, 2026.
2. Group-IB, “AiTM Attack,” Knowledge Hub.
3. Osama Ellahi, “The Art of Defense Evasion, Part 3: Bypass Multi-Factor Authentication (MFA),” Medium.
Sarab is Cytomate's cyber deception platform. Learn more about Sarab.
