XPhish: An Interpretable Machine and Deep Learning Framework for Phishing URL Detection
Abstract
Phishing remains a critical cybersecurity threat, requiring detection frameworks that combine accuracy and interpretability. This study presents a complete machine learning and deep learning framework for phishing URL detection, developed using a newly created dataset of 50,406 labeled instances. The dataset incorporates 30 lexical and network infrastructure features. Multiple models, including Random Forest (RF), XGBoost, and a 1D Convolutional Neural Network (CNN), were evaluated. Random Forest achieved the highest accuracy of 95.76%, followed by CNN 1D (95.17%) and XGBoost (94.48%), both of which delivered competitive performance. To address model transparency, SHAP and LIME were applied, providing feature-level explanations of predictions. The proposed framework integrates dataset contribution, predictive performance, and explainable AI, offering a practical foundation for real-world phishing defense.
Keywords
Ethical Statement
References
- Anti-Phishing Working Group (APWG), “Phishing activity trends report, 4th quarter 2024,” [Online]. Available: https://docs.apwg.org/reports/apwg trends report q4 2024.pdf, 2025, accessed: Apr. 4, 2026.
- K. Kaur and A. K. Jain, “A survey on phishing attack taxonomy, detection techniques, datasets, and security measures,” J. Appl. Security Res., vol. 20, no. 4, pp. 506–557, 2025, doi: 10.1080/19361610.2025.2508726.
- J.-H. Yoon, S.-J. Buu, and H.-J. Kim, “Phishing webpage detection via multi-modal integration of HTML DOM graphs and URL features based on graph convolutional and transformer networks,” Electronics, vol. 13, no. 16, p. 3344, 2024, doi: 10.3390/electronics13163344.
- M. A. Tamal, M. K. Islam, T. Bhuiyan, A. Sattar, and N. U. Prince, “Unveiling suspicious phishing attacks: enhancing detection with an optimal feature vectorization algorithm and supervised machine learning,” Front. Comput. Sci., vol. 6, p. 1428013, 2024, doi: 10.3389/fcomp.2024.1428013.
- N. Nagy et al., “Phishing URLs detection using sequential and parallel ML techniques: Comparative analysis,” Sensors, vol. 23, no. 7, p. 3467, 2023, doi: 10.3390/s23073467.
- A. Hannousse and S. Yahiouche, “Towards benchmark datasets for machine learning based website phishing detection: An experimental study,” Eng. Appl. Artif. Intell., vol. 104, p. 104347, 2021, doi: 10.1016/j.engappai.2021.104347.
- R. Alam, A. Khune, T. V. Kalal, and A. Nautiyal, “E2Phish: Explainable ensemble machine learning model for enhanced phishing URL detection,” in 2024 IEEE 8th International Conference on Information and Communication Technology (CICT), 2024, pp. 1–6, doi: 10.1109/CICT64037.2024.10899721.
- P. L. Indrasiri, M. N. Halgamuge, and A. Mohammad, “Robust ensemble machine learning model for filtering phishing URLs: Expandable random gradient stacked voting classifier (ERG-SVC),” IEEE Access, vol. 9, pp. 150 142–150 161, 2021, doi: 10.1109/ACCESS.2021.3124628.
Details
Primary Language
English
Subjects
Cybersecurity and Privacy (Other)
Journal Section
Research Article
Authors
Early Pub Date
October 27, 2026
Publication Date
October 30, 2026
Submission Date
October 7, 2025
Acceptance Date
July 7, 2026
Published in Issue
Year 2026 Volume: 9 Number: 5