IMPLEMENTASI DAN EVALUASI KINERJA INTRUSION DETECTION SYSTEM MENGGUNAKAN ALGORITMA DECISION TREE PADA LINUX

  • Cesia Trisani Saragih Garingging Universitas Katolik Santo Thomas
  • Sasmita Lumban Gaol Universitas Katolik Santo Thomas
  • Maria Angelina Lubis Universitas Katolik Santo Thomas
  • Lotar Mateus Sinaga Universitas Katolik Santo Thomas
Keywords: Intrusion Detection System1, Machine Learning2, Decision Tree3, CICIDS20174, Debian 125

Abstract

Meningkatnya intensitas serangan siber pada jaringan komputer menuntut adanya sistem yang mampu mendeteksi aktivitas berbahaya secara cepat dan akurat. Salah satu solusi yang dapat diterapkan adalah Intrusion Detection System (IDS) berbasis Machine Learning. Penelitian ini bertujuan untuk mengimplementasikan dan mengevaluasi kinerja Intrusion Detection System menggunakan algoritma Decision Tree pada lingkungan server Debian 12. Dataset yang digunakan adalah CICIDS2017 dengan dua skenario serangan, yaitu Distributed Denial of Service (DDoS) dan PortScan. Tahapan penelitian meliputi proses preprocessing data, pembagian data latih dan data uji, pelatihan model menggunakan algoritma Decision Tree, serta evaluasi performa berdasarkan nilai accuracy, precision, recall, F1-score, confusion matrix, waktu pelatihan, waktu prediksi, dan penggunaan sumber daya sistem. Hasil penelitian menunjukkan bahwa algoritma Decision Tree mampu memberikan tingkat akurasi sebesar 99,9889% pada skenario DDoS dan 99,9843% pada skenario PortScan. Waktu pelatihan yang diperoleh masing-masing sebesar 7,82 detik dan 5,66 detik, sedangkan waktu prediksi sebesar 0,081 detik dan 0,063 detik. Pengujian juga menunjukkan bahwa penggunaan CPU hanya sebesar 0,1% dengan penggunaan RAM sebesar 2072 MB pada skenario DDoS dan 2162,53 MB pada skenario PortScan. Berdasarkan hasil tersebut, algoritma Decision Tree terbukti efektif dan efisien untuk diimplementasikan sebagai Intrusion Detection System pada lingkungan server Debian 12.

References

[1] Sufia Zareen, Kaosar Hossain, Mohd Abdullah Al Mamun, and Samia Hasan Suha, “Machine Learning-Based Intrusion Detection Systems (IDS) for real-time cyber threat monitoring,” World Journal of Advanced Research and Reviews, vol. 15, no. 2, pp. 863–872, Aug. 2022, doi: 10.30574/wjarr.2022.15.2.0706.
[2] S. Shilpashree, S. C. Lingareddy, N. G. Bhat, and G. Sunil Kumar, “Decision tree: A machine learning for intrusion detection,” International Journal of Innovative Technology and Exploring Engineering, vol. 8, no. 6 Special Issue 4, pp. 1126–1130, Apr. 2019, doi: 10.35940/ijitee.F1234.0486S419.
[3] Canadian Institute for Cybersecurity, “CICIDS2017 Dataset,” University of New Brunswick. Accessed: Jun. 17, 2026. [Online]. Available: https://www.unb.ca/cic/datasets/ids-2017.html
[4] I. Hidayat, M. Z. Ali, and A. Arshad, “Machine Learning-Based Intrusion Detection System: An Experimental Comparison,” Journal of Computational and Cognitive Engineering, vol. 2, no. 2, pp. 88–97, May 2023, doi: 10.47852/bonviewJCCE2202270.
[5] K. Jumaidi, A. Adhyaksa Waskita, and A. Musyafa, “Analisis Performa Sistem Deteksi Intrusi pada Jaringan IoT Menggunakan Ensemble Learning dan Decision Tree,” Integrative Perspectives of Social and Science Journal, vol. 2, no. 2, p. 2025, [Online]. Available: https://www.yorku.ca/research/bccc/ucs-technical/cybersecurity-datasets-cds/
[6] M. Firdaus and T. A. C, “IMPLEMENTASI ALGORITMA DECISION TREE UNTUK KLASIFIKASI POLA SERANGAN PADA LOG FILE.”
[7] Y. Prihantono et al., “ANALISA PERBANDINGAN ALGORITMA MACHINE LEARNING DECISION TREES DAN EXTRA TREES TERHADAP KINERJA INTRUSION DETECTION SYSTEM DALAM MEMPREDIKSI SERANGAN PADA JARINGAN”.
[8] K. Rai, M. Syamala Devi Professor, and A. Guleria, “Decision Tree Based Algorithm for Intrusion Detection”.
[9] M. C. Belavagi, J. Veer Singh, and G. Attigeri, “Comparative Analysis of Anomaly Based Intrusion Detection Techniques.”
[10] M. Pramana, E. Setyati, and F. X. Ferdinandus, “Wahana : Tridarma Perguruan Tinggi Identifikasi Serangan Denial Of Service (Dos) Di Jaringan Dengan Algoritma Decision Tree C4.5”, [Online]. Available: http://jurnal.unipasby.ac.id/index.php/whn
[11] Y. Yuliana, D. H. Supriyadi, M. R. Fahlevi, and M. R. Arisagas, “Analysis of NSL-KDD for the Implementation of Machine Learning in Network Intrusion Detection System,” Journal of Informatics Information System Software Engineering and Applications (INISTA), vol. 6, no. 2, pp. 80–89, Feb. 2024, doi: 10.20895/inista.v6i2.1389.
[12] M. Politeknik, N. J. Devita, and A. Larasati, “PENERAPAN ALGORITMA RANDOM FOREST DAN K-NEAREST NEIGHBOR UNTUK DETEKSI INTRUSI PADA DATASET CICIDS2017,” Jurnal Multidisiplin Ilmu Akademik, vol. 2, no. 6, pp. 632–640, 2025, doi: 10.61722/jmia.v2i6.7213.
[13] I. Puji, S. Pusat, T. Informasi, D. Komunikasi, E. Utami, and A. H. Muhammad, “Comparison of Anomaly Based and Signature Based Methods in Detection of Scanning Vulnerability.”
[14] M. Fadhlurrohman, A. Muliawati, and B. Hananto, “Analisis Kinerja Intrusion Detection System pada Deteksi Anomali dengan Metode Decision Tree Terhadap Serangan Siber Analysis of Intrusion Detection System Performance on Anomaly Detection with Decision Tree Method Against Cyber Attacks”, [Online]. Available: http://journal.ipb.ac.id/index.
[15] N. Ziems, G. Liu, J. Flanagan, and M. Jiang, “Explaining Tree Model Decisions in Natural Language for Network Intrusion Detection,” Oct. 2023, [Online]. Available: http://arxiv.org/abs/2310.19658
[16] S. S. Tripathy and B. Behera, “PERFORMANCE EVALUATION OF MACHINE LEARNING ALGORITHMS FOR INTRUSION DETECTION SYSTEM,” 2023, doi: 10.17605/OSF.IO/WX6CS.
[17] M. Albarka Umar, C. Zhanfang, and Y. Liu, “A Hybrid Intrusion Detection with Decision Tree for Feature Selection.”
[18] N. M. Sari A Sitanggang and O. Pribadi, “Journal of Artificial Intelligence and Engineering Applications Implementation of the Decision Tree Method for Detecting Attacks in Networks,” 2025. [Online]. Available: https://ioinformatic.org/
[19] E. Hariyanti, D. Pramana Hostiadi, Y. Priyo Atmojo, I. Made Darma Susila, and I. Tangkawarow, “Analisis Perbandingan Metode Seleksi Fitur pada Model Klasifikasi Decission Tree untuk Deteksi Serangan di Jaringan Komputer”.
[20] T. Yuliswar, I. Elfitri, and O. W. Purbo, “OPTIMIZATION OF INTRUSION DETECTION SYSTEM WITH MACHINE LEARNING FOR DETECTING DISTRIBUTED ATTACKS ON SERVER OPTIMALISASI SISTEM DETEKSI INTRUSI MENGGUNAKAN MACHINE LEARNING UNTUK DETEKSI SERANGAN TERDISTRIBUSI PADA SERVER,” vol. 10, no. 1, p. 2025.
Published
2026-07-05
How to Cite
Cesia Trisani Saragih Garingging, Sasmita Lumban Gaol, Maria Angelina Lubis, & Lotar Mateus Sinaga. (2026). IMPLEMENTASI DAN EVALUASI KINERJA INTRUSION DETECTION SYSTEM MENGGUNAKAN ALGORITMA DECISION TREE PADA LINUX. EDU RESEARCH, 7(2), 3278-3291. https://doi.org/10.47827/jer.v7i2.2921
Section
Articles