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

DomURLs_BERT:基于预训练BERT的恶意域名和URL检测与分类模型

DomURLs_BERT: Pre-trained BERT-based Model for Malicious Domains and URLs Detection and Classification

College of Computing, Mohammed VI Polytechnic University, Ben Guerir, Morocco(摩洛哥穆莱·伊斯梅尔理工学院计算机学院);Department of Computer Science, Faculty of Science, Technology and Medicine,University of Luxembourg, Luxembourg(卢森堡大学科学、技术与医学学院计算机科学系);LISAC Laboratory, Faculty of Sciences Dhar El Mehraz, USMBA, Fez, Morocco(摩洛哥费赞大学科学与技术学院LISAC实验室);Vanguard Center, Mohammed VI Polytechnic University, Ben Guerir, Morocco(摩洛哥穆莱·伊斯梅尔理工学院Vanguard中心);National Moroccan Computer Emergency and Response Team (maCert), Morocco(摩洛哥国家计算机应急响应团队(maCert))

Abdelkader El Mahdaouy, Salima Lamsiyah, Meryem Janati Idrissi, Hamza Alami, Zakaria Yartaoui, Ismail Berrada

AI总结:

DomURLs_BERT是一种基于预训练BERT的模型,用于检测和分类恶意域名和URL,通过预训练和多任务实验验证其在网络安全领域的有效性。

摘要:

检测和分类可疑或恶意的域名名称和URL是网络安全中的基本任务。为了利用这些妥协指标,安全厂商和从业者经常维护和更新已知恶意域名和URL的黑名单。然而,黑名单经常无法识别新兴和混淆的威胁。在过去几十年中,开发能够自动检测恶意域名和URL的机器学习模型引起了广泛关注,以解决黑名单维护和更新的局限性。在本文中,我们介绍了DomURLs_BERT,一种基于预训练BERT的编码器,专门用于检测和分类可疑/恶意的域名和URL。DomURLs_BERT通过在包含大量多语言URL、域名名称和域名生成算法(DGA)数据集的大型语料库上使用掩码语言建模(MLM)目标进行预训练。为了评估DomURLs_BERT的性能,我们进行了涉及域名和URL的多种二元和多类分类任务,涵盖钓鱼、恶意软件、DGA和DNS隧道等场景。评估结果表明,所提出的编码器在多个任务和数据集上均优于最先进的基于字符的深度学习模型和专注于网络安全的BERT模型。预训练数据集、预训练的DomURLs_BERT编码器以及实验源代码均已公开。

英文摘要:

Detecting and classifying suspicious or malicious domain names and URLs is fundamental task in cybersecurity. To leverage such indicators of compromise, cybersecurity vendors and practitioners often maintain and update blacklists of known malicious domains and URLs. However, blacklists frequently fail to identify emerging and obfuscated threats. Over the past few decades, there has been significant interest in developing machine learning models that automatically detect malicious domains and URLs, addressing the limitations of blacklists maintenance and updates. In this paper, we introduce DomURLs_BERT, a pre-trained BERT-based encoder adapted for detecting and classifying suspicious/malicious domains and URLs. DomURLs_BERT is pre-trained using the Masked Language Modeling (MLM) objective on a large multilingual corpus of URLs, domain names, and Domain Generation Algorithms (DGA) dataset. In order to assess the performance of DomURLs_BERT, we have conducted experiments on several binary and multi-class classification tasks involving domain names and URLs, covering phishing, malware, DGA, and DNS tunneling. The evaluations results show that the proposed encoder outperforms state-of-the-art character-based deep learning models and cybersecurity-focused BERT models across multiple tasks and datasets. The pre-training dataset, the pre-trained DomURLs_BERT encoder, and the experiments source code are publicly available.

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

↑