WiGuard-XAI-IDS / README.md
A1mal's picture
Upload 2 files
b824b86 verified
|
Raw History Blame Contribute Delete
1.56 kB
---
title: WiGuard XAI IDS
emoji: 🛡️
colorFrom: blue
colorTo: indigo
sdk: streamlit
sdk_version: 1.40.0
app_file: app.py
pinned: false
---
# WiGuard: Explainable AI-Based Intrusion Detection System
WiGuard is an Explainable AI-based Network Intrusion Detection System trained on the CICIoT2023 dataset.
It uses an XGBoost classifier for binary intrusion detection and SHAP for explainable prediction analysis.
## Features
- XGBoost-based attack detection
- CICIoT2023 benchmark traffic simulation
- SHAP global and local explainability
- Model performance dashboard
- Confusion matrix visualization
- Live traffic simulation using unseen test samples
- Attack probability and severity scoring
- Attack log generation and CSV export
## Model
The final model classifies network-flow traffic into:
- Benign
- Attack
## Dataset
The system uses processed CICIoT2023 network-flow features.
The deployed dashboard uses a sample of unseen test records for real-time traffic simulation.
## Explainability
SHAP is used to explain which features influence model decisions.
Global SHAP plots show overall feature importance, while local explanations show the main reasons behind a specific prediction.
## Limitations
This deployed version uses benchmark traffic simulation.
Live Wireshark/tshark packet capture is treated as a future or local experimental extension because raw packets must first be converted into CICIoT2023-style flow features.
## Run Locally
Install requirements:
pip install -r requirements.txt
Run the app:
streamlit run app.py