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
- Kumpatla Chinna, Bolla Siva Naga kumar, Somisetti Satya, Polisetti S.S.C. Mahesh, Bokka Satish, Alapati Ramakrishna, Advanced Deep Fake Detection System , International Journal of Science and Engineering Science Research: Vol. 2 No. 1: January-March 2026
- Narsing Rao Dyavani, Venkat Garikipati, Charles Ubagaram, Bhagath Singh Jayaprakasam, Rohith Reddy Mandala, Cyberattack Prevention in Cloud-Based Systems Using Butterfly Optimization Algorithm BOA Based CNN for Intrusion Detection , International Journal of Science and Engineering Science Research: Vol. 1 No. 2: April-June 2025
- R. D. V. Ram Prasad, Grandhi Sri Kavya Sudha, Hema Nagalla, B. D. S. N. Ayyappa, Sadhanala Likhith Varma, B. Narasimha Rao, An AI-Driven Advanced Decision Support System for Coconut Yield Prediction and Disease Detection , International Journal of Science and Engineering Science Research: Vol. 2 No. 1: January-March 2026
- Abdullah Mazharuddin Khaja, Hira Rafi, Michidmaa Arikhad, Neuro-AI Synergy in Visual and Motor Healthcare: Redefining Diagnosis Through Brain, Eye, and Motion Data , International Journal of Science and Engineering Science Research: Vol. 1 No. 2: April-June 2025
- Kanu Priya Mittal, Dr. Naveen Chandra, Security and Resilience in Decentralized P2P Communication , International Journal of Science and Engineering Science Research: Vol. 2 No. 2: April-June 2026
- B. D. Achole, Interaction Study of Molecular Behavior of Mixture of Polar liquids at Microwave Frequency , International Journal of Science and Engineering Science Research: Vol. 2 No. 2: April-June 2026
- Tripti Dixit, Long Run Availability of a Two Unit Cold Standby Repairable System Subject to Two Types of Critical Errors , International Journal of Science and Engineering Science Research: Vol. 2 No. 1: January-March 2026
- Chandra Kant Trivedi, Dileep kumar, Mathematical Modeling of Self-Healing Materials for Next-Generation Structural Components , International Journal of Science and Engineering Science Research: Vol. 1 No. 1: January-March 2025
- Shailandra Vikram Singh , Abhay Kumar Bhardwaj, Effect of pusa hydrogel and plant growth regulators on vegetative growth of strawberry (fragaria x ananassa dutch.) Cv. Chandler , International Journal of Science and Engineering Science Research: Vol. 1 No. 2: April-June 2025
- Ekundime Fergus Ekundime, Achere Susanah Besong, Employee Incentives and Employee Performance in the Port Sector of Cameroon: An Empirical Assessment , International Journal of Science and Engineering Science Research: Vol. 2 No. 3: July-September 2026
You may also start an advanced similarity search for this article.
