journal article·2025-10-09Open access

Adaptive Ensemble Machine Learning Framework for Proactive Blockchain Security

Babatomiwa Omonayajo, Oluwafemi Ayotunde Oke, Nadire Cavus

Applied Sciences· Volume 15· Issue 19

Abstract

Blockchain technology has rapidly evolved beyond cryptocurrencies, underpinning diverse applications such as supply chains, healthcare, and finances, yet its security vulnerabilities remain a critical barrier to safe adoption. However, attackers increasingly exploit weaknesses in consensus protocols, smart contracts, and network layers with threats such as Denial-of-Chain (DoC) and Black Bird attacks, posing serious challenges to blockchain ecosystems. We conducted anomaly detection using two independent datasets (A and B) generated from simulation attack scenarios including hash rate, Sybil, Eclipse, Finney, and Denial-of-Chain (DoC) attacks. Key blockchain metrics such as hash rate, transaction authorization status, and recorded attack consequences were collected for analysis. We compared both class-balanced and imbalanced datasets, applying Synthetic Minority Oversampling Technique (SMOTE) to improve representation of minority-class samples and enhance performance metrics. Supervised models such as Random Forest, Gradient Boosting, and Logistic Regression consistently outperformed unsupervised models, achieving high F1-scores (0.90), while balancing the training data had only a modest effect. The results are based on simulated environment and should be considered as preliminary until the experiment is performed in a real blockchain environment. Based on identified gaps, we recommend the exploration and development of multifaceted defense approaches that combine prevention, detection, and response to strengthen blockchain resilience.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Blockchain Technology Applications and Security · Data Stream Mining Techniques · Currency Recognition and Detection

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Computer Information Systems, Near East University, Nicosia 99138, Cyprus

Computer Information Systems Research and Technology Centre, Nicosia 99138, Turkey

References (29)

Show source-provided references
1. Blockchain-Based Identity Management System and Self-Sovereign Identity Ecosystem: A Comprehensive Survey10.1109/ACCESS.2022.3216643 ↗
2. Krishnan, S., Balas, V.E., Julie, E.G., Robinson, H., Balaji, S., and Kumar, R. (2020). Applications of Blockchain Technology. Handbook of Research on Blockchain Technology, Academic Press (Elsevier).
3. A Survey on Blockchain Technology and Its Security10.1016/j.bcra.2022.100067 ↗
4. Exploring the Convergence of Metaverse, Blockchain, and AI: Opportunities, Challenges, and Future Research Directions10.1002/widm.1556 ↗
5. A Survey on Blockchain Systems: Attacks, Defenses, and Privacy Preservation10.1016/j.hcc.2021.100048 ↗
6. Blockchain Technology Use Cases in Healthcare10.1016/bs.adcom.2018.03.006 ↗
7. Blockchain-Watermarking for Compressive Sensed Images10.1109/ACCESS.2021.3072196 ↗
8. Blockchain Security Attacks, Challenges, and Solutions for the Future Distributed IoT Network10.1109/ACCESS.2021.3051602 ↗
9. Cryptocurrencies Emerging Threats and Defensive Mechanisms: A Systematic Literature Review10.1109/ACCESS.2020.3034816 ↗
10. When the Blockchain Does Not Block: On Hackings and Uncertainty in the Cryptocurrency Market10.1080/14697688.2020.1849779 ↗
11. Quantum Advantage on Proof of Work10.1016/j.array.2022.100225 ↗
12. RZee: Cryptographic and Statistical Model for Adversary Detection and Filtration to Preserve Blockchain Privacy10.1016/j.jksuci.2022.07.007 ↗
13. Detecting Malicious Accounts in Permissionless Blockchains Using Temporal Graph Properties10.1007/s41109-020-00338-3 ↗
14. Ali, H., Ahmad, J., Jaroucheh, Z., Papadopoulos, P., Pitropakis, N., Lo, O., Abramson, W., and Buchanan, W.J. (2022). Trusted Threat Intelligence Sharing in Practice and Performance Benchmarking through the Hyperledger Fabric Platform. Entropy, 24.10.3390/e24101379 ↗
15. Exploring the Attack Surface of Blockchain: A Comprehensive Survey10.1109/COMST.2020.2975999 ↗
16. The “Bitcoin Generator” Scam10.1016/j.bcra.2022.100084 ↗
17. Denial of Chain: Evaluation and Prediction of a Novel Cyberattack in Blockchain-Supported Systems10.1016/j.future.2020.11.013 ↗
18. Black Bird Attack: A Vital Threat to Blockchain Technology10.1016/j.procs.2022.01.068 ↗
19. Blockchain Technology in the Energy Sector: From Fundamentals to Applications10.1016/j.cosrev.2021.100362 ↗
20. Joint Modeling of Hyperledger Fabric and Sybil Attack: Petri Net Approach10.1016/j.simpat.2022.102674 ↗
21. CIRCUIT: A JavaScript Memory Heap-Based Approach for Precisely Detecting Cryptojacking Websites10.1109/ACCESS.2022.3204814 ↗
22. Convolutional Neural Network Biometric Cryptosystem for the Protection of the Blockchain’s Private Key10.1016/j.procs.2019.09.462 ↗
23. Dua, M., Sadhu, A., Jindal, A., and Mehta, R. (2022). A Hybrid Noise Robust Model for Multireplay Attack Detection in ASV Systems. Biomed. Signal Process. Control, 74.10.1016/j.bspc.2022.103517 ↗
24. On the Evaluation of Unsupervised Outlier Detection: Measures, Datasets, and an Empirical Study10.1007/s10618-015-0444-8 ↗
25. Using BAR Switch to Prevent Black Bird Embedded Double Spending Attack10.1016/j.procs.2022.01.103 ↗
26. Generative Adversarial Networks (GANs): Challenges, Solutions, and Future Directions10.1145/3446374 ↗
27. Blockchain Technology and Internet of Things: Review, Challenge and Security Concern
28. Vulnerabilities and Attacks Assessments in Blockchain 1.0, 2.0 and 3.0: Tools, Analysis and Countermeasures10.1007/s10207-023-00765-0 ↗
29. Allende, M., León, D.L., Cerón, S., Pareja, A., Pacheco, E., Leal, A., Silva, M.D., Pardo, A., Jones, D., and Worrall, D.J. (2023). Quantum-Resistance in Blockchain Networks. Sci. Rep., 13.10.1038/s41598-023-32701-6 ↗