MACHINE LEARNING-BASED MODEL FOR PHISHING URL DETECTION IN ONLINE SOCIAL NETWORKS

Authors

DOI:

https://doi.org/10.32014/2026.2518-1726.461

Keywords:

phishing URLs, phishing detection, machine learning, TF-IDF vectorization, cybersecurity

Abstract

Phishing URLs remain one of the most prevalent cybersecurity threats in modern digital environments. The rapid growth of online social networks (OSNs) and web-based platforms has facilitated the widespread deployment of phishing attacks aimed at stealing users’ sensitive information, distributing malicious content, and redirecting users to fraudulent websites. Conventional phishing detection techniques, including WHOIS records, DNS information, and blacklist-based approaches, are effective in identifying known phishing domains; however, they often exhibit limited performance when detecting newly emerging or rapidly evolving phishing URLs. Furthermore, the reliance of such approaches on external services increases detection latency and limits system scalability. This study proposes a real-time phishing URL detection system based on the lexical features of URLs. To evaluate the effectiveness of different machine learning approaches, a comparative analysis was conducted using character-level TF-IDF vectorization in conjunction with Logistic Regression, Naive Bayes, Support Vector Machine (SVM), Random Forest, and Extreme Gradient Boosting (XGBoost) classifiers. The experiments were performed using the “Phishing and Legitimate” URLs dataset obtained from the Kaggle platform. Following data preprocessing, a total of 808,042 URLs were retained for model training and evaluation. The URLs were transformed into a TF-IDF feature space based on character n-grams with lengths ranging from 3 to 5. The experimental results demonstrated that the SVM classifier achieved the best classification performance, with an Accuracy of 97.69%, Precision of 97.41%, Recall of 98.25%, F1-score of 97.83%, and ROC-AUC of 99.66%. The average processing time per URL was approximately 1.9 ms. The proposed approach operates independently of external network services while maintaining high accuracy in phishing URL detection. The findings suggest that the proposed method can be effectively deployed for the automated detection of malicious links in online social networks OSNs, messaging platforms, and corporate cybersecurity systems.

Downloads

Published

2026-10-01

How to Cite

Мақатов, Е. К., Razaque, A., Исмуканова, А. Н., Салыкова, А. К., & Глок, Е. С. (2026). MACHINE LEARNING-BASED MODEL FOR PHISHING URL DETECTION IN ONLINE SOCIAL NETWORKS. Academic Scientific Journal of Computer Science, (3), 233–254. https://doi.org/10.32014/2026.2518-1726.461

Share

Send this article by e-mail

MACHINE LEARNING-BASED MODEL FOR PHISHING URL DETECTION IN ONLINE SOCIAL NETWORKS

The recipient will get an e-mail with a link to the article and the PDF attached.

or open in your own e-mail program