Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 3.21 KB

File metadata and controls

58 lines (40 loc) · 3.21 KB

FOSS: Towards Fine-Grained Unknown Class Detection against the Open-Set Attack Spectrum with Variable Legitimate Traffic

avatar

Introduction

FOSS is the anomaly-based network intrusion detection system which aims to achieve: (i) fine-grained unknown attack detection and (ii) ever-changing legitimate traffic adaptation. The architecture of FOSS mainly includes model construction, outlier detection & classification, and model update. This anonymous repository displays the corresponding source code for model implementation.

Requirements

pip install scipy
pip install numpy
pip install pandas
pip install tqdm
pip install pyecharts
pip install joblib
pip install pickle
pip install sklearn

Feature Extraction

The feature extraction program is stored in ./overview/feature.py. Please configure the data input path that includes PCAP traffic split by 5-tuple.

python feature.py

Model

The main function is stored in ./model/main_process.py.

python main_process.py

Evaluation

The folder ./evaluation/monte_carlo/ shows the feature selection based on the weighted entropy in the Monte Carlo method.

The feature perception evaluation results for 8 types of attacks from IDS are shown in ./evaluation/feature_perception/.

References