Comparative Analysis of Classification Methods for Cyberattack Detection on Computer Networks
Abstrak
The rapid growth of computer networks has increased the complexity and intensity of cyber threats, making machine learning based intrusion detection one of the most widely studied defense mechanisms. This study compares the performance of five classification methods Decision Tree, Random Forest, Support Vector Machine (SVM), K-Nearest Neighbors (KNN), and Naive Bayes in detecting five categories of network activity: Normal, Denial of Service (DoS), Probing, Remote to Local (R2L), and User to Root (U2R). Due to limited access to sensitive real-world network traffic data, this study uses a small-scale simulated dataset of 500 samples generated programmatically using controlled statistical distributions to represent the characteristics of each category, including the class imbalance condition commonly found in real network traffic. The data was split into 70% training and 30% testing using a stratified scheme and evaluated using accuracy, precision, recall, F1-score, and computation time metrics. Results show that Decision Tree achieved the highest macro F1-score (85.96%) with 94.00% accuracy, slightly ahead of Naive Bayes (84.52% macro F1-score, 95.33% accuracy). Random Forest recorded the highest overall accuracy (96.67%), but its macro F1-score (84.06%) lagged due to low recall on the U2R class, which has very few samples. Feature-importance analysis indicates that srv_count, dst_host_count, and count are the main determinants for distinguishing attack categories. Naive Bayes and KNN recorded the fastest computation times, while Random Forest required the longest training time. The small dataset size causes performance estimates on minority classes (R2L and U2R) to be prone to fluctuation, so these findings should be regarded as a preliminary proof-of-concept study requiring further validation using a larger dataset or real world network traffic data.
Kata Kunci
Unduhan
Cara Mengutip
Lisensi
Hak Cipta (c) 2026 Jurnal Responsive Teknik Informatika

Artikel ini berlisensi Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Artikel Serupa
- Aprizal.Y, Atman Lucky Fernandes, Atman Lucky Fernandes, Anisa Zalinty, Kajian Literatur Determinasi Sistem Informasi Manajemen: Database, Sistem Keamanan Digital, dan Teknologi Kecerdasan Buatan , Jurnal Responsive Teknik Informatika: Vol 8 No 02 (2024): JR : Jurnal Responsive Teknik Informatika
- Defnizal Defnizal, Atman Lucky Fernandes, Aprizal Y, David Saro, Ghea Paulina Suri, Nofri Yudi Arifin, Romiko Afriantoni, Willy Rizki Perdana, Api Response Time Prediction Using a Deep Learning Model on Web Application Load Testing Simulation Data , Jurnal Responsive Teknik Informatika: Vol 10 No 01 (2026): JR : Jurnal Responsive Teknik Informatika
- Meike Mandome, Dashboard Manajemen Donor Darah dengan Admin Panel dan Monitoring Stok Berbasis Web , Jurnal Responsive Teknik Informatika: Vol 10 No 01 (2026): JR : Jurnal Responsive Teknik Informatika
Anda juga bisa Mulai pencarian similarity tingkat lanjut untuk artikel ini.
Artikel paling banyak dibaca berdasarkan penulis yang sama
- Willy Rizki Perdana, Romiko Afriantoni, Sherly Agustini, David Saro, Aprizal Y, Prediksi Kelulusan Mahasiswa Menggunakan Algoritma Naive Bayes: Studi Kasus Universitas Ibnu Sina Batam , Jurnal Responsive Teknik Informatika: Vol 8 No 02 (2024): JR : Jurnal Responsive Teknik Informatika
- Ghea Paulina Suri, Atman Lucky Fernandes, Hidayatul Ikhsan, Putri Devina, Ledi Alde Nopa, Sherly Agustini, Peran IoT dalam Transformasi Jaringan Multimedia: Tinjauan Literatur Sistematis , Jurnal Responsive Teknik Informatika: Vol 8 No 02 (2024): JR : Jurnal Responsive Teknik Informatika
- Sabtu Sabtu, Atman Lucky Fernandes, Sherly Agustini, Didin Setyawan, Pengembangan Sistem E-Commerce Berbasis Web untuk Meningkatkan Efisiensi Pengelolaan Persediaan dan Transaksi Penjualan Toko Bangunan , Jurnal Responsive Teknik Informatika: Vol 10 No 01 (2026): JR : Jurnal Responsive Teknik Informatika
- Muhammad Aris Fadilla, Atman Lucky Fernandes, Sabtu Sabtu, David Saro, Okta Veza, Muhammad Ropianto, Pengelolaan Retur Penjualan melalui Sistem Informasi Berbasis Web dengan Metode SDLC (Studi Kasus: PT Informa Batam) , Jurnal Responsive Teknik Informatika: Vol 9 No 01 (2025): JR : Jurnal Responsive Teknik Informatika
- Muhamad Yari Hanzalah, Atman Lucky Fernandes, Sherly Agustini, Revi illya Badri, Okta Veza, Rancang Bangun Sistem Informasi Monitoring Aset di SMK 02 Ibnu Sina Batam dengan Metode Extreme Programming (XP) , Jurnal Responsive Teknik Informatika: Vol 9 No 01 (2025): JR : Jurnal Responsive Teknik Informatika
- David Saro, Larisang Larisang, Sherly Agustini, Pengaruh Aplikasi Inkubator Bisnis terhadap Keberlanjutan Usaha Rintisan: Kajian Literatur , Jurnal Responsive Teknik Informatika: Vol 8 No 01 (2024): JR : Jurnal Responsive Teknik Informatika
- Doni Syofiawan, Alex Sandri Sikumbang, Al Rusman, Nofri Yudi Arifin, Okta Veza, Analisis Kinerja Sistem Informasi Pengarsipan Dokumen Berbasis Web , Jurnal Responsive Teknik Informatika: Vol 8 No 01 (2024): JR : Jurnal Responsive Teknik Informatika
- Okta Veza, Nofri Yudi Arifin, Sherly Agustini, Albertus Laurensius Setyabudhi, Comparative Simulation of EfficientNetB0, ResNet50, and MobileNet for Cocoa Pod Disease Detection , Jurnal Responsive Teknik Informatika: Vol 9 No 01 (2025): JR : Jurnal Responsive Teknik Informatika