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.
翻译:Eceenum Smart Contract是作为分散应用部署的方案,具有集成式共识协议的构件。这种技术使消费者能够在透明和无冲突的环境中达成协议。然而,这些智能合同中的安全弱点对应用程序及其消费者构成了潜在威胁,并在过去表明会造成巨大的财政损失。在本文件中,我们提出了一个框架,将静态和动态分析结合起来,以发现因Etheum智能合同出现意外反弹而造成的拒绝服务的脆弱性。我们的框架SmartScan,静态扫描在测试中的智能合同(SCUTs),以确定在这些SCUT中具有潜在脆弱性的模式,然后利用动态分析来准确确认其利用DoS-Un预期的弱点的可能性,从而取得更高的业绩和更准确的结果。我们评估SmartScan对从Etherscan公司收集的一套500项智能合同进行了评估。我们的方法显示,在与现有状态技术相比,精确度和回顾技术方面有所改进。