Skip to content
/ FOSS Public

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

License

Notifications You must be signed in to change notification settings

FOSS-Code/FOSS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages