Threat reportPhishingTL-2026-6905
Three Attacks, Zero Exploits: ClickFix Session Hijacking, Over-Permissioned App Escalation, and EvilTokens Device Code Phishing in Microsoft 365
Huntress describes three Microsoft 365 attack chains that need no software exploit: a ClickFix lure that steals session cookies to bypass MFA, phishing of a standard user followed by abuse of an over-permissioned app registration to reach Global Admin, and device code phishing via the EvilTokens phishing-as-a-service (PhaaS) platform. First disclosed .
Key facts
| Identifiers | TL-2026-6905 |
|---|---|
| Also known as | EvilTokens, ClickFix session hijacking |
| Severity | HIGH |
| First disclosed | |
| Affected products | Microsoft Microsoft 365 (Outlook, OneDrive, SharePoint, Entra ID, Azure portal, admin center) |
| Malware | ARToken, Evilginx |
| Tools | Cookie Editor, EvilTokens, Evilginx, n8n |
| MITRE ATT&CK techniques | T1059.001 PowerShell, T1078.004 Cloud Accounts, T1098.001 Additional Cloud Credentials, T1098.003 Additional Cloud Roles, T1114.002 Remote Email Collection, T1185 Browser Session Hijacking, T1204.004 Malicious Copy and Paste, T1528 Steal Application Access Token, T1539 Steal Web Session Cookie, T1550.001 Application Access Token, T1550.004 Web Session Cookie, T1557 Adversary-in-the-Middle and 2 more in the attack flow |
| Motivation | FINANCIAL |
| Target sectors | finance, human resources, transportation and logistics, life sciences, cross-sector microsoft 365 tenants |
| Target regions | united states of america, australia, canada, france, india, switzerland, united arab emirates |
| Detection rules | 9 (1 shown free) |
| Sources | 8 cited sources |
Detection coverage
As of 2026-11-26, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-6905 across Splunk SPL, Microsoft KQL and Sigma, covering 27 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: EvilTokens Device Code Flow Sign-In from Hosting Infrastructure (Entra ID)
Detects successful Entra ID sign-ins using the OAuth device authorization grant (device code flow), the mechanism abused by the EvilTokens phishing-as-a-service kit and ARToken affiliates to obtain tokens that survive MFA and password resets. Sign-ins from the Railway and HZ Hosting ranges reported by Microsoft and Huntress (162.220.232.0/24, 162.220.234.0/24, 89.150.45.0/24, 185.81.113.0/24) are flagged known_ioc_range. Behaviour-first: fires on any successful device code grant and escalates when the source is campaign infrastructure. No exploit or CVE is involved (TL-2026-6905).
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1528, T1566.002, T1078.004
- Data sources: azure_ad_signin_logs, index=azure sourcetype=azure:monitor:aad, SigninLogs, AADNonInteractiveUserSignInLogs
- Severity: high
- Confidence: medium
Splunk SPL
index=azure sourcetype="azure:monitor:aad" category="SignInLogs" ("deviceCode" OR "deviceCodeFlow")
| eval auth_protocol=coalesce('properties.authenticationProtocol', authenticationProtocol), src_ip=coalesce('properties.ipAddress', callerIpAddress), user=coalesce('properties.userPrincipalName', identity), app='properties.appDisplayName', err=coalesce('properties.status.errorCode', resultType)
| where auth_protocol="deviceCode" AND err=0
| eval infra=if(cidrmatch("162.220.232.0/24",src_ip) OR cidrmatch("162.220.234.0/24",src_ip) OR cidrmatch("89.150.45.0/24",src_ip) OR cidrmatch("185.81.113.0/24",src_ip), "known_ioc_range", "other")
| stats count AS signins min(_time) AS first_seen max(_time) AS last_seen values(app) AS apps by user, src_ip, infra
| eval risk=if(infra="known_ioc_range", "critical", "review")
| convert ctime(first_seen) ctime(last_seen)
| table user src_ip infra risk apps signins first_seen last_seenMicrosoft KQL
let IocRanges = dynamic(['162.220.232.0/24','162.220.234.0/24','89.150.45.0/24','185.81.113.0/24']);
union SigninLogs, AADNonInteractiveUserSignInLogs
| where TimeGenerated > ago(24h)
| where ResultType == 0
| where AuthenticationProtocol =~ 'deviceCode' or OriginalTransferMethod =~ 'deviceCodeFlow'
| extend KnownIocRange = ipv4_is_in_any_range(IPAddress, IocRanges)
| summarize SignIns=count(), Apps=make_set(AppDisplayName), FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated) by UserPrincipalName, IPAddress, KnownIocRange
| project FirstSeen, LastSeen, UserPrincipalName, IPAddress, KnownIocRange, Apps, SignIns
| order by KnownIocRange desc, SignIns descSigma
title: Entra ID Successful Device Code Flow Sign-In (EvilTokens)
id: 6f1c2a3e-8b41-4d57-9a10-2c7e5d3b9f01
status: experimental
description: Detects successful Entra ID sign-ins that use the OAuth device code flow, abused by EvilTokens and ARToken device code phishing to capture tokens that bypass MFA.
references:
- https://www.huntress.com/blog/three-attacks-zero-exploits-microsoft-365
- https://www.microsoft.com/en-us/security/blog/2026/04/06/ai-enabled-device-code-phishing-campaign-april-2026/
author: Threadlinqs Team
date: 2026/11/26
tags:
- attack.credential-access
- attack.t1528
- attack.initial-access
- attack.t1566.002
- attack.t1078.004
logsource:
product: azure
service: signinlogs
detection:
selection:
AuthenticationProtocol: deviceCode
ResultType: 0
condition: selection
falsepositives:
- Legitimate device code use for input-constrained devices such as Teams Rooms and kiosks
- IT staff using az login --use-device-code
level: high
Known false positives:
- Legitimate device code use for Teams Rooms, Azure CLI, kiosks and IoT or input-constrained devices
- Administrators using az login --use-device-code
Tuning notes: Allow-list known device-code applications and service accounts, or restrict the flow with Conditional Access. Treat known_ioc_range hits as critical. The Railway and HZ Hosting /24 ranges are inferred from reported prefixes; refresh them from vendor feeds. Field names depend on the Splunk add-on in use (azure:monitor:aad vs mscs:azure:eventhub).
- EvilTokens and ARToken Phishing Infrastructure and Lookalike Domain Contact · unlock with TL Creds
- MFA Method Registered After Single-Factor Sign-In (AiTM / Evilginx Phished Account) · unlock with TL Creds
- Session Cookie Replay: Same Entra Session ID from Multiple IPs and ASNs Followed by Mailbox Access · unlock with TL Creds
- EvilTokens Backend API Requests ([indicator], /api/prt/*, [indicator]) · unlock with TL Creds
- Entra Device Registration Shortly After Device Code Sign-In (PRT Persistence) · unlock with TL Creds
- Run Dialog (RunMRU) History Containing PowerShell Download or Cookie Theft Payload · unlock with TL Creds
- ClickFix Run-Dialog PowerShell Launch Exfiltrating Browser Session Cookies · unlock with TL Creds
- Entra App Registration Client Secret Added and Global Administrator Role Assigned · unlock with TL Creds
Indicators of compromise
As of 2026-11-26, Threadlinqs Intelligence tracks 27 indicators of compromise for TL-2026-6905.
Sample indicators (3 of 27)
- Domain:
authdocspro[.]com - Domain:
backdoor-hub[.]com - Domain:
eventcalender-schedule[.]com
Defanged, TLP:CLEAR. Full set of 27 indicators: unlock with TL Creds.
Technical analysis
Huntress separately reported EvilTokens hitting 344 organizations in 16 days (Feb-Mar 2026).
Huntress (Beth Robinson, 2026-11-25) walks through three Microsoft 365 intrusions in which the victim or a misconfiguration does the attacker's work and no CVE is exploited.
Attack 1 - ClickFix and session hijacking: the attacker buys a stolen credential, is stopped by MFA, then sends an LLM-written internal HR-style email linking to a look-alike SharePoint page. The page shows a fake 'prove you're not a robot' box that silently copies a payload to the clipboard and instructs the user to press Win+R, paste and press Enter (ClickFix). The PowerShell payload sends the browser's session cookies, which carry the satisfied MFA state, to the attacker, who imports them into their own browser with the Cookie Editor extension and lands in the victim's Outlook. Huntress states the intrusion takes about eight minutes.
Attack 2 - Over-permissioned app to Global Admin: the attacker uses an Evilginx adversary-in-the-middle proxy to phish a standard user who has not enrolled in MFA, then registers their own MFA method. The user cannot open the M365 admin center but can reach the Azure portal and Entra app registrations, where they own a finance integration app holding a directory-wide role-management permission (exact scope not named). The attacker adds a two-year client secret to the app (persistence that survives blocking the user) and uses the n8n workflow-automation tool, driven by plain-English instructions, to make the account Global Admin. Huntress states under six minutes from phished login to Global Admin and that about seven controls could have stopped or slowed it, naming blocking standard users from the admin center and enforcing MFA registration.
Attack 3 - EvilTokens device code phishing: EvilTokens is a Telegram-sold PhaaS (reported by Sekoia at $1,500 setup plus $500/month) that generates phishing emails for a target company's domain. The email carries a short code; the victim enters it on the genuine Microsoft device login page and authenticates with their own credentials and MFA, handing the attacker's session a valid token. Access can persist after a password reset unless sessions and tokens are revoked. Per Sekoia, harvested refresh tokens can be used to register a device in Entra ID and obtain a Primary Refresh Token (PRT) for persistence; backend endpoints include POST /api/device/start and /api/prt/*. Huntress' May 2026 research reports first alerts 2026-02-19 and 2026-02-24, a surge on 2026-03-02, and 344 organizations in five countries over 16 days, with logins traced to Railway PaaS infrastructure (one cloud IP hit 50 organizations in a week); the November article summarizes this as 'more than 300 organizations in about two weeks' and says the platform went from launch to takedown in under nine months. Microsoft (2026-04-06) ties the activity to EvilTokens and describes it as an escalation from Storm-2372 device-code phishing (Feb 2025); Cisco Talos (2026-07-01) documents the related ARToken affiliate panel.
The Huntress article itself contains no IOCs, CVEs or named threat actor; IOCs below come from the cited vendor research (Sekoia, Microsoft, Talos) and are context for EvilTokens specifically. Severity HIGH is an analyst judgment (MFA bypass and a path to Global Admin).
MITRE ATT&CK techniques by tactic:
Execution
T1059.001 PowerShell; T1204.004 Malicious Copy and Paste
Initial Access
T1078.004 Cloud Accounts; T1566.002 Spearphishing Link
Persistence
T1098.001 Additional Cloud Credentials
Privilege Escalation
T1098.003 Additional Cloud Roles
Collection
T1114.002 Remote Email Collection; T1185 Browser Session Hijacking
Credential Access
T1528 Steal Application Access Token; T1539 Steal Web Session Cookie; T1557 Adversary-in-the-Middle
lateral-movement
T1550.001 Application Access Token; T1550.004 Web Session Cookie
Resource Development
Remediation
Immediate actions
- Revoke refresh tokens and active sessions (not just reset passwords) for any account suspected of ClickFix cookie theft or device-code phishing
- Review and remove unexpected MFA methods, registered devices and client secrets on accounts and app registrations
- Hunt Entra sign-in logs for device code flow sign-ins and for sign-ins from Railway, Vercel, Cloudflare Workers and AWS Lambda hosted infrastructure
Workarounds
- Use Conditional Access to block or restrict the OAuth device code flow except where required
- Block standard users from the Entra admin center and Azure portal / restrict app registration creation and ownership
- Disable or restrict the Win+R Run dialog and constrain PowerShell for non-admin users where feasible
Longer-term hardening
- Enforce MFA registration for all users, including standard users
- Audit app registration owners and apps holding directory-wide role-management permissions; remove or restrict them
- Train users that a login code they did not request, or any page asking them to paste a command into the Run dialog, is hostile
Affected and fixed versions
- Microsoft — Microsoft 365 (Outlook, OneDrive, SharePoint, Entra ID, Azure portal, admin center)
Vulnerable versions: Tenants with device code flow allowed, no enforced MFA registration, or over-permissioned app registrations
Timeline
- Microsoft's later reporting describes the EvilTokens activity as an escalation from Storm-2372 device-code phishing first reported in February 2025 (month approximate per Microsoft).
- Huntress SOC sees the first EvilTokens-related alerts (further alerts 2026-02-24); Sekoia notes phishing pages circulating since mid-February.
- Surge of EvilTokens device-code activity; Huntress later counts 344 organizations in five countries over 16 days, with logins traced to Railway PaaS infrastructure.
- Sekoia creates YARA rule phishing_eviltokens_phishing_page for EvilTokens phishing pages.
- Sekoia publishes Part 1 documenting EvilTokens, its Telegram sales model, backend /api/device and /api/prt endpoints and >1,000 domains.
- Help Net Security reports EvilTokens ramping up device code phishing against Microsoft 365 users.
- Microsoft Security publishes analysis of the AI-enabled device code phishing campaign, with Railway, Vercel, Workers and Lambda infrastructure and hunting guidance.
- Two near-identical invoice-themed lures linked to the ARToken affiliate panel are sent about four minutes apart to a US life-sciences company (per Cisco Talos).
- Huntress publishes its EvilTokens research (344 organizations, Railway abuse, conditional access policy pushed to more than 60,000 tenants to block Railway infrastructure).
- Cisco Talos publishes the ARToken analysis, linking the affiliate panel to EvilTokens through shared API endpoints.
- Huntress publishes 'Three Attacks, Zero Exploits' covering ClickFix session hijacking, over-permissioned app escalation to Global Admin, and EvilTokens device code phishing; states EvilTokens went from launch to takedown in under nine months.
Sources cited
- New widespread EvilTokens kit: device code phishing as-a-service - Part 1 (Sekoia) sekoia.com · Research · 2026-03-30
- AI-enabled device code phishing campaign, April 2026 (Microsoft Security Blog) Microsoft · Vendor report · 2026-04-06
- ARToken: inside an EvilTokens affiliate panel targeting Microsoft 365 (Cisco Talos) Cisco Talos · Research · 2026-07-01
- Three Attacks, Zero Exploits: When the Victim Does the Attacker's Job (Huntress) Huntress · Blog · 2026-11-25
- Device code phishing, AI and MFA bypass - EvilTokens (Huntress) Huntress · Blog · 2026-05-11
- Threat Spotlight: Device code phishing is on the rise with 7 million attacks in four weeks (Barracuda) blog.barracuda.com · Blog · 2026-04-23
- EvilTokens ramps up device code phishing targeting Microsoft 365 users (Help Net Security) Help Net Security · News · 2026-03-31
- ARToken PhaaS exposes EvilTokens Microsoft 365 phishing toolkit (BleepingComputer) BleepingComputer · News · 2026-07-03
Drafted by the Threadlinqs research pipeline from 8 sources; published ; last updated —.