Skip to content

josephbolus/Intrusion-and-anomaly-detection-with-machine-learning

 
 

Repository files navigation

Web attacks detection with machine learning

Machine learning algorithms applied on HTTP logs analysis to detect intrusions and suspicious activities.

How to use

Encode your http logs and save the result into a csv file

$ python label-raw-data.py -l ./raw-http-logs-samples/access-2018-12-15.log -d ./labeled-data-samples/access-2018-12-15.csv

Train a model and test the prediction

$ python logistic-regression-classifier.py -t ./labeled-data-samples/all -v ./labeled-data-samples/access-2018-12-15.csv


Details could be found here:
http://enigmater.blogspot.fr/2017/03/intrusion-detection-based-on-supervised.html

About

Machine learning algorithms applied on log analysis to detect intrusions and suspicious activities.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%