Exploiting Bytecode Analysis for Reentrancy Vulnerability Detection in Ethereum Smart Contracts

字节码 计算机科学 脆弱性(计算) 计算机安全 程序设计语言 Java
作者
Usman Tahir,Fiza Siyal,Michele Ianni,Antonella Guzzo,Giancarlo Fortino
标识
DOI:10.1109/dasc/picom/cbdcom/cy59711.2023.10361441
摘要

Reentrancy is a type of attack that can occur in smart contracts, enabling untrusted external code execution within the contract. This method exploits a vulnerability that allows an attacker to repeatedly invoke a function in the contract, resulting in an infinite loop and potentially leading to fund theft. Therefore, the reentrancy attack represents a critical concern in blockchain security, prompting the development of various methods for analyzing and detecting reentrancy vulnerabilities over the last decade. Among these methods, the most recent ones leverage the advantages of AI and deep learning techniques. Nonetheless, several limitations persist in existing approaches. Many current methods rely on complex code analysis rules, resulting in a high number of false positives and false negatives. Additionally, the feature engineering process involving word embedding techniques can lead to the loss of critical information. Lastly, the majority of proposed methods necessitate access to the actual source code of the smart contracts for analysis. In this study, we introduce a straightforward and lightweight approach to address these limitations in reentrancy detection. Our approach employs an image-based detection method utilizing deep learning. The pipeline of our method involves disassembling the smart contracts into opcodes and transforming them into RGB images. These images are then used to train a VGG16 CNN model to detect similarities between images labeled as either "Vulnerable" or "Not Vulnerable". To address class imbalance, we implement image augmentation techniques to expand the training dataset. Experimental results conducted on a publicly available dataset demonstrate that our model achieves a significantly high accuracy rate of 99.07%.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
无辜茗完成签到 ,获得积分10
刚刚
满意的念柏完成签到,获得积分10
7秒前
聪慧芷巧完成签到,获得积分20
8秒前
fomo完成签到,获得积分10
8秒前
Caleb完成签到,获得积分10
11秒前
19秒前
帅气天荷完成签到 ,获得积分10
19秒前
美海与鱼完成签到,获得积分10
19秒前
19秒前
obaica完成签到,获得积分10
21秒前
乐乐应助flyboy采纳,获得10
22秒前
Caleb发布了新的文献求助30
22秒前
我啊完成签到 ,获得积分10
23秒前
栀璃鸳挽完成签到,获得积分10
23秒前
辰辰完成签到 ,获得积分10
24秒前
hdc12138完成签到,获得积分10
24秒前
栗子发布了新的文献求助10
25秒前
彬彬完成签到,获得积分10
29秒前
可爱的函函应助栗子采纳,获得10
41秒前
芭娜55完成签到 ,获得积分10
49秒前
新奇完成签到 ,获得积分10
49秒前
John完成签到 ,获得积分10
50秒前
1分钟前
魔幻的妖丽完成签到 ,获得积分10
1分钟前
MH完成签到,获得积分10
1分钟前
眯眯眼的枕头完成签到 ,获得积分10
1分钟前
清风完成签到 ,获得积分10
1分钟前
1分钟前
璇璇完成签到 ,获得积分10
1分钟前
1分钟前
整齐思松完成签到 ,获得积分10
1分钟前
文与武完成签到 ,获得积分10
1分钟前
gjx完成签到 ,获得积分10
1分钟前
xgx984完成签到,获得积分10
1分钟前
qwa发布了新的文献求助10
1分钟前
wwj完成签到,获得积分10
1分钟前
bzdjsmw完成签到 ,获得积分10
1分钟前
1分钟前
伶俐的语雪完成签到,获得积分10
1分钟前
华仔应助小洲王先生采纳,获得10
1分钟前
高分求助中
中华人民共和国出版史料(1954)第6卷 1000
Applied Survey Data Analysis (第三版, 2025) 800
Narcissistic Personality Disorder 700
Assessing and Diagnosing Young Children with Neurodevelopmental Disorders (2nd Edition) 700
Handbook of Experimental Social Psychology 500
The Martian climate revisited: atmosphere and environment of a desert planet 500
建国初期十七年翻译活动的实证研究. 建国初期十七年翻译活动的实证研究 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 物理 生物化学 纳米技术 计算机科学 化学工程 内科学 复合材料 物理化学 电极 遗传学 量子力学 基因 冶金 催化作用
热门帖子
关注 科研通微信公众号,转发送积分 3845620
求助须知:如何正确求助?哪些是违规求助? 3387857
关于积分的说明 10550719
捐赠科研通 3108482
什么是DOI,文献DOI怎么找? 1712872
邀请新用户注册赠送积分活动 824520
科研通“疑难数据库(出版商)”最低求助积分说明 774877