Phishing Domain Detection Using Machine Learning Algorithms

Dinny Komalasari, Tri Basuki Kurniawan, Deshinta Arrova Dewi, Mohd Zaki Zakaria, Zubaile Abdullah, Alde AlandaInternational Journal on Advanced Science Engineering and Information Technology 2025

Abstract

Phishing, a prevalent cyber threat, continues to jeopardize sensitive information by exploiting the vulnerabilities of digital platforms. This research investigates the escalating danger of phishing attacks, focusing on the creation of deceptive websites known as phishing domains. Leveraging machine learning algorithms, particularly supervised and unsupervised learning techniques, the study aims to proactively identify and classify these malicious domains by analyzing diverse factors like domain names, online content, SSL certificates, and historical data. The proposed solution involves the development of prediction models using decision trees, random forests, support vector machines, and Gradient Boosting, with the latter exhibiting the highest accuracy at 92%. The system assigns risk scores to domains based on properties such as registration details and SSL certificate validity, facilitating the real-time identification of potential phishing activities. The research addresses the critical need for data security in the face of phishing threats affecting individuals and businesses, providing a robust defense mechanism against evolving cyber threats. Recommendations for continuous model training, regular updates, diversification of dataset sources, and integration with existing security infrastructure aim to enhance the system's adaptability and resilience in countering emerging phishing threats. Overall, this study contributes to ongoing efforts in cybersecurity, offering a proactive defense mechanism against the pervasive and evolving challenges posed by phishing attacks.

Introduction

Phishing remains one of the most persistent and effective methods for cybercriminals to gain unauthorized access to sensitive data. While many security measures focus on complex technical vulnerabilities, phishing exploits human psychology through deceptive URLs designed to steal credentials or financial information. Traditional defense strategies often rely on blocklisting—maintaining databases of known malicious domains. However, the ephemeral nature of phishing sites, which are often active for only a few hours before being abandoned, makes static lists perpetually outdated. This paper explores a proactive machine learning-based approach to identify phishing domains by analyzing their inherent characteristics in real-time.

Methodology

The researchers implemented a supervised learning framework to classify domains as either legitimate or malicious. The study followed an eight-phase methodology, moving from knowledge acquisition to system integration, and evaluated five prominent algorithms: Support Vector Machines (SVM), Random Forest, Naïve Bayes, Decision Tree, and Extreme Gradient Boosting (XGBoost).

Data and Feature Engineering

The primary dataset was sourced from Elsevier.com, comprising 112 variables. Feature extraction focused heavily on the URL itself, with 96 features derived from linguistic and structural cues of the domain name, such as unusual character counts or suspicious keywords. An additional 15 features were generated using custom scripts to analyze domain age, registration details, and SSL certificate status. For validation, the models were tested against live data from PhishTank, a collaborative clearinghouse for phishing data.

Results and Discussion

The experimental results demonstrated that ensemble methods significantly outperform single-model approaches. Extreme Gradient Boosting (XGBoost) achieved the highest performance with a 92% accuracy rate across all metrics. This success is attributed to its use of L1 and L2 regularization, which effectively prevents overfitting in complex tabular datasets.

Random Forest and SVM also provided strong results, achieving 85% and 82% accuracy, respectively. The learning curves for these models illustrate how their predictive power evolves with the size of the training set.

Accuracy learning curve for the SVM Classifier showing training and cross-validation scores.

As shown in the SVM learning curve above, the model reaches a stable accuracy of approximately 82% as training examples increase. The Random Forest model exhibits a sharp increase in accuracy early in the training phase, eventually plateauing at 85%.

Accuracy learning curve for the Random Forest Classifier.
Algorithm Accuracy Precision Recall F1-Score
Extreme Boosting 92% 92% 92% 92%
Random Forest 85% 85% 85% 85%
Decision Tree 84% 84% 84% 84%
SVM 82% 82% 82% 82%
Naïve Bayes 73% 73% 78% 74%

Conclusion

The shift from reactive blocklisting to proactive machine learning-based scoring offers a robust defense against modern phishing threats. By analyzing URL features and SSL metadata, the proposed system can identify malicious domains even if they have never been seen before. To maintain effectiveness, the authors recommend continuous model training to adapt to evolving attack patterns and integrating the detection system directly into browser extensions and mail gateways for seamless user protection.

Summary updated

BibTeX
@article{komalasari2025phishing,
  author = {Dinny Komalasari and Tri Basuki Kurniawan and Deshinta Arrova Dewi and Mohd Zaki Zakaria and Zubaile Abdullah and Alde Alanda},
  title = {{Phishing Domain Detection Using Machine Learning Algorithms}},
  journal = {International Journal on Advanced Science Engineering and Information Technology},
  year = {2025},
  doi = {10.18517/ijaseit.15.1.12553},
}
Figure