Gloamfire
Purple-team attack replay and detection validation platform
Gloamfire is a local-first, Docker-native adversary simulation and detection validation framework for SOC teams, purple teams, homelabs, and detection engineers.
It safely simulates attack techniques inside isolated Docker containers, validates that your detections fire, and maps everything to MITRE ATT&CK — fully offline with no cloud dependencies.
This is NOT malware. All simulations are safe, sandboxed, and deterministic.
Quick Start
Prerequisites: Python 3.12+, Docker Engine with Compose plugin, 4 GB RAM free.
# Kali / Debian / Ubuntu — venv required on externally-managed Python
python3 -m venv .venv && source .venv/bin/activate
pip install gloamfire
Or from source:
git clone https://github.com/CommonHuman-Lab/gloamfire.git
cd gloamfire
python3 -m venv .venv && source .venv/bin/activate
pip install -e .
Boot the full lab (victims + Wazuh SIEM + Suricata IDS)
gloamfire up
This single command:
- Starts three victim containers on an isolated network
- Builds and starts the Wazuh manager, indexer, and dashboard
- Downloads 50,000+ Emerging Threats rules into Suricata
Tear down
gloamfire down
Web Dashboard
gloamfire dashboard
Opens a browser to http://127.0.0.1:7100 with a live dashboard.
See CLI commands for the full command reference — simulations, PCAP capture, ATT&CK Navigator export, and independent stack management.
Available Scenarios
20 scenarios covering ~55 MITRE ATT&CK techniques across 11 of 14 tactics.
Architecture
- Plugin registry — Attack modules self-register at import time; adding a simulation is one Python file.
- YAML-driven scenarios — Scenarios are data, not code.
- File-based collection — No API or OpenSearch connection needed; collectors read bind-mounted log files directly.
- Isolated network — Victim containers run on
gloamfire-attack-net(172.30.0.0/24).
Development
pip install -e ".[dev]"
pytest tests/unit/ tests/scenarios/ # no Docker required
pytest # full suite (requires Docker)
ruff check gloamfire/ tests/
ruff format gloamfire/ tests/
mypy gloamfire/
#UI
cd ui
npm install
npm run dev # dev server at :5173, proxies /api to :7100
npm run build # outputs to gloamfire/api/static/ (served by FastAPI)
Related
OctoRig — Docker-based vulnerable lab launcher (Juice Shop, DVWA, Metasploitable, and more).
License
Licensed under the AGPLv3. You are free to use, modify, and distribute this software. If you run it as a service or distribute it, the source must remain open.
For commercial licensing, contact the author.
Metadata
Release files for gloamfire 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gloamfire-0.1.1.tar.gz | 57.8 kB | Without provenance | Details for gloamfire-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gloamfire-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for gloamfire-0.1.1-py3-none-any.whl |
Total release size: 138.3 kB
Release files / gloamfire-0.1.1.tar.gz
| Download URL | gloamfire-0.1.1.tar.gz |
|---|---|
| Size | 57.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfb9bb38a3f96b5199ebb07d859f3305f27dc672530ec6af37641bb32712e6d2
|
|
BLAKE2b-256 checksum How to use checksums |
fc5016f4a3e9566272a280cdafbe61a710ab1f1fa766b00b3e43905ccbff8b3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / gloamfire-0.1.1-py3-none-any.whl
| Download URL | gloamfire-0.1.1-py3-none-any.whl |
|---|---|
| Size | 80.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
837e885c60cb6029a2a70f5825eccae95e7b7d78d140928229ccfde1a09b94ed
|
|
BLAKE2b-256 checksum How to use checksums |
d9db735845c1d70653a9baa3bb3f5a9b272112377c9b4983719af6666f808535
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for gloamfire 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.