arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1802.03162cs.CRcs.LG
收藏

URLNet:使用深度学习学习URL表示,用于恶意URL检测

URLNet: Learning a URL Representation with Deep Learning for Malicious URL Detection

Singapore Management University(新加坡管理大学)

Hung Le, Quang Pham, Doyen Sahoo, Steven C. H. Hoi

摘要:

恶意URL承载未经请求的内容,并用于实施网络犯罪。必须及时发现它们。传统上,这是通过使用黑名单来完成的,黑名单不能是详尽的,并且不能检测新生成的恶意URL。为了解决这个问题,近年来已经见证了使用机器学习来执行恶意URL检测的若干努力。最流行和可扩展的方法通过提取词袋(Bag-of-words)之类的特征来使用URL字符串的词汇属性,然后应用机器学习模型,例如SVM。还有专家设计的其他功能,以提高模型的预测性能。这些方法受到若干限制:(i)不能有效地捕获URL字符串中的语义含义和顺序模式;(ii)需要大量的手动特征工程;以及(iii)不能处理看不见的特征并推广到测试数据。为了应对这些挑战,我们提出了URLNet,这是一个端到端的深度学习框架,可以直接从URL中学习非线性URL嵌入,用于恶意URL检测。具体来说,我们将卷积神经网络应用于URL字符串的字符和单词,以在联合优化的框架中学习URL嵌入。这种方法允许模型捕获几种类型的语义信息,这是现有模型无法实现的。我们还提出了先进的词嵌入,以解决这个任务中观察到的太多罕见的话的问题。我们在大规模数据集上进行了广泛的实验,并显示出比现有方法显着的性能增益。我们还进行消融研究,以评估URLNet的各种组件的性能。

英文摘要:

Malicious URLs host unsolicited content and are used to perpetrate cybercrimes. It is imperative to detect them in a timely manner. Traditionally, this is done through the usage of blacklists, which cannot be exhaustive, and cannot detect newly generated malicious URLs. To address this, recent years have witnessed several efforts to perform Malicious URL Detection using Machine Learning. The most popular and scalable approaches use lexical properties of the URL string by extracting Bag-of-words like features, followed by applying machine learning models such as SVMs. There are also other features designed by experts to improve the prediction performance of the model. These approaches suffer from several limitations: (i) Inability to effectively capture semantic meaning and sequential patterns in URL strings; (ii) Requiring substantial manual feature engineering; and (iii) Inability to handle unseen features and generalize to test data. To address these challenges, we propose URLNet, an end-to-end deep learning framework to learn a nonlinear URL embedding for Malicious URL Detection directly from the URL. Specifically, we apply Convolutional Neural Networks to both characters and words of the URL String to learn the URL embedding in a jointly optimized framework. This approach allows the model to capture several types of semantic information, which was not possible by the existing models. We also propose advanced word-embeddings to solve the problem of too many rare words observed in this task. We conduct extensive experiments on a large-scale dataset and show a significant performance gain over existing methods. We also conduct ablation studies to evaluate the performance of various components of URLNet.

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

↑