QI Quadriga Initiative

Apr 2020 - LendfMe (DForce) DeFi Protocol Breached - $25m (Global)


"dForce is an integrated and interoperable platform of opening finance protocols, building a full stack DeFi protocols and creating an interconnected, interdependent protocol ecosystem." "Unlike most DeFi platforms focusing on a specific feature, dForce presents a full stack of DeFi protocols covering stablecoins, lending markets, derivative markets, liquidity protocol and oracles etc. We believe that stable-assets and financial protocols are inter-connected and should be interoperable with strong synergies. dForce centers around providing a variety of use cases for stable-assets, allowing them to transact across the network with increased liquidity stickiness and solidified network effect, and ultimately, growth potential will be captured by the dForce token (DF)."

"The wait is over! dForce is thrilled to announce our support for bringing BTC into our DeFi lending platform and the first move is to support imBTC in Lendf.Me."

"[A l]eading Chinese DeFi protocol has lost 99.95% of locked funds." "DForce DeFi Protocol was recently hacked and up to $25 million of customers’ crypto in Bitcoin and Ethereum was lost due to an entirely-known exploit that exists on an ETH token." "Compound CEO Robert Leshner claimed the attacker seized the full total." "Mindao Yang, the CEO of dForce, confirmed the attack on the project’s Telegram channel" "[T]he total value locked (in USD) in dForce, was reduced from around $25 million to almost nothing in a matter of hours." "DeFi Rate said that the vulnerability is not new since it resembles the 2016 attack on The DAO." "dForce has remained conspicuously quiet about the hacking on all their social medial channels." "On-chain data reveals that the attacker has transferred the assets to two other platforms, namely, Compound and Aave." "Returning the money to the owners is challenging since Aave is a decentralized finance platform." "The attack is believed to have targeted a vulnerability inherent to Ethereum’s (ETH) ERC-777 token standard." "DForce’s devastating attack comes less than one week after crypto venture capital firm, Multicoin Capital, announced it had led the DeFi protocol’s $1.5 million seed round." "According to investigators, hackers appear to have chained together bugs and legitimate features from different blockchain technologies to orchestrate a sophisticated "reentrancy attack."" "[T]he combination of using ERC777 tokens and Uniswap/Lendf.Me contracts enables [...] reentrancy attacks," "[Hackers] used the exploit against Uniswap first, and then used it again the next day against Lendf.me, with better results, draining about 99.5% of the platform's funds in the process."

"[DForce] learned of the attack at 9:15 am (UTC+8) through our internal monitoring system. Immediately following, we temporarily paused Lendf.Me and USDx and pulled down the website to investigate the attack and assess the situation."

"The hacker(s) attempted to contact [DForce]." "[DForce] contacted law enforcement in several jurisdictions, reached out to asset issuers and exchanges to track down and blacklist the hacker(s)’s addresses, and engaged [their] legal teams."

"Hackers have returned the stolen funds after leaking their IP address during the attack." "Over 90% of assets have been distributed to users in less than 24 hours. 100% users have been made whole in the recovery."

Further Analysis

This is another exploit where one contract is run within another, enabling balances to be reduced before they are checked. This exploit was known since July of 2019, and never patched or investigated. It's part of the illustration of why smart contracts still have risks and exploits associated. In this case, we are lucky because the hacker gave the funds back after their identity was revealed through accidentally exposing their IP address.

How Could This Have Been Prevented?

This type of attack can be mitigated through hot wallet insurance. An exchange would make sure that they either have cold storage balances to cover a full breach of any smart contracts, or comprehensive insurance to protect investors.

More Cryptocurrency Exchange Hacks/Scams/Frauds

EOS Ecosystem Ponzi Scheme Collapses > > < < BISQ Donation Address Hack

Sources/Further Reading

DForce DeFi Protocol Breached, $25 Million in BTC and ETH Lost (Jun 10)
Chinese DeFi Protocol dForce Reportedly Loses $25 Million Of Its Total Locked Value In An Attack (Jun 11)
DForce Loses 99.95% of Funds in Latest Test of DeFi's Resilience (Jun 20)
WooParadog on Twitter: "@Rewkang @tomhschmidt This is the same exploit, hacker... (Jun 21)
Hackers steal $25 million worth of cryptocurrency from Lendf.me platform | ZDNet (Jun 21)
GitHub - OpenZeppelin/exploit-uniswap: Exploiting a Uniswap exchange that uses an ERC777 token by leveraging the reentrant microtrading attack vector (Jun 21)
dForce brings imBTC to DeFi Lending (Jun 21)
Weekend Attack Drains Decentralized Protocol dForce of $25M in Crypto - CoinDesk (Jun 21)
Andrew Kang on Twitter: "@dForcenet’s @LendfMe $20M money market pool currently under attack (Jun 21)
Millions Lost: The Top 19 DeFi Cryptocurrency Hacks of 2020 | Crypto Briefing (May 22)
CipherTrace Cryptocurrency Crime and Anti-Money Laundering Report 2020 (Jun 20)
Crypto Whale Warns Of Growing DeFi Scams As Another Protocol Exits Market With Funds Worth $20M ⋆ ZyCrypto (Jun 13)
SlowMist Hacked - SlowMist Zone (May 18)
List of Ethereum Smart Contracts Post-Mortems - Security - OpenZeppelin Community (Jun 23)
Uniswap Lendf Me Hacks Root Cause And Loss Analysis (Jun 22)
@dForcenet Twitter (Jul 12)
lendfme/ dForce protocol drained - largest DeFi hack so far ~ $10M : ethereum (Jul 12)
A Summary Of The Attack On Lendf Me On April 19 2020 (Jul 12)
Lendf Me Asset Recovery User Manual (Jul 12)
Dforce Announces Support For Imbtc (Jul 12)
Launch Of Multiple Asset Support Across Dforce Network (Jul 12)
dForce首个社区项目Lendf.Me正式上线 - 知乎 (Jul 12)
LendfMe · GitHub (Jul 12)
Lendf.me exchange set to return funds following $25M hack - CoinGeek (Jul 12)
Hackers just tapped China's dForce for $25 million in Ethereum exploit - Decrypt (Jul 12)
Is DeFi Now Dead? Inside the dForce / LendfMe 25 Million USD Hack! | Hacker Noon (Jul 12)
Blockchain Hacks: 2020 | $15 billion lost, how can we mitigate hacks in 2021? | CertiK Foundation Blog (Jul 23)
Comprehensive List of DeFi Hacks & Exploits - CryptoSec (Jan 8)
Multicoin Capital-backed DeFi protocol dForce loses ~$25M total locked value in an exploit (Jan 9)
Timeline of Cyber Incidents Involving Financial Institutions - Carnegie Endowment for International Peace (Dec 31)
Security Risks in Ethereum DeFi | ConsenSys Codefi (Dec 31)


Join Us!

Name: Email:

t.me/QuadrigaInitiative /r/QuadrigaInitiative @QuadrigaInit info@quadrigainitiative.com

Sign-Ups: 100%

Your use of this site/service accepts the Terms of Use and Privacy Policy. This site is not associated with Ernst & Young, Miller Thompson, or the Official Committee of Affected User. For questions or enquiries, email info@quadrigainitiative.com.