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 条
  • [41] Bugram: Bug Detection with N-gram Language Models
    Wang, Song
    Chollak, Devin
    Movshovitz-Attias, Dana
    Tan, Lin
    2016 31ST IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2016, : 708 - 719
  • [42] An evaluation of n-gram correspondence models for transliteration detection
    Department of Information Systems, SCIT, CoCIS, Makerere University, Kampala, Uganda
    Lect. Notes Electr. Eng., (615-622):
  • [43] Research of Affective Recognize Based on N-gram
    Xue Weimin
    Lin Benjing
    Yu Bing
    2008 IEEE INTERNATIONAL CONFERENCE ON GRANULAR COMPUTING, VOLS 1 AND 2, 2008, : 702 - +
  • [44] A variant of n-gram based language classification
    Tomovic, Andrija
    Janicic, Predrag
    AI(ASTERISK)IA 2007: ARTIFICIAL INTELLIGENCE AND HUMAN-ORIENTED COMPUTING, 2007, 4733 : 410 - +
  • [45] N-gram Events for Analysis of Financial Time Series
    Borovikov, Igor
    Sadovsky, Michael
    PROCEEDINGS OF ECCS 2014: EUROPEAN CONFERENCE ON COMPLEX SYSTEMS, 2016, : 155 - 167
  • [46] HTTP attack detection using n-gram analysis
    Oza, Aditya
    Ross, Kevin
    Low, Richard M.
    Stamp, Mark
    COMPUTERS & SECURITY, 2014, 45 : 242 - 254
  • [47] BHMDC: A byte and hex n-gram based malware detection and classification method
    Tang, Yonghe
    Qi, Xuyan
    Jing, Jing
    Liu, Chunling
    Dong, Weiyu
    COMPUTERS & SECURITY, 2023, 128
  • [48] A quantitative approach for intrusions detection and prevention based on statistical n-gram models
    Boulaiche, Ammar
    Bouzayani, Hatem
    Adi, Kamel
    ANT 2012 AND MOBIWIS 2012, 2012, 10 : 450 - 457
  • [49] DNA N-gram analysis framework (DNAnamer): A generalized N-gram frequency analysis framework for the supervised classification of DNA sequences
    Malamon, John S.
    HELIYON, 2024, 10 (17)
  • [50] An Empirical Model for n-gram Frequency Distribution in Large Corpora
    Silva, Joaquim F.
    Cunha, Jose C.
    ADVANCES IN KNOWLEDGE DISCOVERY AND DATA MINING, PAKDD 2020, PT II, 2020, 12085 : 840 - 851