DEPOSafe:揭开以太坊智能合约中的虚假存款漏洞
DEPOSafe: Demystifying the Fake Deposit Vulnerability in Ethereum Smart Contracts
摘要:
近年来,由于区块链技术及其经济生态系统的发展,加密货币出现了爆炸性增长。除了比特币,数以千计的加密货币已经在区块链上分发,而数百个加密货币交易所正在出现,以促进数字资产的交易。同时,也吸引了攻击者的注意。假押金作为与交易所和代币相关的最具代表性的攻击(漏洞)之一,在区块链生态系统中经常被观察到,造成了大量的资金损失。然而,除了一些安全报告外,我们的社区缺乏对该漏洞的了解,例如其规模和影响。在本文中,我们采取了第一步,以揭开假存款漏洞。基于我们总结的基本模式,我们实现了DEPOSafe,这是一个自动化工具,用于检测和验证(利用)ERC-20智能合约中的虚假存款漏洞。DEPOSafe集成了基于符号执行的静态分析和基于行为建模的动态验证等关键技术。通过将DEPOSafe应用于176,000个ERC-20智能合约,我们发现了7,000多个可能遭受两种类型攻击的易受攻击合约。我们的研究结果表明,识别和预防假存款漏洞的紧迫性。
英文摘要:
Cryptocurrency has seen an explosive growth in recent years, thanks to the evolvement of blockchain technology and its economic ecosystem. Besides Bitcoin, thousands of cryptocurrencies have been distributed on blockchains, while hundreds of cryptocurrency exchanges are emerging to facilitate the trading of digital assets. At the same time, it also attracts the attentions of attackers. Fake deposit, as one of the most representative attacks (vulnerabilities) related to exchanges and tokens, has been frequently observed in the blockchain ecosystem, causing large financial losses. However, besides a few security reports, our community lacks of the understanding of this vulnerability, for example its scale and the impacts. In this paper, we take the first step to demystify the fake deposit vulnerability. Based on the essential patterns we have summarized, we implement DEPOSafe, an automated tool to detect and verify (exploit) the fake deposit vulnerability in ERC-20 smart contracts. DEPOSafe incorporates several key techniques including symbolic execution based static analysis and behavior modeling based dynamic verification. By applying DEPOSafe to 176,000 ERC-20 smart contracts, we have identified over 7,000 vulnerable contracts that may suffer from two types of attacks. Our findings demonstrate the urgency to identify and prevent the fake deposit vulnerability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。