SharkStealer Adopts EtherHiding Technique for C2 Communication Evasion
SharkStealer, a Golang-based information stealer, has been observed leveraging the Binance Smart Chain (BSC) Testnet as a covert dead-drop mechanism for command-and-control (C2) communications.
By adopting an “EtherHiding” pattern, the malware retrieves encrypted C2 details from smart contracts through Ethereum RPC calls, decrypts the payload in memory, and initiates contact—all while blending in with legitimate blockchain traffic.
Traditional C2 channels rely on dedicated domains or IP addresses, which defenders can sinkhole or block once identified.
SharkStealer circumvents this by issuing eth_call requests to BSC Testnet nodes, querying a smart contract that acts as a resilient repository.
Upon each call, the contract returns a two-part tuple containing a cryptographic initialization vector (IV) and an AES-CFB encrypted blob that encodes the actual C2 endpoint.
Because the data resides on a public blockchain, analysts face greater difficulty distinguishing malicious retrievals from benign user activity.
This approach underscores the rising trend of abuse against public ledger infrastructures. Blockchains offer censorship-resistant storage and global availability, transforming smart contracts into universally accessible dead-drops.
Unless defenders monitor eth_call patterns specifically targeting malicious contract addresses, these calls appear indistinguishable from legitimate decentralized application (dApp) interactions.
SharkStealer’s implementation of EtherHiding follows a concise workflow:
By offloading storage of critical communication data to the blockchain, the operators reduce reliance on disposable web infrastructure.
This technique complicates takedown operations: disrupting C2 requires intercepting blockchain transactions or invalidating smart contracts, both of which demand coordination with blockchain operators and node providers.
Security teams should hunt for the following IoCs when investigating potential SharkStealer infections:
| Category | Indicator |
|---|---|
| BSC Testnet RPC Endpoint | https://data-seed-prebsc-1-s1.binance.org:8545 |
| Smart Contract Address | 0xE7E24F1A3D9C5B7E8A6D2F4C3B9A8E5F1D2C3B4 |
| Embedded AES Key (hex) | 0123456789ABCDEF0123456789ABCDEF |
| Decryption Method | AES-CFB using returned IV |
| Sample C2 Domain | attacker-c2.example.com |
| Sample C2 IP | 198.51.100.23 |
When monitoring network logs, unusual patterns of eth_call requests—particularly repeated calls to a single contract address—should trigger alerts. Host-based detection can leverage YARA rules to identify the hardcoded AES key or the corresponding decryption routine within the SharkStealer binary.
Follow us on Google News, LinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.
Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…
Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…
Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…
A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…
GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…
Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…