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.
- ⚡ 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)
- FastAPI
- Python
- Uvicorn
- HTML5
- CSS3 (Glassmorphism + Cyber UI)
- JavaScript (Vanilla JS)
project/
│
├── backend/
│ ├── main.py
│ ├── simulation.py
│ ├── logger.py
│ └── logs.txt
│
├── frontend/
│ ├── index.html
│ ├── style.css
│ └── script.js
│
└── README.md
| Attack Type | Description |
|---|---|
| ⚡ RAT | Remote system control simulation |
| 🔐 Ransomware | File encryption behavior |
| 🦠 Virus | File infection & replication |
| 🐛 Worm | Network-based self-propagation |
git clone https://github.com/your-username/malware-simulation-dashboard.git
cd malware-simulation-dashboardcd backend
pip install fastapi uvicornRun server:
uvicorn main:app --reload👉 API will run on:
http://127.0.0.1:8000
- Open
frontend/index.htmlin browser OR - Use Live Server (recommended)
| 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 |
- Select attack (RAT / Ransomware / Virus / Worm)
- Simulation starts
- Logs appear in real-time
- Progress updates dynamically
- Dashboard updates analytics
- Simulation completes with notification
This project is only for educational purposes. It does NOT execute real malware. All behaviors are simulated safely.
- 🔌 WebSocket for real-time logs (no polling)
- 📊 Graph-based analytics
- 🌐 Network attack visualization
- 📄 PDF report generation
- 🔐 Authentication system
Mohd. Amaan Hamid Cybersecurity Student
Feel free to fork, improve, and contribute!
This project is open-source and available under the MIT License.