An interactive web-based platform for learning and solving real-world cybersecurity problems through visual simulations.
- Learn and solve real-world cybersecurity problems (e.g., attacks, cryptanalysis, network vulnerabilities)
- Visualize simulations (e.g., cryptographic attacks, packet analysis, penetration testing)
- Interact with step-by-step guides, terminals, and graph animations
- React.js + TypeScript – modular, component-based UI
- TailwindCSS – fast, customizable styling
- Framer Motion or D3.js – for animations and graph visualizations
- Monaco Editor – interactive code editor in-browser
- FastAPI (Python) – perfect for serving Python-based simulations & logic
- Celery + Redis – for background simulations (e.g., running attack modules)
- Docker – containerized sandbox environments for code execution
- Socket.IO or WebSockets – for live updates of simulations
- Jupyter Kernel Gateway (optional) – for real-time Python cells like Jupyter
-
Problem Library Module
- Categorized problems (e.g., RSA Attacks, AES Oracles, Web Exploits)
- Each problem has: difficulty, tags, explanation, "Launch Simulation" button
-
Simulation Engine
- Backend runs simulations like Håstad's Attack, CBC Oracle, etc.
- Input: keys, ciphertexts
- Output: logs, step-by-step visual trace, graphs
-
Graphical Visualizer
- Network packet flow
- Modular exponentiation tree
- RSA CRT structure
-
Interactive Terminal
- Run guided scripts (like a CTF)
- Live output display (e.g., packet captures, decrypted messages)
- Docker and Docker Compose
- Node.js (v16+)
- Python 3.9+
- Clone the repository
- Run
docker-compose upto start all services - Access the platform at
http://localhost:3000
cd backend
pip install -r requirements.txt
uvicorn app.main:app --reloadcd frontend
npm install
npm start/cyber-sim-platform
├── backend/
│ ├── app/
│ │ ├── main.py (FastAPI)
│ │ ├── routes/
│ │ ├── services/
│ │ └── models/
│ └── simulations/
│ └── hastad_attack.py
├── frontend/
│ ├── src/
│ │ ├── components/
│ │ ├── pages/
│ │ ├── visualizations/
│ │ └── editor/ (code editor or sandbox)
├── docs/
├── notebooks/ (demos or testing)
├── docker-compose.yml
├── README.md
Learn cybersecurity through interactive simulations with our platform
Popular cybersecurity simulations including RSA attacks, padding oracles, and MitM visualizations
Browse our comprehensive collection of interactive cybersecurity simulations
Håstad's broadcast attack simulation interface with parameters
Håstad's Broadcast Attack simulation showing original and recovered messages
Here’s a roadmap that can be converted into GitHub issues or documentation:
- Build React app structure
- Design Håstad’s Attack simulation UI
- Backend FastAPI endpoint for Håstad’s Attack
- Graphical Visualizer module with D3.js
- Problem Library Page
- Simulation execution engine
- Dockerize backend sandbox
- Add more attacks: CBC Oracle, Fermat’s, Bleichenbacher
- Add interactive terminal + logs
- User login + progress save
- Community problem contributions
- Add guided tutorials
- Capture-the-flag styled labs
- Export simulations as GIFs/videos
- Certificate integration