arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.00549cs.CR

滥用以太坊智能合约验证服务以谋取利益与娱乐

Abusing the Ethereum Smart Contract Verification Services for Fun and Profit

Pengxiang Ma, Ningyu He, Yuhua Huang, Haoyu Wang, Xiapu Luo

AI总结:

本文首次全面分析了以太坊智能合约验证服务的安全性,发现了8类共19个可被滥用以传播恶意合约的漏洞,呼吁社区紧急应对此类威胁。

摘要:

智能合约在以太坊生态系统中扮演着至关重要的角色。由于智能合约中普遍存在各种安全问题,因此迫切需要进行智能合约验证,即将智能合约的源代码与其链上字节码进行匹配的过程,以在智能合约开发者与用户之间建立相互信任。尽管智能合约验证服务已被嵌入到流行的以太坊浏览器(如 Etherscan 和 Blockscout)以及官方平台(即 Sourcify)中,并在生态系统中获得了极大的普及,但其安全性和可信度仍不明确。为了填补这一空白,我们首次对现实中的智能合约验证服务进行了全面的安全分析。通过深入研究现有验证器的详细工作流程,我们总结了其应满足的关键安全属性,并发现了 8 种可能破坏验证的漏洞类型。此外,我们提出了一系列检测和利用方法,以揭示最受欢迎服务中漏洞的存在,总共发现了 19 个可利用的漏洞。所有被研究的智能合约验证服务都可能被滥用以帮助传播恶意智能合约,并且我们已经观察到攻击者开始利用此类伎俩进行诈骗。因此,我们的社区迫切需要采取行动,检测并缓解与智能合约验证(以太坊智能合约生态系统的关键组件)相关的安全问题。

英文摘要:

Smart contracts play a vital role in the Ethereum ecosystem. Due to the prevalence of kinds of security issues in smart contracts, the smart contract verification is urgently needed, which is the process of matching a smart contract's source code to its on-chain bytecode for gaining mutual trust between smart contract developers and users. Although smart contract verification services are embedded in both popular Ethereum browsers (e.g., Etherscan and Blockscout) and official platforms (i.e., Sourcify), and gain great popularity in the ecosystem, their security and trustworthiness remain unclear. To fill the void, we present the first comprehensive security analysis of smart contract verification services in the wild. By diving into the detailed workflow of existing verifiers, we have summarized the key security properties that should be met, and observed eight types of vulnerabilities that can break the verification. Further, we propose a series of detection and exploitation methods to reveal the presence of vulnerabilities in the most popular services, and uncover 19 exploitable vulnerabilities in total. All the studied smart contract verification services can be abused to help spread malicious smart contracts, and we have already observed the presence of using this kind of tricks for scamming by attackers. It is hence urgent for our community to take actions to detect and mitigate security issues related to smart contract verification, a key component of the Ethereum smart contract ecosystem.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑