eThor: Practical and Provably Sound Static Analysis of Ethereum Smart Contracts


연구 분야: Strategies



학회: CCS '20: Proceedings of the 2020 ACM SIGSAC Conference on Computer and Communications Security


초록

Ethereum has emerged as the most popular smart contract platform, with hundreds of thousands of contracts stored on the blockchain and covering diverse application scenarios, such as auctions, trading platforms, or elections. Given the financial nature of smart contracts, security vulnerabilities may lead to catastrophic consequences and, even worse, can hardly be fixed as data stored on the blockchain, including the smart contract code itself, are immutable. An automated security analysis of these contracts is thus of utmost interest, but at the same time technically challenging. This is as e.g., Ethereum's transaction-oriented programming mechanisms feature a subtle semantics, and since the blockchain data at execution time, including the code of callers and callees, are not statically known. In this work, we present eThor, the first sound and automated static analyzer for EVM bytecode, which is based on an abstraction of the EVM bytecode semantics based on Horn clauses. In particular, our static analysis supports reachability properties, which we show to be sufficient for capturing interesting security properties for smart contracts (e.g., single-entrancy) as well as contract-specific functional properties. Our analysis is proven sound against a complete semantics of EVM bytecode, and a large-scale experimental evaluation on real-world contracts demonstrates that eThor is practical and outperforms the state-of-the-art static analyzers: specifically, eThor is the only one to provide soundness guarantees, terminates on 94% of a representative set of real-world contracts, and achieves an F-measure (which combines sensitivity and specificity) of 89%.


Author Profile
Clara Schneidewind

TU Wien Vienna Austria

Austria
Author Profile
Ilya Grishchenko

TU Wien Vienna Austria

Austria
Author Profile
Markus Scherer

TU Wien Vienna Austria

Austria

📄 논문 정보

발행 연도 2020년
인용수 92
출판 국가 Austria
사이트 ACM
좋아요 수 0

연관 논문 목록 (24건)