Enhancing Malicious URL Classification with Transformer-Based Embeddings

The rise in internet traffic has increased cyber threats, with malicious URLs being a major attack vector. Traditional rule-based methods are no longer sufficient, prompting the use of advanced machine learning techniques. This study evaluates transformer-based models — BERT, SBERT, RoBERTa, AlBERT, and DistilBERT—combined with LSTM, GRU, and MLP architectures for URL classification. Using standard metrics on a balanced dataset of benign and malicious URLs, AlBERT + LSTM achieved the highest accuracy (99.4%). The results confirm the strength of transformer embeddings in malicious URL detection and suggest further exploration of hybrid models for improved cybersecurity.

Authors

Institutions

Publication Details

Published
2025-06-23
DOI
https://doi.org/10.1109/blackseacom65655.2025.11193924
Primary Topic
Spam and Phishing Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing Malicious URL Classification with Transformer-Based Embeddings

Vitalii Prykhodniuk, Larysa Globa, Serhii Tsukanov
Spam and Phishing Detection
article

Enhancing Malicious URL Classification with Transformer-Based Embeddings

Vitalii Prykhodniuk, Larysa Globa, Serhii Tsukanov
article en

Abstract

The rise in internet traffic has increased cyber threats, with malicious URLs being a major attack vector. Traditional rule-based methods are no longer sufficient, prompting the use of advanced machine learning techniques. This study evaluates transformer-based models — BERT, SBERT, RoBERTa, AlBERT, and DistilBERT—combined with LSTM, GRU, and MLP architectures for URL classification. Using standard metrics on a balanced dataset of benign and malicious URLs, AlBERT + LSTM achieved the highest accuracy (99.4%). The results confirm the strength of transformer embeddings in malicious URL detection and suggest further exploration of hybrid models for improved cybersecurity.

National Academy of Sciences of Ukraine (UA), National Technical University of Ukraine “Igor Sikorsky Kyiv Polytechnic Institute” (UA)
Openalex Percentile: Top 58%
Spam and Phishing Detection
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.