The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |
First page preview

Combatting Phishing Attacks: Leveraging Machine Learning for Real-Time Detection in Penetration Testing

Author 1: Ashwag Alotaibi Author 2: Mounir Frikha
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 17, No. 6 · Published 2026

DOI: https://doi.org/10.14569/IJACSA.2026.01706101

Abstract

Phishing attacks continue to pose a significant threat to individuals and organizations, driven by the increasing sophistication of cybercriminal techniques and the rapid expansion of digital services. Traditional detection approaches, such as blacklist-based and rule-based systems, are often ineffective against newly generated or obfuscated phishing URLs. This study proposes a machine learning (ML)-based framework intended for integration within penetration testing environments. The approach leverages multiple supervised learning algorithms, including Random Forest (RF), Support Vector Machine (SVM), and XGBoost, trained and evaluated using the PhiUSIIL Phishing URL Dataset, a large-scale benchmark dataset containing phishing and legitimate URL samples. A comprehensive preprocessing pipeline and feature engineering strategy are employed to enhance model performance. Experimental results demonstrate exceptionally high detection accuracy, with RF and XGBoost achieving near-perfect classification performance across key evaluation metrics, including accuracy, precision, recall, F1-score, and ROC-AUC. The proposed system is further designed for real-time deployment, enabling integration into penetration testing workflows for proactive security assessment. Despite promising results, limitations related to dataset characteristics and real-world generalization are acknowledged. Overall, this research highlights the effectiveness and practical applicability of ML-based approaches in strengthening phishing detection and advancing modern cybersecurity defences.

Keywords

How to Cite this Article

Ashwag Alotaibi and Mounir Frikha. "Combatting Phishing Attacks: Leveraging Machine Learning for Real-Time Detection in Penetration Testing". International Journal of Advanced Computer Science and Applications (IJACSA), Vol. 17, No. 6, 2026. https://doi.org/10.14569/IJACSA.2026.01706101

BibTeX

@article{Alotaibi2026,
  title     = {Combatting Phishing Attacks: Leveraging Machine Learning for Real-Time Detection in Penetration Testing},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {17},
  number    = {6},
  year      = {2026},
  publisher = {The Science and Information Organization},
  author    = {Ashwag Alotaibi and Mounir Frikha},
  doi       = {10.14569/IJACSA.2026.01706101},
  url       = {https://doi.org/10.14569/IJACSA.2026.01706101}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.