ADEFGuard: Anomaly detection framework based on Ethereum smart contracts behaviours

被引:1
作者
Ndiaye, Malaw [1 ]
Diallo, Thierno Ahmadou [2 ]
Konate, Karim [1 ]
机构
[1] UCAD, Dept Comp Sci, Dakar, Senegal
[2] UASZ, Comp Sci Dept, Ziguinchor, Senegal
来源
BLOCKCHAIN-RESEARCH AND APPLICATIONS | 2023年 / 4卷 / 03期
关键词
Blockchain; Smart contract; Security; Anomaly;
D O I
10.1016/j.bcra.2023.100148
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Smart contracts are the building blocks of blockchain systems that enable automated peer-to-peer transactions and decentralized services. Smart contracts certainly provide a powerful functional surplus for maintaining the consistency of transactions in applications governed by blockchain technology. Smart contracts have become lucrative and profitable targets for attackers because they can hold a large amount of money. Formal verification and symbolic analysis have been employed to combat these destructive scams by analysing the codes and function calls, yet each scam's vulnerability should be discreetly predefined. In this work, we introduce ADEFGuard, a new anomaly detection framework based on the behaviour of smart contracts, as a new feature. We design a learning and monitoring module to determine fraudulent smart contract behaviours.Our framework is advantageous over basic algorithms in three aspects. First, ADEFGuard provides a unified solution to different genres of scams, relieving the need for code analysis skills. Second, ADEFGuard's inference is orders of magnitude faster than code analysis. Third, the experimental results show that ADEFGuard achieves high accuracy (85%), precision (75%), and recall (90%) for malicious contracts and is potentially useful in detecting new malicious behaviours of smart contracts.
引用
收藏
页数:10
相关论文
共 33 条
[31]   Discovering Correlations: A Formal Definition of Causal Dependency Among Heterogeneous Events [J].
Xosanavongsa, Charles ;
Totel, Eric ;
Bettan, Olivier .
2019 4TH IEEE EUROPEAN SYMPOSIUM ON SECURITY AND PRIVACY (EUROS&P), 2019, :340-355
[32]   A game-theoretic method based on Q-learning to invalidate criminal smart contracts [J].
Zhang, Lifeng ;
Wang, Yilei ;
Li, Fengyin ;
Hu, Yuemei ;
Au, Man Ho .
INFORMATION SCIENCES, 2019, 498 :144-153
[33]   Smart Contract-Based Secure Model for Miner Registration and Block Validation [J].
Zhang, Shire ;
Lee, Jong-Hyouk .
IEEE ACCESS, 2019, 7 :132087-132094