A Framework for Real-Time Phishing Resource Locator Detection Using Structural and Lexical Feature Analysis Based on Machine Learning
DOI:
https://doi.org/10.63671/ijsesr.v2i4.171Keywords:
Phishing detection, malicious URL classification, random forest classifier, lexical feature extraction, SMOTE oversampling, real-time cybersecurity, Flask APIAbstract
Phishing attacks remains a leading, rapidly evolving threat in cybersecurity domain, where cyber-criminals deploy fraudulent websites that are deceptive in nature acts exactly same as legitimate platforms to transfer sensitive user credentials, financial data and corporate data to an external location. Traditional counter measures including blacklist-based systems and rule-based filters demonstrates limited efficiency against newly created malicious URLs and real-time generated phishing URLs. This paper presents PhishGuard+, a random forest-based phishing detection framework that performs real-time suspicious URL classification through complete structural and lexical feature analysis of the URL. The proposed system utilizes a dataset of 10,000 labeled URLs, from which 48 distinct features are extracted that includes URL patterns, domain characteristics, and heuristic indicators. A Random Forest classifier is trained on preprocessed data comprises min-max normalization and the Synthetic Minority Oversampling Technique (SMOTE) to address skewed data distribution. The trained model is deployed with a Flask-based RESTful API, that real-time inference through an interactive web interface. Experimental evaluation demonstrates an overall classification accuracy of 98.4%, with precision and recall exceeding 98% across both phishing and legitimate URL categories. The proposed framework offers a computationally efficient, low latency lightweight detection solution deployable in browser extensions, email security gateways, and corporate cybersecurity infrastructures, providing robust early-warning capabilities without requiring full webpage content analysis.
References
M. Abu-Nimeh, D. Nappa, X. Wang, and S. Nair, "A comparison of machine learning techniques for phishing detection," in Proc. Anti-Phishing Working Groups 2nd Annual eCrime Researchers Summit, Pittsburgh, USA, 2007.
S. Marchal, J. François, R. State, and T. Engel, "PhishStorm: Detecting phishing with streaming analytics," IEEE Trans. Network and Service Management, vol. 11, no. 4, pp. 458–471, 2014.
O. K. Sahingoz, B. Buber, O. Demir, and B. Diri, "Machine learning based phishing detection from URLs," Expert Systems with Applications, vol. 117, pp. 345–357, 2019.
A. Aljofey, Q. Jiang, Q. Qu, M. Huang, and J. P. Niyato, "An effective phishing detection model based on character-level convolutional neural network," Electronics, vol. 9, no. 9, pp. 1514, 2020.
R. S. Rao and A. R. Pais, "Detection of phishing websites using an efficient feature-based machine learning framework," Neural Computing and Applications, vol. 31, pp. 3851–3873, 2019.
Scikit-learn Developers, "Scikit-learn: Machine learning in Python," [Online]. Available: https://scikit-learn.org
Python Software Foundation, "Python language reference, version 3.10," [Online]. Available: https://www.python.org
Flask Development Team, "Flask web framework documentation," [Online]. Available: https://flask.palletsprojects.com
WHOIS Domain Lookup, "WHOIS domain information service," [Online]. Available: https://www.whois.com
N. V. Chawla, K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer, "SMOTE: Synthetic minority over-sampling technique," Journal of Artificial Intelligence Research, vol. 16, pp. 321–357, 2002.
L. Breiman, "Random forests," Machine Learning, vol. 45, no. 1, pp. 5–32, 2001.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 International Journal of Science and Engineering Science Research

This work is licensed under a Creative Commons Attribution 4.0 International License.
How to Cite
Similar Articles
- Ekundime Fergus Ekundime, Manga Constance Ngute, Procurement Delays and Project Outcomes in Cameroon's Airport Sector , International Journal of Science and Engineering Science Research: Vol. 2 No. 3: July-September 2026
- Er. Prakash Baral, Exploration of Rural Road Safety on Basis of Average Accident and Road Geometry: A Case study of Rural Road Kaski, Nepal , International Journal of Science and Engineering Science Research: Vol. 2 No. 3: July-September 2026
- Prabal Pratap Singh, Graphene-Integrated One-Dimensional Photonic Crystal for Enhanced Optical Biosensing: A Transfer-Matrix Study , International Journal of Science and Engineering Science Research: Vol. 2 No. 4: October-December 2026
You may also start an advanced similarity search for this article.
