Binance黑客攻击链上细节:利用EIP-7702授权与热钱包委托
How the Binance hack happened on-chain on Ethereum
揭示了Binance巨额被盗事件的具体链上执行路径与EIP-7702漏洞利用细节,对理解智能合约安全与热钱包风险具有极高参考价值。
The Binance hack is one of the largest heists of all time and relied, in part, on exploiting how wallet delegation functions on Ethereum.
币安遭黑客攻击是史上最大的盗窃案之一,部分原因在于利用了以太坊上钱包委托功能的漏洞。
Specifically, the attacker appears to have deployed a sweeper contract and then sent 50 EIP-7702 authorizations targeting the address labeled as Binance 14, all signed with the Binance 14 key.
具体而言,攻击者似乎部署了一个资金归集合约(sweeper contract),然后发送了50个针对标记为“币安14”地址的EIP-7702授权,所有这些授权均使用币安14的密钥签名。
It had to send a wide variety of approvals with different ‘nonce’ values because this was a hot wallet in rapid use, and for the delegation to be approved, the ‘nonce’ value (think of it as related to a count of the number of transactions the wallet has done) in the authorization transaction had to match the current ‘nonce’ value for the adddress.
它必须发送具有不同‘nonce’值的各种授权,因为这是一个被频繁使用的热钱包;为了使委托获得批准,授权交易中的‘nonce’值(可将其视为与钱包已完成交易数量相关的计数)必须与该地址当前的‘nonce’值匹配。
After this was approved, the sweeper contract was then run as if it was the Binance 14 account and was able to sweep the Binance 14 ether and tokens.
在获得批准后,资金归集合约便以币安14账户的身份运行,并成功将币安14的以太币和代币全部转走。
However, interestingly, other wallets outside of Binance 14 did not rely on this delegation, and the delegation was primarily for convenience since the attacker was able to sign with the Binance 14 key.
然而有趣的是,除币安14之外的其他钱包并未依赖这种委托机制,该委托主要是出于便利考虑,因为攻击者能够直接使用币安14的密钥进行签名。
LIVE: Binance suspends withdrawals amid massive crypto hack
直播:币安在大规模加密货币黑客攻击事件中暂停提币
Protos continues to follow the incident closely, and you can find live updates in the post above.
Protos 持续密切关注此事进展,您可以在上方帖子中获取实时更新。
Binance 16, for example, was able to send its hacked funds on Ethereum through a normal transaction, instead of through this type of delegation.
例如,币安16能够通过普通交易而非此类委托方式,在以太坊上转出其被盗资金。
Other Ethereum Virtual Machine (EVM) chains, like Base, Optimism, Arbitrum, Avalanche, and Polygon also relied on mundane transfers rather than the delegation.
其他以太坊虚拟机(EVM)链,如Base、Optimism、Arbitrum、Avalanche和Polygon,也采用了常规转账而非委托机制。
Binance was eventually able to remove the delegation from Binance 14, and approximately $2.4 billion worth of funds removed from Binance wallets on Ethereum have been frozen or blacklisted.
币安最终成功撤销了币安14的委托权限,已从以太坊上的币安钱包中转出的约24亿美元资金已被冻结或列入黑名单。
Got a tip? Send us an email securely via Protos Leaks. For more informed news and investigations, follow us on X, Bluesky, and Google News, or subscribe to our YouTube channel.
有爆料?请通过 Protos Leaks 安全地给我们发送邮件。如需更多深入报道与调查新闻,请关注我们在 X、Bluesky 和 Google News 上的账号,或订阅我们的 YouTube 频道。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力