arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.06277cs.CR
收藏

基于词汇特征的恶意URL检测--一种机器学习方法

Using Lexical Features for Malicious URL Detection -- A Machine Learning Approach

Apoorva Joshi, Levi Lloyd, Paul Westin, Srini Seethapathy

摘要:

恶意网站是当今大多数网络攻击和诈骗的罪魁祸首。恶意URL通过电子邮件、短信、弹出窗口或广告发送给不知情的用户。点击或抓取此类URL可能会导致电子邮件帐户受损,发起网络钓鱼活动,下载恶意软件,间谍软件和勒索软件,以及严重的金钱损失。提出了一种基于机器学习的集成分类方法来检测电子邮件中的恶意URL,该方法可以扩展到其他恶意URL的发送方法。该方法使用从URL字符串中提取的静态词汇特征,并假设这些特征对于恶意和良性URL是显著不同的。使用这种静态功能更安全、更快速,因为它不涉及抓取URL或黑名单查找,这往往会在生成判决时引入大量延迟。分类的目标是实现高灵敏度,即检测尽可能多的恶意URL。URL字符串往往是非常非结构化和嘈杂的。因此,装袋算法被认为是一个很好的适合的任务,因为他们平均了多个学习者训练的不同部分的训练数据,从而减少方差。该分类模型在五个不同的测试集上进行了测试,平均假阴性率(FNR)为0.1%,平均准确度为92%,平均AUC为0.98。该模型目前正在FireEye高级URL检测引擎(用于检测电子邮件中的恶意URL)中使用,以生成对URL的快速实时判决。自将该模型部署到引擎工作流程中以来,引擎的恶意URL检测量增加了22%。获得的结果显示值得注意的证据表明,一个纯粹的词汇方法可以用来检测恶意URL。

英文摘要:

Malicious websites are responsible for a majority of the cyber-attacks and scams today. Malicious URLs are delivered to unsuspecting users via email, text messages, pop-ups or advertisements. Clicking on or crawling such URLs can result in compromised email accounts, launching of phishing campaigns, download of malware, spyware and ransomware, as well as severe monetary losses. A machine learning based ensemble classification approach is proposed to detect malicious URLs in emails, which can be extended to other methods of delivery of malicious URLs. The approach uses static lexical features extracted from the URL string, with the assumption that these features are notably different for malicious and benign URLs. The use of such static features is safer and faster since it does not involve crawling the URLs or blacklist lookups which tend to introduce a significant amount of latency in producing verdicts. The goal of the classification was to achieve high sensitivity i.e. detect as many malicious URLs as possible. URL strings tend to be very unstructured and noisy. Hence, bagging algorithms were found to be a good fit for the task since they average out multiple learners trained on different parts of the training data, thus reducing variance. The classification model was tested on five different testing sets and produced an average False Negative Rate (FNR) of 0.1%, average accuracy of 92% and average AUC of 0.98. The model is presently being used in the FireEye Advanced URL Detection Engine (used to detect malicious URLs in emails), to generate fast real-time verdicts on URLs. The malicious URL detections from the engine have gone up by 22% since the deployment of the model into the engine workflow. The results obtained show noteworthy evidence that a purely lexical approach can be used to detect malicious URLs.

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

↑