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 条
  • [1] Host Based Intrusion Detection System Using Frequency Analysis of N-Gram Terms
    Subba, Basant
    Biswas, Santosh
    Karmakar, Sushata
    TENCON 2017 - 2017 IEEE REGION 10 CONFERENCE, 2017, : 2006 - 2011
  • [2] Exploiting n-gram location for intrusion detection
    Angiulli, Fabrizio
    Argento, Luciano
    Furfaro, Angelo
    2015 IEEE 27TH INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE (ICTAI 2015), 2015, : 1093 - 1098
  • [3] Time-Aware Transformer-based Network for Clinical Notes Series Prediction
    Zhang, Dongyu
    Thadajarassiri, Jidapa
    Sen, Cansu
    Rundensteiner, Elke
    MACHINE LEARNING FOR HEALTHCARE CONFERENCE, VOL 126, 2020, 126 : 566 - 587
  • [4] A Time-Aware Transformer Based Model for Suicide Ideation Detection on Social Media
    Sawhney, Ramit
    Joshi, Harshit
    Gandhi, Saumya
    Shah, Rajiv Ratn
    PROCEEDINGS OF THE 2020 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP), 2020, : 7685 - 7697
  • [5] N-gram Density based Malware Detection
    O'Kane, Philip
    Sezer, Sakir
    McLaughlin, Kieran
    2014 WORLD SYMPOSIUM ON COMPUTER APPLICATIONS & RESEARCH (WSCAR), 2014,
  • [6] Language Identification based on n-gram Frequency Ranking
    Cordoba, R.
    D'Haro, L. F.
    Fernandez-Martinez, F.
    Macias-Guarasa, J.
    Ferreiros, J.
    INTERSPEECH 2007: 8TH ANNUAL CONFERENCE OF THE INTERNATIONAL SPEECH COMMUNICATION ASSOCIATION, VOLS 1-4, 2007, : 1921 - 1924
  • [7] N-Gram, Semantic-Based Neural Network for Mobile Malware Network Traffic Detection
    Bai, Huiwen
    Liu, Guangjie
    Liu, Weiwei
    Quan, Yingxue
    Huang, Shuhua
    SECURITY AND COMMUNICATION NETWORKS, 2021, 2021
  • [8] N-Gram Based Secure Similar Document Detection
    Jiang, Wei
    Samanthula, Bharath K.
    DATA AND APPLICATIONS SECURITY AND PRIVACY XXV, 2011, 6818 : 239 - 246
  • [9] Time-Aware Fuzzy Neural Network Based on Frequency-Enhanced Modulation Mechanism
    Han, Honggui
    Tang, Zecheng
    Wu, Xiaolong
    Yang, Hongyan
    Qiao, Junfei
    IEEE TRANSACTIONS ON FUZZY SYSTEMS, 2024, 32 (08) : 4772 - 4786
  • [10] Network based Intrusion Detection using Time aware LSTM Autoencoder
    Ratti, Ritesh
    Singh, Sanasam Ranbir
    Nandi, Sukumar
    2023 IEEE 22ND INTERNATIONAL CONFERENCE ON TRUST, SECURITY AND PRIVACY IN COMPUTING AND COMMUNICATIONS, TRUSTCOM, BIGDATASE, CSE, EUC, ISCI 2023, 2024, : 2570 - 2578