Klasifikasi URL Berbahaya Menggunakan Algoritma Random Forest Berbasis Fitur Struktural

Authors

  • I Gede Putra Wiratama Universitas Udayana Author
  • Anak Agung Istri Ngurah Eka Karyawati Universitas Udayana Author

DOI:

https://doi.org/10.24843/JNATIA.2025.v04.i01.p05

Keywords:

Phishing URL Detection, Random Forest, Information, Classification, URL-Based Feature Selection, Cybersecurity

Abstract

Phishing attacks remain a critical threat in the digital era, often exploiting deceptive URLs to trick users into divulging sensitive personal information. To address this issue, this study proposes a machine learning-based detection system using the Random Forest algorithm to identify phishing URLs based on structural features. The main objective of this research is to build an efficient and lightweight model that can detect phishing attempts in real-time without relying on third-party databases or content-based analysis. From the dataset used, 10 structural features were selected based on relevance and efficiency, such as the presence of IP addresses, use of HTTPS, domain age, and URL length. The model was trained and tested on a labeled dataset and evaluated using accuracy, confusion matrix, and classification report. The Random Forest model achieved a testing accuracy of 92.72%, with strong precision and recall values for both phishing and legitimate classes. The results indicate that the proposed approach is effective in distinguishing malicious URLs using only structural characteristics, making it a practical solution for enhancing cybersecurity at the URL level.

Downloads

Published

2025-11-01

How to Cite

[1]
I Gede Putra Wiratama and Anak Agung Istri Ngurah Eka Karyawati, “Klasifikasi URL Berbahaya Menggunakan Algoritma Random Forest Berbasis Fitur Struktural”, Jnatia, vol. 4, no. 1, pp. 39–46, Nov. 2025, doi: 10.24843/JNATIA.2025.v04.i01.p05.