Poly Network exploit: Difference between revisions
←Created page with ' On August 10th, 2021, Poly Network was attacked by anonymous white hat hacker or hackers, causing over $610 million in digital crypto assets at the price of that date to be transferred to hacker-controlled addresses. Eventually, all assets were returned to Poly Network over the next 15 days. This was the largest security incident in DeFi's history in terms of the value of st...' |
Tags: Mobile edit Mobile web edit |
||
Line 5: | Line 5: | ||
Poly Network is an interoperability protocol for [[Homogeneity and heterogeneity|heterogeneous]] [[Blockchain|blockchains]], which lets users swap tokens from one digital ledger to another. Poly Network works by facilitating exchange between several blockchains as users trade one [[Cryptocurrency|cryptocurrency]] for another, such as trading [[Bitcoin]] for [[Ethereum|Ether]]. Currently, Poly Network implements interoperability between 11 heterogeneous chains including [[Bitcoin]], [[Ethereum]] and so on.<ref>{{cite web |url=https://poly.network/PolyNetwork-whitepaper.pdf |title=Poly Network Whitepaer |access-date=2020-05-20}}</ref> |
Poly Network is an interoperability protocol for [[Homogeneity and heterogeneity|heterogeneous]] [[Blockchain|blockchains]], which lets users swap tokens from one digital ledger to another. Poly Network works by facilitating exchange between several blockchains as users trade one [[Cryptocurrency|cryptocurrency]] for another, such as trading [[Bitcoin]] for [[Ethereum|Ether]]. Currently, Poly Network implements interoperability between 11 heterogeneous chains including [[Bitcoin]], [[Ethereum]] and so on.<ref>{{cite web |url=https://poly.network/PolyNetwork-whitepaper.pdf |title=Poly Network Whitepaer |access-date=2020-05-20}}</ref> |
||
Since the launch of the main net until the attack, Poly Network has transferred $10 billion in digital assets between blockchains, with total locked value of nearly $1 billion across the whole network,<ref>{{cite web |url=https://medium.com/poly-network/poly-network-monthly-report-jul-811eb44006d7 |title=Poly Network Monthly Report |access-date= |
Since the launch of the main net until the attack, Poly Network has transferred $10 billion in digital assets between blockchains, with total locked value of nearly $1 billion across the whole network,<ref>{{cite web |url=https://medium.com/poly-network/poly-network-monthly-report-jul-811eb44006d7 |title=Poly Network Monthly Report |access-date=2021-08-03}}</ref> of which the white hat hackers transferred approximately $610 million of the most valuable digital assets to three addresses controlled by the hackers on Ethereum, [[Binance|Binance Smart Chain]] and Polygon. |
||
{| class="wikitable" |
{| class="wikitable" |
Revision as of 23:10, 21 September 2021
On August 10th, 2021, Poly Network was attacked by anonymous white hat hacker or hackers, causing over $610 million in digital crypto assets at the price of that date to be transferred to hacker-controlled addresses. Eventually, all assets were returned to Poly Network over the next 15 days. This was the largest security incident in DeFi's history in terms of the value of stolen assets at the price of that date.
Overview
Poly Network is an interoperability protocol for heterogeneous blockchains, which lets users swap tokens from one digital ledger to another. Poly Network works by facilitating exchange between several blockchains as users trade one cryptocurrency for another, such as trading Bitcoin for Ether. Currently, Poly Network implements interoperability between 11 heterogeneous chains including Bitcoin, Ethereum and so on.[1]
Since the launch of the main net until the attack, Poly Network has transferred $10 billion in digital assets between blockchains, with total locked value of nearly $1 billion across the whole network,[2] of which the white hat hackers transferred approximately $610 million of the most valuable digital assets to three addresses controlled by the hackers on Ethereum, Binance Smart Chain and Polygon.
Token | Platform | Amount | Transaction Hash |
---|---|---|---|
USDC | Ethereum | 96,389,444.229984 | 0x5a8b2152ec7d5538030b53347ac82e263c58fe7455695543055a2356f3ad4998 |
WBTC | Ethereum | 1,032.12483694 | 0x3f55ff1fa4eb3437afe42f4fea57903e8e663bc3b17cb982f1c8d4c8f03a2083 |
DAI | Ethereum | 673,227.941533113298891801 | 0xa7c56561bbe9fbd48e2e26306e5bb10d24786504833103d3f023751bbcc8a3d9 |
UNI | Ethereum | 43,023.751365396442021965 | 0xc917838cc3d1edd871c1800363b4e4a8eaf8da2018e417210407cc53f94cd44e |
SHIB | Ethereum | 259,737,345,149.519786617235448706 | 0xe05dcda4f1b779989b0aa2bd3fa262d4e6e13343831cb337c2c5beb2266138f5 |
renBTC | Ethereum | 14.47265047 | 0xb12681d9e91e69b94960611b227c90af25e5352881907f1deee609b8d5e94d7d |
USDT | Ethereum | 33,431,197.734821 | 0x06aca16c483c3e61d5cdf39dc34815c29d6672a77313ec36bf66040c256a7db3 |
WETH | Ethereum | 26,109.060672756730881958 | 0xc797aa9d4714e00164fcac4975d8f0a231dae6280458d78382bd2ec46ece08e7 |
FEI | Ethereum | 616,082.589988960251715574 | 0xd8c1f7424593ddba11a0e072b61082bf3d931583cb75f7843fc2a8685d20033a |
ETH | Ethereum | 26,109.060672756730881958 | 0x93bacc30f19e46ae40d6a7f38d8a7f8fbc49c979a454dd6d9a4b2577d317636d |
ETH | Ethereum | 2,857.486346845890372134 | 0xad7a2c70c958fcd3effbf374d0acf3774a9257577625ae4c838e24b0de17602a |
USDC | Binance Smart Chain | 87,603,373.774864499503468781 | 0xd59223a8cd2406cfd0563b16e06482b9a3efecfd896d590a3dba1042697de11a |
USDC | Binance Smart Chain | 298.940563273249676643 | 0xea37b320843f75a8a849fdf13cd357cb64761a848d48a516c3cac5bbd6caaad5 |
ETH | Binance Smart Chain | 26,629.159998706545651647 | 0x4e57f59395aca4847c4d001db4a980b92aab7676bc0e2d57ee39e83502527d6c |
BTCB | Binance Smart Chain | 1,023.880948564689526459 | 0x50105b6d07b4d738cd11b4b8ae16943bed09c7ce724dc8b171c74155dd496c25 |
BUSD | Binance Smart Chain | 32,107,854.114341286723103272 | 0xd65025a2dd953f529815bd3c669ada635c6001b3cc50e042f9477c7db077b4c9 |
BNB | Binance Smart Chain | 6,613.440489806866981869 | 0x534966864bda354628d4f1c66db45cbefcdda7433e9576e7664fea01bb05be9a |
USDC | Polygon | 85,089,610.911661 | 0x1d260d040f67eb2f3e474418bf85cc50b70101ca2473109fa1bf1e54525a3e01 |
USDC | Polygon | 108.694578 | 0xfbe66beaadf82cc51a8739f387415da1f638d0654a28a1532c6333feb2857790 |
After the attack, the Poly's team asked exchanges and miners to be aware of the flow of stolen tokens and called for the hacker's transactions to be stopped, Tether froze $33 million worth of USDT. In an open letter on Twitter, the Poly team wanted to establish communication with the hackers and urge the hackers to return the stolen tokens.
The hackers announced on August 11, 2021 that they had been planning to return the tokens and the purpose of the theft was to reveal vulnerabilities and secure Poly Network. They posted a self Q&A to communicate with the public by embedding messages in transactions with their addresses. [3]
The hackers then required multi-signature addresses for transfer. Poly Network generated a collection address and started to recover the assets that were returned first on August 11. On August 13, the hackers returned assets worth $340 million and transferred the bulk of the rest to a multi-signature address jointly controlled by them and Poly Network.[4]
After receiving tokens, Poly Network started to address the hackers as "Mr. White Hat" and offered to reward them with $500,000 bug bounty and the position of "chief security advisor" of Poly Network, as a strategy to ensure safe return of the rest affected assets.[5]
The hackers, however, declined the offer and instead begun returning the assets to the multi-signature wallet created by Poly Network. On August 16, Poly Network announced that mainnet upgrade went live and also expressed that they hoped Mr. White Hat would transfer the private key as soon as possible for complete user asset recovery.[6]
Poly Network restored partial functionality after recovering sufficient assets. On August 14, Poly Network released the roadmap for resuming operations and fully recovering user assets. On August 15, Poly Network completed necessary fixes and started working with multiple security and audit groups to review the entire code in which vulnerabilities were found.[7]
On August 16, Poly Network announced that mainnet upgrade went live. Poly Network also expressed that they hoped Mr. White Hat would transfer the private key as soon as possible for complete user asset recovery.[6]
On August 25, the Poly Network Exploit was finally ended with the hackers releasing the last private key.[8] Poly Network recovered all user assets on August 26 and fully restored cross-chain services on September 1, 2021.[9]
Exploit Analysis
An initial investigation disclosed that the hackers exploited a "vulnerability between contract calls" in Poly Network's system and transferred millions of dollars in tokens to multiple separate cryptocurrency wallets. This includes 2,858 ether tokens worth about $267m, $252m of Binance coins and around $85 million in USDC tokens.[10] [11]
According to SlowMist, the hack was executed in the following way:
Poly Network has a privileged contract called ethCrossChainManager, which has the right to trigger messages from another blockchain. There is a feature that allows parties to perform cross-chain transactions. This feature validates the transaction request and adds it to the blockchain.[12]
The key flaw is that this function can be used to call on the ethCrossChainData contract, which maintains a list of public keys that authenticate incoming data from other chains. The EthCrossChainData contract is owned by ethCrossChainManager. Therefore, the malicious party can trick ethCrossChainManager into calling ethCrossChainData and pass the unique owner check. With the correct data, they can trigger the function of changing the public key.[13]
Criticism
In Q&As posted on Ethereum the anonymous hackers claimed they carried out the heist for fun and to encourage Poly Network to improve its security. Poly Network team have accepted the explanation and called the hackers "Mr White Hat". Poly Network team also offered the hacker $500,000 worth of Ether as a bounty for the bug, and invited the hacker to be its chief security advisor.
The alleged move has angered some in the security world who are worried that it might set a precedent for criminal hackers to white-wash their actions. A white hat hacker Katie Paxton-Fear said that "labelling this hack as a white hat is really disappointing".[14] Charlie Steele, former Department of Justice and FBI official, thought "Private companies have no authority to promise immunity from criminal prosecution," and "in this event where a hacker stole the $600m 'for fun' and then returned most of it, all while remaining anonymous, is not likely to lessen regulators' concerns about the variety of risks posed by cryptocurrencies."[14]
Aftermath
Poly Network launched the global bug bounty program on Immunefi. The program aims at encouraging more security agencies and white hat organizations to participate in the audit of Poly Network's core functions, especially to address potential security risks. Rewards are distributed according to the impact of the vulnerability based on the Immunefi Vulnerability Severity Classification System — the rewards range up to $100,000 for critical vulnerabilities.[15]
Hacks such as this one are ultimately good for DeFi in the long run, as it will increase scrutiny, governance, and improve the security posture of the networks. In the short term, this high profile Poly Network hack will be jumped on by the ill-informed to denigrate the entire DeFi movement, and while lessons need to be learned for sure, people need to be aware of the progress made so far by the DeFi community is what is in intents and purposes less than a decade old.[16]
Reference
- ^ "Poly Network Whitepaer" (PDF). Retrieved 2020-05-20.
- ^ "Poly Network Monthly Report". Retrieved 2021-08-03.
- ^ Russon, Mary-Ann (2021-08-11). "Cryptocurrency heist hacker returns $260m in funds". BBC. Retrieved 2021-08-11.
- ^ John, Alun (2021-08-14). "Crypto platform Poly Network rewards hacker with $500,000 'bug bounty'". Reuters. Retrieved 2021-08-14.
- ^ "White hat' hacker behind $610m crypto heist returns most of money". The Guardian. Retrieved 2021-08-13.
- ^ a b "Poly Network Hack Not Over as Attacker Prolongs Return of Funds". Retrieved 2021-09-14.
- ^ "Poly Network — Roadmap for the Next Phase". Retrieved 2021-08-14.
- ^ Ghosh, Monika (2021-08-24). "Poly Network hackers return remaining stolen assets". Forkast News. Retrieved 2021-08-24.
- ^ "Poly Network — Asset Recovery Complete". Retrieved 2021-08-26.
- ^ "Hackers steal $600m in major cryptocurrency heist". BBC. Retrieved 2021-08-11.
- ^ Browne, Ryan (2021-08-17). "Crypto platform hit by $600 million heist asks hacker to become its chief security advisor". CNBC. Retrieved 2021-08-17.
- ^ "The Root Cause Of Poly Network Being Hacked". Retrieved 2021-08-10.
- ^ Ghosh, Monika (2021-08-11). "Chinese DeFi platform Poly Network suffers US$600M hack". Forkast News. Retrieved 2021-08-11.
- ^ a b Tidy, Joe (2021-08-13). "Crypto hacker offered reward after $600m heist". BBC. Retrieved 2021-08-13.
- ^ "Poly Network Joins Immunefi With $100,000 Bug Bounty After Hack". Retrieved 2021-08-17.
- ^ Dickens, Steven (2021-08-12). "What Does the Poly Network Hack Mean for DeFi". Futurum Research. Retrieved 2021-08-12.
External Links
- Poly Network official website
- White hat hacker's address on Ethereum
- White hat hacker's address on Binance Smart Chain
- White hat hacker's address on Polygon
- Record of hacker's Q&A