Threat reportPhishingTL-2026-2468
Device Code Phishing Surge: Tycoon2FA, EvilTokens, Kali365, Ghost Hub, and Cyb3r Add MFA-Bypass Capability
Five commodity phishing-as-a-service kits (Tycoon2FA, EvilTokens, Kali365, Ghost Hub, Cyb3r) have added device code phishing capability, abusing Microsoft's legitimate OAuth 2.0 Device Authorization Grant flow to harvest access and refresh tokens and hijack Microsoft 365 accounts without capturing a password or presenting a fake login page.
Key facts
| Identifiers | TL-2026-2468 |
|---|---|
| Also known as | Device Code Phishing, OAuth Device Code Phishing, Device Authorization Grant Phishing |
| Severity | HIGH |
| Affected products | Microsoft Microsoft 365 / Entra ID (Azure AD) - OAuth 2.0 Device Authorization Grant |
| Attribution | EvilTokens (low confidence) |
| Malware | EvilTokens, Kali365 (aka Octopi365, Freedom365) |
| Tools | OctoLink Live, OctoLink Sender |
| MITRE ATT&CK techniques | T1078 Valid Accounts, T1087 Account Discovery, T1110.004 Credential Stuffing, T1114.002 Remote Email Collection, T1137.005 Outlook Rules, T1187 Forced Authentication, T1528 Steal Application Access Token, T1537 Transfer Data to Cloud Account, T1550.001 Application Access Token, T1566.001 Spearphishing Attachment, T1566.002 Spearphishing Link, T1583.001 Domains and 1 more in the attack flow |
| Motivation | FINANCIAL |
| Target sectors | it services, hr payroll, legal, financial operations, education, financial services, government administration, health, retail, manufacturing, technology, energy |
| Target regions | North America, 005 - South America, Europe, Middle East, Africa, Asia, Oceania |
| Detection rules | 9 (1 shown free) |
| Sources | 10 cited sources |
Detection coverage
As of 2026-09-12, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-2468 across Splunk SPL, Microsoft KQL and Sigma, covering 24 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: Device-Code OAuth Token Theft, Cross-ASN Reuse & OctoLink Mass BEC Sending (SPL)
Detects the C2/lateral-movement phase: Entra ID sign-ins via the OAuth 2.0 Device Authorization Grant (deviceCode protocol) or via the abused Microsoft Authentication Broker / Office client app IDs, where the resulting token is subsequently used from multiple IPs or from the anomalous ASNs hosting Tycoon2FA (AS45102 Alibaba) and Kali365 (AS132203 Tencent) infrastructure, correlated with a burst of outbound Exchange mail sends consistent with Kali365's OctoLink Sender wave-based BEC/lateral-phishing tooling.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1528, T1550.001, T1537, T1110.004, T1187
- Data sources: azuread_signin_logs, office365_management_activity, exchange_online_message_trace
- Severity: critical
- Confidence: high
Splunk SPL
index=azuread sourcetype="azure:aad:signin" AuthenticationProtocol="deviceCode" earliest=-24h
| eval asn_flag=case(match(AutonomousSystemNumber,"45102"),"AS45102_Alibaba", match(AutonomousSystemNumber,"132203"),"AS132203_Tencent", 1=1, "other")
| stats count as auth_count values(IPAddress) as auth_ips values(AutonomousSystemNumber) as asns by UserPrincipalName, AppId, asn_flag
| eval ip_count=mvcount(auth_ips)
| where ip_count > 1 OR asn_flag!="other"
| append
[ search index=o365 sourcetype="o365:management:activity" Workload=Exchange Operation="Send" earliest=-24h
| bin _time span=10m
| stats count as sent_count values(Subject) as subjects by SenderAddress, _time
| where sent_count > 20
| rename SenderAddress as UserPrincipalName ]
| table UserPrincipalName, AppId, auth_count, ip_count, asns, sent_count, subjectsMicrosoft KQL
let SuspiciousASNs = dynamic(["45102","132203"]);
SigninLogs
| where TimeGenerated > ago(24h)
| where AuthenticationProtocol == "deviceCode" or AppId in ("29d9ed98-a469-4536-ade2-f981bc1d605e","d3590ed6-52b3-4102-aeff-aad2292ab01c")
| extend ASN = tostring(parse_json(tostring(LocationDetails)).asn)
| summarize AuthCount = count(), IPs = make_set(IPAddress), ASNs = make_set(ASN) by UserPrincipalName, AppId
| where array_length(IPs) > 1 or ASNs has_any (SuspiciousASNs)
| join kind=leftouter (
OfficeActivity
| where TimeGenerated > ago(24h)
| where Operation == "Send" and Workload == "Exchange"
| summarize SentCount = count() by UserId, bin(TimeGenerated, 10m)
| where SentCount > 20
) on $left.UserPrincipalName == $right.UserId
| project UserPrincipalName, AppId, AuthCount, IPs, ASNs, SentCount
| sort by AuthCount descSigma
title: OAuth Device-Code Token Theft with Cross-ASN Reuse and Mass BEC Sending (OctoLink Pattern)
id: 4e6a1c8b-7d3f-4b9e-9a5c-2f7d8e1b6c4a
status: experimental
description: Detects OAuth 2.0 Device Authorization Grant sign-ins whose resulting refresh/access tokens are reused from anomalous ASNs (Alibaba AS45102, Tencent AS132203) or multiple IPs, consistent with Kali365 OctoLink Live/Sender or Tycoon2FA post-token-theft BEC.
references:
- https://www.huntress.com/blog/kali365-device-code-phishing-kit
- https://www.esentire.com/blog/tycoon-2fa-operators-adopt-oauth-device-code-phishing
author: Threadlinqs Team
date: 2026-09-12
tags:
- attack.credential-access
- attack.t1528
- attack.defense-evasion
- attack.t1550.001
- attack.exfiltration
- attack.t1537
- attack.t1110.004
- attack.t1187
- attack.tool.kali365
- attack.tool.tycoon2fa
logsource:
product: azure
service: signinlogs
detection:
selection_devicecode:
AuthenticationProtocol: 'deviceCode'
selection_suspicious_asn:
AutonomousSystemNumber:
- '45102'
- '132203'
selection_office_app_abuse:
AppId:
- '29d9ed98-a469-4536-ade2-f981bc1d605e'
- 'd3590ed6-52b3-4102-aeff-aad2292ab01c'
condition: selection_devicecode and (selection_suspicious_asn or selection_office_app_abuse)
falsepositives:
- Legitimate device-code authentications for CLI/IoT tooling hosted on cloud IaaS that happens to fall within a flagged ASN range
level: criticalKnown false positives:
- Legitimate device-code authentications for CLI/IoT/headless tooling hosted on cloud IaaS that happens to fall within a flagged ASN range
- High-volume legitimate transactional/marketing mail sent through an approved bulk-mail service account
Tuning notes: Maintain the suspicious-ASN list against this pipeline's live IOC feed rather than the two ASNs observed to date, since kits rotate hosting (Tycoon2FA moved from generic infra to Alibaba within weeks); exclude approved bulk-mail/marketing service accounts from the sent_count>20 threshold and validate the AppId list against Entra ID's current known-client-ID registry before deploying to production.
- Device Code Phishing Lure Delivery & Anti-Bot Gate Access (KQL) · unlock with TL Creds
- Post-Device-Code-Compromise Mailbox Recon & Malicious Inbox Rule Creation (KQL) · unlock with TL Creds
- Device-Code OAuth Token Theft, Cross-ASN Reuse & OctoLink Mass BEC Sending (KQL) · unlock with TL Creds
- Device Code Phishing Lure Domain or Trustifi Click-Redirect Access (Sigma) · unlock with TL Creds
- Post-Device-Code-Compromise Mailbox Keyword Recon and Malicious Inbox Rule Creation (Sigma) · unlock with TL Creds
- OAuth Device-Code Token Theft with Cross-ASN Reuse and Mass BEC Sending (Sigma) · unlock with TL Creds
- Device Code Phishing Lure Delivery & Anti-Bot Gate Access (SPL) · unlock with TL Creds
- Post-Device-Code-Compromise Mailbox Recon & Malicious Inbox Rule Creation (SPL) · unlock with TL Creds
Indicators of compromise
As of 2026-09-12, Threadlinqs Intelligence tracks 24 indicators of compromise for TL-2026-2468.
Sample indicators (3 of 24)
- IP address:
47.90.180[.]205 - Domain:
authdocspro[.]com - URL:
hxxps://events[.]trustifi[.]com
Defanged, TLP:CLEAR. Full set of 24 indicators: unlock with TL Creds.
Technical analysis
Tycoon2FA resumed operations within days of a March 4, 2026 Europol/Microsoft takedown by grafting device-code capability onto its existing AiTM infrastructure, while EvilTokens and Kali365 launched in 2026 with AI-augmented post-compromise BEC tooling built in from the start.
Device code phishing abuses the OAuth 2.0 Device Authorization Grant flow (RFC 8628), a legitimate mechanism Microsoft built for input-constrained devices (smart TVs, CLIs) to authenticate. An attacker initiates a device authorization request against Microsoft's own endpoint, receives a short-lived user code, and social-engineers a victim into visiting the genuine microsoft.com/devicelogin page and entering that code. Because the victim authenticates on real Microsoft infrastructure with their own password and MFA, no credentials are phished and no fake login page is needed — but the resulting access and refresh tokens are issued to the attacker's device, not the victim's. Refresh tokens persist for up to 90 days and can be exchanged for a Primary Refresh Token (PRT), giving silent, MFA-bypassing SSO access across Microsoft 365 that survives password resets and is immune to phishing-resistant MFA (FIDO2/passkeys), since the bypass targets token issuance rather than the credential itself.
Microsoft first attributed this technique in the wild to Storm-2372, an actor Microsoft assesses (moderate confidence) aligns with Russian state interests, active since August 2024 against government, NGO, IT, defense, telecom, health, education, and energy targets across Europe, North America, Africa, and the Middle East. Storm-2372 built rapport via fake WhatsApp/Signal/Teams meeting invites before steering victims to the device-code lure, then used Microsoft Graph API searches (keywords including "password", "admin", "teamviewer", "anydesk", "credentials", "secret", "ministry", "gov") to harvest sensitive mail and registered actor-controlled devices in Entra ID to mint PRTs.
That nation-state technique has now been industrialized into commodity crimeware. Tycoon2FA — an AiTM credential-relay kit that Microsoft/Europol say accounted for roughly 62% of phishing Microsoft blocked by mid-2025 and enabled over 64,000 attacks — was dismantled on March 4, 2026 in a coalition action (Europol Cyber Intelligence Extension Programme, Microsoft, Trend Micro/TrendAI) that seized 330 domains under a SDNY court order and executed infrastructure seizures across Latvia, Lithuania, Portugal, Poland, Spain, and the UK. Operators resumed within days using the identical 2025 codebase (same hardcoded AES-CBC key/IV, the same performance.now()-based anti-debug timing trap, the same "Check Domain" bot-gate grammar) but shifted hosting to Alibaba Cloud (AS45102) and layered on device-code capability, abusing the Trustifi click-tracking service for link reputation laundering.
EvilTokens, first seen mid-February 2026, is a turnkey device-code PhaaS whose backend the researchers assess with high confidence is AI-generated ("vibe coded"): a single JavaScript service exposing REST endpoints for device-code initiation, Microsoft polling, and PRT conversion, protected by a bot-detection header computed as SHA256(secret + timestamp + "_antibot"). It scaled past 1,000 phishing domains by March 23, 2026, hosted primarily on Cloudflare Workers with a predictable *-s-account.workers.dev naming pattern, and targets finance, HR, logistics, and sales roles across the US, Australia, Canada, France, India, Switzerland, and the UAE for BEC.
Kali365 (also seen rebranded/forked as Octopi365 and Freedom365), first observed April 2026, is the most operationally mature: a three-edition PhaaS with 33 lure templates, 100+ API endpoints, RBAC, a credit-based domain marketplace, and OxaPay crypto billing, hosted heavily on Tencent Cloud (AS132203, concentrated in 43.173.64.0/20) across 240+ IPs. Its Edition 2 integrates Claude Sonnet to triage high-value wire-transfer and invoice email threads and draft BEC replies; its companion Electron desktop apps, OctoLink Live and OctoLink Sender, convert stolen refresh tokens into live browser sessions (via the legitimate Microsoft Office client ID) and mass-send phishing/lateral emails from compromised mailboxes with human-like send cadences designed to evade throttling detection. The FBI issued PSA 2026/PSA260521 warning of Kali365 targeting of US organizations.
Ghost Hub, the admin panel of the Telegram-distributed "Ghost Hacker Operating System" kit, and Cyb3r, which favors funding/investment-themed lures with encrypted PDF attachments, round out the five platforms KnowBe4 and LevelBlue identify as having added device-code capability, part of a broader landscape PushSecurity places at 14+ distinct device-code kits by April 2026 with detections up 37.5x since early March. Across all five kits the end goal is consistent: OAuth token theft leading to mailbox access, business email compromise, and financial fraud, with LLM-driven post-compromise tooling compressing the compromise-to-fraud window from hours to seconds.
MITRE ATT&CK techniques by tactic:
Initial Access
T1078 Valid Accounts; T1566.001 Spearphishing Attachment; T1566.002 Spearphishing Link
Discovery
Credential Access
T1110.004 Credential Stuffing; T1187 Forced Authentication; T1528 Steal Application Access Token
Collection
T1114.002 Remote Email Collection
Persistence
Exfiltration
T1537 Transfer Data to Cloud Account
lateral-movement
T1550.001 Application Access Token
Resource Development
Reconnaissance
Remediation
Immediate actions
- Restrict the OAuth 2.0 Device Authorization Grant flow via Conditional Access policies scoped to approved users, managed devices, and trusted network locations
- Revoke refresh tokens and Primary Refresh Tokens for any account that authenticated via device code flow outside an expected, user-initiated context
- Treat any unsolicited device-code prompt as suspicious unless the user personally initiated the device-registration flow
Workarounds
- Configure browser- or proxy-level warnings when users navigate to microsoft.com/devicelogin outside an expected self-service device-registration flow
Longer-term hardening
- Disable Device Code Flow entirely in Entra ID tenants that have no operational need for input-constrained device authentication
- Deploy phishing-resistant MFA (FIDO2/passkeys) as defense-in-depth, while recognizing device-code phishing bypasses even passkey-based MFA because it targets token issuance, not the credential
- Monitor sign-in logs for device-code authentications from anomalous ASNs (e.g. AS45102 Alibaba, AS132203 Tencent, AS132203-adjacent residential proxies) and flag IP mismatches between authorization and subsequent token use
- Hunt for Exchange mail-flow rule, mail connector, and DKIM configuration changes and anomalous outbound mail volume following any device-code authentication event
Affected and fixed versions
- Microsoft — Microsoft 365 / Entra ID (Azure AD) - OAuth 2.0 Device Authorization Grant
Vulnerable versions: Entra ID tenants with Device Authorization Grant enabled and no Conditional Access restriction on the Device Code authentication flow
Fixed in: Entra ID tenants with Conditional Access blocking or restricting the Device Code authentication flow to approved users/devices/locations
Timeline
- Storm-2372, a Russia-aligned actor (Microsoft, moderate confidence), begins device code phishing campaigns against government, NGO, IT, defense, telecom, health, education, and energy targets across Europe, North America, Africa, and the Middle East.
- Microsoft publicly attributes the in-the-wild device code phishing technique to Storm-2372, detailing its Teams/WhatsApp/Signal rapport-building lures and Graph API keyword-search collection.
- EvilTokens, a turnkey AI-assisted device-code PhaaS kit, begins circulating (Sekoia).
- A Europol-led coalition with Microsoft and Trend Micro/TrendAI seizes 330 Tycoon2FA domains under a SDNY court order, disrupting infrastructure that had enabled over 64,000 attacks and accounted for ~62% of phishing Microsoft blocked by mid-2025.
- Tycoon2FA operators resume operations days after the takedown, reusing the identical 2025 codebase (hardcoded AES key/IV, anti-debug timing trap, Check Domain bot-gate) with device-code capability layered onto the existing AiTM kit.
- EvilTokens infrastructure is identified spanning over 1,000 phishing domains, primarily on Cloudflare Workers (Sekoia).
- Kali365 is first observed in the wild, per later FBI reporting.
- PushSecurity reports device code phishing detections up 37.5x since early March 2026, with 14+ distinct device-code kits tracked in circulation.
- Tycoon2FA device-code infrastructure hosted on Alibaba Cloud (AS45102) becomes active (eSentire).
- eSentire documents a full Tycoon2FA device-code attack chain sample, from Trustifi-laundered click-tracking link delivery through OAuth token issuance.
- Huntress SOC first detects unusual device-code authentication activity traced to Tencent Cloud, later attributed to Kali365.
- Kali365 activity peaks with 80+ successful device-code authentications observed in a single day.
- The FBI issues PSA 2026/PSA260521 warning of Kali365 targeting US organizations via device code phishing.
- Huntress publicly discloses the Kali365/Octopi365/Freedom365 PhaaS ecosystem, including its OctoLink Live/Sender tooling and IOC set.
- KnowBe4 publishes "Device Code Phishing is Surging," identifying Tycoon2FA, EvilTokens, Kali365, Ghost Hub, and Cyb3r as the five commodity kits driving the surge.
Sources cited
- The Device Code Phishing Tsunami: What We're Seeing in the Wild levelblue.com · Research · 2026-06-09
- New widespread EvilTokens kit: device code phishing as-a-service sekoia.com · Research
- Storm-2372 conducts device code phishing campaign Microsoft · Vendor report · 2025-02-13
- Analyzing the rise in device code phishing attacks in 2026 pushsecurity.com · Research · 2026-04-04
- Tycoon 2FA Operators Adopt OAuth Device Code Phishing esentire.com · Vendor report
- Report: Device Code Phishing is Surging blog.knowbe4.com · Blog · 2026-06-25
- Inside Kali365, a Device Code Phishing Ecosystem Huntress · Blog · 2026-06-11
- Threat Spotlight: Tycoon 2FA didn't die — it's scattered everywhere blog.barracuda.com · Blog · 2026-04-16
- Europol-Led Operation Takes Down Tycoon 2FA Phishing-as-a-Service Linked to 64,000 Attacks The Hacker News · News · 2026-03-04
- Tycoon2FA returns to full activity days after Europol disruption paubox.com · News
More from EvilTokens
- EvilTokens Phishing-as-a-Service Kit Abuses Microsoft Device Code Authentication with AES-GCM "Ghost Code" to Breach Finance, Tech, and Managed Security Firms
- ARToken PhaaS Platform Exposes EvilTokens-Affiliated Microsoft 365 Device Code Phishing Toolkit
- ARToken Phishing Panel Abuses Microsoft OAuth Device Code Flow to Hijack Microsoft 365 Accounts (EvilTokens PhaaS)
- ARToken: Business Email Compromise-as-a-Service Platform Targeting Microsoft 365 (Cisco Talos / EvilTokens Affiliate)
- Microsoft Entra ID Device Code Phishing — OAuth 2.0 Device Authorization Grant Abuse (Storm-2372, EvilTokens, Kali365)
- EvilTokens PhaaS Campaign Abuses Railway.com PaaS for Microsoft 365 Device Code Phishing and AiTM Token Replay
Previous and next in phishing
Drafted by the Threadlinqs research pipeline from 10 sources; published ; last updated —.