NeuralCTF CyberArena X โ Adaptive AI-Powered Cybersecurity Training Simulator
PhantomRange is a futuristic, defensive-focused cybersecurity simulation platform built entirely in Python. It generates dynamic virtual infrastructures, simulates safe educational attack chains, and deploys an AI Defender that adapts in real time. Designed for training, CTF practice, and portfolio demonstration, it delivers a cyberpunk-hacker aesthetic with production-grade architecture.
Developer: issu321
Repository: github.com/issu321/PhantomRange
- ๐ฏ Adaptive Simulation Engine โ Randomized or scenario-based network generation
- ๐ค AI Defender System โ scikit-learn powered threat detection with real-time countermeasures
- ๐ธ๏ธ Interactive Network Graphs โ Plotly-powered topology visualization
- โ๏ธ Safe Attack Chain Simulation โ Educational reconnaissance โ exfiltration pipeline
- ๐ Cyberpunk Dashboard โ Neon-themed metrics, risk heatmaps, and terminal streams
- ๐ Exportable Reports โ JSON session dumps and CSV node inventories
- ๐ง Explainable AI โ Feature importance and remediation recommendations
git clone https://github.com/issu321/PhantomRange.git
cd PhantomRange
bash install.shgit clone https://github.com/issu321/PhantomRange.git
cd PhantomRange
install.batThe installer automatically creates a virtual environment, installs dependencies, and launches the Streamlit interface.
- Open the Dashboard from the sidebar
- Select a Scenario (or Random Generation) and Difficulty
- Click Initialize Simulation
- Navigate to Simulation Lab to execute attack phases
- Monitor the AI Defender responses and patch vulnerabilities in Network Graph
- Export reports from the Reports tab
| Phase | Description |
|---|---|
| Reconnaissance | Simulated information gathering |
| Scanning | Port and service enumeration |
| Credential Discovery | Weak credential detection (educational) |
| Privilege Escalation | Simulated access elevation |
| Lateral Movement | Virtual network traversal |
| Data Exfiltration | Sensitive data store discovery |
All phases are sandboxed and simulated. No real exploitation occurs.
- Python 3.11+
- Streamlit โ Frontend UI
- Plotly โ Interactive visualizations
- NetworkX โ Graph topology generation
- scikit-learn โ AI defender RandomForest classifier
- NumPy & Pandas โ Data processing
- Matplotlib โ Static chart exports
PhantomRange/
โโโ app.py # Main application (backend + frontend)
โโโ requirements.txt # Python dependencies
โโโ README.md # Project documentation
โโโ install.sh # Linux/macOS installer
โโโ install.bat # Windows installer
โโโ inputguide.md # Usage guide
โโโ scenarios.json # Predefined simulation scenarios
โโโ .gitignore # Git exclusions
โโโ assets/
โโโ styles.css # Cyberpunk Streamlit theme
The AI Defender uses a RandomForestClassifier trained on synthetic feature vectors representing:
- Node security level
- Vulnerability count
- Historical alert frequency
- Current attack phase index
When the simulation advances, the model predicts compromise probability per node. If risk exceeds the difficulty-adjusted threshold, the defender triggers actions such as virtual honeypot deployment, quarantine isolation, or authentication hardening.
PhantomRange is a SAFE educational simulation only.
- No real malware is generated
- No actual network exploitation occurs
- All attack chains are abstracted and sandboxed
- Intended for cybersecurity education, CTF training, and defensive skill development
- Plugin system for custom scenarios
- Multiplayer CTF mode via WebSocket
- LLM-powered narrative generation
- MITRE ATT&CK framework mapping
- Docker containerization
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
Developed by issu321