arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.01449cs.CRcs.LGstat.ML
收藏

以太坊蜜罐检测的数据科学方法

A Data Science Approach for Honeypot Detection in Ethereum

SnT, University of Luxembourg(卢森堡大学SnT)

Ramiro Camino, Christof Ferreira Torres, Mathis Baden, Radu State

摘要:

以太坊智能合约最近引起了媒体、金融业和学术界的极大关注。随着知名度的提高,恶意用户找到了新的机会,通过欺骗新人来获利。因此,攻击者开始引诱其他攻击者进入看似有可利用缺陷的合同,但实际上包含一个复杂的隐藏陷阱,最终使合同创建者受益。在区块链社区中,这些合同被称为蜜罐。最近的一项研究提出了一种名为HONEYBADGER的工具,该工具使用符号执行来通过分析合同字节码来检测蜜罐。在本文中,我们提出了一种基于合同交易行为的数据科学检测方法。我们创建了一个分区,用于划分合约创建者、合约、交易发送者和其他参与者之间的所有可能的资金流动情况。为此,我们添加了交易聚合特征,例如交易数量和相应的平均值以及其他合约特征,例如编译信息和源代码长度。我们发现,所有上述类别的功能包含有用的信息检测蜜罐。此外,我们的方法使我们能够检测到新的,以前未被发现的蜜罐已知的技术。此外,我们采用我们的方法来测试检测未知的蜜罐技术,依次从训练集中删除一个技术。我们表明,我们的方法是能够发现删除的蜜罐技术。最后,我们发现了两种以前不为人知的新技术。

英文摘要:

Ethereum smart contracts have recently drawn a considerable amount of attention from the media, the financial industry and academia. With the increase in popularity, malicious users found new opportunities to profit by deceiving newcomers. Consequently, attackers started luring other attackers into contracts that seem to have exploitable flaws, but that actually contain a complex hidden trap that in the end benefits the contract creator. In the blockchain community, these contracts are known as honeypots. A recent study presented a tool called HONEYBADGER that uses symbolic execution to detect honeypots by analyzing contract bytecode. In this paper, we present a data science detection approach based foremost on the contract transaction behavior. We create a partition of all the possible cases of fund movements between the contract creator, the contract, the transaction sender and other participants. To this end, we add transaction aggregated features, such as the number of transactions and the corresponding mean value and other contract features, for example compilation information and source code length. We find that all aforementioned categories of features contain useful information for the detection of honeypots. Moreover, our approach allows us to detect new, previously undetected honeypots of already known techniques. We furthermore employ our method to test the detection of unknown honeypot techniques by sequentially removing one technique from the training set. We show that our method is capable of discovering the removed honeypot techniques. Finally, we discovered two new techniques that were previously not known.

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

↑