ANALISIS PERBANDINGAN ALGORITMA RANDOM FOREST DAN ISOLATION FOREST DALAM DETEKSI ANCAMAN KEAMANAN SIBER

Authors

  • Muhamad Farhan Qolbi Universitas Faletehan
  • Dede Brahma Arianto Universitas Faletehan

DOI:

https://doi.org/10.61722/jssr.v4i4.11545

Keywords:

Cybersecurity, Threat Detection, Random Forest, Isolation Forest, Machine

Abstract

Cybersecurity threats continue to increase in both number and complexity, necessitating a detection system capable of accurately and efficiently identifying malicious activity. This study aims to evaluate the performance of the Random Forest algorithm compared to the Isolation Forest in detecting cybersecurity threats by utilizing the Cybersecurity Threat Detection Logs Dataset. Experiments were conducted with three variations of data size: 100,000, 200,000, and 500,000 to assess the impact of data scale on model performance. The preprocessing process included feature selection, categorical data encoding, and the division of training and testing data using a stratified sampling technique. Model evaluation was performed using precision, recall, F1-score, and accuracy metrics based on a weighted average due to class imbalance in the dataset. The study findings revealed that Random Forest provided more stable and superior performance with precision, recall, F1-score, and accuracy values reaching 0.85 in all test scenarios. On the other hand, Isolation Forest showed good effectiveness in detecting anomalies, but also produced a higher false positive rate. Therefore, Random Forest is more suitable to be used as the main model for labeled cyber threat detection, while Isolation Forest can serve as a supporting system for anomaly detection.

References

Al-Akbar, M. ’Azam, Pratama, A., & Gurning, A. N. A. H. (2025). Deteksi Trafik Anomali Berdasarkan Pola Trafik Menggunakan Isolation Forest. https://journal.aira.or.id/index.php/cosmic/article/view/1188

Ariputro, Y. H. D. (2022). MENDETEKSI ANOMALI PADA DATA TRANSAKSI JUAL BELI AKTA TANAH DENGAN MENGGUNAKAN ALGORITMA DECISION TREE, ISOLATION FOREST, DAN RANDOM FOREST. https://lib.mercubuana.ac.id/

Devella, S., Yohannes, & Rahmawati, F. N. (2020). Implementasi Random Forest Untuk Klasifikasi Motif Songket Palembang Berdasarkan SIFT. Jurnal Teknik Informatika dan Sistem Informasi, 7(2). http://jurnal.mdp.ac.id

Fahri, M. (2025). Penerapan Algoritma Random Forest untuk Deteksi Phishing pada Website. JITSI : Jurnal Ilmiah Teknologi Sistem Informasi, 6(2), 186–194. https://doi.org/10.62527/jitsi.6.2.472

Pramudita, R. Y., Setiawan, B. D., & Data, M. (2025). Kinerja Deteksi Tautan Website Phishing Menggunakan Isolation Forest (Vol. 9, Nomor 10). http://j-ptiik.ub.ac.id

Saputra, L. A., Akbar, F. M., Cahyaningtias, F., Ningrum, M. P., & Fauzi, A. (2023). Ancaman Keamanan Pada Sistem Informasi Manajemen Perusahaan. https://doi.org/10.38035/jpsn.v1i12

Supriyadi, R., Gata, W., Maulidah, N., & Fauzi, A. (2020). Penerapan Algoritma Random Forest Untuk Menentukan Kualitas Anggur Merah. 13(2), 67–75. http://journal.stekom.ac.id/index.php/E-Bisnis■page67

Tony Liu, F., Ming Ting, K., & Zhou, Z.-H. (2008). Isolation Forest. https://www.researchgate.net/publication/224384174_Isolation_Forest

Yuliana, Y., Mooduto, H. A., & Hadi, R. (2022). Deteksi Ancaman Keamanan Pada Server dan Jaringan Menggunakan OSSEC. Dalam Jurnal Ilmiah Teknologi Sistem Informasi (Vol. 3, Nomor 1). http://jurnal-itsi.org

Downloads

Published

2026-06-30