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

用于恶意URL检测的图注意力LSTM模型

A Graph-Attentive LSTM Model for Malicious URL Detection

Department of Electrical and Electronic Engineering, Dhaka University of Engineering & Technology, Gazipur, Bangladesh(达卡工程与技术大学电子与电气工程系,孟加拉国加兹ipur);Department of Computer Science and Engineering, Atish Dipankar University of Science and Technology, Dhaka, Bangladesh(阿蒂什迪帕克尔科学技术大学计算机科学与工程系,孟加拉国达卡);Department of Computer Science, Utah Valley University, 800 W University Pkwy, Orem, UT 84058, USA(犹他山谷大学计算机科学系,美国奥尔姆,UT 84058)

Md. Ifthekhar Hossain, Kazi Abdullah Al Arafat, Bryce Shepard, Kayd Craig, Imtiaz Parvez

AI总结:

针对黑名单难以识别新型或混淆恶意URL的问题,提出融合GNN、GAT与LSTM的GNN-GAT-LSTM模型,从URL字符图中提取结构与序列特征,在651,191个URL上取得0.9806准确率。

摘要:

恶意URL会助长网络钓鱼攻击、传播恶意软件,并使攻击者能够篡改网站,因此构成重大安全风险。黑名单检测方法依赖既有模式,无法识别新出现或经过混淆的URL。本工作提出了一种名为GNN-GAT-LSTM的混合深度学习模型,将图神经网络(GNN)、图注意力网络(GAT)和长短期记忆(LSTM)网络相结合。所提出的架构从数据中提取特征的结构模式和序列模式。该模型将URL转换为图:在这一过程中,字符成为节点,并通过边相互连接;模型采用独热编码表示节点特征。模型的训练和测试数据来自包含651,191个URL的集合,这些URL被划分为良性、网络钓鱼、网页篡改和恶意软件类别。预处理阶段同时包含特征工程和数据均衡技术,以解决类别不平衡问题并增强模型学习。GNN-GAT-LSTM模型取得了优异性能,测试准确率为0.9806,加权F1分数为0.9804。它在大多数类别上表现出出色的精确率和召回率,尤其是在良性URL和网页篡改URL方面。总体而言,该模型提供了一个高效且可扩展的恶意URL检测系统,并展现出在现实网络安全应用中的强大潜力。

英文摘要:

Malicious URLs pose significant security risks as they facilitate phishing attacks, distribute malware, and empower attackers to deface websites. Blacklist detection methods fail to identify new or obfuscated URLs because they depend on pre-existing patterns. This work presents a hybrid deep learning model named GNN-GAT-LSTM that combines Graph Neural Networks (GNNs) with Graph Attention Networks (GATs) and Long Short-Term Memory (LSTM) networks. The proposed architecture extracts both the structural and sequential patterns of the features from data. The model transforms URLs into graphs through a process where characters become nodes that connect through edges. It applies one-hot encoding to represent node features. The model received training and testing data from a collection of 651,191 URLs, which were classified into benign, phishing, defacement, and malware categories. The preprocessing stage included both feature engineering and data balancing techniques, which addressed the class imbalance issue to enhance model learning. The GNN-GAT-LSTM model achieved outstanding performance through its test accuracy of 0.9806 and its weighted F1-score of 0.9804. It showed excellent precision and recall performance across most classes, particularly for benign and defacement URLs. Overall, the model provides an efficient and scalable system for detecting malicious URLs while demonstrating strong potential for real-world cybersecurity applications.

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

↑