Skip to content
Open access

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

2026 · International Journal of Advanced Computer Science and Applications · Vol 17 · 0 citations · 20 references

TL;DR

This study proposes a machine learning (ML)-based framework intended for integration within penetration testing environments, designed for real-time deployment, enabling integration into penetration testing workflows for proactive security assessment.

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.

Read PDF

Similar papers

Open access Aug 2026

Real-Time Phishing URL Detection Using a Hybrid Stacking Ensemble: Gradio and Browser Extension Deployment

Phishing attacks remain a prevalent and rapidly evolving cybersecurity threat, leveraging deceptive Uniform Resource Locators (URLs) and fraudulent websites to steal sensitive user data, financial credentials, and personal information. Traditional detection mechanisms, such as blacklist-based and heuristic approaches, struggle to mitigate zero-day phishing threats due to their reliance on static, manually updated databases. While machine learning and ensemble techniques have enhanced detection accuracy, existing literature predominantly focuses on offline evaluations using static datasets, offering limited support for real-time deployment, adaptability to evolving attack patterns, and continuous monitoring. To bridge this gap, this paper introduces a hybrid machine learning framework for real-time phishing website detection. The proposed architecture integrates an Artificial Neural Network (ANN) and a Bagging K-Nearest Neighbors (Bagging-KNN) classifier through a Logistic Regression-based stacking ensemble, combining their complementary learning capabilities to maximize classification performance while minimizing prediction error. Developed using the PhiUSIIL Phishing URL Dataset, the framework implements a leakage-free machine learning pipeline encompassing automated data cleaning, a train/test split performed prior to any preprocessing, feature engineering, StandardScaler-based normalization, SMOTE-based class balancing, and SelectKBest feature selection, all splitting-dependent steps fitted exclusively on the training partition. The framework’s efficacy is validated using Accuracy, Precision, Recall, F1-score, ROC-AUC, and Confusion Matrix analysis. Beyond offline validation, the model is operationalized through two real-time deployment channels: a Gradio-based web interface for on-demand URL analysis, and a Chrome browser extension that automatically screens the active browser tab using a combination of rule-based checks, live queries to the deployed model, and a local heuristic fallback. By unifying ensemble learning, a leakage-conscious preprocessing pipeline, and dual real-time deployment tools, the proposed framework provides an effective, transparently evaluated solution for real-world phishing detection, while explicitly discussing the boundaries within which its strongest offline results should be interpreted.

E. Kavya, A. S. Chakravarthy · 0 citations
Conference Jul 2026

Multi Model Approach for Phishing Website Detection using ML and DL Techniques

In the technology era, Phishing has continued to be a great challenge within the cybersecurity and web security landscape. This involves exploiting human trust on any online services and subtle technical flaws. This is to gather credentials, financial data, and sensitive information across diverse online platforms and various users. Traditional defenses like static blacklists, signature-based filters and simple detection rules are limited by slow update cycles and an inability to capture subtle syntactic and behavioral cues. To address these shortcomings, we propose a hybrid detection framework that fuses classical supervised machine-learning classifiers (e.g., Logistic Regression, SVM, Random Forest, XGBoost) with sequence-aware deep learning (LSTM) to jointly model lexical, structural, syntactic, and behavioral features extracted from URLs and webpage metadata. This combined approach leverages the interpretability and stability of ML models alongside the pattern-learning strength of LSTMs to detect both known and zero-day phishing attempts, produce calibrated confidence scores and deliver comprehensive reports via a real-time web interface resulting in a robust, transparent, and operationally useful solution for strengthening web security.

M. Yaswanth, Pathan Basheer Khan, Dhulipalla Naga Harish et al. · 0 citations
Jul 2026

Improved Phishing Email Detection through Hybrid Machine Learning and AI-Based Data Augmentation

Phishing attacks continue to evolve in sophistication, making them one of the most significant cybersecurity threats affecting individuals and organizations. Traditional phishing detection techniques based on rule-based systems and standalone machine learning algorithms often struggle to identify modern phishing emails generated using artificial intelligence and advanced social engineering techniques. This study proposes an AI-driven hybrid ensemble model that integrates Support Vector Machine (SVM), Random Forest (RF), and Bidirectional Long Short-Term Memory (Bi-LSTM) to improve phishing email detection accuracy and robustness. To address dataset imbalance and the limited availability of AI-generated phishing emails, an AI-based data augmentation module was incorporated to generate realistic synthetic phishing samples during model training. The proposed methodology consists of data collection, preprocessing, feature engineering, synthetic data generation, individual model training, and ensemble classification using a soft voting mechanism. Experimental evaluation was performed using benchmark phishing email datasets and standard performance metrics, including accuracy, precision, recall, F1-score, confusion matrix, and inference latency. Results indicate that the proposed hybrid model achieved an overall detection accuracy of 98.9%, outperforming a comparable existing model, which achieved 95.2% accuracy. Furthermore, the hybrid approach demonstrated improved generalization, reduced false classifications, and faster detection latency. The findings suggest that combining classical machine learning, deep learning, and AI-driven data augmentation provides an effective framework for protecting modern email systems against both conventional and AI-generated phishing attacks.

Chikeru Ihunwo, V. Emmah, N. Nwiabu · 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.