ChainScript RAT Uses Polygon Blockchain for C2 Discovery
Score: 8/10

ChainScript RAT Uses Polygon Blockchain for C2 Discovery

Adversary Pursuit Group identified ChainScript, a Node.js RAT that utilizes Polygon smart contracts for resilient C2 infrastructure rotation and delivery via ClickFix lures.

Executive Summary

Blackpoint’s Adversary Pursuit Group (APG) has uncovered ChainScript, a previously undocumented Node.js-based Remote Access Trojan (RAT). The malware is distributed through 'ClickFix' social engineering lures, where users are tricked into running malicious Windows Installers (MSIs) disguised as legitimate software like Spotify, Zoom, and Microsoft Teams. Once executed, the malware stages a Node.js runtime to run its core agent, facilitating extensive system control including interactive shells and file manipulation.

A defining characteristic of ChainScript is its use of the 'EtherHiding' technique for Command and Control (C2) resilience. The malware queries a Polygon smart contract to dynamically resolve its active WebSocket C2 address, allowing attackers to rotate backend infrastructure in real-time without updating the deployed agent. This decentralized approach complicates traditional indicator-based detection and takedown efforts by decoupling the malware from static infrastructure.

While currently observed targeting Windows via MSI packages, parallel campaigns (codenamed PasteSwitch) using similar ClickFix lures have been observed delivering macOS-specific threats like Atomic Stealer (AMOS) and MacSync. The adoption of legitimate development frameworks (Node.js) and blockchain-based discovery represents an emerging trend of modular, highly adaptable malware targeting both enterprise and cryptocurrency users.

Key Details

Threat Name

ChainScript Node.js RAT

Affects

—

Adversary

Adversary Pursuit Group

Malware/Tools

ChainScript, Tsundere, EtherRAT, EtherHiding, SearchTrustedRuntimeSvc.exe, MacSync, Atomic macOS Stealer, Amatera Stealer, AnimateClipper, ZigClipper

Report Score

8out of 10
Quality Score
Good
IOC Quality9
TTP Details9
Detection Guidance6
Enterprise Relevance8
Clarity & Structure9
Technical Depth8

Sources