Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aaaastark/intrusion-detection-system-mqtt-enabled-iot

Intrusion Detection System for MQTT Enabled IoT.
https://github.com/aaaastark/intrusion-detection-system-mqtt-enabled-iot

artifical-neural-network binary-classification classification-report data-processing data-visualization deep-learning feature-extraction intrusion-detection-system keras-tensorflow mean-absolute-error mean-squared-error mqtt mqtt-protocol mqtt-server multi-class-classification r2-score root-mean-square-error sklearn

Last synced: about 1 month ago
JSON representation

Intrusion Detection System for MQTT Enabled IoT.

Awesome Lists containing this project

README

        

# Research Paper: A Deep Learning-Based Intrusion Detection System for MQTT Enabled IoT

#### Get Started with Relevant Project Implementation
- If you're looking for assistance with a project implementation that aligns with your needs, feel free to get in touch with us [LinkedIn](https://www.linkedin.com/in/a-a-a-a-stark-69696617b/).
- To get in touch with us and discuss your project implementation needs, please send an email to [[email protected]](mailto:[email protected]).
- Thank you for considering our services. We look forward to working with you!

>In this thesis, we proposed a Artificial Neural Network (ANN) for intrusion detection in the MQTT-based protocol and also compared its performance with other traditional machine learning (ML) algorithms, such as a Deep Neural Network (DNN), Naive Bayes (NB), Random Forest (RF), k-Nearest Neighbour (kNN), Decision Tree (DT), Long Short-Term Memory (LSTM), and Gated Recurrent Units (GRUs). The performance is proved using publicly available datasets, including MQTT-IoTIDS2020. The MQTT-IoT-IDS2020 contains three abstract-level features, including Uni-Flow, Bi-Flow, and Packet-Flow. The results for the first dataset and binary classification show that the ANN-based model achieved 99.79%, 99.85%, and 94.36% accuracies for Uni-flow, Bi-flow, and Packet-flow, respectively. However, in the case of multi-label classification, these accuracies reduced to 99.71%, 99.70%, and 92.86%, respectively.

#### Research Paper: A Deep Learning-Based Intrusion Detection System for MQTT Enabled IoT
- Website Link for Paper: .

#### Loading the dataset IEEE DataPort (MQTT-IOT-IDS2020)
- Website Link for Dataset: .
- ![image](https://user-images.githubusercontent.com/74346775/184631198-2e285ae9-c5bb-400f-95e4-8d11574c3618.png)
#### MQTT INTERNET OF THINGS INTRUSION DETECTION DATASET

#### Workflow that is used in this Project
- Data Processing
- Data Normalization
- Binary Class Classification
- Multi Class Classification
- Feature Extraction (BC and MC)
- Artificial Neural Network Model (ANN)
- Visualization Accuracy and Loss
- Classification Report
- Mean Absolute Error, Mean Squared Error, Root Mean Squared Error, and R2 Score

#### APIs that are used in this Project
- tensorflow
- sklearn
- keras
- matplotlib
- numpy
- pandas

## Paper vs Proposed Results: DNN vs ANN netowrks

#### Binary Class Classification

- Bi-flow Features Paper: 99.75%
- Bi-flow Features Proposed: 99.85%
- ![image](https://user-images.githubusercontent.com/74346775/184626036-9cdf59cf-fde2-46cc-9af3-844d0fe70723.png)
- ![image](https://user-images.githubusercontent.com/74346775/184626150-9a6f98db-b45c-40d7-b3cb-579c8ab9f6f2.png)
- ![image](https://user-images.githubusercontent.com/74346775/184626300-7e0a63dc-4b8b-4ff0-bac8-1d6cb492c8c0.png)

- Ui-flow Features Paper: 99.92%
- Ui-flow Features Paper: 99.79%
- ![image](https://user-images.githubusercontent.com/74346775/184626355-958488e9-64c9-404b-a2ff-732f42b84fb7.png)
- ![image](https://user-images.githubusercontent.com/74346775/184626386-9de5528e-f7f6-4a0a-96a8-7abdf0f139eb.png)
- ![image](https://user-images.githubusercontent.com/74346775/184626451-21232b91-0cac-4dfe-aa69-b5738ba7426e.png)

- Packet-flow Features Paper: 94.94%
- Packet-flow Features Paper: 94.36%
- ![image](https://user-images.githubusercontent.com/74346775/184626492-1f96dc18-475d-45ac-8878-153a475cc84c.png)
- ![image](https://user-images.githubusercontent.com/74346775/184626549-c1b197c4-ae54-49b1-afbd-779ef947f6d9.png)
- ![image](https://user-images.githubusercontent.com/74346775/184626596-94a59fac-d84a-4e50-bd96-3d2aecc557ef.png)

#### Multi Class Classification

- Bi-flow Features Paper: 98.12%
- Bi-flow Features Proposed: 99.70%
- ![image](https://user-images.githubusercontent.com/74346775/184626701-25c7b791-b66e-4f29-b427-1833033a4043.png)
- ![image](https://user-images.githubusercontent.com/74346775/184626769-38636742-27a1-4b6b-9e99-b614d760357d.png)
- ![image](https://user-images.githubusercontent.com/74346775/184626807-d9d9cf26-c08f-4143-bd85-34e8f1f607be.png)

- Ui-flow Features Paper: 97.08%
- Ui-flow Features Paper: 99.71%
- ![image](https://user-images.githubusercontent.com/74346775/184626880-2a061018-699e-4815-baaa-b98907a701fd.png)
- ![image](https://user-images.githubusercontent.com/74346775/184626923-8fce8204-e8a1-4418-949d-5884ee741e0b.png)
- ![image](https://user-images.githubusercontent.com/74346775/184626962-5c9ec2ba-60ab-4122-bd2b-c47f8ba0cf2a.png)

- Packet-flow Features Paper: 90.79%
- Packet-flow Features Paper: 92.86%
- ![image](https://user-images.githubusercontent.com/74346775/184626997-67851ce8-a3e1-463b-a8c2-dfabbd18c5f2.png)
- ![image](https://user-images.githubusercontent.com/74346775/184627040-3688eb80-6692-4dd0-8f6b-7746dec47a31.png)
- ![image](https://user-images.githubusercontent.com/74346775/184627138-4c98b516-aa50-483c-b4f9-f91f13bb2139.png)