Thanks to visit codestin.com
Credit goes to github.com

Skip to content

roshan-nahsor/IoT_NIDS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IoT_NIDS

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.

Important Files

Prediction

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

Normal Traffic

final_with_temp/final_with_temp.ino

Attack (ESP8266 NodeMCU)

esp8266tokalilinux.ino

MQTT Server used

TankFill

Usage

Virtual Environment

Use any method to create a python virtual environement. For using a virtual environment with JupterLab refer this video.

Requirements

pip install -r final/requirements.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •