A Hybrid Deep Learning Architecture for Phishing URL Detection: Integrating LSTM and CNN for Enhanced Cybersecurity
Abstract
This manuscript presents a character-level deep learning model that integrates a Convolutional Neural Network (CNN) layer with a Bidirectional Long Short-Term Memory (BiLSTM) layer to detect phishing URLs. The model is trained and evaluated using the PhiUSIIL Phishing URL Dataset, a publicly available benchmark recently released through the UCI Machine Learning Repository. The dataset comprises 235,795 URLs, including 134,850 legitimate URLs and 100,945 phishing URLs. URLs are tokenized at the character level and padded to a fixed length of 200 characters before being mapped to a 128-dimensional embedding space. The resulting representations are then passed through a one-dimensional convolutional (Conv1D) layer to extract local patterns, followed by max pooling and a Bidirectional LSTM layer to capture long-range sequential dependencies. Finally, a dense layer with a sigmoid activation function performs binary classification. On a held-out test set, the model achieves an accuracy of 97.8%, precision of 97.2%, recall of 98.1%, an F1-score of 97.6%, and a receiver operating characteristic area under the curve (ROC-AUC) of 0.987. Its performance is also compared with that of recent state-of-the-art phishing detection models reported in the literature from 2023 to 2026. Overall, this study contributes to the development of reliable and intelligent URL-based threat detection systems, helping to promote safer and more secure digital interactions.
Keywords
[1] K. Barik, S. Misra, and R. Mohan, “Web-based phishing URL detection model using deep learning optimization techniques,” International Journal of Data Science and Analytics, vol. 20, no. 5, pp. 4449–4471, 2025, doi: 10.1007/s41060-025-00728-9.
[2] Y. Huang, Y. J. Li, and Z. Cai, “Security and Privacy in Metaverse: A Comprehensive Survey,” Big Data Mining and Analytics, vol. 6, no. 2, pp. 234–247, 2023, doi: 10.26599/BDMA.2022.9020047.
[3] S. M. Alasmari, H. Sakly, N. Kraiem, and A. Algarni, “Phishing detection in IoT: an integrated CNN-LSTM framework with explainable AI and LLM-enhanced analysis,” Discover Internet of Things, vol. 5, no. 1, p. 102, 2025, doi: 10.1007/s43926-025-00202-9.
[4] P. Sinha, D. Sahu, S. Prakash, T. Yang, R. S. Rathore, and V. K. Pandey, “A high performance hybrid LSTM CNN secure architecture for IoT environments using deep learning,” Scientific Reports, vol. 15, no. 1, Art. no. 9684, 2025, doi: 10.1038/s41598-025-94500-5.
[5] N. Altwaijry, I. Al-Turaiki, R. Alotaibi, and F. Alakeel, “Advancing Phishing Email Detection: A Comparative Study of Deep Learning Models,” Sensors, vol. 24, no. 7, Art. no. 2077, 2024, doi: 10.3390/s24072077.
[6] Z. Alshingiti, R. Alaqel, J. Al-Muhtadi, Q. E. U. Haq, K. Saleem, and M. H. Faheem, “A Deep Learning-Based Phishing Detection System Using CNN, LSTM, and LSTM-CNN,” Electronics, vol. 12, no. 1, p. 232, 2023, doi: 10.3390/electronics12010232.
[7] R. Achary, S. N. Bugath, G. Chakrapani, and M. Venkatesh, “Enhanced phishing detection using LSTM, CNN, and SVM techniques,” in International Conference on Information and Communication Technology for Competitive Strategies, vol. 1320, ISBN: 978-981-96-4148-2, Singapore: Springer, 2025, pp. 185–204, doi: 10.1007/978-981-96-4148-2_16.
[8] A. Aldhaheri, F. Alwahedi, M. A. Ferrag, and A. A. Battah, “Deep learning for cyber threat detection in IoT networks: A review,” Internet of Things and Cyber-Physical Systems, vol. 4, pp. 110-128, 2024, doi: 10.1016/j.iotcps.2023.09.003.
[9] M. A. Ferrag, L. Maglaras, S. Moschoyiannis, and H. Janicke, “Deep learning for cyber security intrusion detection: Approaches, datasets, and comparative study,” Journal of Information Security and Applications, vol. 50, Art. no. 102419, 2020, doi: 10.1016/j.jisa.2019.102419.
[10] A. K. Jain and B. B. Gupta, “A survey of phishing attack techniques, defence mechanisms and open research challenges,” Enterprise Information Systems, vol. 16, no. 4, pp. 527–565, doi: 10.1080/17517575.2021.1896786.
[11] S. Kavya and D. Sumathi, “Staying ahead of phishers: a review of recent advances and emerging methodologies in phishing detection,” Artificial Intelligence Review, vol. 58, Art. no. 50, 2025, doi: 10.1007/s10462-024-11055-z.
[12] V. Ravula and M. Ramaiah, “Enhancing phishing detection with dynamic optimization and character-level deep learning in cloud environments,” PeerJ Computer Science, vol. 11, 2025, doi: 10.7717/peerj-cs.2640.
[13] R. S. Rao, C. Kondaiah, A. R. Pais, and B. Lee, “A hybrid super learner ensemble for phishing detection on mobile devices,” Scientific Reports, vol. 15, Art. no. 16839, 2025, doi: 10.1038/s41598-025-02009-8.
[14] S. Baskota, “Phishing URL Detection using Bi-LSTM,” arXivLabs, 2025, arXiv:2504.21049, doi: 10.48550/arXiv.2504.21049.
[15] Q. E. ul Haq, M. H. Faheem, and I. Ahmad, “Detecting phishing URLs based on a deep learning approach to prevent cyber-attacks,” Applied Sciences, vol. 14, no. 22, Art. no. 10086, 2024, doi: 10.3390/app142210086
[16] S. Atawneh and H. Aljehani, “Phishing email detection model using deep learning,” Electronics, vol. 12, no. 20, Art. no. 4261, 2023, doi: 10.3390/electronics12204261.
[17] H. M. Butt, H. Haider, M. Mehmood, and M. A. Nadeem, “Detecting phishing URLs using LSTM-CNN hybrid deep learning model,” International Journal for Electronic Crime Investigation, vol. 9, no. 1, 2025, doi: 10.54692/ijeci.2025.0901/249.
[18] H. Ouazza, F. Khennou, and A. Abdellaoui, “Adversarial machine learning for secure and explainable AI systems: A comprehensive review”, Journal of Cybersecurity and Privacy, vol. 6, no. 4, Art. no. 132, 2026, doi: https://doi.org/10.3390/jcp6040132.
[19] T. Choudhary, S. Mhapankar, R. Bhddha, A. Kharuk, and R. Patil, “A machine learning approach for phishing attack detection,” Journal of Artificial Intelligence and Technology, vol. 3, no. 3, 2023, doi: 10.37965/jait.2023.0197.
[20] A. Rawla, S. Singh, Md. Daniyal, and P. Dubey, “Detection of phishing attacks in PhiUSIIL dataset using deep learning”, Procedia Computer Science, vol. 259, pp. 543-552, 2025, doi: 10.1016/j.procs.2025.04.003.
[21] J. L. López Delgado and J. A. López Ramos, “A comprehensive survey on generative AI solutions in IoT security,” Electronics, vol. 13, no. 24, Art. no. 4965, 2024, doi: 10.3390/electronics13244965.
[22] P. V. Astillo, D. G. Duguma, H. Park, J. Kim, B. Kim, and I. You, “Federated intelligence of anomaly detection agent in IoTMD-enabled diabetes management control system”, Future Generation Computer Systems, vol. 128, pp. 395–405, 2022, doi: 10.1016/j.future.2021.10.023.
[23] A. Ozcan, C. Catal, E. Donmez, and B. Senturk, “A hybrid DNN–LSTM model for detecting phishing URLs,” Neural Computing and Applications, vol. 35, pp. 4957–4973, 2023, doi: 10.1007/s00521-021-06401-z.
[24] M. H. Alkawaz, S. J. Steven, A. I. Hajamydeen and R. Ramli, “A comprehensive survey on identification and analysis of phishing website based on machine learning methods,” in 2021 IEEE 11th IEEE Symposium on Computer Applications & Industrial Electronics, Penang, Malaysia, 2021, pp. 82–87, doi: 10.1109/ISCAIE51753.2021.9431794.
[25] D. Minh Linh, H. D. Hung, H. Minh Chau, Q. Sy Vu, and T.-N. Tran, “Real-time phishing detection using deep learning methods by extensions,” International Journal of Electrical and Computer Engineering, vol. 14, no. 3, pp. 3021–3035, 2024, doi: 10.11591/ijece.v14i3.pp3021-3035.
[26] 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.
[27] O. K. Şahingöz, E. Buber, and E. Kugu, “DEPHIDES: Deep learning based phishing detection system,” IEEE Access, vol. 12, pp. 8052–8070, 2024, doi: 10.1109/ACCESS.2024.3352629.
[28] J. L. Wilk-Jakubowski, L. Pawlik, G. Wilk-Jakubowski, and A. Sikora, “Machine learning and neural networks for phishing detection: A systematic review (2017–2024),” Electronics, vol. 14, no. 18, Art. no. 3744, 2025, doi: 10.3390/electronics14183744.
[29] J. Zhou, K. Zhang, A. Bilal, Y. Zhou, Y. Fan, W. Pan, X. Xie, and Q. Peng, “An integrated CSPPC and BiLSTM framework for malicious URL detection,” Scientific Reports, vol. 15, Art. no. 6659, 2025, doi: 10.1038/s41598-025-91148-z.
[30] N. Q. Do, A. Selamat, H. Fujita, and O Krejcar, “An integrated model based on deep learning classifiers and pre-trained transformer for phishing URL detection,” Future Generation Computer Systems, vol. 161, pp. 269–285, 2024, doi: 10.1016/j.future.2024.06.031.
DOI: 10.14416/j.asep.2026.11.008
Refbacks
- There are currently no refbacks.
Applied Science and Engineering Progress






