Hackers Using Ethereum Smart Contracts to Deliver Malware: Report

In brief

  • Public code libraries are being poisoned with malware that is being downloaded via Ethereum smart contracts.
  • Software security firm ReversingLabs identified a sophisticated network of malicious packages using this method with fake activity to give a sense of legitimacy.
  • Binance chief security officer, Jimmy Su, told Decrypt in August that package poisoning like this is one of the main vectors of attack that North Korean hackers use.

Software security firm ReversingLabs has identified two open-source code packages that use Ethereum smart contracts to download malware. It forms part of a “sophisticated campaign” of malicious actors attempting to hack users via poisoned blockchain-related public code libraries—a vector of attack Binance has previously linked to North Korean hackers.

The two Node Package Manager (NPM) libraries, or packages, called colortoolsv2 and mimelib2, were effectively identical in that they contained two files, one of which would run a script that downloads the second half of the malware attack via an Ethereum smart contract. NPM packages are collections of reusable, open-source code that developers will frequently use.

Lucija Valentić, Software threat researcher at ReversingLabs, wrote that the use of smart contracts was “something we haven’t seen previously.” 

“‘Downloaders’ that retrieve late-stage malware are being published to the npm repository weekly—if not daily,” she said. “What is new and different is the use of Ethereum smart contracts to host the URLs where malicious commands are located, downloading the second-stage malware.”

These two packages were just the tip of the iceberg, as ReversingLabs found a larger campaign of poisoned packages across GitHub. The security firm discovered a network of GitHub repositories that were connected to the aforementioned malicious package colortoolsv2. Most of the network was branded as crypto trading bots or token sniping tools.

“Even though the NPM package wasn’t very sophisticated, there was much more work put into making the repositories holding the malicious package look trustworthy,” Valentić said. 

She explained in the report that some repositories had thousands of commits, a good number of stars, and a couple of contributors, which could lead a developer to trust it. But ReversingLabs believes that most of this activity was faked by the attackers.

“It is especially dangerous because programmers wouldn’t think it’d be an issue when they use publicly maintained codebases,” 0xToolman, a pseudonymous on-chain sleuth at Bubblemaps, told Decrypt. “It could be the assumption that open source equals public monitoring equals safety. It could be simply that one is unable to check every code he is using as he did not write it, and it would take so much time to do so.”

Binance links NPM poisoning to DPRK

Major centralized exchange Binance told Decrypt last month that it was aware of such attacks and forces employees to go through NPM libraries with a fine-tooth comb as a result. 

Binance chief security officer, Jimmy Su, explained that package poisoning is a growing vector of attack for North Korean hackers, which he identified as the single biggest threat to crypto companies.

“The largest vector currently against the crypto industry is state actors, particularly in the DPRK, [with] Lazarus,” Su told Decrypt in August. “They’ve had a crypto focus in the last two, three years and have been quite successful in their endeavors.”

North Korean hackers are believed to have been responsible for 61% of all crypto stolen in 2024, a Chainalysis report revealed, which totalled $1.3 billion. Since then, the FBI has attributed North Korean attackers to the $1.4 billion Bybit hack, which is the largest crypto hack of all time.

While the main vector of attack that Su has noted is via fake employees, NPM package poisoning is in second place alongside fake interview scams. As such, major crypto exchanges share intelligence via Telegram and Signal groups so they can highlight poisoned libraries.

“We are mostly in this alliance on the frontline, so for the first responders, when [there are] hacks or [we need] incident response. We are always in this group, like with other exchanges, such as Coinbase, Kraken,” Su explained. “We’ve been in alliance with those exchanges for years now. There are more formal ones that are being formed today, but in terms of operating on the frontline. We’ve been doing that for years now.”

Daily Debrief Newsletter

Start every day with the top news stories right now, plus original features, a podcast, videos and more.

Source link

Ryan Gladwin

https://decrypt.co/338092/hackers-using-ethereum-smart-contracts-to-deliver-malware-report

2025-09-04 14:26:00

bitcoin
Bitcoin (BTC) $ 90,222.00 5.11%
ethereum
Ethereum (ETH) $ 2,936.43 4.48%
tether
Tether (USDT) $ 1.00 0.01%
xrp
XRP (XRP) $ 2.11 4.43%
bnb
BNB (BNB) $ 868.80 6.29%
usd-coin
USDC (USDC) $ 0.999714 0.01%
solana
Solana (SOL) $ 134.38 6.76%
tron
TRON (TRX) $ 0.280707 0.88%
staked-ether
Lido Staked Ether (STETH) $ 2,924.35 3.93%
dogecoin
Dogecoin (DOGE) $ 0.143365 6.33%
cardano
Cardano (ADA) $ 0.413924 8.95%
figure-heloc
Figure Heloc (FIGR_HELOC) $ 1.03 1.20%
whitebit
WhiteBIT Coin (WBT) $ 59.17 1.39%
wrapped-steth
Wrapped stETH (WSTETH) $ 3,565.87 3.85%
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 90,066.00 5.08%
bitcoin-cash
Bitcoin Cash (BCH) $ 535.16 2.53%
wrapped-beacon-eth
Wrapped Beacon ETH (WBETH) $ 3,174.21 4.17%
usds
USDS (USDS) $ 0.999727 0.00%
binance-bridged-usdt-bnb-smart-chain
Binance Bridged USDT (BNB Smart Chain) (BSC-USD) $ 1.00 0.13%
chainlink
Chainlink (LINK) $ 12.87 6.54%
hyperliquid
Hyperliquid (HYPE) $ 32.86 10.84%
leo-token
LEO Token (LEO) $ 9.18 6.06%
weth
WETH (WETH) $ 2,923.63 3.91%
stellar
Stellar (XLM) $ 0.246103 5.80%
wrapped-eeth
Wrapped eETH (WEETH) $ 3,164.74 3.98%
monero
Monero (XMR) $ 395.04 1.29%
ethena-usde
Ethena USDe (USDE) $ 0.999627 0.07%
coinbase-wrapped-btc
Coinbase Wrapped BTC (CBBTC) $ 89,863.00 4.65%
litecoin
Litecoin (LTC) $ 81.11 6.00%
hedera-hashgraph
Hedera (HBAR) $ 0.139699 5.30%
zcash
Zcash (ZEC) $ 352.27 1.21%
avalanche-2
Avalanche (AVAX) $ 13.39 4.32%
sui
Sui (SUI) $ 1.50 12.62%
shiba-inu
Shiba Inu (SHIB) $ 0.000008 4.89%
world-liberty-financial
World Liberty Financial (WLFI) $ 0.162516 11.43%
dai
Dai (DAI) $ 0.999746 0.07%
susds
sUSDS (SUSDS) $ 1.08 0.11%
crypto-com-chain
Cronos (CRO) $ 0.111058 10.09%
the-open-network
Toncoin (TON) $ 1.55 5.06%
paypal-usd
PayPal USD (PYUSD) $ 0.999814 0.01%
ethena-staked-usde
Ethena Staked USDe (SUSDE) $ 1.21 0.07%
usdt0
USDT0 (USDT0) $ 0.99997 0.02%
uniswap
Uniswap (UNI) $ 5.80 3.94%
polkadot
Polkadot (DOT) $ 2.17 7.53%
mantle
Mantle (MNT) $ 1.02 4.24%
canton-network
Canton (CC) $ 0.077526 3.92%
usd1-wlfi
USD1 (USD1) $ 0.999334 0.00%
aave
Aave (AAVE) $ 178.24 6.85%
bittensor
Bittensor (TAO) $ 280.40 6.16%
bitget-token
Bitget Token (BGB) $ 3.54 2.92%