The Detection of Fraudulent Smart Contracts Based on ECA-EfficientNet and Data Enhancement
Source abstract
Abstract
With the increasing popularity of Ethereum, smart contracts have become a prime target for fraudulent activities such as Ponzi, honeypot, gambling, and phishing schemes. While some researchers have studied intelligent fraud detection, most research has focused on identifying Ponzi contracts, with little attention given to detecting and preventing gambling or phishing contracts. There are three main issues with current research. Firstly, there exists a severe data imbalance between fraudulent and non-fraudulent contracts. Secondly, the existing detection methods rely on diverse raw features that may not generalize well in identifying various classes of fraudulent contracts. Lastly, most prior studies have used contract source code as raw features, but many smart contracts only exist in bytecode. To address these issues, we propose a fraud detection method that utilizes Efficient Channel Attention EfficientNet (ECA-EfficientNet) and data enhancement. Our method begins by converting bytecode into Red Green Blue (RGB) three-channel images and then applying channel exchange data enhancement. We then use the enhanced ECA-EfficientNet approach to classify fraudulent smart contract RGB images. Our proposed method achieves high F1-score and Recall on both publicly available Ponzi datasets and self-built multi-classification datasets that include Ponzi, honeypot, gambling, and phishing smart contracts. The results of the experiments demonstrate that our model outperforms current methods and their variants in Ponzi contract detection. Our research addresses a significant problem in smart contract security and offers an effective and efficient solution for detecting fraudulent contracts.
Source: openalex_inverted_index · Quality: baseline
Research context
OpenAlex topics: Imbalanced Data Classification Techniques · Blockchain Technology Applications and Security · Electricity Theft Detection Techniques
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
References (31)
Show source-provided references
1. G. Wood, “Ethereum: A secure decentralised generalised transaction ledger,” 2013. [Online]. Available: http://gavwood.com/paper.pdf
2. Who are the phishers? Phishing scam detection on Ethereum via network embedding
3. Vulnerability and transaction behavior based detection of malicious smart contracts
4. Ponzi scheme detection in Ethereum transaction network
5. Software vulnerability detection using deep neural networks: A survey10.1109/JPROC.2020.2993293 ↗
6. ECA-Net: Efficient channel attention for deep convolutional neural networks
7. Smart contracts for blockchain-based reputation systems: A systematic literature review10.1016/j.jnca.2020.102814 ↗
8. Data mining-based Ethereum fraud detection
9. Blockchain-enabled fraud discovery through abnormal smart contract detection on Ethereum10.1016/j.future.2021.08.023 ↗
10. Making smart contracts smarter
11. Securify: Practical security analysis of smart contracts
12. R. Agarwal, T. Thapliyal and S. K. Shukla, “Vulnerability and transaction behavior based detection of malicious smart contracts,” arXiv:2106.13422, 2021.10.1007/978-3-030-94029-4_6 ↗
13. Honeypot contract risk warning on Ethereum smart contracts
14. The art of the scam: Demystifying honeypots in Ethereum smart contracts
15. Exploiting blockchain data to detect smart Ponzi schemes on Ethereum10.1109/ACCESS.2019.2905769 ↗
16. Comparative analysis of credit card fraud detection in simulated annealing trained artificial neural network and hierarchical temporal memory10.1016/j.mlwa.2021.100080 ↗
17. Using the hierarchical temporal memory spatial pooler for short-term forecasting of electrical load time series10.1016/j.aci.2018.09.002 ↗
18. Analysis of visualization techniques for malware detection
19. Malware images: Visualization and automatic classification
20. Detection of malicious code variants based on deep learning10.1109/TII.2018.2822680 ↗
21. Malicious code detection based on CNNs and multi-objective algorithm10.1016/j.jpdc.2019.03.010 ↗
22. Identification of malicious code variants based on image visualization10.1016/j.compeleceng.2019.03.015 ↗
23. Ponzi contracts detection based on improved convolutional neural network
24. Image-based scam detection method using an attention capsule network10.1109/ACCESS.2021.3059806 ↗
25. Searching for activation functions using a self-adaptive evolutionary algorithm
26. Spatial pyramid pooling with atrous convolutional for MobileNet
27. M. Tan and Q. V. Le, “EfficientNet: Rethinking model scaling for convolutional neural networks,” arXiv:1905.11946, 2020.
28. Squeeze-and-excitation networks
29. Filter-based deep-compression with global average pooling for convolutional networks
30. SCSGuard: Deep scam detection for Ethereum smart contracts
31. Improving Ponzi scheme contract detection using multi-channel TextCNN and transformer10.3390/s21196417 ↗