Detection of Cryptojacking Attacks Using Ensemble Learning
Abstract
We present an ensemble learning framework for detecting cryptojacking traffic, designed to overcome the limitations of traditional signature-based and rule-based methods, which perform poorly when most traffic is encrypted. Using the publicly available Zindi Africa dataset, we evaluate three tree-based models: XGBoost, Random Forest, and LightGBM. All models are trained and tested within a unified pipeline that includes data preprocessing, domain-driven feature engineering (such as a Process Complexity Score), and stratified 5-fold cross-validation. The results demonstrate that XGBoost achieves the best overall performance in terms of Fl-score and AUC. LightGBM attains similar accuracy but requires less training time, offering a favorable balance between performance and efficiency. Random Forest is slightly less accurate but produces more interpretable decision structures, which are valuable for forensic analysis. These findings indicate that ensemble learning can significantly enhance cryptojacking detection under realistic resource constraints. This study utilizes a single public dataset and an offline evaluation protocol. Future work will extend the framework to additional datasets, incorporate more protocol-specific features, and explore online deployment with incremental model updates to improve robustness in real-world encrypted networks.
BibTeX
@misc{jiapeng2025detection,
author = {Xiao Jiapeng and Yawei Li and Peng Xingyu and Li Juncheng and Tao Yu and Chen Ding},
title = {{Detection of Cryptojacking Attacks Using Ensemble Learning}},
year = {2025},
doi = {10.1109/iccwamtip68645.2025.11352646},
}Ask Althea to put this paper to the test.
Loading related content...