Perbandingan Algoritma Machine Learning Untuk Klasifikasi Situs Phishing Berbasis Fitur URL Dan Domain
DOI:
https://doi.org/10.67551/premier.V3I2.436Keywords:
phishing, machine learning, keamanan siber, klasifikasi, Random ForestAbstract
Phishing exploits identity impersonation to obtain sensitive information. This study compares Random Forest, Support Vector Machine (SVM), and Extreme Gradient Boosting (XGBoost) using 14 lexical URL and domain features from the PhiUSIIL dataset. After deduplication, 10,000 balanced samples were randomly selected and stratified into 80% training and 20% test sets. Hyperparameters were selected through five-fold cross-validated grid search on the training set. XGBoost achieved 99.55% accuracy and 99.55% F1-score, while Random Forest and SVM both achieved 99.40% accuracy. Random Forest yielded the highest ROC-AUC (0.99924), whereas SVM produced no false positives on the test set. Permutation importance highlighted HTTPS and lexical characteristics. All legitimate URLs in the sample used HTTPS, suggesting potential dataset-specific collection effects. Small performance differences and domain overlap limit generalization claims. The findings demonstrate classification performance on this benchmark rather than operational effectiveness on unseen websites. Additional analyses of stored predictions examine paired classification errors, HTTPS subgroups, and uncertainty in accuracy estimates. These analyses are exploratory and do not constitute independent external validation.
References
O. K. Sahingoz, E. Buber, O. Demir, and B. Diri, “Machine learning based phishing detection from URLs,” Expert Systems with Applications, vol. 117, pp. 345–357, 2019, doi: 10.1016/j.eswa.2018.09.029.
R. Verma and A. Das, “What’s in a URL: Fast feature extraction and malicious URL detection,” in Proc. ACM Workshop on Security and Privacy Analytics, 2017, pp. 55–63.
A. Prasad and S. Chandra, “PhiUSIIL: A diverse security profile empowered phishing URL detection framework based on similarity index and incremental learning,” Computers & Security, vol. 136, Art. no. 103545, 2024, doi: 10.1016/j.cose.2023.103545.
L. Tang and Q. H. Mahmoud, “A survey of machine learning-based solutions for phishing website detection,” Machine Learning and Knowledge Extraction, vol. 3, pp. 672–694, 2021, doi: 10.3390/make3030034.
M. Aljabri et al., “Detecting malicious URLs using machine learning techniques: Review and research directions,” IEEE Access, vol. 10, pp. 121395–121417, 2022, doi: 10.1109/ACCESS.2022.3222307.
A. Safi and S. Singh, “A systematic literature review on phishing website detection techniques,” Journal of King Saud University – Computer and Information Sciences, vol. 35, pp. 590–611, 2023, doi: 10.1016/j.jksuci.2023.01.004.
L. Breiman, “Random forests,” Machine Learning, vol. 45, pp. 5–32, 2001, doi: 10.1023/A:1010933404324.
C. Cortes and V. Vapnik, “Support-vector networks,” Machine Learning, vol. 20, pp. 273–297, 1995, doi: 10.1007/BF00994018.
T. Chen and C. Guestrin, “XGBoost: A scalable tree boosting system,” in Proc. ACM SIGKDD, 2016, pp. 785–794, doi: 10.1145/2939672.2939785.
S. K. H. Ahammad et al., “Phishing URL detection using machine learning methods,” Advances in Engineering Software, vol. 173, Art. no. 103288, 2022, doi: 10.1016/j.advengsoft.2022.103288.
N. Reyes-Dorta, P. Caballero-Gil, and C. Rosa-Remedios, “Detection of malicious URLs using machine learning,” Wireless Networks, vol. 30, pp. 7543–7560, 2024, doi: 10.1007/s11276-024-03700-w.
R. A. D. Talasari and E. A. Kusnanti, “Phishing URL detection using URL characteristics: A multi-algorithm machine learning and explainable AI (XAI) approach,” JESSI, 2026, doi: 10.59562/jessi.v7i2.12398.
G. C. Cawley and N. L. C. Talbot, “On over-fitting in model selection and subsequent selection bias in performance evaluation,” Journal of Machine Learning Research, vol. 11, pp. 2079–2107, 2010.
F. Pedregosa et al., “Scikit-learn: Machine learning in Python,” Journal of Machine Learning Research, vol. 12, pp. 2825–2830, 2011.
T. Fawcett, “An introduction to ROC analysis,” Pattern Recognition Letters, vol. 27, no. 8, pp. 861–874, 2006, doi: 10.1016/j.patrec.2005.10.010.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Genta Andika (Author)

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