Distinguishing AI-Generated Phishing from Traditional Phishing and Legitimate Emails

Large language models are capable of generating phishing emails that are fluent, coherent, and do not contain the spelling mistakes that people have learned to expect in phishing emails. Therefore, such emails become difficult to distinguish from legitimate emails as well as from the older phishing emails created by humans. Nevertheless, most studies train binary classifiers that only identify whether an email is phishing or not. In this study, the task was addressed as a three-class problem. The dataset contains 4,557 emails: 1,519 legitimate emails from the Enron corpus, 1,519 traditional phishing emails from the Nazario collection, and 1,519 Qwen-labeled AI-generated phishing emails. Group-aware splitting was used to create a development set consisting of 3,645 emails and a frozen test set consisting of 912 emails. Four classifiers based on term frequency–inverse document frequency (TF-IDF) features (multinomial Naive Bayes, logistic regression, random forest, and a linear support vector machine (SVM)) were compared with a fine-tuned DeBERTa-v3-base model. The test accuracy varied from 98.904% (random forest) to 99.890% (DeBERTa-v3-base). DeBERTa-v3-base made one mistake and reached a macro-F1 score of 99.890%, whereas linear SVM had 99.671% accuracy and macro-F1, and the paired McNemar test revealed no statistically significant difference between the two (p = 0.625). In other words, on this benchmark, the three classes can be distinguished with high accuracy, and a relatively simple lexical model performs almost as well as the transformer. However, each class was collected from a different source, and therefore, part of the obtained result may be caused by source-dependent features. The external evaluation and experimentation using different generation workflows from those used here are essential for any generalization.

Authors

Institutions

Publication Details

Journal
International Journal of Scientific Research in Science and Technology
Published
2026-12-01
DOI
https://doi.org/10.32628/ijsrst2613636
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
NOV
article

Distinguishing AI-Generated Phishing from Traditional Phishing and Legitimate Emails

Shroouq J.S. Al-janabi
International Journal of Scientific Research in Science and Technology
Spam and Phishing Detection
article

Distinguishing AI-Generated Phishing from Traditional Phishing and Legitimate Emails

Shroouq J.S. Al-janabi
article en

Abstract

Large language models are capable of generating phishing emails that are fluent, coherent, and do not contain the spelling mistakes that people have learned to expect in phishing emails. Therefore, such emails become difficult to distinguish from legitimate emails as well as from the older phishing emails created by humans. Nevertheless, most studies train binary classifiers that only identify whether an email is phishing or not. In this study, the task was addressed as a three-class problem. The dataset contains 4,557 emails: 1,519 legitimate emails from the Enron corpus, 1,519 traditional phishing emails from the Nazario collection, and 1,519 Qwen-labeled AI-generated phishing emails. Group-aware splitting was used to create a development set consisting of 3,645 emails and a frozen test set consisting of 912 emails. Four classifiers based on term frequency–inverse document frequency (TF-IDF) features (multinomial Naive Bayes, logistic regression, random forest, and a linear support vector machine (SVM)) were compared with a fine-tuned DeBERTa-v3-base model. The test accuracy varied from 98.904% (random forest) to 99.890% (DeBERTa-v3-base). DeBERTa-v3-base made one mistake and reached a macro-F1 score of 99.890%, whereas linear SVM had 99.671% accuracy and macro-F1, and the paired McNemar test revealed no statistically significant difference between the two (p = 0.625). In other words, on this benchmark, the three classes can be distinguished with high accuracy, and a relatively simple lexical model performs almost as well as the transformer. However, each class was collected from a different source, and therefore, part of the obtained result may be caused by source-dependent features. The external evaluation and experimentation using different generation workflows from those used here are essential for any generalization.

International Journal of Scientific Research in Science and TechnologyVol. 13(6)
University of Kufa (IQ)
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.

Laika access coming soon
Distinguishing AI-Generated Phishing from Traditional Phishing and Legitimate Emails — Shroouq J.S. Al-janabi · International Journal of Scientific Research in Science and Technology (2026) | TGRS Research Map | TGRS