Skip to content

dthongvl/ids-machine-learning

Repository files navigation

ids-machine-learning

Create virtual environment

pip install virtualenv
virtualenv env

Active and install packages

source env/bin/activate
pip install -r requirements.txt

Run

Build KMeans cluster and test accuracy

python main.py

./flatc --python packet.fbs

Install LaTeX to build docs

sudo apt install texlive-full

Datasets from: https://github.com/defcom17/NSL_KDD

Code based on: https://github.com/AnomalyIDSBenchmark/KMeansNSL-KDD

Feature Extractor from: https://github.com/AI-IDS/kdd99_feature_extractor