This project is a Network Intrusion Detection System which does Anomaly Based Detection tailored towards IoT systems.
The system in this project consists of a RaspberryPi Microcomputer acting as the MQTT server for an ESP32 node that simulates a Home Automation System. An ESP8266 NodeMCU is used to launch attacks (especially DoS) on the server. The NIDS deployed on the RaspberryPi server should be able to detect attacks and notify the concerned person.
tuesday-Copy1.ipynb - train and save the CNN model
load_model.ipynb - load the CNN and perform inference
load_model.py - only required steps to save inference results
1st_attempt.ipynb - preprocessing
final/PSO_logistic.ipynb - LR using PSO
final/logistic_inference.ipynb - LR inference
final/logistic_inference_script.py - LR inference script
final/combine.ipynb - Combine results of both models
final/mode_mode.py, min_min.py, mode_min.py - Combine scripts for different methods
final_with_temp/final_with_temp.ino
Use any method to create a python virtual environement. For using a virtual environment with JupterLab refer this video.
pip install -r final/requirements.txt