Skip to content
Open access

Large Language Models for phishing URL detection: A comparative study of LLaMA-3, GEMMA-7B, and traditional Machine Learning approaches

Jul 2026 · Journal of integrated science and technology · Vol 14, pp. 1620 · 0 citations

TL;DR

The proposed LLM-based framework offers a promising approach for improving phishing detection and strengthening modern cybersecurity defenses and suggests that transformer-based models can effectively identify deceptive domain structures, abnormal URL patterns, and obfuscation techniques.

Abstract

Phishing attacks remain a major cybersecurity threat, causing financial loss, data breaches, and reputational damage to individuals and organizations. Conventional detection methods, such as rule-based filters and blacklist-based systems, often fail to identify newly generated or highly obfuscated phishing URLs. Recent advances in artificial intelligence, particularly large language models (LLMs), provide new opportunities to detect complex structural and contextual patterns in malicious web addresses. This study evaluates the effectiveness of transformer-based LLMs for phishing URL detection by comparing LLaMA-3 and GEMMA-7B with traditional machine learning models, including Support Vector Machines, Random Forest, and XGBoost. The models were fine-tuned and tested on a publicly available dataset containing 247,950 labeled URLs, each described by 42 structural and lexical features. To support transformer-based classification, structured URL attributes were converted into textual representations, enabling the models to exploit contextual embeddings. Experimental results showed that LLMs outperformed conventional machine learning baselines. GEMMA-7B achieved the best performance, with an accuracy of approximately 94.8%, followed by LLaMA-3 at 94%. These findings suggest that transformer-based models can effectively identify deceptive domain structures, abnormal URL patterns, and obfuscation techniques. Overall, the proposed LLM-based framework offers a promising approach for improving phishing detection and strengthening modern cybersecurity defenses.

Read PDF

Similar papers

Open access Aug 2026

Phishing URL Detection Using TF-IDF Character N-Gram and Complement Naive Bayes

Efficiency makes the proposed approach exceptionally suitable for real-time detection in resource-constrained environments, such as mobile applications or browser extensions, providing an accessible and proactive layer of defense for end-users.

Paskalis Reynaldy Elroy Gabriel, Anggraini Puspita Sari, Achmad Junaidi · 0 citations
Review Open access Jul 2026

RakshNet-PhishGuard: A Multi-Layer Heuristic and Machine-Learning Framework for Real-Time Phishing URL Detection

RakshNet–PhishGuard is proposed, a client-first, multi-layer URL threat detection system that classifies a submitted URL as Safe, Suspicious, or Phishing without depending on a live threat-intelligence database.

Palla Srinivas, Pravitha R. Prasad · 0 citations
Review Open access Jul 2026

PHISHING URL DETECTION USING MACHINE LEARNING BASED ON LEXICAL FEATURES

The purpose of the article is to design and experimentally evaluate a lightweight URL pre-filtering model that can be integrated into an email gateway, browser extension or SOC monitoring module and to review current approaches to phishing mitigation.

D. Abrosimov, D. Balagura, A.M. Yevheniev et al. · 0 citations
Open access Jul 2026

Cross-model evaluation of phishing detectors against LLM-generated emails

This work reframes cross-model phishing detection from a problem of model incompatibility to one of practical calibration, and provides two deployable solutions, threshold recalibration on a small target slice and aggregated-pool training, along with a publicly released multi-LLM corpus.

Rommel Gutierrez, W. Villegas-Ch., Jaime Govea · 0 citations
Conference Jul 2026

Multi Model Approach for Phishing Website Detection using ML and DL Techniques

In the technology era, Phishing has continued to be a great challenge within the cybersecurity and web security landscape. This involves exploiting human trust on any online services and subtle technical flaws. This is to gather credentials, financial data, and sensitive information across diverse online platforms and...

M. Yaswanth, Pathan Basheer Khan, Dhulipalla Naga Harish et al. · 0 citations
Open access Aug 2026

Machine Learning-Based Phishing URL Detection System Using Random Forest Algorithm Integrated with a WhatsApp Bot

A machine learning-based phishing URL detection system using the Random Forest algorithm integrated with the WhatsApp Bot messaging application is designed and built to provide a practical, responsive, and precise early detection solution for BMKG employees.

Iqbal Fariansyah Ridwan, E. Trihadi, Andri Setiyaji · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.