Robust phishing URL detection using FastText embeddings and deep sequential models
Open Access
- 23 September 2026
- journal article
- Published by PeerJ in PeerJ Computer Science
- Vol. 12, e4074
Abstract
Phishing attacks are increasingly prevalent, leading to the loss of assets, financial information, personal data, and other sensitive information to malicious actors. Various detection methods have been developed to protect users from such attacks. Traditional phishing Uniform Resource Locator (URL) detection methods, such as blacklisting and heuristics, rely on maintaining lists of known phishing URLs. However, these techniques struggle to identify new unlisted URLs and are expensive to maintain. In recent years, there has been a shift toward deep learning techniques, which are particularly efficient for training large data systems and handling undefined features. This research aims to develop and compare seven deep-learning models to identify phishing URLs more accurately and efficiently. The proposed model utilizes FastText-based word embeddings to preprocess input URLs, generating a robust vector representation. This model is then applied to various deep learning-based classification models, including Convolutional Neural Network (CNN), Long Short-Term Memory (LSTM) network, Bidirectional LSTM (BiLSTM), CNN-LSTM hybrid model, CNN-BiLSTM hybrid model, Gated Recurrent Unit (GRU), and Bidirectional GRU (BiGRU). The experimental results demonstrate that the BiLSTM model with FastText embeddings outperforms alternative models, attaining an accuracy of 98.62%. The proposed technique was tested on benchmark data from an online repository and then validated on an independent external dataset to assess its resilience and generalization capabilities, yielding good phishing-detection performance across multiple data sources. Even though some earlier research has achieved an accuracy above 99%, many of these studies ignore token-level URL structures, avoid hybrid architectures, or depend on small or unbalanced datasets. To overcome these constraints, we combine FastText embeddings with BiLSTM networks to improve generalization and robustness, especially for identifying obfuscated and unique phishing URLs. This results in a more dependable and scalable detection system.Keywords
Funding Information
- Dakota State University, USA
This publication has 42 references indexed in Scilit:
- TransURL: Improving malicious URL detection with multi-layer Transformer encoding and multi-scale pyramid featuresComputer Networks, 2024
- An enhanced deep learning‐based phishing detection mechanism to effectively identify malicious URLs using variational autoencodersIET Information Security, 2023
- Phishing website detection: How effective are deep learning‐based models and hyperparameter optimization?Security and Privacy, 2022
- An effective detection approach for phishing websites using URL and HTML featuresScientific Reports, 2022
- Feature Extraction-Based Phishing URL Detection Using Machine Learning Techniques2022
- HDP-CNN: Highway deep pyramid convolution neural network combining word-level and character-level representations for phishing website detectionComputers & Security, 2022
- A novel approach for phishing URLs detection using lexical based machine learning in a real-time environmentComputer Communications, 2021
- Research on phishing webpage detection technology based on CNN-BiLSTM algorithmJournal of Physics: Conference Series, 2021
- A comprehensive survey of AI-enabled phishing attacks detection techniquesTelecommunication Systems, 2020
- An Enhanced Blacklist Method to Detect Phishing Websites2017