一种基于双向长短期记忆神经网络的Web攻击检测
作者:
作者单位:

作者简介:

通讯作者:

江一民,男,1978年生,正高级工程师,研究方向为网络空间安全E-mail:yimin_jiang@163.com

中图分类号:

TP391.1

基金项目:


Web attack detection approach based on Bi-LSTM neural network
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    当前,网络空间安全形势日益严重,这是因为网络攻击手段层出不穷。其中,跨站脚本(cross-site scripting, XSS)攻击和结构化查询语言 (structured query language, SQL)注入攻击是2种较为常见的网络攻击方式。由于它们的有效载荷样式多样,导致传统的基于规则的检测以及基于特征的机器学习难以对其进行检测。为了提高对Web攻击的检测效果,降低人工提取特征的繁杂度,提出了一种基于双向长短期记忆神经网络的Web攻击检测方法:使用字符向量化提取Web攻击有效特征的序列,并映射到特征向量,嵌入向量到神经网络中,然后使用双向长短期记忆递归神经网络训练和测试模型。结果表明,该检测方法在真实数据集中的检测准确率达到99.35%,召回率达到99.49%,可以同时检测XSS攻击和SQL注入攻击。证明了这种基于深度学习的检测方法可以较大规模地应用于Web攻击感知平台中。

    Abstract:

    Currently, the network security situation is becoming increasingly severe because various methods of network attacks continue to emerge. Cross-site scripting(XSS) attacks and structured query language(SQL) injection attacks have been listed as two of the most common Web security vulnerabilities. The payload styles of these attacks are diverse, and traditional rule-based detection and feature-based machine learning are difficult to detect them. In order to improve the detection effect of Web attacks and reduce the complexity of manually extracting features, an approach to detect Web attacks based on bi-directional Long Short Term Memory(LSTM).We use character embedding to extract the sequence of web attack effective features, map them to feature vectors, embed the vectors into a neural network. Subsequently, we utilize a bidirectional long short-term memory recurrent neural network to train and test the model. The results show that the accuracy in the real dataset is 99.35%, and the recall reaches 99.49%. Moreover, this method could detect XSS and SQL Injection Attacks at the same time, which proves that this deep learning-based method can be applied to Web attack-aware platforms on a large scale.

    参考文献
    相似文献
    引证文献
引用本文
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2022-10-04
  • 最后修改日期:2022-11-16
  • 录用日期:
  • 在线发布日期: 2023-05-04
  • 出版日期: