After being robbed of $196 million in a flash loan attack, Euler Finance has convinced its hacker to return most of the funds. The outcome resulted from numerous back-and-forths over 25 days, eventually leading the hacker to do “the right thing.”

On March 13, the Euler Finance hacker carried out multiple transactions, each draining millions of dollars in various tokens, including DAI (DAI), USD Coin (USDC), staked Ether (StETH) and wrapped EdaFace (WBTC).

111 Funds stolen from Euler Finance. Source: BlockSec

As a result, Euler’s total value locked inside its smart contracts has dropped from over $311 million to $10.37 million. Ultimately, 11 different decentralized finance (DeFi) protocols, including Balancer, Yearn Finance and Yield Protocol, either froze or lost funds.

The next day, March 14, Euler took proactive measures to recover funds, which involved disabling its vulnerable etoken module and donation function as the first course of action. In addition, it worked with auditing companies to analyze the root cause of the exploit.

Parallely, Euler tried contacting the hackers to negotiate a bounty. On March 15, the hacker received an ultimatum to return 90% of the stolen funds and threatened to announce a $1 million reward for information that could lead to the hacker’s arrest. This deal would allow the hacker to get away with $19.6 million.

The hacker, on the other hand, started moving funds at will. One victim received 100 Ether (ETH) after convincing the hacker that his life savings were lost in the Euler hack. Over several days, the hacker started returning the stolen funds, each varying in value.

Amid the chaos, Euler Labs CEO Michael Bentley revealed that ten separate audits conducted over two years deemed the protocol “nothing higher than low risk” and had “no outstanding issues.”

On March 21, Euler launched a $1 bounty reward against the hacker after being ghosted mid-conversation while trying to strike a deal. Starting on March 25, the hacker started returning the stolen assets in large numbers on multiple occasions.

23 days after the hack, on April 4, Euler Finance announced the total possible recovery of the lost funds, thus ending the $1 million bounty. “Because the exploiter did the right thing and returned the funds, and the $1 million reward campaign launched by the Euler Foundation will no longer be accepting new information,” the protocol stated.

In the final transactions, the hacker sent 12 million DAI and 10,580 ETH in multiple transactions. The crypto community applauded Euler Finance’s effort to recover funds and restore investors’ confidence.

Related: Allbridge offers bounty to exploiter who stole $573K in flash loan attack

Gnosis, the team behind Gnosis Safe multi-sig and Gnosis Chain, recently launched a hash oracle aggregator to improving the security of bridges by requiring more than one bridge to validate a withdrawal.

As EdaFace reported, over $2 billion was stolen from bridges in 2021 and 2022, mainly due to bugs and wallet attacks.

Magazine: Huawei NFTs, Toyota’s hackathon, North Korea vs. Blockchain: Asia Express