信息网络安全 ›› 2022, Vol. 22 ›› Issue (1): 80-86.doi: 10.3969/j.issn.1671-1122.2022.01.010

• 技术研究 • 上一篇    下一篇

基于双重注意力的入侵检测系统

刘烁, 张兴兰()   

  1. 北京工业大学信息学部,北京 100124
  • 收稿日期:2021-08-08 出版日期:2022-01-10 发布日期:2022-02-16
  • 通讯作者: 张兴兰 E-mail:zhangxinglan@bjut.edu.cn
  • 作者简介:刘烁(1997—),女,山东,硕士研究生,主要研究方向为机器学习和入侵检测;|张兴兰(1970—),女,山西,教授,博士,主要研究方向为密码学和安全协议
  • 基金资助:
    国家自然科学基金(61801008)

Intrusion Detection System Based on Dual Attention

LIU Shuo, ZHANG Xinglan()   

  1. Department of Information, Beijing University of Technology, Beijing 100124, China
  • Received:2021-08-08 Online:2022-01-10 Published:2022-02-16
  • Contact: ZHANG Xinglan E-mail:zhangxinglan@bjut.edu.cn

摘要:

在当今互联网飞速发展的时代,人们在网络中信息交互的次数日益增多,使得网络安全显得尤为重要。文章以增强模型检测异常流量的能力为研究目的,提出一种基于注意力机制的胶囊网络模型。在特征提取阶段和动态路由阶段分别融入注意力机制,增强了模型提取关键特征的能力,提升了在入侵检测任务中的准确率。在NSL-KDD数据集和CICDS2017数据集进行实验,结果表明文章所提模型在泛化能力方面高于其他模型,在CICIDS2017的测试集上,准确率达97.56%;在NSL-KDD的测试集上,准确率可达95.88%。相较于其他传统常用的入侵检测模型,效率有显著提升。

关键词: 深度学习, 入侵检测, 胶囊网络, 注意力机制

Abstract:

In the era of rapid development of the Internet, the number of people interacting with each other on the Internet is increasing, making network security particularly important. This paper aimed to enhance the model's ability to detect abnormal traffic, and proposed a capsule network model based on the attention mechanism. In the feature extraction stage and the dynamic routing stage, the attention mechanism was incorporated to enhance the model's ability to extract key features and improve the accuracy of intrusion detection tasks. Through experiments on the NSL-KDD data set and the CICDS2017 data set, experimental results show that the model in this paper is higher than other models in terms of generalization ability, and the accuracy rate on the CICIDS2017 test set has reached 97.56%. The accuracy of the NSL-KDD test set can reach 95.88%, which is significantly more efficient than other traditional intrusion detection models.

Key words: deep learning, intrusion detection, capsule network, attention mechanism

中图分类号: