Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ BoT-IoT Attack Detection & IP Analysis Dashboard


📌 Overview

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.


✨ Features

  • 🔍 ML-based attack detection
  • 📊 Interactive Streamlit dashboard
  • 🚨 Filter traffic where attack_prediction = 1
  • 🌐 Extract and display unique attacker IPs
  • 📈 Attack distribution visualization

🧠 Tech Stack

  • Python 🐍
  • Pandas
  • Scikit-learn
  • Streamlit
  • NumPy

📂 Project Structure

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

⚙️ Installation

# 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.txt

▶️ Usage

streamlit run app.py

Then open in your browser:

http://localhost:8501

📈 Output

  • 📋 Table of predictions
  • 🌐 Unique attacker IP list
  • 📊 Attack distribution chart

📸 Screenshots (Add yours)

💡 Tip: Add screenshots here to make your project stand out on GitHub

image

👨‍💻 Author

Sanika Yadav GitHub: https://github.com/sanikayadav2024


⭐ Support

If you found this project useful, consider giving it a ⭐ on GitHub!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages