arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.27326cs.CR
收藏

基于上下文的钓鱼邮件检测:使用机器学习和自然语言处理

Context-Aware Phishing Email Detection Using Machine Learning and NLP

University of Cincinnati(辛辛那提大学)

Amitabh Chakravorty, Matthew Price, Nelly Elsayed, Zag ElSayed

AI总结:

本文提出一种基于机器学习的钓鱼邮件检测系统,通过自然语言处理技术分析邮件内容,提取上下文特征,采用逻辑回归模型实现95.41%的准确率。

摘要:

钓鱼攻击仍是最常见的网络安全威胁,造成全球个人和组织重大经济损失。本文提出一种基于机器学习的钓鱼邮件检测系统,利用自然语言处理技术分析邮件正文内容。与仅关注URL分析的传统方法不同,本系统通过提取整个邮件内容的上下文特征进行分类。我们评估了两种分类模型,朴素贝叶斯和逻辑回归,在结合了三个不同数据集的53,973封标记邮件的语料库上进行训练。预处理流程包括小写转换、分词、停用词移除和词形还原,随后进行术语频率-逆文档频率(TF-IDF)特征提取,使用一元和二元词组。实验结果表明,逻辑回归在准确率为95.41%的同时,F1分数为94.33%,比朴素贝叶斯高出1.55个百分点。系统作为具有FastAPI后端的Web应用部署,提供实时的钓鱼邮件分类,平均响应时间为127毫秒。

英文摘要:

Phishing attacks remain among the most prevalent cybersecurity threats, causing significant financial losses for individuals and organizations worldwide. This paper presents a machine learning-based phishing email detection system that analyzes email body content using natural language processing (NLP) techniques. Unlike existing approaches that primarily focus on URL analysis, our system classifies emails by extracting contextual features from the entire email content. We evaluated two classification models, Naive Bayes and Logistic Regression, trained on a combined corpus of 53,973 labeled emails from three distinct datasets. Our preprocessing pipeline incorporates lowercasing, tokenization, stop-word removal, and lemmatization, followed by Term Frequency-Inverse Document Frequency (TF-IDF) feature extraction with unigrams and bigrams. Experimental results demonstrate that Logistic Regression achieves 95.41% accuracy with an F1-score of 94.33%, outperforming Naive Bayes by 1.55 percentage points. The system was deployed as a web application with a FastAPI backend, providing real-time phishing classification with average response times of 127ms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑