Book a demo →
← All posts
Threat Watch

Mir0Auth Device Code Phishing: Fake DocuSign PDF, Real Microsoft Sign-In

Mir0Auth sends PDF attachments to fake DocuSign pages, then into Microsoft's real device code sign-in, so the victim's approval hands over Microsoft 365 tokens.

Mir0Auth Device Code Phishing: Fake DocuSign PDF, Real Microsoft Sign-In

AegisAI Threat Watch · Device code phishing

Mir0Auth Device Code Phishing: Fake DocuSign PDF, Real Microsoft Sign-In

A document that needs a signature leads to a genuine Microsoft sign-in page, where the victim's own approval hands the attacker Microsoft 365 tokens.

TL;DR
What
Mir0Auth sends PDF attachments to fake DocuSign pages, then into Microsoft's real device code sign-in to collect Microsoft 365 tokens.
Who it hits
Microsoft 365 users, with activity primarily observed against US organizations, ANY.RUN says.
Why filters miss it
The sign-in happens on a genuine Microsoft page and the victim approves it, so no password is stolen.
Do today
Block the device code sign-in flow with Conditional Access for every user who does not need it.

Mir0Auth sends PDF attachments to fake DocuSign pages, then into Microsoft's real device code sign-in, so the victim's own approval gives the attacker Microsoft 365 access tokens without a password.

Device code phishing is an attack in which the attacker requests a sign-in code from Microsoft and persuades the victim to enter it on Microsoft's genuine device login page, which issues the account's tokens to the attacker's waiting session.

ANY.RUN named Mir0Auth in its roundup of October 2026 attacks, published on 3 November, alongside two other kits built on the same sign-in flow: SkyW4lker, which Threat Watch took apart in October, and GeorgeGinx. Three kits in one monthly roundup is the story: device code phishing has moved from a technique to a product category, and each kit now competes on the lure. Mir0Auth's lure is the document that needs a signature.

3
device code phishing kits in ANY.RUN's October 2026 roundup
3
named backend paths Mir0Auth uses to request codes and track sessions
618
sandbox analyses of the sister kit SkyW4lker, June to 21 October
46%
of those SkyW4lker analyses came from the US

Source: ANY.RUN, October 2026 roundup (3 November 2026). ANY.RUN published no submission count for Mir0Auth itself.

Key judgments

  • No password changes hands. ANY.RUN says that once victims complete the sign-in process, attackers can obtain access tokens without stealing passwords.
  • The lure is a document workflow. ANY.RUN describes phishing emails with PDF attachments that lead to fake DocuSign pages and then into Microsoft's device code sign-in.
  • The backend hides in plain sight. ANY.RUN reports obfuscated network traffic and disguised endpoints, including /task_queue.cs, /context.go and /window.rs, used to request device codes and track sessions.
  • The technique is now commodity. Mir0Auth, SkyW4lker and GeorgeGinx appear in one roundup, each with a different lure and the same Microsoft sign-in flow.
  • A password reset is not the fix. ANY.RUN warns that stolen authentication tokens can leave corporate accounts exposed even after a password change.

Evaluating email security tools? The 2026 Buyer's Guide to Email Security has nine evaluation areas and the questions to ask vendors. Get the guide.

How does the Mir0Auth attack work?

ANY.RUN's roundup describes the Mir0Auth chain in one line: a PDF attachment, a fake DocuSign page, then Microsoft's legitimate device code authentication. The steps below combine that description with how the device code flow itself works, as ANY.RUN documents it for earlier kits and as the OAuth device authorization standard defines it.

  1. The attacker's server asks Microsoft for a device code, a short code meant for signing in on devices without a keyboard.
  2. A phishing email arrives with a PDF attachment presented as a document that needs attention.
  3. The PDF leads to a page styled like DocuSign, which shows the code and points the reader to Microsoft's device login page.
  4. The victim enters the code on the genuine Microsoft page, signs in and completes MFA.
  5. Microsoft issues access and refresh tokens to the session that requested the code, which belongs to the attacker.

Steps 1 and 5 come from ANY.RUN's analysis of the EvilTokens kit and the device authorization standard, RFC 8628; steps 2 to 4 from ANY.RUN's Mir0Auth description. ANY.RUN does not publish a step-by-step for Mir0Auth.

Three disguised backend paths

ANY.RUN names three paths in Mir0Auth's traffic, /task_queue.cs, /context.go and /window.rs, and says they are used to request device codes and track sessions. The file extensions mimic source code files, a common way to make request logs look routine. ANY.RUN lists the paths as a group and does not assign a role to each, and it names no Mir0Auth domains.

How do I protect Microsoft 365 from device code phishing?

Block the device code flow for everyone who does not need it. Microsoft Entra Conditional Access has an authentication flows condition that can block device code sign-ins, and Microsoft documents the policy step by step. Most office staff never use it; it exists for devices such as conference room systems and command line tools, which can be listed as exceptions.

Then watch for the ones that still happen. ANY.RUN advises monitoring Microsoft Entra ID logs for unexpected device code authentication, particularly after suspicious emails or document-sharing requests, and correlating those sign-ins with phishing indicators.

ControlWhat it sees in a Mir0Auth chainResult
Password protectionNo password is entered on an attacker pageNothing to catch
MFAThe real user approves on the real Microsoft pagePasses
Sign-in page reputationA genuine Microsoft domainPasses
Password reset after the factTokens already issuedDoes not end access on its own
Conditional Access block on device code flowA device code sign-in from a user who never uses oneBlocked
Reading the email itselfA signing request that ends in a Microsoft sign-in codeCan be flagged

AegisAI's reading of the reported chain. The password reset row rests on ANY.RUN's warning that tokens can outlast a password change; the Conditional Access row on Microsoft's documentation.

The password was never asked for, the MFA prompt was real and the page was Microsoft's. The only fake thing was the reason to sign in.

AegisAI Threat Intelligence

What this means for a security team

This section is AegisAI's analysis. For a company on Microsoft 365, the risk is a full mailbox and its files in the hands of someone who never knew the password. From there the usual next steps are invoice fraud and phishing sent from the compromised account to colleagues and partners, which arrives from a trusted sender.

Three questions settle the exposure: is the device code flow blocked for staff who do not need it, would a device code sign-in after an emailed signing request raise an alert, and does the incident playbook revoke sessions and tokens rather than only reset the password.

Why standard controls miss it

This section is AegisAI's analysis. Controls built around stolen passwords look for a fake sign-in page; Mir0Auth sends the victim to a real one. The MFA prompt is genuine and is answered by the genuine user. The attacker's own infrastructure sits behind the fake DocuSign page and three ordinary-looking paths, and ANY.RUN published no domains to block. What remains to judge is the email: a signing request whose real purpose is to put a Microsoft sign-in code in front of the reader.

How AegisAI protects against it

AegisAI has not observed this campaign. The approach below is how it treats a lure of this shape when it arrives by email.

Aegis does not classify infrastructure. It classifies intent. A lure with no attacker-owned infrastructure still has to ask the recipient to do something on the attacker's behalf, and that request is what gets classified, independent of how clean the destination URL is.

When a lure or a compromised session is caught, the response compounds: the message is withheld at classification, copies already delivered are retracted, rewritten links refuse a late visit, the account's outbound and internal mail gets rescanned, and lateral phishing attempts to colleagues are blocked at the same bar rather than treated as a fresh, unrelated message.

How AegisAI stops credential phishing, 48 second video

How AegisAI stops credential phishing, 48 seconds

Recommendations for defenders

  • Create a Conditional Access policy that blocks the device code flow for all users, with named exceptions for the devices and accounts that need it.
  • Alert on device code sign-ins in Microsoft Entra ID logs, and treat one that follows an emailed signing or document-sharing request as a likely compromise.
  • In the incident playbook, revoke sessions and refresh tokens, then review mailbox rules and app consents; a password reset alone does not end token-based access.
  • Tell staff that no real document workflow asks them to type a code into a Microsoft sign-in page, and give them one way to report it.
  • Hunt proxy and web logs for requests to /task_queue.cs, /context.go and /window.rs on unfamiliar domains, keeping in mind the paths may change.

FAQ

Can attackers get into Microsoft 365 without a password when MFA is on?

Yes, with device code phishing. The attacker requests a sign-in code and gets the victim to enter it on Microsoft's real device login page. The victim signs in and completes MFA, and Microsoft issues the tokens to the attacker's session. ANY.RUN reports Mir0Auth obtains access tokens this way without stealing passwords.

How do I block device code flow with Conditional Access?

In Microsoft Entra Conditional Access, create a policy for all users, set the authentication flows condition to device code flow, and choose block access. Exclude only the devices or accounts that genuinely sign in that way, such as meeting room systems, and test the policy in report-only mode first.

How do I spot a hijacked mailbox after a device code sign-in?

Look in Entra ID sign-in logs for device code authentication by a user who never uses it, especially soon after a signing or document-sharing email. Then check for new inbox rules, unusual app consents and mail sent to colleagues or partners. Revoke the user's sessions and tokens, not only the password.

How do I protect Microsoft 365 from device code phishing?

Block the device code flow with Conditional Access wherever it is not needed, alert on the device code sign-ins that remain, and train staff that a document or signing request never needs a code typed into a Microsoft page. Email security that judges what a message asks the reader to do covers the lure itself.

For researchers

What the reporting does not tell us 4 gaps

Scale. ANY.RUN gives a sandbox count and country split for SkyW4lker but none for Mir0Auth, so its reach cannot be sized from public reporting.

Domains. ANY.RUN names three backend paths and no Mir0Auth domains or hosting.

Endpoint roles. ANY.RUN describes the three paths as a group; it does not say which one requests codes and which tracks sessions.

Attribution. ANY.RUN links SkyW4lker to a kit called Gabagool, believed to share the same developer. It reports no such link for Mir0Auth.

Reported indicators 3 paths

Paths reported by ANY.RUN as a group, used to request device codes and track sessions. No domains were published. Treat these as hunting leads, not a blocklist.

TypeIndicator
URL path/task_queue.cs
URL path/context.go
URL path/window.rs
MITRE ATT&CK mapping 3 techniques

This mapping is AegisAI's own reading of the reported behaviour. ANY.RUN's roundup lists no technique IDs for Mir0Auth. All three are from the Enterprise matrix.

IDNameUse in this campaign
T1566.001Phishing: Spearphishing AttachmentA phishing email carries the PDF that starts the chain. MITRE defines the technique as targeted; the reporting does not say how targeted these emails are.
T1528Steal Application Access TokenCompleting the device code sign-in issues the account's access tokens to the attacker's session.
T1078.004Valid Accounts: Cloud AccountsThe attacker uses the tokens to act as the victim's real cloud account, access ANY.RUN warns can survive a password change.
References 6 sources
  • ANY.RUN (3 Nov 2026). Major Cyber Attacks in October 2026: Fake AI, Account Takeovers, and Remote Access Threaten US and EU. any.run
  • ANY.RUN (27 Oct 2026). SkyW4lker Exposed: A Growing Microsoft 365 Phishing Threat to American Enterprises. any.run
  • ANY.RUN (10 Mar 2026). EvilTokens Phishing as a Service: Attackers Breach M365 Accounts with OAuth Device Codes. any.run
  • Microsoft Learn (updated 7 Apr 2026). Block authentication flows with Conditional Access policy. learn.microsoft.com
  • IETF RFC 8628. OAuth 2.0 Device Authorization Grant. datatracker.ietf.org
  • MITRE ATT&CK. Enterprise techniques T1566.001, T1528 and T1078.004. attack.mitre.org

Every email, investigated.

When a signing request like this one reaches a work inbox, see how AegisAI reads what it asks the reader to do.

Phishing that reaches the inbox, stopped before anyone clicks.

Book a demo