This project is a Machine Learning-based Network Intrusion Detection System built using the BoT-IoT dataset.
It predicts whether network traffic is:
- ✅ Normal (0)
- 🚨 Attack (1)
The results are displayed using an interactive Streamlit dashboard, which also highlights unique attacker IP addresses for deeper analysis.
- 🔍 ML-based attack detection
- 📊 Interactive Streamlit dashboard
- 🚨 Filter traffic where
attack_prediction = 1 - 🌐 Extract and display unique attacker IPs
- 📈 Attack distribution visualization
- Python 🐍
- Pandas
- Scikit-learn
- Streamlit
- NumPy
project_root/
│
├── app.py # Main Streamlit application (UI + prediction logic)
├── model.pkl # Trained machine learning model
├── scaler.pkl # Data scaler for preprocessing
├── requirements.txt # Project dependencies
# Clone repository
git clone https://github.com/sanikayadav2024/iot_security_ui.git
# Navigate to project folder
cd iot_security_ui
# Install dependencies
pip install -r requirements.txtstreamlit run app.pyThen open in your browser:
http://localhost:8501
- 📋 Table of predictions
- 🌐 Unique attacker IP list
- 📊 Attack distribution chart
💡 Tip: Add screenshots here to make your project stand out on GitHub
Sanika Yadav GitHub: https://github.com/sanikayadav2024
If you found this project useful, consider giving it a ⭐ on GitHub!