8000 GitHub - lokk798/wlan-ai-project: AI-based Intrusion Detection System for wireless networks using machine learning on the AWID dataset, featuring EDA, model training, and .pcap packet analysis tools for offline and real-time detection.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

AI-based Intrusion Detection System for wireless networks using machine learning on the AWID dataset, featuring EDA, model training, and .pcap packet analysis tools for offline and real-time detection.

Notifications You must be signed in to change notification settings

lokk798/wlan-ai-project

Repository files navigation

Intrusion Detection System (IDS)

This project combines AI-based modeling and scripted tools to detect intrusions in wireless networks using packet capture (.pcap) data. It focuses on the AWID dataset, applying machine learning techniques for training models and using them to detect malicious network activity.


📓 EDA and Model Training

A comprehensive exploratory data analysis (EDA) and model training pipeline is provided using the AWID dataset. This process includes data cleaning, feature selection, and training a Random Forest classifier.

👉 AWID Dataset EDA & Model Training Notebook

The notebook includes:

  • Dataset exploration and visualization
  • Preprocessing and feature engineering
  • Model training and evaluation
  • Exporting the trained model (rf_model.pkl) for use in detection scripts

🛠️ IDS Detection Scripts

These scripts use the trained model to analyze .pcap files and detect intrusions either offline or in real time.

1. ids_multi_process.py

Supports parallel and batch processing for large .pcap files.

Usage

# For parallel processing (recommended for large files)
python ids_multi_process.py --pcap wpa2-cracking-phone-access-point.pcap --model rf_model.pkl --parallel

# For batch processing
python ids_multi_process.py --pcap wpa2-cracking-phone-access-point.pcap --model rf_model.pkl --batch --batch-size 500

# To limit the number of packets processed (with parallel processing)
python ids_multi_process.py --pcap wpa2-cracking-phone-access-point.pcap --model rf_model.pkl --parallel --limit 10000

2. simple_ids.py

A basic script for quick and simple intrusion detection.

Usage

python simple_ids.py

3. wlan_ids.py

Performs real-time intrusion detection on wireless network traffic.


📦 Requirements

Install all dependencies before running the scripts:

pip install -r requirements.txt

About

AI-based Intrusion Detection System for wireless networks using machine learning on the AWID dataset, featuring EDA, model training, and .pcap packet analysis tools for offline and real-time detection.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0