Smart Contracts (SCs) in Ethereum can automate tasks and provide different functionalities to a user. Such automation is enabled by the `Turing-complete' nature of the programming language (Solidity) in which SCs are written. This also opens up different vulnerabilities and bugs in SCs that malicious actors exploit to carry out malicious or illegal activities on the cryptocurrency platform. In this work, we study the correlation between malicious activities and the vulnerabilities present in SCs and find that some malicious activities are correlated with certain types of vulnerabilities. We then develop and study the feasibility of a scoring mechanism that corresponds to the severity of the vulnerabilities present in SCs to determine if it is a relevant feature to identify suspicious SCs. We analyze the utility of severity score towards detection of suspicious SCs using unsupervised machine learning (ML) algorithms across different temporal granularities and identify behavioral changes. In our experiments with on-chain SCs, we were able to find a total of 1094 benign SCs across different granularities which behave similar to malicious SCs, with the inclusion of the smart contract vulnerability scores in the feature set.
翻译:Eceenum 的智能合同(SCs) 可以使任务自动化,并为用户提供不同的功能。 这种自动化是由写在册种姓的编程语言(团结)的“注定完成”性质所促成的。 这也打开了在册种姓中各种脆弱性和漏洞,恶意行为者利用这些弱点和漏洞在隐形货币平台上进行恶意或非法活动。 在这项工作中,我们研究了恶意活动和在册种姓中存在的弱点之间的相互关系,发现某些恶意活动与某些种类的弱点有关。然后我们开发和研究一种与在册种姓中存在的脆弱程度严重程度相对应的评分机制的可行性,以确定它是否是查明可疑的在册种姓的相关特征。我们分析了使用不同时间微粒的不受监督的机器学习算法来探测可疑的在册种姓的严重性评分的效用,并确定了行为变化。我们在与链级SC的实验中发现,在与恶意SC类似的不同微粒中共发现了1094个良性SCs。 我们发现, 将智能合同脆弱性评分纳入地块集中。