狩猎以太坊智能合约:基于颜色的潜在攻击检查
Hunting the Ethereum Smart Contract: Color-inspired Inspection of Potential Attacks
摘要:
区块链和加密货币正在获得前所未有的普及和理解。与此同时,以太坊在区块链社区中越来越受欢迎,主要是因为它的设计方式使开发人员能够编写智能合约和去中心化应用程序(Dapps)。这种新的应用模式为许多可能性和机会打开了大门。然而,以太坊智能合约的安全性并没有得到太多的关注;最近有报道称,有几个以太坊智能合约出现了故障。与之前许多应用静态和动态分析来发现智能合约中的错误的工作不同,我们不试图定义和提取任何特征;相反,我们专注于降低专家的劳动力成本。我们首先提出了一种新的深入分析潜在的攻击方法,然后将solidity的字节码转换为RGB颜色代码。之后,我们将它们转换为固定大小的编码图像。最后,编码后的图像被送入卷积神经网络(CNN)进行自动特征提取和学习,检测以太坊智能合约的编译器错误。
英文摘要:
Blockchain and Cryptocurrencies are gaining unprecedented popularity and understanding. Meanwhile, Ethereum is gaining a significant popularity in the blockchain community, mainly due to the fact that it is designed in a way that enables developers to write smart contract and decentralized applications (Dapps). This new paradigm of applications opens the door to many possibilities and opportunities. However, the security of Ethereum smart contracts has not received much attention; several Ethereum smart contracts malfunctioning have recently been reported. Unlike many previous works that have applied static and dynamic analyses to find bugs in smart contracts, we do not attempt to define and extract any features; instead we focus on reducing the expert's labor costs. We first present a new in-depth analysis of potential attacks methodology and then translate the bytecode of solidity into RGB color code. After that, we transform them to a fixed-sized encoded image. Finally, the encoded image is fed to convolutional neural network (CNN) for automatic feature extraction and learning, detecting compiler bugs of Ethereum smart contract.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。