跳到主要导航 跳到搜索 跳到主要内容

Oracle-Supported Dynamic Exploit Generation for Smart Contracts

  • Haijun Wang
  • , Ye Liu
  • , Yi Li
  • , Shang Wei Lin
  • , Cyrille Artho
  • , Lei Ma
  • , Yang Liu
  • Nanyang Technological University
  • KTH Royal Institute of Technology
  • Kyushu University

科研成果: 期刊稿件文章同行评审

55 引用 (Scopus)

摘要

Despite the high stakes involved in smart contracts, they are often developed in an undisciplined manner, leaving the security and reliability of blockchain transactions at risk. In this article, we introduce ContraMaster - an oracle-supported dynamic exploit generation framework for smart contracts. Existing approaches mutate only single transactions; ContraMaster exceeds these by mutating the transaction sequences. ContraMaster uses data-flow, control-flow, and the dynamic contract state to guide its mutations. It then monitors the executions of target contract programs, and validates the results against a general-purpose semantic test oracle to discover vulnerabilities. Being a dynamic technique, it guarantees that each discovered vulnerability is a violation of the test oracle and is able to generate the attack script to exploit this vulnerability. In contrast to rule-based approaches, ContraMaster has not shown any false positives, and it easily generalizes to unknown types of vulnerabilities (e.g., logic errors). We evaluate ContraMaster on 218 vulnerable smart contracts. The experimental results confirm its practical applicability and advantages over the state-of-the-art techniques, and also reveal three new types of attacks.

源语言英语
页(从-至)1795-1809
页数15
期刊IEEE Transactions on Dependable and Secure Computing
19
3
DOI
出版状态已出版 - 2022
已对外发布

学术指纹

探究 'Oracle-Supported Dynamic Exploit Generation for Smart Contracts' 的科研主题。它们共同构成独一无二的学术指纹。

引用此