Skip to content

Novel feature selection method and hybrid deep learning botnet attack detection method in Industrial Internet of Things

Notifications You must be signed in to change notification settings

Yanzhenyang/AdvBiTrans_experiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AdvBiTrans: A Hybrid BiLSTM-Transformer with Adversarial Training for Botnet Detection in IIoT

This repository contains the complete implementation of our paper "AdvBiTrans", a robust and accurate deep learning framework for botnet detection in Industrial Internet of Things (IIoT) environments.


πŸ“‚ Project Structure

AdvBiTrans_experiment/ β”‚ β”œβ”€β”€ CIC-DDoS2019/ β”‚ β”œβ”€β”€ 1.Data_Preprocessing.ipynb β”‚ β”œβ”€β”€ 2.Feature_Selection_PCCS.ipynb β”‚ β”œβ”€β”€ 3.Mult_Model_xx.ipynb β”‚ └── Picture/ β”‚ β”œβ”€β”€ N-BaIoT/ β”‚ β”œβ”€β”€ 1.Data_Resaving.ipynb β”‚ β”œβ”€β”€ 2.Data_Preprocessing.ipynb β”‚ β”œβ”€β”€ 3.Feature_Selection_PCCS.ipynb β”‚ β”œβ”€β”€ 4.Mult_Model_xx.ipynb β”‚ └── Picture/ β”‚ β”œβ”€β”€ requirements.txt └── README.md

πŸ“‹ Description

The project includes:

  • πŸ“Š Data preprocessing for CIC-DDoS2019 and N-BaIoT datasets
  • πŸ§ͺ Feature selection using Pearson Correlation Coefficient Strategy (PCCS)
  • πŸ€– Model training and evaluation for AdvBiTrans, 1D-CNN, MLP, LightGBM, TabNet, and XGBoost
  • πŸ” Adversarial training using PGD (Projected Gradient Descent)
  • πŸ“ˆ Performance metrics including Accuracy, F1, Inference Time, Memory Usage, FLOPs Note: Mult_Model_xx is named according to the number of features to train the model, the model and parameters are consistent.

πŸ› οΈ Requirements

Run the following to install the required Python packages:

pip install -r requirements.txt


## πŸ“Š Datasets
The foundational datasets utilized in this paper are publicly accessible. The N-BaIoT dataset can be obtained from the official repository at
http://archive.ics.uci.edu/ml/datasets/detection_of_IoT_botnet_attacks_N_BaIoT.
The CIC-DDoS2019 dataset is available at https://www.unb.ca/cic/datasets/ddos-2019.html.

## πŸ§ͺ Run Experiment
You can open and execute each .ipynb notebook in order using Jupyter Notebook or VSCode with Python extension.

About

Novel feature selection method and hybrid deep learning botnet attack detection method in Industrial Internet of Things

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published