Detection of Attacks in Computer Networks Using C4.5 Decision Tree Algorithm: An Approach to Network Security

Authors

  • Wahyu Wijaya Widiyanto Politeknik Indonusa Surakarta
  • Rizka Licia Politeknik Indonusa Surakarta

DOI:

https://doi.org/10.62951/ijies.v1i4.48

Keywords:

Attack Detection, Computer Networks, C4.5 Decision Tree, Artificial Intelligence, Information Security

Abstract

The detection of computer network attacks is becoming increasingly important as the complexity and frequency of cyber-attacks threatening information systems and network infrastructure continue to rise. These attacks may lead to severe consequences, including data breaches, service disruptions, and financial losses. To address these challenges, artificial intelligence techniques have become a major focus in the development of more effective, adaptive, and reliable intrusion detection systems. Among various classification algorithms, the C4.5 decision tree has demonstrated strong performance due to its simplicity, interpretability, and high classification accuracy. This study aims to apply the C4.5 algorithm for network attack detection using a comprehensive dataset that includes multiple categories of attacks and normal network activities. The proposed methodology consists of several stages, including data preprocessing, feature selection, decision tree model construction, and performance evaluation using standard metrics such as accuracy, precision, recall, and F1-score. Data preprocessing is performed to handle missing values, normalize data, and reduce noise, thereby improving the overall quality of the dataset and enhancing classification results. The experimental results indicate that the C4.5 decision tree algorithm effectively classifies network traffic into attack and normal categories with a satisfactory level of accuracy. The model successfully identifies attack-related patterns and highlights significant features that influence detection performance. Further analysis reveals that appropriate feature selection and parameter tuning significantly contribute to improving model reliability and robustness. This research provides a valuable contribution to the development of efficient, accurate, and practical network intrusion detection systems. The proposed approach is expected to strengthen information security frameworks and support proactive defense strategies against increasingly sophisticated cyber threats, thereby enhancing the protection of critical network infrastructures.

References

Ahmed, M., Mahmood, A. N., & Hu, J. (2021). A survey of network anomaly detection techniques. IEEE Access, 9, 103598–103620. https://doi.org/10.1109/ACCESS.2021.3058004

Alazzam, H., Sharieh, A., & Sabri, K. E. (2021). A novel hybrid intrusion detection system based on decision tree and support vector machine. Journal of Information Security and Applications, 58, 102715. https://doi.org/10.1016/j.jisa.2020.102715

Arrieta, A. B., et al. (2020). Explainable artificial intelligence (XAI): Concepts, taxonomies, opportunities and challenges. Information Fusion, 58, 82–115. https://doi.org/10.1016/j.inffus.2019.12.012

Beny Abukhaer Tatara, B., Abdurachman, B., Mustofa, D. L., & Yacobus, D. (2023). The potential of cyber attacks in Indonesia’s digital economy transformation. NUANSA: Jurnal Penelitian Ilmu Sosial Dan Keagamaan Islam, 20(1), 19–37. https://doi.org/10.19105/nuansa.v20i1.7362

Ferrag, M. A., Maglaras, L., Moschoyiannis, S., & Janicke, H. (2022). Deep learning for cyber security intrusion detection: Approaches, datasets, and comparative study. Future Generation Computer Systems, 128, 260–281. https://doi.org/10.1016/j.future.2021.09.012

George, A. S., Baskar, T., & Srikaanth, P. B. (2024). Cyber threats to critical infrastructure: Assessing vulnerabilities across key sectors. Partners Universal International Innovative Journal, 2(1), 51–75. https://doi.org/10.5281/zenodo.10639463

Gupta, C., Johri, I., Srinivasan, K., Hu, Y., & Qaisar, S. M. (2022). A systematic review on machine learning and deep learning. Progress in Biophysics and Molecular Biology, June. https://doi.org/10.1016/j.pbiomolbio.2022.07.004

Joseph, S. (n.d.). Computers’ effect on society: Exposing their manifold benefits.

Khraisat, A., Gondal, I., Vamplew, P., Kamruzzaman, J., & Alazab, A. (2020). Hybrid intrusion detection system based on the stacking ensemble of C5 decision tree classifier and one class support vector machine. Electronics (Switzerland), 9(1). https://doi.org/10.3390/electronics9010173

Khan, M. A., Karim, M. M., & Kim, Y. (2023). A scalable and hybrid intrusion detection system based on deep learning. IEEE Access, 11, 24678–24692. https://doi.org/10.1109/ACCESS.2023.3245617

Lestari, A. (2020). Increasing accuracy of C4.5 algorithm using information gain ratio and AdaBoost for classification of chronic kidney disease. Journal of Soft Computing Exploration, 1(1), 32–38. https://doi.org/10.52465/joscex.v1i1.6

Linardatos, P., Papastefanopoulos, V., & Kotsiantis, S. (2021). Explainable AI: A review of machine learning interpretability methods. Entropy, 23(1), 18. https://doi.org/10.3390/e23010018

Mahbooba, B., Timilsina, M., Sahal, R., & Serrano, M. (2021). Explainable artificial intelligence (XAI) to enhance trust management in intrusion detection systems using decision tree model. Complexity, 2021. https://doi.org/10.1155/2021/6634811

Nagar, U. (2021). A study on feature analysis and ensemble-based intrusion detection scheme using CICIDS-2017 dataset.

Pinto, A., Herrera, L.-C., Donoso, Y., & Gutierrez, J. A. (2023). Survey on intrusion detection systems based on machine learning techniques for the protection of critical infrastructure. Sensors, 23(5), 2415. https://doi.org/10.3390/s23052415

Sarker, I. H. (2023). Machine learning for intelligent data analysis and automation in cybersecurity: Current and future prospects. Annals of Data Science, 10(6), 1473–1498. https://doi.org/10.1007/s40745-022-00444-2

Tama, B. A., Nkenyereye, L., Islam, S. M. R., & Kwak, K. S. (2020). An enhanced anomaly detection in web traffic using a stack of classifier ensemble. IEEE Access, 8, 24120–24134. https://doi.org/10.1109/ACCESS.2020.2969428

Tariq, R., Casillas-Muñoz, F. A., Hassan, S. T., & Ramírez-Montoya, M. S. (2024). Synergy of Internet of Things and education: Cyber-physical systems contributing towards remote laboratories, improved learning, and school management. Journal of Social Studies Education Research, 15(2 Special issue), 305–352.

Wang, J. (2022). Application of C4.5 decision tree algorithm for evaluating the college music education. Mobile Information Systems, 2022. https://doi.org/10.1155/2022/7442352

Wu, Y., Wei, D., & Feng, J. (2020). Network attacks detection methods based on deep learning techniques: A survey. Security and Communication Networks, 2020. https://doi.org/10.1155/2020/8872923

Published

2024-10-15

How to Cite

Wahyu Wijaya Widiyanto, & Rizka Licia. (2024). Detection of Attacks in Computer Networks Using C4.5 Decision Tree Algorithm: An Approach to Network Security. International Journal of Information Engineering and Science, 1(4), 01–09. https://doi.org/10.62951/ijies.v1i4.48

Similar Articles

1 2 3 > >> 

You may also start an advanced similarity search for this article.