A Hybrid Approach for Phishing URL Detection Using Random Forest and DistilBERT — ICACNC 2026 | TechShield Publications
ICACNC 2026 · Conference Article

A Hybrid Approach for Phishing URL Detection Using Random Forest and DistilBERT

Authors: Muhammad Hassan Javed, Muhammad Saad Ali, Aoun Muhammad, Sana Tariq

Abstract

Phishing attacks remain a significant threat to online security, as cyber criminals regularly create new malicious URLs to trick or deceive users. Traditional detection methods such as blacklist-based detection, rule based detection, and signature-based detection are not useful for real time detection. All of these methods are slow and do not give high accuracy. So, this research paper proposes a hybrid method to obtain high accuracy and real time detection. Here we use Random Forest and DistilBERT together for better performance. In the first step, we used Random Forest to perform fast filtering using URL features. If the URL is suspicious, then it goes to the second stage, where we use DistilBERT to check for additional contextual and semantic patterns. This hybrid model performs better than individual models in terms of accuracy, precision, recall, F1 score, and also in real time phishing detection. It achieves 96.60 percent accuracy.

Phishing Detection Real-Time Detection Random Forest DistilBERT Deep Learning NLP

Cite This Paper

M. H. Javed, M. S. Ali, A. Muhammad, and S. Tariq, “A Hybrid Approach for Phishing URL Detection Using Random Forest and DistilBERT,” Proc. Int. Conf. on AI, Cybersecurity, and Next-Gen Computing (ICACNC 2026), The Government Sadiq College Women University Bahawalpur, Jul. 2026, doi: 10.67535/tsp.000003.017.