Skip to content
Open access

Phishing URL Detection Using TF-IDF Character N-Gram and Complement Naive Bayes

Aug 2026 · bit-Tech · 0 citations

TL;DR

Efficiency makes the proposed approach exceptionally suitable for real-time detection in resource-constrained environments, such as mobile applications or browser extensions, providing an accessible and proactive layer of defense for end-users.

Abstract

Phishing attacks represent a continuously growing cyber threat that exploits social engineering to deceive users, causing significant financial and informational harm worldwide. As phishing URLs are carefully crafted to mimic legitimate websites, they often bypass traditional rule-based or blacklist methods, which can only detect a small fraction of new threats. This study aims to develop an efficient and accurate phishing URL detection system using purely lexical analysis. The methodology employs a dataset of URLs from Kaggle and GitHub, which undergoes validation, normalization, and deduplication. Character-level TF-IDF with an n-gram range of (3,6) was specifically chosen for its superior ability to capture structural anomalies and obfuscation patterns without requiring semantic understanding or access to web page content. Furthermore, Complement Naive Bayes (CNB) was selected for its robust performance on imbalanced datasets, effectively addressing the skewed class distributions typical of web security data. To ensure reliable risk assessment, the model was calibrated using isotonic regression and evaluated through 5-fold stratified cross-validation. The results demonstrate an accuracy of 94.25%, an F1-Score of 0.9263, and an ROC-AUC of 0.9862. These findings are significant as they outperform heavier deep learning architectures while maintaining a much lower computational footprint. This efficiency makes the proposed approach exceptionally suitable for real-time detection in resource-constrained environments, such as mobile applications or browser extensions, providing an accessible and proactive layer of defense for end-users.

Read PDF

Similar papers

Conference Aug 2026

Phishguard AI: Real-Time Phishing URL Detection using Explainable AI and Community Threat Intelligence

The rapid growth of digital services in banking, e-commerce, education, and government sectors has significantly increased phishing attacks. Traditional blacklist-based detection systems are ineffective against zero-day phishing domains that imitate legitimate websites. To address this challenge, this paper proposes PH...

B. Shrinivas, S. Rajalingam, K. N. M. Muthukaruppan et al. · 0 citations

Explainable Phishing Website Detection Using Comparative Machine Learning and SHAP

An integrated comparative evaluation that combines six-algorithm benchmarking, leakage-free hyperparameter optimization, and SHAP-based interpretation on a public phishing dataset, offering practical guidance for security analysts is offered.

Juni Ismail, Raja Anan Nasution, Muhammad Nasri Gea · 0 citations
Open access Aug 2026

Machine Learning-Based Phishing URL Detection System Using Random Forest Algorithm Integrated with a WhatsApp Bot

A machine learning-based phishing URL detection system using the Random Forest algorithm integrated with the WhatsApp Bot messaging application is designed and built to provide a practical, responsive, and precise early detection solution for BMKG employees.

Iqbal Fariansyah Ridwan, E. Trihadi, Andri Setiyaji · 0 citations
Open access Aug 2026

Development of an Email Phishing Detection System Using TF–IDF Feature Extraction and Machine Learning Algorithms

- The rapid expansion of digital communication has established email as a primary medium for information exchange among individuals, businesses, and organisations. This widespread reliance has contributed to a marked increase in phishing attacks, in which cybercriminals impersonate legitimate entities to obtain sensiti...

Etus C., Ewunonu T. C., Chuks-Ugochukwu C. M. et al. · 0 citations
Open access Aug 2026

Browser-based phishing detection system using modern web technologies

A hybrid browser-resident phishing detection framework that combines three complementary detection mechanisms: a locally executed Random Forest model using URL lexical features, lightweight real-time DOM structure analysis, and VirusTotal’s multi-engine reputation service is proposed.

Muhammad Arshad, Beena Sherin Kuriakose, C. W. Onn et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.