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

EVulHunter:检测EOSIO的Web组件级智能合约的虚假传输漏洞

EVulHunter: Detecting Fake Transfer Vulnerabilities for EOSIO's Smart Contracts at Webassembly-level

Lijin Quan, Lei Wu, Haoyu Wang

摘要:

作为代表性的委托权益证明(DPoS)区块链平台之一,EOSIO的生态系统近年来发展迅速。EOSIO智能合约的多个漏洞和相应的攻击已被发现并在野外观察到,造成了大量的财务损失。然而,EOSIO的大多数智能合约都不是开源的。因此,在大多数情况下,WebAssembly代码可能成为唯一可用的分析对象。不幸的是,目前的工具是面向Web应用程序的,不能直接应用于EOSIO WebAssembly代码,这使得从这些智能合约中检测漏洞变得更加困难。在本文中,我们提出了\toolname,一个静态分析工具,可以用来检测EOSIO WASM代码自动漏洞。我们专注于一种名为\textit{fake-transfer}的特殊类型的漏洞,利用这种漏洞已导致数百万美元的损失。据我们所知,这是第一次尝试构建一个自动工具来检测EOSIO智能合约的漏洞。实验结果表明,该工具能够快速、准确地检测出虚假传输漏洞。EVulHunter可在GitHub \footnote{Tool and benchmarks: https://github.com/EVulHunter/EVulHunter}和YouTube \footnote{Demo video: https://youtu.be/5SJ0ZJKVZvw}上使用。

英文摘要:

As one of the representative Delegated Proof-of-Stake (DPoS) blockchain platforms, EOSIO's ecosystem grows rapidly in recent years. A number of vulnerabilities and corresponding attacks of EOSIO's smart contracts have been discovered and observed in the wild, which caused a large amount of financial damages. However, the majority of EOSIO's smart contracts are not open-sourced. As a result, the WebAssembly code may become the only available object to be analyzed in most cases. Unfortunately, current tools are web-application oriented and cannot be applied to EOSIO WebAssembly code directly, which makes it more difficult to detect vulnerabilities from those smart contracts. In this paper, we propose \toolname, a static analysis tool that can be used to detect vulnerabilities from EOSIO WASM code automatically. We focus on one particular type of vulnerabilities named \textit{fake-transfer}, and the exploitation of such vulnerabilities has led to millions of dollars in damages. To the best of our knowledge, it is the first attempt to build an automatic tool to detect vulnerabilities of EOSIO's smart contracts. The experimental results demonstrate that our tool is able to detect fake transfer vulnerabilities quickly and precisely. EVulHunter is available on GitHub\footnote{Tool and benchmarks: https://github.com/EVulHunter/EVulHunter} and YouTube\footnote{Demo video: https://youtu.be/5SJ0ZJKVZvw}.

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

↑