arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.07420cs.CRcs.SE
收藏

基于机器学习的智能合约动态漏洞检测

Dynamic Vulnerability Detection on Smart Contracts Using Machine Learning

Mojtaba Eshghie, Cyrille Artho, Dilian Gurov

摘要:

在这项工作中,我们提出了Dynamit,这是一个监测框架,用于检测以太坊智能合约中的可重入漏洞。我们框架的新颖之处在于它只依赖于来自区块链系统的交易元数据和余额数据;我们的方法不需要领域知识、代码插装或特殊的执行环境。Dynamit从交易数据中提取特征,并使用机器学习模型将交易分类为良性或有害。因此,我们不仅可以找到易受重入攻击的合同,而且还可以得到再现攻击的执行跟踪。

英文摘要:

In this work we propose Dynamit, a monitoring framework to detect reentrancy vulnerabilities in Ethereum smart contracts. The novelty of our framework is that it relies only on transaction metadata and balance data from the blockchain system; our approach requires no domain knowledge, code instrumentation, or special execution environment. Dynamit extracts features from transaction data and uses a machine learning model to classify transactions as benign or harmful. Therefore, not only can we find the contracts that are vulnerable to reentrancy attacks, but we also get an execution trace that reproduces the attack.

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

↑