SmartScan:一种检测以太坊智能合约中拒绝服务漏洞的方法
SmartScan: An approach to detect Denial of Service Vulnerability in Ethereum Smart Contracts
摘要:
区块链技术(BT)以太坊智能合约允许可编程交易,这些交易涉及独立于中央授权机构的BT网络上的同行之间的货币资产转移。以太坊智能合约是部署为去中心化应用程序的程序,具有区块链共识协议的构建块。这项技术使消费者能够在透明和无冲突的环境中达成协议。然而,这些智能合约中的安全漏洞对应用程序及其消费者构成了潜在威胁,并在过去造成了巨大的经济损失。在本文中,我们提出了一个框架,结合静态和动态分析来检测由于以太坊智能合约中的意外恢复而导致的拒绝服务(DoS)漏洞。我们的框架SmartScan静态扫描测试中的智能合约(SCUT),以识别这些SCUT中可能存在漏洞的模式,然后使用动态分析来精确确认其对DoS-Unexpected Revert漏洞的利用,从而实现更高的性能和更精确的结果。我们在从Etherscan收集的500个智能合约上评估了SmartScan。与现有的最先进的技术相比,我们的方法在精确度和召回率方面有所提高。
英文摘要:
Blockchain technology (BT) Ethereum Smart Contracts allows programmable transactions that involve the transfer of monetary assets among peers on a BT network independent of a central authorizing agency. Ethereum Smart Contracts are programs that are deployed as decentralized applications, having the building blocks of the blockchain consensus protocol. This technology enables consumers to make agreements in a transparent and conflict-free environment. However, the security vulnerabilities within these smart contracts are a potential threat to the applications and their consumers and have shown in the past to cause huge financial losses. In this paper, we propose a framework that combines static and dynamic analysis to detect Denial of Service (DoS) vulnerability due to an unexpected revert in Ethereum Smart Contracts. Our framework, SmartScan, statically scans smart contracts under test (SCUTs) to identify patterns that are potentially vulnerable in these SCUTs and then uses dynamic analysis to precisely confirm their exploitability of the DoS-Unexpected Revert vulnerability, thus achieving increased performance and more precise results. We evaluated SmartScan on a set of 500 smart contracts collected from the Etherscan. Our approach shows an improvement in precision and recall when compared to available state-of-the-art techniques.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。