Skip to content

amn2905/malware-simulation-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

🛡️ Malware Simulation & Cyber Threat Dashboard

A real-time Cybersecurity Simulation Dashboard built using FastAPI (Backend) and HTML/CSS/JavaScript (Frontend). This project simulates different malware attacks and visualizes their behavior through a modern SOC-style dashboard.


🚀 Features

  • ⚡ Real-time malware simulation (RAT, Ransomware, Virus, Worm)
  • 📜 Live activity logs with typing animation
  • 📊 Analytics dashboard (Total runs, Last attack)
  • 🧠 Attack description panel
  • ⏱️ Execution timer
  • 📥 Download logs functionality
  • 🔄 Reset dashboard
  • 🔔 Desktop notifications
  • 🎨 Premium Cybersecurity UI (SOC-style dashboard)

🧩 Tech Stack

🔹 Backend

  • FastAPI
  • Python
  • Uvicorn

🔹 Frontend

  • HTML5
  • CSS3 (Glassmorphism + Cyber UI)
  • JavaScript (Vanilla JS)

⚙️ Project Structure

project/
│
├── backend/
│   ├── main.py
│   ├── simulation.py
│   ├── logger.py
│   └── logs.txt
│
├── frontend/
│   ├── index.html
│   ├── style.css
│   └── script.js
│
└── README.md

🧪 Supported Simulations

Attack Type Description
⚡ RAT Remote system control simulation
🔐 Ransomware File encryption behavior
🦠 Virus File infection & replication
🐛 Worm Network-based self-propagation

▶️ How to Run

1️⃣ Clone Repository

git clone https://github.com/your-username/malware-simulation-dashboard.git
cd malware-simulation-dashboard

2️⃣ Backend Setup

cd backend
pip install fastapi uvicorn

Run server:

uvicorn main:app --reload

👉 API will run on:

http://127.0.0.1:8000

3️⃣ Frontend Setup

  • Open frontend/index.html in browser OR
  • Use Live Server (recommended)

📡 API Endpoints

Endpoint Method Description
/ GET Check API status
/simulate/{type} GET Start simulation
/logs GET Fetch logs
/stats GET Analytics data
/attack-info/{type} GET Attack details

📸 Demo Workflow

  1. Select attack (RAT / Ransomware / Virus / Worm)
  2. Simulation starts
  3. Logs appear in real-time
  4. Progress updates dynamically
  5. Dashboard updates analytics
  6. Simulation completes with notification

⚠️ Disclaimer

This project is only for educational purposes. It does NOT execute real malware. All behaviors are simulated safely.


💡 Future Improvements

  • 🔌 WebSocket for real-time logs (no polling)
  • 📊 Graph-based analytics
  • 🌐 Network attack visualization
  • 📄 PDF report generation
  • 🔐 Authentication system

👨‍💻 Author

Mohd. Amaan Hamid Cybersecurity Student


⭐ Contribution

Feel free to fork, improve, and contribute!


📜 License

This project is open-source and available under the MIT License.

About

Cybersecurity Malware Simulation Dashboard using FastAPI & JavaScript

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors