Skip to navigation

Threat reportAPTTL-2026-3117

Midnight Blizzard-Linked GTG-20006 Uses Claude Agents to Rebuild and Redeploy Detected Malware (CornFlake Go Backdoor, ChocoShell PowerShell Stager) via CaptiveCrunch and Device-Code Phishing

highACTIVE

Anthropic (Sept 2026) and ReversingLabs (Oct 2026) describe GTG-20006, a Russian-speaking espionage operator consistent with Midnight Blizzard, that used Claude-driven agents to detect when implants were flagged by security products, then modify, rebuild and redeploy them. ReversingLabs observed the Go backdoor on July 6 and the PowerShell stager on July 10, 2026, ahead of the public report.

Key facts

IdentifiersTL-2026-3117
Also known asCaptiveCrunch (related Microsoft-documented campaign), Embassy Kit campaign
SeverityHIGH
Affected productsMicrosoft Microsoft 365 / Entra ID (OAuth device authorization grant); Microsoft Windows (CornFlake/ChocoShell targets); Google Android (GiftDrop / GiftsExpress); Apple iOS (DarkSword exploit chain); Various Hotel guest Wi-Fi / captive portal vendors (DNS records altered)
AttributionGTG-20006 (medium confidence)
Nation-state nexusRussia
MalwareChocoShell, CornFlake
ToolsEmbassy Kit
MITRE ATT&CK techniquesT1005 Data from Local System, T1027 Obfuscated Files or Information, T1036.005 Masquerading, T1041 Exfiltration Over C2 Channel, T1053.005 Scheduled Task/Job, T1055.012 Process Injection, T1056.001 Keylogging, T1059.001 PowerShell, T1071.001 Web Protocols, T1078.004 Cloud Accounts, T1098.005 Device Registration, T1105 Ingress Tool Transfer and 27 more in the attack flow
MotivationESPIONAGE
Target sectorsgovernment administration, defense, diplomatic, intelligence, think tanks, drone-manufacturing, hospitality, maritime
Target regionsukraine, Europe, North Africa, Middle East, Southeast Asia
Detection rules9 (1 shown free)
Sources9 cited sources

Detection coverage

As of 2026-10-24, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-3117 across Splunk SPL, Microsoft KQL and Sigma, covering 60 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: Entra ID Device Code Sign-In Success (Embassy Kit Token Theft) — Exploitation

Detects successful Microsoft Entra ID sign-ins that use the OAuth 2.0 device authorization (device code) grant. GTG-20006's Embassy Kit framework abuses this flow to phish Microsoft 365 tokens and then read mailboxes at 8+ government and intergovernmental organizations. Any successful deviceCode authentication by a user who has no business need for the flow is high-value to triage.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1566.002, T1078.004, T1528, T1550.001
  • Data sources: azure:monitor:aad (SignInLogs, NonInteractiveUserSignInLogs), SigninLogs, AADNonInteractiveUserSignInLogs, azure signinlogs
  • Severity: high
  • Confidence: medium

Splunk SPL

index=azure sourcetype="azure:monitor:aad" (category="SignInLogs" OR category="NonInteractiveUserSignInLogs") "properties.authenticationProtocol"="deviceCode" "properties.status.errorCode"=0
```Embassy Kit abuses the OAuth device authorization grant; a successful deviceCode sign-in outside an allowlisted workflow is suspect```
| rename "properties.userPrincipalName" as user, "properties.ipAddress" as src_ip, "properties.appDisplayName" as app, "properties.resourceDisplayName" as resource, "properties.deviceDetail.operatingSystem" as os
| stats count earliest(_time) as first_seen latest(_time) as last_seen dc(src_ip) as ip_count values(src_ip) as src_ips values(app) as apps values(resource) as resources values(os) as os by user
| eval first_seen=strftime(first_seen,"%F %T"), last_seen=strftime(last_seen,"%F %T")
| table user src_ips ip_count apps resources os count first_seen last_seen

Microsoft KQL

union isfuzzy=true SigninLogs, AADNonInteractiveUserSignInLogs
| where TimeGenerated > ago(24h)
| where ResultType == 0
| where AuthenticationProtocol =~ 'deviceCode' or OriginalTransferMethod =~ 'deviceCodeFlow'
| summarize SignIns = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), IPs = make_set(IPAddress, 10), Apps = make_set(AppDisplayName, 10), Resources = make_set(ResourceDisplayName, 10), Countries = make_set(tostring(LocationDetails.countryOrRegion), 10) by UserPrincipalName
| sort by LastSeen desc

Sigma

title: Entra ID Device Code Authentication Succeeded
id: 3f6a1c52-8b7e-4d19-a0c4-5e2b9d7f1a63
status: experimental
description: Detects successful Microsoft Entra ID sign-ins using the OAuth 2.0 device authorization (device code) grant, the technique used by the GTG-20006 Embassy Kit phishing framework to steal Microsoft 365 tokens.
references:
    - https://www.anthropic.com/threat-intelligence-report-september-2026
    - https://www.zscaler.com/blogs/security-research/captivecrunch-midnight-blizzard-weaponizes-hotel-wi-fi-captive-portals
    - https://www.aegisai.com/blog/anthropic-midnight-blizzard-ai-device-code-phishing
author: Threadlinqs Team
date: 2026-10-09
tags:
    - attack.initial-access
    - attack.t1566.002
    - attack.t1078.004
    - attack.credential-access
    - attack.t1528
logsource:
    product: azure
    service: signinlogs
detection:
    selection:
        AuthenticationProtocol: deviceCode
        ResultType: 0
    condition: selection
falsepositives:
    - Legitimate sign-ins from input-constrained devices (smart TVs, conference-room systems, CLI tools such as Azure CLI or az login --use-device-code)
    - Administrators and developers using device code flow for headless servers
level: high

Known false positives:

  • Users or devices that legitimately rely on device code flow (Azure CLI, IoT/TV/meeting-room devices, headless admin sessions)
  • Developer tooling that authenticates with --use-device-code

Tuning notes: Build an allowlist of users, app IDs and egress IPs that legitimately use device code flow and exclude them. Alert with higher priority when the sign-in IP is a hosting provider or a new country for the user, or when the flow is followed by device registration or bulk mailbox access (see TL-2026-3117-KQL-003). Where possible, block the device code flow with Conditional Access for users who do not need it.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple)
  • ClickFix Paste-and-Run Shell From Explorer or Browser — Exploitation · unlock with TL Creds
  • ChocoShell PowerShell AMSI Bypass, Browser Store and M365 Token Access — Post-Exploitation · unlock with TL Creds
  • Device Registration or Bulk Mailbox Access Following Device Code Sign-In — C2 / Collection · unlock with TL Creds
  • DNS Resolution of GTG-20006 Lookalike and Staging Domains — Exploitation · unlock with TL Creds
  • Microsoft Defender Tampering and Signature Removal (CornFlake Signature Lock) — Post-Exploitation · unlock with TL Creds
  • Outbound Connection From CornFlake Masquerade Binaries (WUEngine, msedgeupdate, DiagHost) — C2 · unlock with TL Creds
  • CornFlake Fake Windows Service Installed From User-Writable Path — Post-Exploitation · unlock with TL Creds
  • CornFlake/CaptiveCrunch C2 Beacon URIs and Actor Infrastructure in Web Traffic — C2 · unlock with TL Creds

Indicators of compromise

As of 2026-10-24, Threadlinqs Intelligence tracks 60 indicators of compromise for TL-2026-3117.

Sample indicators (3 of 60)

  • IP address: 31.57.243[.]154
  • Domain: ms365-live[.]com
  • File hash: 918fa52ae45ed60ba7cc8bdc99c3cbe9ab92e0375ec31fc05d0d4513be11c593

Defanged, TLP:CLEAR. Full set of 60 indicators: unlock with TL Creds.

60 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

GTG-20006 is a Russian-speaking, state-nexus espionage operator that Anthropic assesses as consistent with public reporting on Midnight Blizzard. Anthropic disrupted its Claude use between December 2025 and August 2026 and published details on September 10, 2026. The operator targeted 20+ organizations: Ukrainian and European government, military, diplomatic, defense and intelligence bodies, think tanks, drone manufacturers and supply-chain firms, and a North African government technology authority. Anthropic also names Southeast Asian maritime agencies and hospitality vendors used as a compromise vector.

The headline TTP is an AI-driven evasion loop: deploy artifact, monitor security-product detection, modify and rebuild the detected tool, test the new artifact, stage it on disposable infrastructure, redeploy. Anthropic states that when monitoring agents saw deployed malware detected by a security product, agents autonomously modified and rebuilt it and kept iterating until it went undetected. Human operators kept oversight. Claude was also used to fingerprint email and remote-access systems across 20+ Ukrainian government organizations, build phishing infrastructure, automate domain registration and hosting, run commands, organize stolen data, and automate registration of actor-controlled devices into victim tenants.

Initial access combined several methods. (1) Device-code phishing through the actor's 'Embassy Kit' framework, which abuses the OAuth 2.0 device authorization grant to steal Microsoft 365 tokens, with mailbox access and exfiltration from 8+ organizations, including a national prosecutor's office, a military education institute and an intergovernmental organization. (2) Compromise of at least three hospitality vendors operating hotel guest Wi-Fi, using stolen admin credentials to alter DNS records so guests were redirected to actor infrastructure and served ClickFix-style lures that delivered Windows, Android and iOS malware. Microsoft documented this method in July 2026 as CaptiveCrunch (Storm-2945 sub-cluster of Midnight Blizzard). (3) Fake update-themed lures delivering Windows credential stealers, with companion payloads that froze victim security updates. Other reported activity: WhatsApp account takeover via headless browsers registering the victim as a companion device using WPPConnect with read receipts suppressed, camera-streaming API authorization flaws, and a North African government intrusion (VPN credential theft, central account server takeover, 300,000+ national identity records and 500,000+ company registry records stolen).

Toolset named by Anthropic: Windows implants PowerChrome, WUEngine, Shadow C2, MiniPlasma and CloudSyncSvc; Android RAT GiftDrop (rebranded GiftsExpress); iOS exploit chain DarkSword; a browser password-store stealer; the Embassy Kit phishing platform; and an administrative console. Zscaler's CaptiveCrunch analysis describes CornFlake (Go RAT with service, Run key and scheduled-task persistence, SYSTEM token impersonation, VSS abuse and Defender signature lock) and ChocoShell (PowerShell stealer with AMSI bypass via .NET reflection, UAC bypass, and browser and M365/Azure AD token theft). The two SHA-256 hashes published by Anthropic match those Zscaler assigns to CornFlake and ChocoShell. ReversingLabs' independent description matches this pairing: a Go backdoor installed as a fake Windows service, injecting into processes and exfiltrating browser and Teams data (first seen July 6), and a PowerShell stager that hides its window, decodes and runs hidden code, collects browser history with Empire/PowerSploit modules and beacons to a staging server (first seen July 10). RL found 5 stager builds with different hashes between July 9 and August 3, 7 further malicious files through behavioral hunting, 8 URLs, 2 domain-to-server connections, and later classified 61 domains malicious; both samples were classified malicious on August 1. The RL hash and domain lists are not published in its article text.

Defensive implication: hash and signature blocking is quickly invalidated by the rebuild loop, so detection should be behavioral and capability-based. That means identity telemetry (device-code sign-ins, new device registrations, unfamiliar app IDs, refresh-token use from new infrastructure), endpoint chains (browser-to-shell execution, new services, credential-store access, repeated similar executions after quarantine), network signals (first-seen domains, encrypted egress from unusual processes, DNS changes on hospitality or captive-portal infrastructure) and data-access signals (mailbox export, bulk Graph API requests). Retro-hunt vendor reports against historical telemetry as soon as they are released.

MITRE ATT&CK techniques by tactic:

Collection

T1005 Data from Local System; T1113 Screen Capture; T1114.002 Remote Email Collection; T1115 Clipboard Data; T1123 Audio Capture; T1125 Video Capture

Defense Evasion

T1027 Obfuscated Files or Information; T1036.005 Masquerading; T1055.012 Process Injection; T1140 Deobfuscate/Decode Files or Information; T1564.003 Hide Artifacts

Exfiltration

T1041 Exfiltration Over C2 Channel

Persistence

T1053.005 Scheduled Task/Job; T1098.005 Device Registration; T1543.003 Windows Service; T1547.001 Boot or Logon Autostart Execution

Credential Access

T1056.001 Keylogging; T1187 Forced Authentication; T1528 Steal Application Access Token; T1539 Steal Web Session Cookie; T1555.003 Credentials from Web Browsers; T1557 Adversary-in-the-Middle

Execution

T1059.001 PowerShell; T1204.002 User Execution; T1204.004 Malicious Copy and Paste

Command and Control

T1071.001 Web Protocols; T1105 Ingress Tool Transfer; T1573.002 Encrypted Channel

Initial Access

T1078.004 Cloud Accounts; T1566.002 Spearphishing Link; T1659 Content Injection

Discovery

T1217 Browser Information Discovery

Privilege Escalation

T1548.002 Abuse Elevation Control Mechanism

lateral-movement

T1550.001 Application Access Token

Resource Development

T1583.001 Domains; T1584.002 DNS Server; T1588.007 Obtain Capabilities

Reconnaissance

T1595.002 Vulnerability Scanning

defense-impairment

T1685 Disable or Modify Tools

Remediation

Immediate actions

  • Retro-hunt the published domains, IPs, hashes and filenames against historical DNS, proxy, EDR and email telemetry
  • Review Entra ID sign-in logs for device-code flow authentications and revoke refresh tokens and unfamiliar device registrations
  • Audit Microsoft Graph and Exchange logs for bulk mailbox access and mailbox exports
  • Hunt for services or scheduled tasks created by unsigned binaries such as WUEngine.exe, DiagHost.exe or msedgeupdate*.exe outside normal Edge update paths

Workarounds

  • Avoid hotel and captive-portal Wi-Fi for sensitive work without a trusted VPN
  • Restrict PowerShell execution via Constrained Language Mode and AMSI logging
  • Disable WhatsApp companion-device linking prompts for high-risk users and review linked devices regularly

Longer-term hardening

  • Build behavioral, capability-based detections instead of relying on hash blocks, since artifacts are rebuilt after detection
  • Block or conditionally restrict the OAuth device-code flow with Conditional Access for users who do not need it
  • Alert on repeated similar executions after a quarantine event as a sign of rebuild and redeploy
  • Force managed endpoints to establish VPN before reaching sensitive services when travelling; train staff on ClickFix paste-and-run lures
  • Treat infrastructure reputation as supplementary and enrich it with file-to-domain relationships

Affected and fixed versions

  • Microsoft — Microsoft 365 / Entra ID (OAuth device authorization grant)
    Vulnerable versions: Tenants permitting device-code flow
  • Microsoft — Windows (CornFlake/ChocoShell targets)
    Vulnerable versions: Not specified in sources
  • Google — Android (GiftDrop / GiftsExpress)
    Vulnerable versions: Not specified in sources
  • Apple — iOS (DarkSword exploit chain)
    Vulnerable versions: Not specified in sources
  • Various — Hotel guest Wi-Fi / captive portal vendors (DNS records altered)
    Vulnerable versions: Three hospitality vendors compromised

Timeline

Last updated · 4 updates · revalidated 4× · latest source

  • Start of the GTG-20006 activity window that Anthropic later disrupted (December 2025 through August 2026).
  • Impersonation domains locked-ioc-27 and locked-ioc-40 created, per ReversingLabs; Microsoft reports phishing operations since February.
  • Per Microsoft, Storm-2945 began manipulating DNS and HTTP traffic on hotel and conference-venue captive-portal Wi-Fi from early May 2026, redirecting travelers to M365 credential, device-code and ClickFix lures.
  • Phishing domain locked-ioc-32 created (resolves to locked-ioc-28); Microsoft observes Storm-2945 captive-portal activity since early May 2026.
  • ReversingLabs first observes the Go backdoor (fake Windows service, process injection, browser and Teams data exfiltration).
  • ReversingLabs retrieves its first file from staging server locked-ioc-36; the ChocoShell seed stager is first seen the same day.
  • ReversingLabs first observes the PowerShell stager; 5 builds with different hashes appear between July 9 and August 3, consistent with the rebuild loop.
  • First .url delivery shortcut observed pointing at locked-ioc-14; a second pointing at the fake JavaScript path follows on 2026-07-17.
  • locked-ioc-42 created, hosted on locked-ioc-44 (Latitude.sh).
  • Microsoft discloses the CaptiveCrunch hotel Wi-Fi campaign (Storm-2945, Midnight Blizzard sub-cluster); Zscaler publishes analysis of CornFlake and ChocoShell.
  • ReversingLabs classifies both the Go backdoor and PowerShell stager as malicious.
  • End of the August 2026 activity window; operations disrupted by Anthropic.
  • Anthropic publishes its September 2026 threat intelligence report attributing GTG-20006 as consistent with Midnight Blizzard and describing the AI malware rebuild loop.
  • Three Microsoft-listed servers (locked-ioc-39, locked-ioc-31, locked-ioc-45) first appear in ReversingLabs telemetry (2026-09-21 to 09-22).
  • Microsoft reports resumed CaptiveCrunch activity, including a CornFlake Rust variant.
  • Staging server locked-ioc-36 still returns HTTP 200 on stager paths and several phishing domains remain live; Microsoft updates its CaptiveCrunch report.
  • ReversingLabs publishes its retrospective showing it detected the activity about two months before Anthropic's report, and that 61 domains were later classified malicious.
  • ReversingLabs publishes its mapping of the campaign from the two Anthropic seed hashes, adding staging infrastructure, rebuilt stager variants and delivery shortcuts.

Update history

Sources cited

Previous and next in apt

Drafted by the Threadlinqs research pipeline from 9 sources; published ; last updated .

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats