ClearFake Uses BNB Smart Chain Testnet Contracts to Deliver SectopRAT and ACRStealer

· Original article ↗

Summary

Trend Micro analyzed a ClearFake campaign that used BNB Smart Chain testnet contracts to route ClickFix lures to Windows and macOS victims, delivering SectopRAT and ACRStealer and tracking successful executions on-chain.

Key points

  • Injected JavaScript on a compromised website queried BNB Smart Chain testnet contracts to retrieve payloads, avoiding conventional URL-based blocking.
  • Four contracts handled payload storage, Windows and macOS routing, and tracking successful victim executions; they shared one deployer wallet and remained active during the analysis.
  • Anti-analysis checks screened for headless browsers and private or localhost IPs before routing victims to OS-specific ClickFix lures.
  • The lures imitated Google reCAPTCHA and copied commands to victims’ clipboards, prompting them to run the commands manually.
  • The Windows infection chain deployed SectopRAT and ACRStealer, targeting browser credentials, sessions, and other sensitive data; the macOS lure used a shell command to download and run a script.
  • Trend Micro recommends blocking the identified testnet RPC endpoint, restricting clipboard access, disabling WebClient where unnecessary, and monitoring for JSON-RPC and related execution patterns.

Article Details

Attack Vectors
  • ClearFake JavaScript was injected into a compromised WordPress recreational website and queried BNB Smart Chain testnet contracts to retrieve staged payloads.
  • The campaign used a ClickFix fake CAPTCHA overlay to trick victims into executing clipboard-injected commands on Windows or macOS.
  • On Windows, the WebClient service loaded a remote DLL into memory; the resulting process injected remote threads into Chrome and Edge.
  • On macOS, the clipboard command used curl to download and execute a remote shell script; the download URL was not recoverable from static analysis.
  • The delivered payloads included SectopRAT and ACRStealer, with DLL sideloading also used to execute ACRStealer.
Defensive Notes
  • Block outbound JSON-RPC traffic to the BNB Smart Chain testnet RPC endpoint identified in the article.
  • Disable the Windows WebClient service on workstations that do not require WebDAV; where it cannot be disabled, detect rundll32.exe activity with UNC path arguments.
  • Restrict browser clipboard write access and train users to recognize fake CAPTCHA and ClickFix lures.
  • Monitor web proxy logs for eth_call and JSON-RPC patterns associated with EtherHiding.

Indicators of compromise

TypeIndicatorContext
DOMAINbsc-testnet-rpc[.]publicnode[.]comBNB Smart Chain testnet RPC endpoint queried by the injected ClearFake JavaScript to retrieve contract payloads.
DOMAINdownload2324[.]mediafire[.]comMediaFire host queried during the infection; the article reports a MediaFire fallback for stolen data, but does not confirm the specific content of this observed query.
DOMAINip-info[.]ff[.]avast[.]comAvast geolocation API contacted by the ClickFix payload to obtain victims' public IP addresses for tracking.

MITRE ATT&CK

People

Threat Actors

Malware

Vendors

Products

BNB Smart ChainTrendAI™ Research analyzed an intrusion where threat actors used the EtherHiding technique to route ClearFake payload delivery through smart contracts on the BNB Smart Chain testnet.EdgeIt spawned an invisible secondary desktop to silently hijack browser sessions in Chrome or Edge that ran in the background, fully controlled by the attacker, while the victim saw nothing.FileZillaA complete Python 3.15 embeddable runtime was then deployed to C:\Users\[User]\AppData\Local\FileZilla\Data\DC80D99D\, a directory chosen to blend with the legitimate FileZilla FTP client.Google Chrome!window.chrome && !window.safari && !navigator.userAgent.includes("Firefox"): Checks if none of Chrome, Safari, or Firefox are detected in the browser environment Mozilla Firefox!window.chrome && !window.safari && !navigator.userAgent.includes("Firefox"): Checks if none of Chrome, Safari, or Firefox are detected in the browser environment TrendAI Vision OneThis analysis began as a TrendAI Vision One™ Managed Detection Response (MDR) case, where a customer organization had one employee browsing a legitimate recreational website and then ended up with a multi-stageWordPressThe victim browsed a legitimate Swiss recreational activity site running on WordPress where 22 scripts loaded by the page were legitimate WordPress and plugin resources, but  one was not.Yandex Metrikacontains one capability absent from the Windows version: on successful overlay display, it injects a Yandex Metrika analytics tracker (counter ID 99162160, that loads mc.yandex[.]ru/metrika/tag.js) via a nested

Tools

Related Articles