Random Forest-Based DDOS Detection from Cpanel Logs with Real-Time Notification Integration
DOI:
https://doi.org/10.59934/jaiea.v5i1.1502Keywords:
Cybersecurity, DDoS Detection, Firebase Cloud Messaging, Machine Learning, Random ForestAbstract
The study focuses on designing an automated program to detect Distributed Denial of Service (DDoS) attacks by analyzing access log data from CPanel. Using the Random Forest algorithm, the system processes large volumes of server log entries to distinguish between normal and malicious requests. Data preprocessing and model training are applied to optimize detection accuracy. To accelerate incident response, the detection module is integrated with Firebase Cloud Messaging (FCM), which delivers instant alerts to administrators when suspicious activity is identified. Experimental evaluation shows that the system achieves more than 95% accuracy on the test dataset, confirming its capability to reliably identify DDoS patterns. In comparison to manual analysis, the automated approach demonstrates superior speed, consistency, and operational efficiency, significantly reducing the time needed to recognize and respond to threats. The results indicate that combining machine learning-based detection with real-time notification is a practical and effective strategy for strengthening server security.
Downloads
References
L. Ikhwanul Uzlah and R. Adi Saputra, “Deteksi Serangan Siber Pada Jaringan Komputer Menggunakan Metode Random Forest,” 2024.
A. Harris and A. Rahim, “Seleksi Fitur dengan Information Gain untuk Meningkatkan Deteksi Serangan DDoS Menggunakan Random Forest An Information Gain Feature Selection to Improve DDoS Detection using Random Forest,” 2020.
B. Kashyap and S. K. Jena, “DDoS Attack Detection and Attacker Identification,” 2012.
F. Riza, “Sistem Deteksi Intrusi pada Server secara Realtime Menggunakan Seleksi Fitur dan Firebase Cloud Messaging,” Jurnal Sistim Informasi Dan Teknologi, pp. 7–15, 2023.
R. Ma, Q. Wang, X. Bu, and X. Chen, “Real-Time Detection of DDoS Attacks Based on Random Forest in SDN,” Applied Sciences, vol. 13, no. 13, p. 7872, 2023.
J. Pei, Y. Chen, and W. Ji, “A DDoS attack detection method based on machine learning,” in Journal of Physics: Conference Series, IOP Publishing, 2019, p. 032040.
I. D. Id, Machine Learning: Teori, Studi Kasus dan Implementasi Menggunakan Python, vol. 1. Unri Press, 2021.
R. Genuer, J.-M. Poggi, R. Genuer, and J.-M. Poggi, Random forests. Springer, 2020.
L. Cohen, L. Manion, and K. Morrison, “Research Methods in Education,” 2018.
M. N. Abdiansyah, Manajemen Hosting Berbasis WHM/cPanel. Excellent Publishing, 2018.
D. S. R. Sukhdeve and S. S. Sukhdeve, “Google Colaboratory,” in Google Cloud Platform for Data Science: A Crash Course on Big Data, Machine Learning, and Data Analytics Services, Springer, 2023, pp. 11–34.
M. Tram, “Firebase,” 2019.
I. H. Hardy, E. C. Sujadi, and S. F. Pane, Pengembangan Smart Conveyor dengan Arduino (menggunakan GPS tracking berbasis android). Penerbit Buku Pedia, 2023.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.







