Bitcoin
Bitcoin (BTC)
$101,908.00 -0.00475
Bitcoin price
Ethereum
Ethereum (ETH)
$3,883.89 -0.77279
Ethereum price
BNB
BNB (BNB)
$717.04 -1.08821
BNB price
Solana
Solana (SOL)
$220.98 -2.00015
Solana price
XRP
XRP (XRP)
$2.42 -0.47691
XRP price
Shiba Inu
Shiba Inu (SHIB)
$0.0000275 -3.70533
Shiba Inu price
Pepe
Pepe (PEPE)
$0.0000235 -3.67384
Pepe price
Bonk
Bonk (BONK)
$0.0000365 -6.21677
Bonk price
dogwifhat
dogwifhat (WIF)
$2.84 -3.4877
dogwifhat price
Popcat
Popcat (POPCAT)
$1.09 -8.58199
Popcat price
Bitcoin
Bitcoin (BTC)
$101,908.00 -0.00475
Bitcoin price
Ethereum
Ethereum (ETH)
$3,883.89 -0.77279
Ethereum price
BNB
BNB (BNB)
$717.04 -1.08821
BNB price
Solana
Solana (SOL)
$220.98 -2.00015
Solana price
XRP
XRP (XRP)
$2.42 -0.47691
XRP price
Shiba Inu
Shiba Inu (SHIB)
$0.0000275 -3.70533
Shiba Inu price
Pepe
Pepe (PEPE)
$0.0000235 -3.67384
Pepe price
Bonk
Bonk (BONK)
$0.0000365 -6.21677
Bonk price
dogwifhat
dogwifhat (WIF)
$2.84 -3.4877
dogwifhat price
Popcat
Popcat (POPCAT)
$1.09 -8.58199
Popcat price
Bitcoin
Bitcoin (BTC)
$101,908.00 -0.00475
Bitcoin price
Ethereum
Ethereum (ETH)
$3,883.89 -0.77279
Ethereum price
BNB
BNB (BNB)
$717.04 -1.08821
BNB price
Solana
Solana (SOL)
$220.98 -2.00015
Solana price
XRP
XRP (XRP)
$2.42 -0.47691
XRP price
Shiba Inu
Shiba Inu (SHIB)
$0.0000275 -3.70533
Shiba Inu price
Pepe
Pepe (PEPE)
$0.0000235 -3.67384
Pepe price
Bonk
Bonk (BONK)
$0.0000365 -6.21677
Bonk price
dogwifhat
dogwifhat (WIF)
$2.84 -3.4877
dogwifhat price
Popcat
Popcat (POPCAT)
$1.09 -8.58199
Popcat price
Bitcoin
Bitcoin (BTC)
$101,908.00 -0.00475
Bitcoin price
Ethereum
Ethereum (ETH)
$3,883.89 -0.77279
Ethereum price
BNB
BNB (BNB)
$717.04 -1.08821
BNB price
Solana
Solana (SOL)
$220.98 -2.00015
Solana price
XRP
XRP (XRP)
$2.42 -0.47691
XRP price
Shiba Inu
Shiba Inu (SHIB)
$0.0000275 -3.70533
Shiba Inu price
Pepe
Pepe (PEPE)
$0.0000235 -3.67384
Pepe price
Bonk
Bonk (BONK)
$0.0000365 -6.21677
Bonk price
dogwifhat
dogwifhat (WIF)
$2.84 -3.4877
dogwifhat price
Popcat
Popcat (POPCAT)
$1.09 -8.58199
Popcat price

Rubic DEX aggregator hack leads to $1.4m of user funds stolen

rubic-dex-aggregator-hack-leads-to-1-4m-of-user-funds-stolen
Edited by
News
Rubic DEX aggregator hack leads to $1.4m of user funds stolen

Cross-chain decentralized finance (DeFi) protocol Rubic was compromised, resulting in funds stored in its user’s addresses being siphoned out and transferred to the hackers.

On Dec. 25, Rubic protocol announced that one of its routing contracts was compromised and all contracts would be stopped until the situation is fully understood. The announcement read:

The protocol’s creators also advised their users to revoke contract authorization through the revoke.cash tool. A Twitter thread by blockchain cybersecurity firm PeckShield explains that a vulnerability in the Rubic protocol led to a loss of $1.41 million worth of funds directly from the wallets that authorized its smart contracts.

The exploiter address received the funds from the Uniswap decentralized exchange (DEX) in transactions involving the USD Coin (USDC) stablecoin. PeckShied explained that the hack was made possible due to mistakenly adding USDC into supported routers. Furthermore, “a lack of validation in ruterCallNative” also allowed malicious contract use.

A quick smart contract analysis with the help of chatGPT suggests that the ruterCallNative function contains numerous potential vulnerabilities, including invalidated input for the “_params” and “_data” parameters. These could allow an attacker to pass malicious input that could result in incorrect or unintended behaviour.

Furthermore, the “_gateway” parameter passed to the function is unrestricted, potentially allowing an attacker to create a contract and have it executed by the RubicProxy contract.

Indeed, the attacker deployed a custom smart contract that was used in the attack. The decoded bytecode shows the 337 lines of code that allowed the attacker to perform the attack as efficiently as possible.

The hacker’s address received first a 1,161.55 ethereum (ETH) transfer and another 26.88 ETH transfer, both from the Uniswap protocol siphoning out exclusively USDC and exchanging it for wrapped ethereum (WETH). All of this WETH was later sent to an on-chain mixer and sanctioned entity Tornado Cash to anonymize the ill-gotten funds.

On-chain analysis shows that $1.45 million worth of incoming transactions sent to the coin anonymization service originated from the hacker’s address — on a total incoming value for the service of about $2.9 million. In other words, about half of the assets sent to the mixer today were sent by the exploiter.

Rubic DEX aggregator hack leads to $1.4m of user funds stolen - 1
Tornado.Cash incoming transfers processed on Dec. 25. Hacker’s address is on the right. | Courtesy of Arkham Intelligence

Despite the hacker’s funds being such a significant portion of the service’s incoming transaction volume, their anonymity is still substantial. The deposit may be among the $2 million withdrawals from Tornado Cash processed today or among the $174 million worth of assets still deposited in the smart contract.

Tornado Cash is a now-illegal DeFi protocol that allows users to perform anonymous transfers on the Ethereum blockchain. The protocol uses zero-knowledge proofs (ZK-proofs) to hide transactions’ input and output addresses. It is difficult for third parties to determine the identity of the parties involved in the transaction or the specific purpose of the transfer.

Tornado Cash is an open-source project built on top of the Ethereum blockchain and accessible to anyone with an Ethereum wallet. Users can interact with the Tornado Cash contract using their Ethereum wallet or a web interface still available through the decentralized hosting service InterPlanetary File System (IPFS). They can perform anonymous transfers of ETH or tokens compliant with the ERC-20 standard by sending their funds to the Tornado Cash contract and withdrawing them to a new address.

The news follows recent reports that North Korean hackers have stolen around $1.2 billion in cryptocurrency and other virtual assets over the past five years. Most of those hacks happened in 2021 alone.