A Hybrid Approach for Malicious URL Detection Using Ensemble Models and Adaptive Synthetic Sampling
Malicious URLs pose a significant cybersecurity threat, often leading to phishing attacks, malware infections, and data breaches. Early detection of these URLs is crucial for preventing security vulnerabilities and mitigating potential losses. In this paper, we propose a novel approach for malicious URL detection by combining ensemble learning methods with ADASYN-based oversampling to address the class imbalance typically found in malicious URL datasets. We evaluated three popular machine learning classifiers, including XGBoost, Random Forest, and Decision Tree, and incorporated ADASYN (Adaptive Synthetic Sampling) to handle the class-imbalanced nature of our selected dataset. Our detailed experiments demonstrate that the application of ADASYN can significantly increase the performance of the predictive model across all metrics. For instance, XGBoost saw a 2.2% improvement in accuracy, Random Forest achieved a 1.0% improvement in recall, and Decision Tree displayed a 3.0% improvement in F1-score. The Decision Tree model, in particular, showed the most substantial improvements, particularly in recall and F1-score, indicating better detection of malicious URLs. Finally, our findings in this research highlighted the potential of ensemble learning, enhanced by ADASYN, for improving malicious URL detection and demonstrated its applicability in real-world cybersecurity applications.
Authors
- Muhammad Edzuan Zainodin
- Mohamad Aizi Salamat
- Alde Alanda (ORCID: https://orcid.org/0000-0002-3927-1495)
- Shahreen Kasim (ORCID: https://orcid.org/0000-0002-4180-4377)
- rohayanti binti hassan (ORCID: https://orcid.org/0000-0003-1062-1719)
- Khaled Mahmud Sujon (ORCID: https://orcid.org/0009-0009-4065-9874)
Institutions
- State University of Padang (ID)
- University of Technology Malaysia (MY)
- Tun Hussein Onn University of Malaysia (MY)
Publication Details
- Journal
- JOIV International Journal on Informatics Visualization
- Published
- 2025-09-30
- DOI
- https://doi.org/10.62527/joiv.9.5.4627
- Primary Topic
- Spam and Phishing Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Universiti Tun Hussein Onn Malaysia
- Ministry of Higher Education, Malaysia