Detecting LLM-Generated Phishing URLs Using Deep Learning: Evaluating Model Robustness Against AI-Crafted Evasion Techniques

Authors

  • Esther Jyothi V Author
  • Sneha Mishra Author
  • Bhavya Varma K Author
  • Manisha Semwal Author
  • Murthy V.S. N Author
  • Madhu Latha Veerapaneni Author

Keywords:

Character-Level Classification, Evasion Attacks, Phishing URL Detection, Robustness Evaluation, Transformer Encoder

Abstract

The growing reliance on LLMs for the creation and modification of web content presents new challenges for the detection of phishing URLs, especially when malicious URLs have structural differences. While traditional detection models may perform well on known URL structures, they can be subject to adversarial manipulation and changes in data distributions. This work examines a weakness-driven evaluation of a phishing URL classifier in the scenarios of known structural perturbations, unprecedented evasion patterns, and external data conditions, by studying a robustness-aware character-level detection model on a processed dataset of 496,678 phishing URLs, including 151,097 phishing URLs and 345,581 legitimate URLs, as well as the external ASAPhishingURL_Dataset for cross-source evaluation.For RACA-Former, URLs are input as sequences of characters and a Transformer encoder learns contextual information between characters. A robustness-aware attention mechanism aggregates the character-level representation before the head that classifies a URL as phishing or legitimate. The evaluation includes clean testing, four types of structural perturbations, test on external dataset, held-out evasion, and an ablation comparison based on masked mean pooling. On the clean test set, the RACA-Former achieved an accuracy of 99.16%, precision of 99.45%, and recall of 97.79%. On the known perturbations, accuracy ranged from 97.56% to 99.25% with subdomain injection having the most degradation. In the ASA dataset, accuracy was 62.33% and specificity was 24.67%, despite a high phishing recall. On held-out subdomain injection, accuracy dropped to 33.20% and specificity to 5.62%. The ablation results show that neither RACA-Former's robustness-aware attention led to measurable gains. Overall, these results give a systematic evaluation that goes beyond performance on clean data, exposing persistent deficits in cross-source generalization and unseen evasion detection, raising the need for further research before deploying in realistic phishing situations.

Downloads

Download data is not yet available.

Downloads

Published

2026-10-13

How to Cite

Detecting LLM-Generated Phishing URLs Using Deep Learning: Evaluating Model Robustness Against AI-Crafted Evasion Techniques . (2026). Minimax Theory and Its Applications, 11(4s), 1080-1098. https://journalmta.com/index.php/jmta/article/view/671