LH
lhiebert01/network-attack-simulator
network-attack-simulator
Network Attack Simulator
A Streamlit-based educational tool for simulating and visualizing common network attacks.
Features
- Simulate various network attacks (Port Scan, DoS, Brute Force, Data Exfiltration)
- Interactive dashboard with attack statistics and visualizations
- Detailed attack logs with filtering capabilities
- Educational explanations of attack types and detection methods
- Integration with Network Log Analyzer
Deployment Instructions
Local Development
- Set up a Python virtual environment:
conda create -p venv python=3.12.9 -y
conda activate venv
pip install -r network-simulator-requirements.txt- Run the Streamlit app:
streamlit run streamlit_app.pyDeployment to Streamlit Cloud
- Create a GitHub repository:
git init
git add .
git commit -m "Initial commit"
git remote add origin https://github.com/yourusername/network-attack-simulator.git
git push -u origin main-
Visit Streamlit Cloud and sign in with your GitHub account.
-
Create a new app by selecting your repository and the
streamlit_app.pyfile. -
Configure the app settings and deploy.
Integration with Network Log Analyzer
The Network Attack Simulator integrates with the Network Log Analyzer, which should be deployed as a separate Streamlit app. The "Open Log Analyzer" button in the sidebar will open the Log Analyzer in a new window.
Requirements
See network-simulator-requirements.txt for the full list of dependencies.
License
For educational purposes only. Do not use for malicious activities.
Author
Created by [Your Name]
On this page
Languages
JavaScript41.7%Python41.0%CSS8.1%HTML7.7%PowerShell1.5%
Contributors
Created March 9, 2025
Updated March 9, 2025