Cointime

Download App
iOS & Android

Who Will Be the Next Target After Tornado Cash Governance Attack?

Validated Project

On May 20, 2023, Tornado Cash fell victim to a governance attack, resulting in a loss of approximately $1 million. The attacker initiated the attack by submitting a malicious proposal with a misleading description, which was later approved by the voters. Once the malicious proposal was executed, the attacker gained control over the governance of Tornado Cash.

Let's analyze how this attack unfolded and examine the underlying reasons behind it.

By examining the transaction records, we can trace the details of the attack. The attacker used two addresses: Attacker A (https://etherscan.io/address/0x092123663804f8801b9b086b03b98d706f77bd59) and Attacker B (https://etherscan.io/address/0x592340957ebc9e4afb0e9af221d06fdddf789de9).

The transaction details can be found here: https://etherscan.io/tx/0x65fa5b475f34a954a10f88f2c84f316a048a0e67d273c7abb098717b1a4a46a3.

The code for the malicious proposal is stored at the following address: https://etherscan.io/address/0xc503893b3e3c0c6b909222b45f2a3a259a52752d#code.

The contract that was attacked is TornadoVault (https://etherscan.io/address/0x2f50508a8a3d323b91336fa3ea6ae50e55f32185#code).

The attack unfolded as follows:

1. Attacker B created the malicious proposal at address 0xc503893b3e3c0c6b909222b45f2a3a259a52752d

2. Attacker B submitted a deceptive proposal labeled as #20.

3. Attacker A manipulated multiple accounts to lock 0 TORN tokens.

4. Deceived users voted for proposal #20.

5. After reaching the required number of votes, the attacker launched the attack:

  • The old proposal was destroyed. Attacker B invoked the emergencyStop function, destroying the old proposal at address 0xC50389 (https://etherscan.io/tx/0xd3a570af795405e141988c48527a595434665089117473bc0389e83091391adb
  • The proposal contract was updated. Attacker B created a new proposal contract at the same address 0xC50389 (https://etherscan.io/tx/0xa7d20ccdbc2365578a106093e82cc9f6ec5d03043bb6a00114c0ad5d03620122
  • Proof of Concept: A test file (https://github.com/MetaTrustLabs/SmartContractAttackPoC/blob/main/test/TornadoCash) was created to simulate the attacker's steps, including the creation and destruction of malicious contracts and the creation of new contracts at the same address.

6. Token transfers

  • Attacker B transferred tokens to Tornado.Cash: Governance Staking.
  • Attacker A transferred tokens to the attacker-controlled account.

Eventually, Attacker A obtained tokens worth $1 million through this attack.

The root causes of this governance attack can be attributed to two factors: the approval of a malicious proposal and the destruction and recreation of the proposal contract by the attacker.

Firstly, the attacker lured voters into making a misjudgment by creating a malicious proposal, leading them to approve it without fully understanding its potential risks. This deceptive description may have concealed the true intentions of the attack and misled voters into believing that the proposal was beneficial or harmless.

Secondly, the attacker took measures to destroy the original proposal contract and recreate it at the same address. By invoking the emergencyStop function, the attacker successfully disrupted the logic of the original proposal, causing its execution results to deviate from expectations. This action provided the attacker with an opportunity to seize control of the governance and laid the foundation for subsequent attacks.

The combination of these two factors enabled the attacker to successfully carry out the governance attack and take control of Tornado Cash. The approval of the malicious proposal and the destruction and recreation of the proposal contract paved the way for the attacker to utilize the controlled governance for further operations.

This attack highlights the importance of security and risk management in decentralized governance processes. Developers and communities should strengthen the review of proposals to ensure accurate and transparent descriptions, as well as enhance the security audit of contracts to prevent attackers from exploiting vulnerabilities and engaging in malicious activities. Additionally, users and voters need to carefully evaluate proposal content and ensure they understand the potential risks and consequences.

For projects like Tornado Cash and similar ones, this governance attack should be considered a lesson to strengthen their governance processes and security mechanisms, thereby improving the overall system's security and resilience against risks. Only through continuous security audits, risk assessments, and increased community participation and awareness can we establish a safer and more reliable blockchain ecosystem.

About Us

At MetaTrust, our primary focus is on creating a secure infrastructure that caters to the needs of developers in the WEB 3.0 space. We offer an array of AI-Driven automation tools and security services to assist Web3 developers and project stakeholders in achieving a secure development environment.

Website | Twitter | Telegram | Try MetaScan for FREE

Comments

All Comments

Recommended for you

  • Robinhood Chief Legal Officer Dan Gallagher Says He Won't Become SEC Chairman

    According to market news, Dan Gallagher, the Chief Legal Officer of Robinhood, stated that he would not serve as the Chairman of the US Securities and Exchange Commission.

  • Cosine: After a user used GPT to write a bot with a backdoor code, the private key was sent to a phishing website

    SlowMist Yu Xian stated in a post on the X platform that a user used GPT to write a bot with code and sent the private key to a phishing website. The reason why the private key was stolen was because it was directly sent to the phishing website in the HTTP request body. Yu Xian reminded that when using LLM such as GPT/Claude, one must pay attention to the common fraudulent behavior of these LLM. It was previously mentioned that AI poisoning attacks were carried out, and now this is a real attack case targeting the crypto industry.

  • U.S. Supreme Court rejects Facebook's attempt to avoid shareholder securities fraud lawsuit

     US Supreme Court rejected Facebook's attempt to avoid shareholder securities fraud lawsuits under the META umbrella.

  • The final value of the US one-year inflation rate in November is expected to be 2.6%, the expected value is 2.7%, and the previous value is 2.60%

     the expected final value of the US one-year inflation rate in November is 2.6%, with an expected value of 2.7% and a previous value of 2.60%. The expected final value of the US five-to-ten-year inflation rate in November is 3.2%, with an expected value of 3.1% and a previous value of 3.10%.

  • Polymarket Blocks French Users Amid Government Investigation into Gambling Law Compliance

    Polymarket has blocked users from France following reports of an investigation by the country's gaming authority for compliance with gambling laws. The ban was not stated in Polymarket's terms of service, but French users attempting to access the website using a VPN from a French server were met with a digital blockade. The ANJ, France's national gaming authority, began investigating Polymarket after a French trader placed large bets on Donald Trump winning the 2024 US Presidential election.

  • U.S. stocks open, most crypto stocks open lower

     the US stock market opened with the Dow Jones up 0.19%, the S&P 500 up 0.05%, and the Nasdaq up 0.01%. Most cryptocurrency stocks opened lower, with Coinbase (COIN.O) down 0.06%, MicroStrategy (MSTR.O) up 0.4%, and Riot Platforms (RIOT.O) down 2.6%. Previously, Bitcoin had risen above $99,000 before falling back.

  • Texas judge tosses out SEC's expanded 'broker' rule, which broke with 90 years of legal tradition to rope in crypto traders

    A Texas court has order the U.S. Securities and Exchange Commission to throw out a controversial rule that broadly redefined the term “dealer” in a move that impacted both crypto-focused and traditional finance firms.

  • Amazon to invest an additional $4 billion in Anthropic, OpenAI's rival

     Amazon is deepening its cooperation with Anthropic and will add an additional $4 billion investment to the company. In September of this year, Anthropic, an artificial intelligence startup, was seeking a new round of financing with a valuation of up to $40 billion. Anthropic was founded by former OpenAI executives in 2021 and focuses on creating interpretable, secure, and controllable artificial intelligence systems. The company's flagship AI model, Claude, operates based on "Constitutional AI," which uses predefined principles to guide its output, avoiding some erroneous or discriminatory output reactions.

  • Family Offices Evolve into Powerful Investment Entities with Innovative Strategies and Advanced Technologies

    Family offices, which traditionally focused on conservative investment strategies, have transformed into powerful investment entities with a focus on alternative investments, private equity, co-investments, venture capital, and impact investing. This shift has been driven by innovative financial solutions and modern investment strategies, responding to technological advancements and an evolving global financial landscape. Family offices are taking a more active role in direct investments and co-investments, particularly in high-growth companies and startups, enhancing their control and flexibility. They are also diversifying further into private markets and real assets due to geopolitical and macroeconomic uncertainties, while embracing innovative financing solutions and cutting-edge risk management techniques. Additionally, family offices are implementing AI technologies to improve their decision-making processes, particularly in investment analysis, reflecting their commitment to innovation and strategic planning.

  • The Evolution of Family Offices: Embracing Innovative Investment Strategies and Technology

    Family offices have shifted from conservative investment strategies to more active roles in direct investments and co-investments, thanks to innovative financial solutions and modern investment strategies. They are now leaders in alternative investments, private equity, co-investments, venture capital, and impact investing, leveraging their capital through non-recourse and limited-recourse financing to expand their investments across sectors and regions. Family offices are also adopting sophisticated risk management strategies, diversifying further into private markets and real assets, and integrating advanced technologies such as AI-driven platforms to enhance decision-making processes. A family office in the UAE, International Venture Investments Holding, takes an active investment approach, emphasizing operational autonomy and forming dedicated management teams for specific projects. The UBS Global Family Office Report 2024 shows that 78% of family offices plan to invest in generative artificial intelligence in the next two to three years.