# 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. Huntress separately reported EvilTokens hitting 344 organizations in 16 days (Feb-Mar 2026).

- **Published:** 2026-11-26T07:53:53Z
- **Last reviewed:** 2026-11-26T07:53:53Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-6905
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-6905.png
- **ID:** TL-2026-6905
- **Severity:** HIGH
- **Category:** PHISHING
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 27 (3 shown free below)

## Description

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

- T1566.002 Spearphishing Link
- T1078.004 Cloud Accounts
- T1204.004 Malicious Copy and Paste
- T1059.001 PowerShell
- T1539 Steal Web Session Cookie
- T1528 Steal Application Access Token
- T1557 Adversary-in-the-Middle
- T1550.004 Web Session Cookie
- T1550.001 Application Access Token
- T1098.001 Additional Cloud Credentials
- T1098.003 Additional Cloud Roles
- T1185 Browser Session Hijacking
- T1114.002 Remote Email Collection
- T1583.006 Web Services

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**EvilTokens Device Code Flow Sign-In from Hosting Infrastructure (Entra ID)** (`TL-2026-6905-SPL-001`)

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

```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_seen
```

### Microsoft KQL

```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 desc
```

### Sigma

```yaml
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).

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- EvilTokens and ARToken Phishing Infrastructure and Lookalike Domain Contact (locked: unlock with TL Creds)
- MFA Method Registered After Single-Factor Sign-In (AiTM / Evilginx Phished Account) (locked: unlock with TL Creds)
- Session Cookie Replay: Same Entra Session ID from Multiple IPs and ASNs Followed by Mailbox Access (locked: unlock with TL Creds)
- EvilTokens Backend API Requests ([indicator], /api/prt/*, [indicator]) (locked: unlock with TL Creds)
- Entra Device Registration Shortly After Device Code Sign-In (PRT Persistence) (locked: unlock with TL Creds)
- Run Dialog (RunMRU) History Containing PowerShell Download or Cookie Theft Payload (locked: unlock with TL Creds)
- ClickFix Run-Dialog PowerShell Launch Exfiltrating Browser Session Cookies (locked: unlock with TL Creds)
- Entra App Registration Client Secret Added and Global Administrator Role Assigned (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (3 of 27)

Defanged, TLP:CLEAR.

- Domain: `authdocspro[.]com`
- Domain: `backdoor-hub[.]com`
- Domain: `eventcalender-schedule[.]com`

Full set of 27 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [Three Attacks, Zero Exploits: When the Victim Does the Attacker's Job (Huntress)](https://www.huntress.com/blog/three-attacks-zero-exploits-microsoft-365)
- [Device code phishing, AI and MFA bypass - EvilTokens (Huntress)](https://www.huntress.com/blog/device-code-phishing-ai-mfa-bypass)
- [New widespread EvilTokens kit: device code phishing as-a-service - Part 1 (Sekoia)](https://www.sekoia.com/blog/new-widespread-eviltokens-kit-device-code-phishing-as-a-service-part-1)
- [EvilTokens ramps up device code phishing targeting Microsoft 365 users (Help Net Security)](https://www.helpnetsecurity.com/2026/03/31/eviltokens-phishing-microsoft-365/)
- [AI-enabled device code phishing campaign, April 2026 (Microsoft Security Blog)](https://www.microsoft.com/en-us/security/blog/2026/04/06/ai-enabled-device-code-phishing-campaign-april-2026/)
- [ARToken: inside an EvilTokens affiliate panel targeting Microsoft 365 (Cisco Talos)](https://blog.talosintelligence.com/artoken-inside-an-eviltokens-affiliate-panel-targeting-microsoft-365/)
- [ARToken PhaaS exposes EvilTokens Microsoft 365 phishing toolkit (BleepingComputer)](https://www.bleepingcomputer.com/news/security/artoken-phaas-exposes-eviltokens-microsoft-365-phishing-toolkit)
- [Threat Spotlight: Device code phishing is on the rise with 7 million attacks in four weeks (Barracuda)](https://blog.barracuda.com/2026/04/23/threat-spotlight-device-code-phishing)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-6905
