Concept and Assessment of Machine Learning Models for the Classification of Malicious URLs

E-mails: [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] ABSTRACT Identifying safe websites can be challenging as millions of new websites are created daily. Cybersecurity is the practice of safeguarding individuals and organizations against online threats. Phishing attacks are one of the many tactics used by cybercriminals to deceive people into revealing their personal information. In 2022, over 74,000 phishing attacks were reported in Australia alone, resulting in financial losses exceeding $24 million. In various domains such as the detection of financial fraud, and cancer, and the development of chatbots, artificial intelligence (AI) and machine learning have proven to be useful tools. Support Vector Machines and Random Forest are often employed as machine learning models for classification tasks. With the rise in cybercrime, machine learning is crucial for identifying fraudulent URLs, both new and old. The study comparing different machine learning models for classifying malicious URLs found that the Random Forest model achieved the highest accuracy, followed by the Support Vector Machine. Key findings emphasized the importance of balanced datasets, appropriate instance selection methods, and the feature "has HTTP" in achieving accurate results. Further research is suggested to explore additional models and categories of malicious URLs for enhanced cybersecurity measures. In summary, Random Forest outperforms other models in classifying malicious URLs, and balanced datasets and relevant features are crucial for optimal performance. Around 650,000 URLs from Kaggle were used in the dataset for this investigation. Malware, benign URLs, defacement, and phishing were the four categories that made up the dataset. Instance selection techniques (DRLSH, BPLSH, and random selection) written in MATLAB were used to construct three datasets, each including approximately 170,000 URLs. We used SVM, DT, KNNs, and RF as examples of machine-learning models. To train the machine learning models on the malicious URL datasets, the study employed these instance selection techniques. Then, using 16 features and one output feature, it assessed the models' performance. During the hyperparameter tuning procedure, four models with various hyperparameter settings were trained using the training dataset. For each model, the ideal hyperparameter was determined via Bayesian optimization. The system of classification Keywords: Machine learning, Cyber security, Classification, Malicious URL, Instance selection Ogunjimi Olalekan L. A., Emmanuel C. Onwubiko. Negedu Moses Ugbedeojo, Elumelu Azuka Andrew, Aremo Emmanuel Akindele & Abhulimen, Martins Enehireba (2025): Concept and Assessment of Machine Learning Models for the Classification of Malicious URLs. Journal of Advances in Mathematical & Computational Science. Vol. 13, No. 3. Pp 1-23 Available online at www.isteams.net/mathematics-computationaljournal. dx.doi.org/10.22624/AIMS/MATHS/V13N3P1

Publication Details

Journal
Advances in Multidisciplinary & Scientific Research Journal Publication
Published
2025-09-23
DOI
https://doi.org/10.22624/aims/maths/v13n3p1
Primary Topic
Geochemistry and Geologic Mapping
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Concept and Assessment of Machine Learning Models for the Classification of Malicious URLs

Advances in Multidisciplinary & Scientific Research Journal Publication
Geochemistry and Geologic Mapping
article

Concept and Assessment of Machine Learning Models for the Classification of Malicious URLs

article en

Abstract

E-mails: [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] ABSTRACT Identifying safe websites can be challenging as millions of new websites are created daily. Cybersecurity is the practice of safeguarding individuals and organizations against online threats. Phishing attacks are one of the many tactics used by cybercriminals to deceive people into revealing their personal information. In 2022, over 74,000 phishing attacks were reported in Australia alone, resulting in financial losses exceeding $24 million. In various domains such as the detection of financial fraud, and cancer, and the development of chatbots, artificial intelligence (AI) and machine learning have proven to be useful tools. Support Vector Machines and Random Forest are often employed as machine learning models for classification tasks. With the rise in cybercrime, machine learning is crucial for identifying fraudulent URLs, both new and old. The study comparing different machine learning models for classifying malicious URLs found that the Random Forest model achieved the highest accuracy, followed by the Support Vector Machine. Key findings emphasized the importance of balanced datasets, appropriate instance selection methods, and the feature "has HTTP" in achieving accurate results. Further research is suggested to explore additional models and categories of malicious URLs for enhanced cybersecurity measures. In summary, Random Forest outperforms other models in classifying malicious URLs, and balanced datasets and relevant features are crucial for optimal performance. Around 650,000 URLs from Kaggle were used in the dataset for this investigation. Malware, benign URLs, defacement, and phishing were the four categories that made up the dataset. Instance selection techniques (DRLSH, BPLSH, and random selection) written in MATLAB were used to construct three datasets, each including approximately 170,000 URLs. We used SVM, DT, KNNs, and RF as examples of machine-learning models. To train the machine learning models on the malicious URL datasets, the study employed these instance selection techniques. Then, using 16 features and one output feature, it assessed the models' performance. During the hyperparameter tuning procedure, four models with various hyperparameter settings were trained using the training dataset. For each model, the ideal hyperparameter was determined via Bayesian optimization. The system of classification Keywords: Machine learning, Cyber security, Classification, Malicious URL, Instance selection Ogunjimi Olalekan L. A., Emmanuel C. Onwubiko. Negedu Moses Ugbedeojo, Elumelu Azuka Andrew, Aremo Emmanuel Akindele & Abhulimen, Martins Enehireba (2025): Concept and Assessment of Machine Learning Models for the Classification of Malicious URLs. Journal of Advances in Mathematical & Computational Science. Vol. 13, No. 3. Pp 1-23 Available online at www.isteams.net/mathematics-computationaljournal. dx.doi.org/10.22624/AIMS/MATHS/V13N3P1

Advances in Multidisciplinary & Scientific Research Journal PublicationVol. 13(3)
Peace, Justice and strong institutions
Openalex Percentile: Top 30%
Geochemistry and Geologic Mapping
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.