FS-IDS: A framework for intrusion detection based on few-shot learning

被引:24
作者
Yang, Jingcheng [1 ]
Li, Hongwei [1 ]
Shao, Shuo [1 ]
Zou, Futai [1 ]
Wu, Yue [1 ]
机构
[1] Shanghai Jiao Tong Univ, Sch Elect Informat & Elect Engn, Shanghai, Peoples R China
基金
美国国家科学基金会; 国家重点研发计划;
关键词
Network security; Intrusion detection system; Few -shot learning; Feature fusion; CNN; Deep learning; NEURAL-NETWORKS;
D O I
10.1016/j.cose.2022.102899
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
A B S T R A C T Due to the high dependency of traditional intrusion detection method on a fully-labeled large dataset, existing works can hardly be applied in real-world scenarios, especially facing zero-day attacks. In this paper we present a novel intrusion detection framework called "FS-IDS", including flow data encoding method, feature fusion mechanism and architecture of intrusion detection system based on few-shot learning. We utilize task generator to split the dataset into separate tasks and train model in an episodic way, hoping model to learn general knowledge rather than those specific to a single class. The extraction module and distance metric module are responsible for learning and determining whether the traffic data are benign or not. We conduct three sets of experiments on "FS-IDS", i.e., comparison study, abla-tion study and multiclass study. Comparison study firstly determines that the best measure metric for discrimination is Euclidean distance. Based on the optimal implementation, "FS-IDS" achieves compa-rable performance with existing works by using much fewer malicious samples. Ablation study sets two base models to explore how proposed encoding method and feature fusion mechanism improve detection capacity. Both the image representation and feature fusion achieve more than 2% improvement in accu-racy and recall. Finally, to test whether "FS-IDS" can perform well under real-world scenario or not, we design network traffic containing various attacks to simulate complex malicious network environment. Experimental results show that "FS-IDS" maintains more than 90% detection accuracy and recall under the worst circumstances, which composes of various seen or unseen attacks with only a few malicious samples available.(c) 2022 Elsevier Ltd. All rights reserved.
引用
收藏
页数:15
相关论文
共 35 条
[1]  
Aggarwal C. C., 2018, Neural Networks and Deep Learning: A Textbook, DOI 10.1007/978-3-319-94463-0
[2]   A Novel Hierarchical Intrusion Detection System based on Decision Tree and Rules-based Models [J].
Ahmim, Ahmed ;
Maglaras, Leandros ;
Ferrag, Mohamed Amine ;
Derdour, Makhlouf ;
Janicke, Helge .
2019 15TH INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING IN SENSOR SYSTEMS (DCOSS), 2019, :228-233
[3]   Adaptive anomaly-based intrusion detection system using genetic algorithm and profiling [J].
Alves Resende, Paulo Angelo ;
Drummond, Andre Costa .
SECURITY AND PRIVACY, 2018, 1 (04)
[4]   Nearest cluster-based intrusion detection through convolutional neural networks [J].
Andresini, Giuseppina ;
Appice, Annalisa ;
Malerba, Donato .
KNOWLEDGE-BASED SYSTEMS, 2021, 216
[5]  
[Anonymous], 2000, Proceedings of the 2000 DARPA Information Survivability Conference and Exposition (DISCEX), DOI [10.1109/DISCEX.2000.821506, DOI 10.1109/DISCEX.2000.821506]
[6]   Hybrid approach to intrusion detection in fog-based IoT environments [J].
de Souza, Cristiano Antonio ;
Westphall, Carlos Becker ;
Machado, Renato Bobsin ;
Mangueira Sobral, Joao Bosco ;
Vieira, Gustavo dos Santos .
COMPUTER NETWORKS, 2020, 180 (180)
[7]  
Dhanabal L., 2015, INT J ADV RES COMPUT, V4, P446, DOI 10.17148/IJARCCE.2015.4696
[8]   Intrusion Detection Using Big Data and Deep Learning Techniques [J].
Faker, Osama ;
Dogdu, Erdogan .
PROCEEDINGS OF THE 2019 ANNUAL ACM SOUTHEAST CONFERENCE (ACMSE 2019), 2019, :86-93
[9]   Reducing the dimensionality of data with neural networks [J].
Hinton, G. E. ;
Salakhutdinov, R. R. .
SCIENCE, 2006, 313 (5786) :504-507
[10]   A novel statistical analysis and autoencoder driven intelligent intrusion detection approach [J].
Ieracitano, Cosimo ;
Adeel, Ahsan ;
Morabito, Francesco Carlo ;
Hussain, Amir .
NEUROCOMPUTING, 2020, 387 :51-62