Network intrusion detection based on n-gram frequency and time-aware transformer

被引:19
|
作者
Han, Xueying [1 ,2 ]
Cui, Susu [1 ,2 ]
Liu, Song [1 ,2 ]
Zhang, Chen [1 ,2 ]
Jiang, Bo [1 ,2 ]
Lu, Zhigang [1 ,2 ]
机构
[1] Chinese Acad Sci, Inst Informat Engn, Beijing, Peoples R China
[2] Univ Chinese Acad Sci, Sch Cyber Secur, Beijing, Peoples R China
关键词
Intrusion detection; Deep learning; Transformer; N; -Gram;
D O I
10.1016/j.cose.2023.103171
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Network intrusion detection system plays a critical role in protecting the target network from attacks. However, most existing detection methods cannot fully utilize the information contained in raw network traffic, such as information loss in the feature extraction process and incomplete feature dimensions, which lead to performance bottlenecks. In this paper, we propose a novel intrusion detection model based on n-gram frequency and time-aware transformer called GTID. GTID can learn traffic features from packet-level and session-level hierarchically and can minimize information as much as possible. To ex-tract packet-level features effectively, GTID considers the different roles of packet header and payload, and processes them in different ways, where n-gram frequency is used to represent payload contextual information because of its conciseness. Then, GTID uses the proposed time-aware transformer to learn session-level features for intrusion detection. The time-aware transformer considers the time intervals between packets, and learns the temporal features of a session for classification. For evaluation, several solid experiments are conducted on the ISCX2012 dataset and the CICIDS2017 dataset, and the results show the effectiveness and robustness of GTID.(c) 2023 Elsevier Ltd. All rights reserved.
引用
收藏
页数:15
相关论文
共 50 条
  • [21] A Time-Aware Recommender System Based on Dependency Network of Items
    Daneshmand, Seyed Mohammadhadi
    Javari, Amin
    Abtahi, Seyed Ebrahim
    Jalili, Mahdi
    COMPUTER JOURNAL, 2015, 58 (09): : 1955 - 1966
  • [22] A Neural N-Gram Network for Text Classification
    Yan, Zhenguo
    Wu, Yue
    JOURNAL OF ADVANCED COMPUTATIONAL INTELLIGENCE AND INTELLIGENT INFORMATICS, 2018, 22 (03) : 380 - 386
  • [23] N-gram Based Croatian Language Network: Application in a Smart Environment
    Soic, Renato
    Vukovic, Marin
    JOURNAL OF COMMUNICATIONS SOFTWARE AND SYSTEMS, 2022, 18 (01) : 63 - 71
  • [24] N-gram analysis for computer virus detection
    Reddy, D. Krishna Sandeep
    Pujari, Arun K.
    JOURNAL OF COMPUTER VIROLOGY AND HACKING TECHNIQUES, 2006, 2 (03): : 231 - 239
  • [25] A discriminative method for protein remote homology detection based on N-Gram
    Xie, S.
    Li, P.
    Jiang, Y.
    Zhao, Y.
    GENETICS AND MOLECULAR RESEARCH, 2015, 14 (01): : 69 - 78
  • [26] Content Based Fake News Detection Using N-Gram Models
    Wynne, Hnin Ei
    Wint, Zar Zar
    IIWAS2019: THE 21ST INTERNATIONAL CONFERENCE ON INFORMATION INTEGRATION AND WEB-BASED APPLICATIONS & SERVICES, 2019, : 669 - 673
  • [27] Time-aware Reciprocity Prediction in Trust Network
    Feng, Xu
    Zhao, Jichang
    Fang, Zhiwen
    Xu, Ke
    2014 PROCEEDINGS OF THE IEEE/ACM INTERNATIONAL CONFERENCE ON ADVANCES IN SOCIAL NETWORKS ANALYSIS AND MINING (ASONAM 2014), 2014, : 234 - 237
  • [28] Hierarchical Time-Aware Summarization with an Adaptive Transformer for Video Captioning
    Cardoso, Leonardo Vilela
    Guimaraes, Silvio Jamil Ferzoli
    do Patrocinio Jr, Zenilton Kleber Goncalves
    INTERNATIONAL JOURNAL OF SEMANTIC COMPUTING, 2023, 17 (04) : 569 - 592
  • [29] Time-Aware Squeeze-Excitation Transformer for Sequential Recommendation
    Chen, Hongwei
    Liu, Luanxuan
    Chen, Zexi
    Li, Xia
    ARTIFICIAL NEURAL NETWORKS AND MACHINE LEARNING-ICANN 2024, PT IX, 2024, 15024 : 121 - 135
  • [30] TACST: Time-Aware Transformer for Robust Speech Emotion Recognition
    Wei, Wei
    Zhang, Bingkun
    Wang, Yibing
    MULTIMEDIA MODELING, MMM 2025, PT IV, 2025, 15523 : 442 - 453