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

PMANet:通过后训练语言模型引导的多级特征注意力网络进行恶意URL检测

PMANet: Malicious URL detection via post-trained language model guided multi-level feature attention network

Ruitong Liu, Yanbin Wang, Haitao Xu, Zhan Qin, Fan Zhang, Yiwei Liu, Zheng Cao

AI总结:

针对现有恶意URL检测方法的领域适配、字符信息利用及特征融合问题,提出后训练引导的多级特征注意力网络PMANet,多场景实验验证其性能优于现有最优模型。

摘要:

恶意URL的激增使得其检测对于提升网络安全至关重要。尽管预训练语言模型展现出应用潜力,但现有方法在领域适配性、字符级信息以及局部-全局编码融合方面存在不足。为解决这些挑战,我们提出PMANet——一种预训练语言模型引导的多级特征注意力网络。PMANet采用包含三个自监督目标的后训练流程:掩码语言建模、噪声语言建模和领域判别,有效捕获子词与字符级信息;它还包含层级表示模块和动态分层注意力机制,用于从低到高提取特征,此外通过空间金字塔池化融合局部与全局特征。在小规模数据、类别不平衡、对抗攻击等多种场景下的实验表明,PMANet优于当前最优模型,AUC达0.9941,且在案例研究中正确检测出全部20个恶意URL。代码与数据可在https://github.com/Alixyvtte/Malicious-URL-Detection-PMANet获取。

英文摘要:

The proliferation of malicious URLs has made their detection crucial for enhancing network security. While pre-trained language models offer promise, existing methods struggle with domain-specific adaptability, character-level information, and local-global encoding integration. To address these challenges, we propose PMANet, a pre-trained Language Model-Guided multi-level feature attention network. PMANet employs a post-training process with three self-supervised objectives: masked language modeling, noisy language modeling, and domain discrimination, effectively capturing subword and character-level information. It also includes a hierarchical representation module and a dynamic layer-wise attention mechanism for extracting features from low to high levels. Additionally, spatial pyramid pooling integrates local and global features. Experiments on diverse scenarios, including small-scale data, class imbalance, and adversarial attacks, demonstrate PMANet's superiority over state-of-the-art models, achieving a 0.9941 AUC and correctly detecting all 20 malicious URLs in a case study. Code and data are available at https://github.com/Alixyvtte/Malicious-URL-Detection-PMANet.

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

↑