An open API service indexing awesome lists of open source software.

https://github.com/sentinelbyte/cybersimmas

A lightweight simulation framework for modeling attacker &defender agents in a custom env.
https://github.com/sentinelbyte/cybersimmas

Last synced: 9 months ago
JSON representation

A lightweight simulation framework for modeling attacker &defender agents in a custom env.

Awesome Lists containing this project

README

          

# ๐Ÿ›ก๏ธ Cyber MAS Sim

## Multi Agent System Simulation for CyberSecurity WF

SentinelByte 2025 (DCV)

A lightweight simulation framework for modeling attacker and defender agents in a cybersecurity environment. Built from scratch to support reinforcement learning, automation, and cloud security training scenarios.

## ๐Ÿš€ Features

- Simulated network with vulnerable nodes
- Attacker and defender agents with pluggable logic
- Logs, patching, and basic interaction tracking
- Designed for future expansion: RL, PettingZoo, AWS/K8s integrations

## ๐Ÿ“ Project Structure

```

cyber-mas-sim/
โ”œโ”€โ”€ agents/ # Attacker and Defender agents
โ”‚ โ”œโ”€โ”€ attacker.py
โ”‚ โ””โ”€โ”€ defender.py
โ”œโ”€โ”€ core/ # Simulation engine & utilities
โ”‚ โ”œโ”€โ”€ simulation.py
โ”‚ โ””โ”€โ”€ utils.py (optional)
โ”œโ”€โ”€ env/ # Simulated environment (nodes, network)
โ”‚ โ”œโ”€โ”€ node.py
โ”‚ โ””โ”€โ”€ network.py (optional)
โ”œโ”€โ”€ run.py # Entrypoint to run the simulation
โ”œโ”€โ”€ requirements.txt # Python dependencies
|__ README.md

````

---

## ๐Ÿงช Quick Start

### 1. Clone and Setup
```bash
git clone https://github.com/SentinelByte/cyberMasSim.git
cd cyberMasSim
python3 -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
````

### 2. Run the Simulation

```bash
python run.py
```

---

## โœ… TODO

* [ ] Add lateral movement and network graph
* [ ] Introduce Reinforcement Learning (PettingZoo/Gym)
* [ ] Model AWS or K8s-specific attack/defense behavior
* [ ] Visualization (grid or graph)

## ๐Ÿ“œ License

MIT License โ€” free to use and modify.

## ๐Ÿ™‹โ€โ™‚๏ธ About

Built by SentinelByte.

Exploring Multi Agent Systems (MAS) for autonomous defense, cloud remediation, and adversarial simulation.

````
gitignore

## Python
__pycache__/
*.pyc
*.pyo
*.pyd
*.log

## Envs
venv/
.env

## IDEs
.vscode/
.idea/
````

---

## ๐Ÿท๏ธ GitHub Tags and Topics

Repo Tags:

```
cybersecurity, multi-agent-system, red-team, blue-team, simulation, python, cloud-security, SentinelByte
```