Skip to main navigation Skip to search Skip to main content

Phishing URL Detection and Interpretability With Machine Learning: A Cross‐Dataset Approach

  • Liyan Yi
  • , Adebayo Omotosho*
  • , Hamed Balogun
  • *Corresponding author for this work
  • University of Warwick
  • University of Gloucestershire

Research output: Contribution to journal › Article (journal) › peer-review

536 Downloads (Pure)

Abstract

Phishing attacks pose a significant security threat, particularly through deceptive emails designed to trick users into clicking on malicious links, with phishing URLs often serving as the primary indicator of such attacks. This paper presents a machine learning approach for detecting phishing email attacks by analyzing the URLs embedded within these emails, using Random Forest, eXtreme Gradient Boosting, and Light Gradient Boosting Machine models. Secondary datasets are used to evaluate model behavior and examine the applicability of model features across different samples. The models are assessed using metrics such as accuracy, precision, and recall to demonstrate their effectiveness in distinguishing between benign and malicious email URLs. The SHapley Additive exPlanations (SHAP) framework is employed to interpret the models' decision‐making processes and reinforce the relevance and reliability of key features. Our results show that across four test sets, the three models achieve an average classification error ≈ $$ \approx $$ 4.03% and an average accuracy > $$ > $$ 94%, indicating strong generalization capability across diverse datasets using the same set of features.
Original languageEnglish
Pages (from-to)1-19
Number of pages19
JournalSecurity and Privacy
Volume9
Issue number1
Early online date29 Dec 2025
DOIs
Publication statusPublished - 1 Jan 2026

Keywords

  • machine learning
  • security
  • URL phishing
  • datasets
  • explainable AI

Fingerprint

Dive into the research topics of 'Phishing URL Detection and Interpretability With Machine Learning: A Cross‐Dataset Approach'. Together they form a unique fingerprint.

Cite this