A simple DNS atack detector based on DecisionTree built with scikit-learn
- Install Python 3
- Clone repo and open folder with it
- Create virual env
pyvenv venv && activate venv/bin/activate - Install dependencises
pip install -r requirements.txt - Build model on provided DNS dump by script
python main.py - Verify model calling
pytest - Based on test script use model located in models/dns_model.pkl with any new data