Blockchain-Backed Malice: ClickFix Lures Deploy ChainScript RAT via Polygon Smart Contracts

🛡️ Verified Threat IntelDigitalSpying Research Desk
📅 September 21, 2026⏱️ 5 min read

Author: DigitalSpying Security Desk

Date: September 21, 2026

Executive Summary

In a sophisticated evolution of cybercrime infrastructure that combines deceptive social engineering with decentralized Web3 architecture, threat researchers from Blackpoint Cyber’s Adversary Pursuit Group (APG) have identified ChainScript, a previously undocumented Remote Access Trojan (RAT). As detailed by The Hacker News, ChainScript is distributed through deceptive ClickFix lures disguised as legitimate corporate and media software, including Spotify, Zoom Workplace, and Microsoft Teams.

To insulate its operational backend against law enforcement seizures and domain takedowns, ChainScript adopts an advanced EtherHiding technique: the malware queries a smart contract deployed on the Polygon (MATIC) blockchain to dynamically discover its active WebSocket command-and-control (C2) server. By utilizing an immutable public blockchain as an external resolver, the operators can rotate backend infrastructure seamlessly while retaining the identical malware implant and reconnection workflow. The emergence of ChainScript coincides with high-profile advertising compromises—such as the breach of HBO Max’s verified Reddit corporate account (u/hbomax) to distribute ClickFix malware—signaling an aggressive push toward decentralized, takedown-resistant cybercrime ecosystems.

Deep-Dive Technical Analysis

1. Infection Vector & The ClickFix Delivery Pipeline

The attack chain begins by exploiting user trust through social engineering:

* The ClickFix Lure: Victims encounter fake error dialogs or fraudulent update prompts instructing them to "fix" an issue by copying a PowerShell command into their clipboard and running it via the Windows Run prompt (Win + R).

* MSI-Based Multi-Stage Dropper: The initial command fetches an installer package (ComponentTask33-*.msi) processed via msiexec.exe. Disguised as a Spotify installation, the package writes a portable Node.js runtime, obfuscated PowerShell scripts (sys_loader.ps1), and VBScript orchestrators across non-standard subdirectories in %LOCALAPPDATA%.

* Redundant Host Persistence: The VBScript launcher establishes user-level persistence via scheduled tasks with fallback to Windows Registry Run keys (HKCU\Software\Microsoft\Windows\CurrentVersion\Run), disguising itself as legitimate system background tasks.

+----------------------------------------------------------------------------------------------------+

| CHAINSCRIPT BLOCKCHAIN C2 RESOLUTION FLOW |

|---|

[Victim Executes ClickFix Lure (Spotify/Zoom Impersonation)]

|

| 1. msiexec.exe Drops Node.js Runtime & PowerShell Stages

v

[ChainScript JavaScript Agent Launched via VBScript Wrapper]

|

| 2. Issues JSON-RPC Call to Public Polygon Blockchain Node

v

[Polygon (MATIC) Smart Contract]

|

| 3. Contract State Stores Encoded WebSocket C2 Address

v

[Decodes Active C2 URL: wss://c2-live-relay.tld]

|

| 4. Establishes Persistent WebSocket Session

v

[Threat Actor Operator Achieves Interactive Control]

(CMD/PowerShell, Screen Capture, Crypto Wallet Theft, Payload Staging)

|

v

[Takedown Resistance: Operator Updates Blockchain Contract to Point to Fresh C2]

2. EtherHiding: Decentralized, Takedown-Resistant C2 Architecture

Traditional malware relies on centralized DNS domains, cloud IP addresses, or Domain Generation Algorithms (DGAs) that security defenders can sinkhole or seize through registrar abuse requests. ChainScript bypasses this defensive paradigm completely:

* Blockchain as an Unstoppable Resolver: The malware embeds a hardcoded Polygon smart contract address. Upon execution, the implant issues read-only JSON-RPC queries to public Polygon blockchain gateways (e.g., Infura, Alchemy, or public RPC endpoints) to inspect a specific contract data variable.

* Dynamic Infrastructure Rotation: The contract returns an encoded string containing the operational WebSocket endpoint. If law enforcement or cloud hosting providers take down the active server, the threat actor simply submits a standard transaction to the Polygon network updating the contract’s state variable.

* Zero-Footprint Client Redirection: Every compromised implant globally reads the updated contract value on its next polling interval and automatically reconnects to the new server, rendering traditional IP and domain blocking obsolete without requiring malware re-compilation.

3. Capabilities of the ChainScript Agent

ChainScript provides operators with comprehensive interactive administrative capabilities:

* System Surveillance & Remote Shell: Interactive CMD and PowerShell consoles, live screen capture, and remote JavaScript execution within the Node.js runtime.

* Cryptocurrency Theft: Systematically interrogates host storage for desktop wallet configurations and crawls browser profile directories to extract private keys and seed phrases from Web3 extension wallets (MetaMask, Phantom, Coinbase Wallet).

* Self-Maintenance: Embedded subroutines allow the implant to update its local script logic or cleanly purge registry persistence upon operator command.

4. The Expanding ClickFix Landscape: The HBO Max Reddit Breach

The proliferation of ClickFix lures extends beyond standalone phishing websites. Researchers from Hudson Rock and ADAMnetworks disclosed that threat actors compromised the official, verified Reddit account of streaming giant HBO Max (u/hbomax):

* Malicious Advertising Surge: Over a 48-hour window in mid-September 2026, the compromised account published 108 malicious Reddit advertisements leading to ClickFix payloads.

* Cross-Platform Targeting (PasteSwitch): The campaign delivered MacSync and Atomic macOS Stealer (AMOS) to Apple users, while directing Windows users to Amatera Stealer and cryptocurrency clippers.

Industry Impact: Web3 Primitives in Commodity Cybercrime

ChainScript exemplifies a profound structural shift in malware operations:

* The Failure of Static Blocklists: Security Operations Centers (SOCs) rely on threat intelligence feeds to block malicious domains. When C2 infrastructure is mediated through legitimate, high-volume public blockchains (Polygon, Ethereum, BNB), defenders cannot simply block the blockchain RPC endpoints without breaking legitimate enterprise Web3 integrations.

* Abusing Legitimate Frameworks: Packaging complete Node.js execution environments inside disguised installers allows malware authors to build cross-platform, modular implants in JavaScript, evading signature-based heuristics.

Strategic Recommendations & Actionable Defenses

1. Network Telemetry & RPC Auditing

* Monitor Blockchain RPC Traffic: Configure network egress filters to audit outbound JSON-RPC calls directed at public blockchain nodes (polygon-rpc.com, Infura, QuickNode) originating from non-developer workstations.

* WebSocket Inspection: Inspect outbound WebSocket (wss://) traffic initiated by non-browser binaries executing from %LOCALAPPDATA%.

2. Endpoint Process Lineage Detection

* Configure EDR rules to flag suspicious process trees where msiexec.exe or wscript.exe spawns node.exe or powershell.exe from user temporary folders.

* Detect scheduled tasks registered with generic names (e.g., ComponentTask*, UpdateDigital*) executing scripts within AppData.

3. User Training Against Clipboard Social Engineering

* Educate corporate personnel on ClickFix patterns. Train users to recognize that legitimate IT support and web services will never instruct a user to copy code into the Windows Run box or command-line terminal to resolve display or video errors.

AUTHORIZED REVERSE ENGINEERING & WHITE-HAT SECURITY CONSULTANCYBASE PROJECT ENGAGEMENT: $10,000 USD

Enterprise Binary Reverse Engineering & White-Hat Security Consultancy

Commission our senior reverse engineers and white-hat offensive security researchers to deconstruct compiled binaries, audit proprietary firmware, uncover zero-day vulnerabilities, and harden mission-critical infrastructure under strict Mutual NDA and Authorized Rules of Engagement (RoE). Projects start at a $10,000 base retainer with deterministic forensic deliverables.

$10,000Base Project Retainer
ELF / PE / RTOSx86_64, ARM64, MIPS, RISC-V
100% White-HatMutual NDA & Authorized RoE
TIER-01 // BASE RETAINER$10,000

Binary & Firmware Reverse Engineering Sprint

ELF / PE / Mach-O / RTOS Decompilation & Protocol Reconstruction

Select $10,000 Scope →
TIER-02 // OFFENSIVE AUDIT$15,000

White-Hat Penetration Testing & Zero-Day Audit

Authorized Red-Team Intrusion, Exploit Chain PoC & Defensive Hardening

Select $15,000 Scope →
TIER-03 // FULL-SPECTRUM LAB$25,000

Hardware, IoT & Embedded Red-Team Assessment

Silicon-to-Cloud Forensics, Silicon Bus Probing & RF Telemetry Audit

Select $25,000 Scope →
Classification:Cyber Security IntelligenceZero-Day AnalysisDefensive Engineering
🛡️

About the DigitalSpying Research Desk

The DigitalSpying Threat Intelligence Desk is composed of seasoned security researchers, reverse engineers, and blue team architects. Our mission is to publish reproducible, peer-audited threat analyses, hardware security evaluations, and defensive countermeasures.