Euler Exploit Exposes Detection Window Before $197 Million Theft
Canton Signals. Infiniti Markets. May 17, 2024 · 8:00 AM EST
Hypernative identified Euler Finance as an attack target and notified the platform 20 seconds before the first exploit transaction in a $197 million theft. The incident illustrates four detectable stages of an exploit: funding, tooling, attack and cashing out.
The $197 million Euler Finance exploit unfolded through a sequence of detectable transactions, with Hypernative identifying the lending platform as the target and notifying it 20 seconds before the first exploit transaction. Euler was not a Hypernative customer, so the warning did not trigger the automated protocol pause that could have prevented losses.
The attack, examined in a security guide dated May 17, 2024, was the largest DeFi hack of 2023. It began on March 12 at 8:43 a.m. UTC, when an Ethereum mainnet address received 0.968 ETH from Tornado Cash. Over the next 24 minutes, the address was used to stage the exploit. Hypernative’s monitoring platform recorded the activity across six separate attacks.
The sequence illustrates four stages of an exploit: funding, tooling, attack and cashing out. Each leaves traces on transparent blockchain networks, creating opportunities for detection and intervention before or during a theft.
Funding is an early signal because attackers need assets to pay transaction fees. Mixers such as Tornado Cash and decentralized exchanges without know-your-customer requirements, such as FixedFloat, can serve as funding routes. However, suspicious or sanctioned funding origins alone do not distinguish attackers from users seeking privacy. Hypernative’s detection engines include a real-time machine-learning pipeline that classifies contracts from their bytecode rather than relying on funding sources.
The Euler attacker prepared a flash-loan exploit requiring three contracts. Flash loans allow users to borrow without collateral and repay within a single-block transaction, but they can also be used to exploit weaknesses in DeFi protocols. Two of the attacker’s contracts went live at 8:50 a.m., 12 seconds apart.
Hypernative immediately flagged the contracts as suspicious. An automated simulation of one contract identified Euler Finance as the target, exposed the attack vector, raised the threat level to high and generated a prevention alert. For a customer with the automated response enabled, that alert could have triggered a protocol pause. No such preventive action occurred in this case.
The attacker then borrowed 30 million DAI from Aave, using the loan to exploit Euler’s borrowing capabilities. The first transaction caused an $8 million loss, followed by another $13 million five minutes later. Six attacks over 17 minutes drained $197 million.
Some stolen funds subsequently moved to Tornado Cash. The US Treasury had sanctioned the mixer in August 2022, but its smart contracts continued operating on decentralized blockchains. The attacker also sent 100 ETH to an address that had previously received funds stolen from Axie Infinity’s Ronin Bridge. The Ronin attack had been attributed to the North Korean hacking group Lazarus Group. After three weeks of negotiations, the Euler attacker agreed to return all the funds.
Hypernative’s security framework spans pre-incident monitoring, response and post-incident measures. Its platform combines onchain and offchain monitoring with machine learning, heuristics, simulations and graph-based detection. It identifies more than 200 risk types, including smart-contract exploits, bridge incidents, frontend compromises, market manipulation and private-key theft.
At the time of the guide, the platform monitored more than $37 billion in digital assets for over 80 Web3 projects across 25 chains. Its detection coverage extended to more than 25 chains and included security, technical, financial and governance risks. It had detected 99.5% of hacks in the preceding year, with a false-positive rate below 0.001%, and had helped save more than $50 million. Users included Karpatkey, Starknet, Flare, Messari, Chainalysis, Circle, Galaxy Digital, Ether.fi and Radiant Capital.
Sources, Attribution & Disclaimer
- Published
- May 17, 2024 · 8:00 AM EST
- Source
- Hypernative
- Publisher
- Hypernative
- Cited sources
- Hypernative
Full attribution under the Digital Millennium Copyright Act (DMCA), 17 U.S.C. § 512: this signal is published by Canton Signals, owned and published by Infiniti Markets LLC, and summarizes the reporting of the publishers named above, links to their original work where an address is supplied, and reproduces no protected expression beyond brief factual reference and in-line attribution (“according to Hypernative”). All rights in the underlying reporting remain with the publishers listed; nothing here implies endorsement by or affiliation with them. Rights holders may request correction, update or removal at Infiniiti@w3ai.io.
Disclaimer: For information only; not investment, legal or tax advice. Canton Signals and Infiniti Markets LLC are independent and not affiliated with the Global Synchronizer Foundation or Digital Asset. Check the original sources before relying on any figure.