EVM-Shield: In-Contract State Access Control for Fast Vulnerability Detection and Prevention

计算机科学 智能合约 数据库事务 计算机安全 执行 访问控制 国家(计算机科学) 小贩 数据库 算法 法学 政治学
作者
Xiaoli Zhang,Wenping Sun,Zhicheng Xu,Hongbing Cheng,Chengjun Cai,Helei Cui,Qi Li
出处
期刊:IEEE Transactions on Information Forensics and Security [Institute of Electrical and Electronics Engineers]
卷期号:: 1-1
标识
DOI:10.1109/tifs.2024.3349852
摘要

Recently, smart contracts have been widely applied in security-sensitive fields yet are fragile to various vulnerabilities and attacks. Regarding this, existing research efforts either statically scrutinize smart contracts’ code or detect suspicious transaction execution flows. However, they either fail to timely protect contracts or only handle a small subset of well-known vulnerabilities. In the paper, we propose EVM-Shield that secures vulnerable smart contracts in real-time via fine-grained access control over sensitive states. The behind rationale is most of attacks aim to manipulate money-related states (e.g., tokens) for profits. Specifically, transaction-level state access control policies are first defined by developers and then translated into EVM-level policies with contract-aware function-level state access permissions. In policy enforcement, EVM-Shield introduces a hybrid storage analyzer to accurately identify (dynamic-allocated) storage locations for policy-involved states and a multi-stage cache based filter to fast revert bad transactions with unexpected state access behaviors. Finally, we conduct thorough experiments using 12 types of real-world contract vulnerabilities and all open-source smart contracts on the first 8 M blocks of Ethereum. The results demonstrate that EVM-Shield outperforms two state-of-the-art runtime analysis tools in terms of attack detection. Extensive performance evaluations with 185 M real-world transactions show that EVM-Shield can block 100% unexpected state accesses at the cost of 8% throughput degradation (compared with the native EVM).
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
哈哈完成签到 ,获得积分10
1秒前
1秒前
帅气雪糕完成签到,获得积分10
2秒前
iNk应助旺旺采纳,获得20
3秒前
feihu发布了新的文献求助10
3秒前
3秒前
残幻应助泥鳅采纳,获得10
4秒前
小蘑菇应助山猪吃细糠采纳,获得10
4秒前
4秒前
安详映阳完成签到 ,获得积分10
5秒前
无花果应助mani采纳,获得10
5秒前
哈理老萝卜完成签到,获得积分10
6秒前
哭泣嵩发布了新的文献求助10
7秒前
小希发布了新的文献求助10
7秒前
antonx应助yjjin采纳,获得30
7秒前
7秒前
8秒前
小六九发布了新的文献求助10
8秒前
9秒前
9秒前
情怀应助瞌睡的小付采纳,获得10
10秒前
马海完成签到,获得积分10
10秒前
HIKING完成签到,获得积分10
10秒前
12秒前
12秒前
上官若男应助陈夜梦采纳,获得10
12秒前
昏睡的蟠桃应助dis采纳,获得50
13秒前
范范完成签到,获得积分10
13秒前
wanci应助小希采纳,获得10
13秒前
dou发布了新的文献求助10
13秒前
娄志昊发布了新的文献求助10
14秒前
神勇狗完成签到,获得积分10
14秒前
wudayong完成签到,获得积分10
14秒前
iNk应助wuyanzu采纳,获得20
15秒前
16秒前
陈cxz完成签到 ,获得积分10
18秒前
18秒前
隐形曼青应助故里采纳,获得10
18秒前
sunly发布了新的文献求助10
19秒前
慕青应助τ涛采纳,获得10
19秒前
高分求助中
Разработка метода ускоренного контроля качества электрохромных устройств 500
Chinesen in Europa – Europäer in China: Journalisten, Spione, Studenten 500
Arthur Ewert: A Life for the Comintern 500
China's Relations With Japan 1945-83: The Role of Liao Chengzhi // Kurt Werner Radtke 500
Two Years in Peking 1965-1966: Book 1: Living and Teaching in Mao's China // Reginald Hunt 500
Epigenetic Drug Discovery 500
Hardness Tests and Hardness Number Conversions 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 物理 生物化学 纳米技术 计算机科学 化学工程 内科学 复合材料 物理化学 电极 遗传学 量子力学 基因 冶金 催化作用
热门帖子
关注 科研通微信公众号,转发送积分 3817421
求助须知:如何正确求助?哪些是违规求助? 3360775
关于积分的说明 10409208
捐赠科研通 3078870
什么是DOI,文献DOI怎么找? 1690820
邀请新用户注册赠送积分活动 814169
科研通“疑难数据库(出版商)”最低求助积分说明 768060