EUVIMEDEUVIMED entdecken
Open Access · CC BY-SA 4.0

Network Attack Classification Using Random Forest and XGBoost Algorithms on UNSW-NB15 Dataset

Jennifer Adelia Putri, Ahmad Taqwa, Ade Silvia Handayani

bit-Tech · 10.08.2026 · 9 (1) · 691-701

DOI: 10.32877/bt.v9i1.3963 ↗

Kurz gefasst

Fachartikel in der Zeitschrift bit-Tech, online erschienen am 10.08.2026. Verfasst von Jennifer Adelia Putri und 2 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-SA 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The increasing frequency and sophistication of cyber threats have highlighted the need for effective Intrusion Detection Systems (IDS) capable of accurately identifying malicious network traffic. Traditional rule-based frameworks often face limitations in detecting previously unseen attacks and handling high-dimensional network datasets. To address this challenge, this study investigates the performance of Random Forest and Extreme Gradient Boosting (XGBoost) for binary network intrusion classification (normal vs. attack) using the benchmark UNSW-NB15 dataset. The proposed methodology incorporates data preprocessing, categorical feature encoding, and feature selection based on Random Forest feature importance to reduce data dimensionality and improve computational efficiency. Model performance was evaluated using accuracy, precision, recall, and F1-score, complemented by analyses of error distributions and computation time. The results show that both ensemble learning models achieved strong classification performance. Random Forest obtained the highest accuracy 99.59% and F1-score 98.38%, slightly outperforming XGBoost, which achieved an accuracy of 99.45% and an F1-score of 97.83%. In contrast, XGBoost demonstrated faster computational performance, while Random Forest provided slightly better predictive capability. These findings demonstrate the effectiveness of ensemble learning methods for intrusion detection on the UNSW-NB15 benchmark dataset and provide insights into selecting suitable machine learning models for IDS applications. However, further validation using additional datasets and real-world network environments is required to assess the generalizability of the proposed approach.

Zitieren

APA

Putri, J. A., Taqwa, A., & Handayani, A. S. (2026). Network Attack Classification Using Random Forest and XGBoost Algorithms on UNSW-NB15 Dataset. bit-Tech, 9(1), 691-701. https://doi.org/10.32877/bt.v9i1.3963

Vancouver

Putri JA, Taqwa A, Handayani AS. Network Attack Classification Using Random Forest and XGBoost Algorithms on UNSW-NB15 Dataset. bit-Tech. 2026;9(1):691-701. doi:10.32877/bt.v9i1.3963

BibTeX
@article{Putri2026,
  author = {Putri, Jennifer Adelia and Taqwa, Ahmad and Handayani, Ade Silvia},
  title = {Network Attack Classification Using Random Forest and XGBoost Algorithms on UNSW-NB15 Dataset},
  journal = {bit-Tech},
  year = {2026},
  volume = {9},
  number = {1},
  pages = {691--701},
  doi = {10.32877/bt.v9i1.3963}
}
Kostenlos starten →