# APT29-Linked CaptiveCrunch Campaign Abuses Hotel and Conference Wi-Fi to Steal Credentials and Deliver CornFlake RAT / ChocoShell Stealer

> Storm-2945, which Microsoft assesses is an operational sub-cluster of Russia-linked Midnight Blizzard (APT29) and Google tracks as UNC7005, manipulates DNS and HTTP traffic on hotel and conference captive-portal Wi-Fi to redirect travelers to Microsoft 365 phishing, Entra device code phishing and ClickFix fake update lures. The lures deliver the CornFlake RAT and ChocoShell infostealer. Microsoft disclosed the campaign on 2026-07-31 and reported it resumed on 2026-09-29.

- **Author:** Threadlinqs Team
- **Published:** 2026-12-03T12:39:15Z
- **Last updated:** 2026-12-03T13:18:59.629Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7387
- **ID:** TL-2026-7387
- **Severity:** HIGH
- **Category:** APT
- **Status:** ACTIVE
- **Actor:** Storm-2945 (Russia)
- **Detections:** 9 (1 shown free below) · **IOCs:** 30 (3 shown free below)

## Description

CaptiveCrunch is a cyber-espionage campaign that Microsoft attributes to Storm-2945, an operational sub-cluster of Midnight Blizzard (APT29, SVR-attributed). Instead of breaching individual venues, the actor appears to have compromised shared captive-portal services used by hotels, conference centers and similar venues. Traffic manipulation against captive portal networks was observed from early May 2026. Microsoft says the initial compromise vector for the portal networks is still under investigation. Once a traveler's device joins the network, DNS and HTTP traffic is manipulated so that browser connectivity checks (NCSI-style) and web requests are redirected to actor infrastructure in an adversary-in-the-middle position.

Victims are sent down three paths: (1) Microsoft 365 sign-in phishing and AitM pages on doppelganger domains (m365-owa.com, owa-ms365.com); (2) Microsoft Entra ID device code phishing (ms365-device.com, ms365-live.com), where the victim approves an attacker-initiated device code flow and the actor obtains tokens without the password; (3) ClickFix-style fake browser/OS update, Defender scan, driver repair and VC++ Redistributable prompts that make the user run cmd/PowerShell commands. Android users are directed to install an APK. The ClickFix commands download CornFlake, ChocoShell, or both.

CornFlake is a Go-based Windows RAT (a Rust variant was noted in Microsoft's 2026-10-05 update). In dropper mode it shows a fake progress window and copies itself to %APPDATA%\svchost32\svchost32.exe. It registers a service named svchost32 with the display name 'Cloud Sync Service', adds a Run key and scheduled tasks, and runs a watchdog that restores removed persistence. C2 uses an ECDH P-256 ephemeral key exchange with a SHA-256-derived session key and a custom JSON protocol; the sync.dat file allows hot reconfiguration of C2, watched directories, file patterns and TLS settings. Capabilities include raw-input keylogging, clipboard monitoring, screenshots, WASAPI audio capture, webcam capture, ChromeKatz-derived browser credential and cookie theft (Chrome ABE bypass, Firefox NSS/SDR decryption), file exfiltration throttled at 1,000 files or 500 MB per cycle, USB monitoring, an 18-category security posture sweep and a remote shell. It exposes a localhost HTTP API (/upload, /reload, /status) that companion payloads such as ChocoShell can use to reach its C2 channel.

ChocoShell is an in-memory PowerShell infostealer. It disables AMSI through .NET reflection, uses timing-based sandbox/VM detection, and escalates through three silent UAC bypasses (SilentCleanup task hijack via HKCU\Environment\windir, wsreset.exe COM hijack, sdclt.exe folder hijack), falling back to a visible RunAs prompt. A variant targets the WinGet DSC host (ConfigurationRemotingServer). It locks Defender signature updates, impersonates SYSTEM tokens from winlogon.exe, wininit.exe or services.exe to extract Chromium master keys (ABE and DPAPI), reads locked SQLite databases via shared access, VSS snapshots or direct copy, launches Chromium with --remote-debugging-port to call Network.getAllCookies over CDP, and harvests M365/Azure AD access, refresh and WAM tokens from Token Broker .tbres files. Wi-Fi keys are collected with netsh wlan show profile key=clear. It beacons to 213.145.86.112 at /t/pixel.gif?m=<status>, fetches modules from /cdn/chunks/polyfill-7e2b.min.js (Base64-decoded and run via [ScriptBlock]::Create()), and POSTs GZip-compressed Base64 JSON to /t/event. Cleanup nulls variables, forces garbage collection, deletes VSS shadow copies via WMI and removes temporary scripts.

Operators manage agents through FruitStone, a web C2 panel branded 'CloudSync Console' with a false 'Acuity Systems, Inc.' footer. It supports multi-operator JWT auth, remote shell, file browser, collection tasking, campaign building (garble, XOR string encoding, GZip) and proxy relays with beacon profiles including SNI spoofing such as teams.microsoft.com. Microsoft reports that Storm-2945 used AI to support a significant portion of operations and malware development, and its October update says the Rust CornFlake variant has characteristics consistent with AI-enabled development.

Attribution is to a sub-cluster of APT29: Microsoft cites overlap with Storm-2372 (device code/OAuth phishing), Graph-based email exfiltration, messaging-app social engineering and similar victimology. Google tracks the cluster as UNC7005, a likely APT29 sub-group. CYFIRMA treats the link as lower confidence than its direct APT29 attributions and separately files a July-October 2026 cluster, GTG-20006 (mostly Ukraine and Europe), under CaptiveCrunch as a possible APT29 sub-cluster. Microsoft says the campaign resumed on 2026-09-29, likely enabled by continued access to upstream hospitality managed service providers (per Black Lotus Labs), with new redirect domains and IPs appearing 2026-09-30 to 2026-10-01. Stolen sessions and tokens can give the actor access to work email and cloud data after the traveler leaves the venue.

## MITRE ATT&CK

- T1566.002 Spearphishing Link
- T1557 Adversary-in-the-Middle
- T1078.004 Cloud Accounts
- T1528 Steal Application Access Token
- T1204.004 Malicious Copy and Paste
- T1059.001 PowerShell
- T1059.003 Windows Command Shell
- T1543.003 Windows Service
- T1547.001 Registry Run Keys / Startup Folder
- T1053.005 Scheduled Task
- T1548.002 Bypass User Account Control
- T1546.015 Component Object Model Hijacking
- T1134.001 Token Impersonation/Theft
- T1685 Disable or Modify Tools
- T1497.003 Time Based Checks
- T1036.004 Masquerade Task or Service
- T1555.003 Credentials from Web Browsers
- T1539 Steal Web Session Cookie
- T1056.001 Keylogging
- T1016.002 Wi-Fi Discovery
- T1113 Screen Capture
- T1123 Audio Capture
- T1125 Video Capture
- T1071.001 Web Protocols
- T1573.002 Asymmetric Cryptography
- T1584 Compromise Infrastructure
- T1583.001 Domains
- T1098.005 Device Registration
- T1036.005 Match Legitimate Resource Name or Location
- T1056.003 Web Portal Capture
- T1041 Exfiltration Over C2 Channel

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

**CaptiveCrunch ClickFix / ChocoShell Download Cradle Execution** (`TL-2026-7387-SPL-001`)

Detects the CaptiveCrunch (Storm-2945 / Midnight Blizzard sub-cluster) ClickFix execution stage: cmd, PowerShell, mshta or rundll32 launched from explorer.exe (Run dialog paste) with a web download cradle, or any command line referencing known ChocoShell/CornFlake infrastructure (213.145.86.112, /t/pixel.gif, polyfill-7e2b.min.js, device-code and AitM lookalike domains). ChocoShell fetches Base64 modules and runs them via [ScriptBlock]::Create().

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1204.004, T1059.001, T1059.003
- **Data sources:** sysmon, defender_for_endpoint, windows_process_creation
- **Severity:** high
- **Confidence:** high

### Splunk SPL

```spl
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 OriginalFileName IN ("PowerShell.EXE","Cmd.Exe","mshta.exe","RUNDLL32.EXE")
| eval cl=lower(CommandLine)
| eval ioc_hit=if(match(cl,"213[.]145[.]86[.]112|107[.]189[.]26[.]194|polyfill-7e2b|/t/pixel[.]gif|ms365-device[.]com|ms365-live[.]com|m365-owa[.]com|owa-ms365[.]com|cdn-gstat[.]com|sslcdnhost[.]com|network-privacy[.]com"),1,0)
| eval clickfix=if(like(lower(ParentImage),"%explorer.exe") AND match(cl,"http") AND match(cl,"(downloadstring|invoke-webrequest|invoke-restmethod|iwr[ ]|frombase64string|scriptblock.::create|curl[ ]|bitsadmin|certutil)"),1,0)
| where ioc_hit=1 OR clickfix=1
| stats count min(_time) as first_seen max(_time) as last_seen values(CommandLine) as command_lines values(ParentImage) as parents by host User Image ioc_hit clickfix
| convert ctime(first_seen) ctime(last_seen)
```

### Microsoft KQL

```kql
let iocs = dynamic(["213.145.86.112","107.189.26.194","polyfill-7e2b","/t/pixel.gif","ms365-device.com","ms365-live.com","m365-owa.com","owa-ms365.com","cdn-gstat.com","sslcdnhost.com","network-privacy.com"]);
DeviceProcessEvents
| where Timestamp > ago(24h)
| where FileName in~ ("powershell.exe","pwsh.exe","cmd.exe","mshta.exe","rundll32.exe")
| where ProcessCommandLine has_any (iocs)
    or (InitiatingProcessFileName =~ "explorer.exe"
        and ProcessCommandLine has "http"
        and ProcessCommandLine has_any ("DownloadString","Invoke-WebRequest","Invoke-RestMethod","iwr ","FromBase64String","ScriptBlock]::Create","curl ","bitsadmin","certutil"))
| project Timestamp, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine, SHA256
| order by Timestamp desc
```

### Sigma

```yaml
title: CaptiveCrunch ClickFix Download Cradle or ChocoShell Infrastructure in Command Line
id: 3f6a1c52-8d2e-4b71-9a40-5c7e2d9b1a01
status: experimental
description: Detects cmd, PowerShell, mshta or rundll32 spawned from explorer.exe with a web download cradle (ClickFix paste-and-run) or referencing CaptiveCrunch ChocoShell and CornFlake infrastructure.
references:
  - https://www.microsoft.com/en-us/security/blog/2026/07/31/captivecrunch-midnight-blizzard-targets-travelers-worldwide-for-malware-delivery-and-credential-theft/
  - https://www.zscaler.com/blogs/security-research/captivecrunch-midnight-blizzard-weaponizes-hotel-wi-fi-captive-portals
author: Threadlinqs Team
date: 2026-12-03
tags:
  - attack.execution
  - attack.t1204.004
  - attack.t1059.001
  - attack.t1059.003
logsource:
  category: process_creation
  product: windows
detection:
  selection_img:
    Image|endswith:
      - '\powershell.exe'
      - '\pwsh.exe'
      - '\cmd.exe'
      - '\mshta.exe'
      - '\rundll32.exe'
  selection_ioc:
    CommandLine|contains:
      - '213.145.86.112'
      - '107.189.26.194'
      - 'polyfill-7e2b'
      - '/t/pixel.gif'
      - 'ms365-device.com'
      - 'ms365-live.com'
      - 'm365-owa.com'
      - 'owa-ms365.com'
      - 'cdn-gstat.com'
      - 'sslcdnhost.com'
      - 'network-privacy.com'
  selection_parent:
    ParentImage|endswith: '\explorer.exe'
  selection_http:
    CommandLine|contains: 'http'
  selection_cradle:
    CommandLine|contains:
      - 'DownloadString'
      - 'Invoke-WebRequest'
      - 'Invoke-RestMethod'
      - 'iwr '
      - 'FromBase64String'
      - 'ScriptBlock]::Create'
      - 'curl '
      - 'bitsadmin'
      - 'certutil'
  condition: selection_img and (selection_ioc or (selection_parent and selection_http and selection_cradle))
falsepositives:
  - Administrators running one-line install or bootstrap scripts from the Run dialog
  - Software deployment tooling that downloads installers through PowerShell
level: high
```

**Known false positives:**

- Administrators pasting one-line bootstrap or install commands (for example package manager installers) into the Run dialog
- Software deployment or onboarding scripts that download installers with Invoke-WebRequest launched from an interactive explorer.exe session

**Tuning notes:** Update the IOC regex with new CaptiveCrunch infrastructure as it is published. Allow-list known internal download hosts and approved bootstrap scripts by CommandLine hash or signer. Raise priority when the host also showed a guest or captive-portal Wi-Fi connection in the preceding hour. Adjust the index name to match your Sysmon data.

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

- Entra ID Device Code Flow Sign-in (CaptiveCrunch Device Code Phishing) (locked: unlock with TL Creds)
- ChocoShell UAC Bypass Registry Hijacks (SilentCleanup windir, sdclt Folder, wsreset) (locked: unlock with TL Creds)
- ChocoShell HTTPS Beacon, Module Fetch and GZip/Base64 Exfiltration Endpoints (locked: unlock with TL Creds)
- CaptiveCrunch Phishing, AitM and Redirect Infrastructure Contact (locked: unlock with TL Creds)
- ChocoShell Wi-Fi Key Dump and Chromium CDP Cookie Theft (locked: unlock with TL Creds)
- CornFlake Localhost API and [indicator] Reconfiguration Activity (locked: unlock with TL Creds)
- CornFlake [indicator] Persistence (Service, Run Key, Scheduled Task, Dropped Files) (locked: unlock with TL Creds)
- CornFlake / ChocoShell C2 Connections and [indicator] Beaconing (locked: unlock with TL Creds)

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

## Sample indicators (3 of 30)

Defanged, TLP:CLEAR.

- IP address: `213.145.86[.]112`
- Domain: `cdn-gstat[.]com`
- File hash: `918fa52ae45ed60ba7cc8bdc99c3cbe9ab92e0375ec31fc05d0d4513be11c593`

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

## Sources

- [CaptiveCrunch: Midnight Blizzard targets travelers worldwide for malware delivery and credential theft (Microsoft Security Blog)](https://www.microsoft.com/en-us/security/blog/2026/07/31/captivecrunch-midnight-blizzard-targets-travelers-worldwide-for-malware-delivery-and-credential-theft/)
- [CaptiveCrunch: Midnight Blizzard Weaponizes Hotel Wi-Fi Captive Portals (Zscaler ThreatLabz)](https://www.zscaler.com/blogs/security-research/captivecrunch-midnight-blizzard-weaponizes-hotel-wi-fi-captive-portals)
- [CaptiveCrunch: Midnight Blizzard Hospitality Network AiTM Campaign (Wiz Threat Center)](https://threats.wiz.io/all-incidents/captivecrunch-midnight-blizzard-hospitality-network-aitm-campaign)
- [Russian APT29-Linked Hackers Turn Hotel Wi-Fi Logins Into Traps to Steal Credentials (Cyber Security News)](https://cybersecuritynews.com/russian-apt29-linked-hackers/)
- [Adversary Unmasked: APT29 (CYFIRMA)](https://www.cyfirma.com/research/adversary-unmasked-apt29/)
- [CaptiveCrunch campaign delivers malware and steals traveler credentials (SOC Prime)](https://socprime.com/active-threats/captivecrunch-campaign-delivers-malware-and-steals-traveler-credentials/)
- [Storm-2945 actor profile (Malpedia)](https://malpedia.caad.fkie.fraunhofer.de/actor/storm-2945)

## 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-7387
