Klasifikasi Serangan Denial of Service pada Jaringan Internet of Things Menggunakan Random Forest: Studi pada Dataset Gotham 2025
DOI:
https://doi.org/10.59563/djtech.v7i1.433Keywords:
Denial of Service, Gotham 2025, Internet of Things, Klasifikasi Serangan, Random ForestAbstract
Serangan Denial of Service (DoS) pada jaringan Internet of Things (IoT) dapat mengganggu ketersediaan layanan dan komunikasi antarperangkat, sehingga diperlukan metode klasifikasi yang mampu membedakan lalu lintas normal dan lalu lintas serangan secara akurat. Penelitian ini bertujuan mengimplementasikan algoritma Random Forest untuk mengklasifikasikan serangan DoS pada jaringan IoT menggunakan dataset Gotham 2025. Penelitian dilakukan melalui eksperimen komputasional dengan dataset yang terdiri atas 2.500.000 sampel dan lima kelas, yaitu dos-http, dos-icmp, dos-syn, dos-udp, dan Normal. Data dibagi menggunakan rasio 80:20, dengan 2.000.000 sampel untuk pelatihan dan 500.000 sampel untuk pengujian. Evaluasi model dilakukan menggunakan confusion matrix, classification report, serta kurva ROC dan nilai AUC, dengan penerapan 5-fold cross-validation. Hasil pengujian menunjukkan bahwa model memperoleh akurasi sebesar 99%, dengan nilai macro F1-score dan weighted F1-score masing-masing sebesar 0,99. Kelas dos-http, dos-icmp, dan dos-syn memperoleh precision, recall, dan F1-score sebesar 1,00, sedangkan kelas dos-udp memiliki recall 0,99 dan kelas Normal memiliki precision 0,99. Nilai AUC untuk seluruh kelas mencapai 1,00. Hasil tersebut menunjukkan bahwa Random Forest mampu mengklasifikasikan lima kelas pada dataset dengan kinerja tinggi. Namun, pengujian pada lalu lintas jaringan nyata dan dataset eksternal masih diperlukan untuk menilai kemampuan generalisasi serta kelayakan penerapannya dalam lingkungan operasional.
References
K. A. P. da Costa, J. P. Papa, C. O. Lisboa, R. Muñoz, and V. H. C. de Albuquerque, “Internet of Things: A survey on machine learning-based intrusion detection approaches,” Computer Networks, vol. 151, pp. 147–157, 2019. https://doi.org/10.1016/j.comnet.2019.01.023
Z. A. Khan and P. Herrmann, “Recent advancements in intrusion detection systems for the Internet of Things,” Security and Communication Networks, vol. 2019, Art. no. 4301409, 2019. https://doi.org/10.1155/2019/4301409
S. Hajiheidari, K. Wakil, M. Badri, and N. J. Navimipour, “Intrusion detection systems in the Internet of things: A comprehensive investigation,” Computer Networks, vol. 160, pp. 165–191, 2019. https://doi.org/10.1016/j.comnet.2019.05.014
A. Khraisat, I. Gondal, P. Vamplew, and J. Kamruzzaman, “Survey of intrusion detection systems: Techniques, datasets and challenges,” Cybersecurity, vol. 2, Art. no. 20, 2019. https://doi.org/10.1186/s42400-019-0038-7
H. Liu and B. Lang, “Machine learning and deep learning methods for intrusion detection systems: A survey,” Applied Sciences, vol. 9, no. 20, Art. no. 4396, 2019. https://doi.org/10.3390/app9204396
A. Aljumah, “IoT-based intrusion detection system using convolution neural networks,” PeerJ Computer Science, vol. 7, Art. no. e721, 2021. https://doi.org/10.7717/peerj-cs.721
S. Farnaaz and M. A. Jabbar, “Random forest modeling for network intrusion detection system,” Procedia Computer Science, vol. 89, pp. 213–217, 2016. https://doi.org/10.1016/j.procs.2016.06.047
J. N. Sibarani, D. R. Sirait, and S. S. Ramadhanti, “Intrusion Detection Systems pada Bot-IoT Dataset menggunakan algoritma machine learning,” Jurnal Masyarakat Informatika, vol. 14, no. 1, pp. 38–52, 2023.
G. Koroniotis, N. Moustafa, E. Sitnikova, and B. Turnbull, “Towards the development of realistic botnet dataset in the Internet of Things for network forensic analytics: Bot-IoT dataset,” Future Generation Computer Systems, vol. 100, pp. 779–796, 2019. https://doi.org/10.1016/j.future.2019.05.041
E. C. Pinto Neto, S. Dadkhah, R. Ferreira, A. Zohourian, R. Lu, and A. A. Ghorbani, “CICIoT2023: A real-time dataset and benchmark for large-scale attacks in IoT environment,” Sensors, vol. 23, no. 13, Art. no. 5941, 2023. https://doi.org/10.3390/s23135941
O. Belarbi, T. Spyridopoulos, E. Anthi, O. Rana, P. Carnelli, and A. Khan, “Gotham Dataset 2025: A reproducible large-scale IoT network dataset for intrusion detection and security research,” arXiv preprint, 2025. https://arxiv.org/abs/2502.03134
A. Ghaffari, N. Jelodari, S. Pouralish, N. Derakhshanfard, et al., “Securing Internet of Things using machine and deep learning methods: A survey,” Cluster Computing, vol. 27, pp. 9065–9089, 2024. https://doi.org/10.1007/s10586-024-04509-0
S. V. N. Santhosh Kumar, M. Selvi, and A. Kannan, “A comprehensive survey on machine learning-based intrusion detection systems for secure communication in Internet of Things,” Computational Intelligence and Neuroscience, vol. 2023, Art. no. 8981988, 2023. https://doi.org/10.1155/2023/8981988
B. R. Kikissagbe and M. Adda, “Machine learning-based intrusion detection methods in IoT systems: A comprehensive review,” Electronics, vol. 13, no. 18, Art. no. 3601, 2024. https://doi.org/10.3390/electronics13183601
A. A. Wardana, P. Sukarno, S. Basuki, dan S. B. Utomo, "Federated Random Forest with Feature Selection for Collaborative Intrusion Detection in Internet of Things," Procedia Computer Science, vol. 246, hlm. 20–29, 2024. https://doi.org/10.1016/j.procs.2024.09.193
A. Alabdulatif, N. N. Thilakarathne, and M. Aashiq, “Machine Learning Enabled Novel Real-Time IoT Targeted DoS/DDoS Cyber Attack Detection System,” Comput. Mater. Contin., vol. 80, no. 3, pp. 3655–3683, 2024. https://doi.org/10.32604/cmc.2024.054610
M. Saied, S. Guirguis, dan M. Madbouly, "Review of artificial intelligence for enhancing intrusion detection in the Internet of Things," Engineering Applications of Artificial Intelligence, vol. 127, bagian A, 2024, Art. no. 107231. Tersedia: https://doi.org/10.1016/j.engappai.2023.107231
J. Garcia, J. Entrena, dan A. Alesanco, "Empirical evaluation of feature selection methods for machine learning based intrusion detection in IoT scenarios," Internet of Things, vol. 28, 2024, Art. no. 101367. Tersedia: https://doi.org/10.1016/j.iot.2024.101367
P. Elamparithi, S. Kalaivani, S. Vijayalakshmi, E. Keerthika, S. Koteswari, and R. S. Raaj, “A machine learning approach for detecting DDOS attack in IoT network using Random Forest classifier,” International Journal of Intelligent Systems and Applications in Engineering, vol. 12, no. 2s, pp. 495–502, 2023. https://www.ijisae.org/index.php/IJISAE/article/view/3649
J. Li, M. S. Othman, H. Chen, and L. Mi Yusuf, “Optimizing IoT intrusion detection system: Feature selection versus feature extraction in machine learning,” Journal of Big Data, vol. 11, Art. no. 36, 2024. https://doi.org/10.1186/s40537-024-00892-y
V. Ivanova, T. Tashev, and I. Draganov, “Random Forest detector and classifier of multiple IoT-based DDoS attacks,” WSEAS Transactions on Information Science and Applications, vol. 19, pp. 30–43, 2022. https://doi.org/10.37394/23209.2022.19.4
Kurniabudi, D. Stiawan, Darmawijoyo, M. Y. B. Idris, S. Defit, Y. S. Triana, and R. Budiarto, “Improvement of attack detection performance on the internet of things with PSO-search and random forest,” Journal of Computational Science, vol. 64, Art. no. 101833, 2022. https://doi.org/10.1016/j.jocs.2022.101833
E. Altulaihan, M. A. Almaiah, dan A. Aljughaiman, "Anomaly Detection IDS for Detecting DoS Attacks in IoT Networks Based on Machine Learning Algorithms," Sensors, vol. 24, no. 2, 2024, Art. no. 713. Tersedia: https://doi.org/10.3390/s24020713
M. Ishak, A. Wafda, and R. A. Pakkaja, “Evaluasi Sentimen Ulasan Aplikasi DeepSeek di Google Play Store menggunakan Algoritma Decision Tree,” Journal Artificial: Informatika dan Sistem Informasi, vol. 4, no. 1, pp. 108–122, 2026. https://doi.org/10.54065/artificial.1129
A. Wafda, “Integrasi Machine Learning dalam Ritel: Tinjauan Komprehensif tentang Prediksi Harga, Analisis Data Pelanggan, dan Pemanfaatan Media Sosial,” Journal Artificial: Informatika dan Sistem Informasi, vol. 2, no. 2, pp. 90–106, 2024. https://doi.org/10.54065/artificial.543







