2024-12-27 16:41:42 +02:00
# LitterBox
2025-02-08 02:12:01 +02:00
2026-05-03 13:31:00 -07:00

2024-12-29 14:21:05 +02:00
2025-09-02 07:36:52 -07:00
[]()
[]()
[]()
[]()
2025-09-04 10:19:13 +03:00
[]()
2025-11-12 15:30:28 +02:00
[](https://deepwiki.com/BlackSnufkin/LitterBox)
2025-05-20 17:06:29 +03:00
[](https://github.com/BlackSnufkin/LitterBox/stargazers)
2024-12-29 10:47:49 +02:00
2026-05-03 12:46:38 -07:00
A self-hosted payload-analysis sandbox for red teams. Upload a sample, run static / dynamic / EDR analysis against it, get a Detection Score and a triggering-indicators breakdown — decide whether the payload is field-ready before it leaves the lab.
2025-09-02 07:36:52 -07:00
2026-05-03 12:46:38 -07:00
LitterBox can also dispatch payloads to a separate EDR-instrumented Windows VM (Elastic Defend or Fibratus) and pull the correlated detection alerts back into the results page.
2024-12-29 10:47:49 +02:00
2026-05-03 12:46:38 -07:00
> While designed primarily for red teams, LitterBox is equally useful for blue teams running the same tools in their malware-analysis workflows.
2025-02-07 15:55:46 -08:00
2025-09-06 23:48:03 +03:00
## Documentation
2026-05-03 12:46:38 -07:00
Operator and developer documentation lives in the * * [LitterBox Wiki ](../../wiki )**.
2026-04-30 05:46:14 -07:00
2026-05-03 12:46:38 -07:00
| Topic | Wiki page |
|---|---|
| How everything fits together | [Application Architecture ](../../wiki/Application-Architecture ) |
| Run static + every reachable EDR in parallel | [All in One Pipeline ](../../wiki/All-in-One-Pipeline ) |
| Dispatch payloads to a real EDR VM | [EDR Integration ](../../wiki/EDR-Integration ) → [Elastic Defend ](../../wiki/Elastic-Defend-Setup ) / [Fibratus ](../../wiki/Fibratus-Setup ) |
| Whiskers agent (install, endpoints, build) | [Whiskers Agent ](../../wiki/Whiskers-Agent ) |
| Every HTTP endpoint | [HTTP API Reference ](../../wiki/HTTP-API-Reference ) |
| CLI / Python lib / MCP for LLMs | [GrumpyCats CLI ](../../wiki/GrumpyCats-CLI ) · [GrumpyCats Library ](../../wiki/GrumpyCats-Library ) · [LitterBoxMCP ](../../wiki/LitterBoxMCP ) |
| What feeds the Detection Score | [Detection Score Explained ](../../wiki/Detection-Score-Explained ) |
| Configure scanners / paths / timeouts | [Configuration Reference ](../../wiki/Configuration-Reference ) |
| Add custom YARA rules / scanners | [YARA Rules Management ](../../wiki/YARA-Rules-Management ) · [New Scanner ](../../wiki/New-Scanner ) |
2025-05-20 17:06:29 +03:00
2024-12-29 04:47:37 -08:00
## Installation
2024-12-29 10:20:15 +02:00
2026-05-03 12:46:38 -07:00
### Windows
2024-12-29 04:47:37 -08:00
``` bash
2024-12-29 05:33:08 -08:00
git clone https://github.com/BlackSnufkin/LitterBox.git
cd LitterBox
2025-04-24 09:53:34 -07:00
python -m venv venv
.\v env\S cripts\A ctivate.ps1
2024-12-29 04:47:37 -08:00
pip install -r requirements.txt
2026-05-03 12:46:38 -07:00
python litterbox.py # add --debug for verbose logging
2024-12-29 04:47:37 -08:00
```
2024-12-29 04:01:52 -08:00
2026-05-03 12:46:38 -07:00
Open `http://127.0.0.1:1337` . Requires Python 3.11+ and an admin shell.
2025-09-02 07:36:52 -07:00
2026-05-03 12:46:38 -07:00
### Linux (Docker)
2025-09-02 07:36:52 -07:00
2025-01-25 14:03:44 -08:00
``` bash
2025-09-02 07:36:52 -07:00
git clone https://github.com/BlackSnufkin/LitterBox.git
cd LitterBox/Docker
chmod +x setup.sh
./setup.sh
2025-01-25 14:03:44 -08:00
```
2024-12-29 05:01:54 -08:00
2026-05-03 12:46:38 -07:00
The setup script provisions a Windows 10 container with KVM and runs LitterBox inside. Initial build takes ~1 hour.
2025-05-16 07:26:48 -07:00
2026-05-03 12:46:38 -07:00
- **Install monitor**: `http://localhost:8006`
- **RDP**: `localhost:3389` (creds in the docker compose file)
- **LitterBox UI**: `http://127.0.0.1:1337` once setup completes
2026-04-29 14:57:38 -07:00
2026-05-03 12:46:38 -07:00
### EDR setup (optional)
2026-04-30 05:46:14 -07:00
2026-05-03 12:46:38 -07:00
Drop one or more profile YAMLs under `Config/edr_profiles/` and the upload page picks them up at boot. Full walkthroughs in the wiki: [Whiskers Agent ](../../wiki/Whiskers-Agent ) → [Elastic Defend Setup ](../../wiki/Elastic-Defend-Setup ) or [Fibratus Setup ](../../wiki/Fibratus-Setup ).
2024-12-29 05:01:54 -08:00
2026-05-04 08:56:43 -07:00
## Scanners
Bundled binaries under `Scanners/` . Versions and last-update dates tracked here so operators can tell at a glance whether a scanner is current.
| Scanner | Version | Last updated | Source |
|---|---|---|---|
| [PE-Sieve ](https://github.com/hasherezade/pe-sieve ) | 0.4.1.2 (`f1dc39d` ) | 2026-05-02 | hasherezade/pe-sieve |
| [Hollows-Hunter ](https://github.com/hasherezade/hollows_hunter ) | 0.4.1.2 (`e271f7e` ) | 2026-04-18 | hasherezade/hollows_hunter |
| [Moneta ](https://github.com/forrest-orr/moneta ) | `5b65395` | 2024-03-16 | forrest-orr/moneta |
| [Patriot ](https://github.com/joe-desimone/patriot ) | — | 2024-12-29 | joe-desimone/patriot |
| [Hunt-Sleeping-Beacons ](https://github.com/thefLink/Hunt-Sleeping-Beacons ) | `84dd3a9` | 2026-01-25 | thefLink/Hunt-Sleeping-Beacons |
2026-05-04 09:01:22 -07:00
| [RedEdr ](https://github.com/dobin/RedEdr ) | `3bd6b97` (EXE-only build) | 2026-05-03 | dobin/RedEdr |
2026-05-04 08:56:43 -07:00
| [YARA ](https://github.com/VirusTotal/yara/releases ) (engine `yara64.exe` ) | — | 2024-12-29 | VirusTotal/yara |
| Elastic YARA rules (`Scanners/Yara/rules/elastic-yara/` ) | `d131ea8` | 2026-04-30 | elastic/protections-artifacts |
| YARA-Forge Extended (`Scanners/Yara/rules/YARAForge/` ) | 0.9.1 (release `20260503` ) | 2026-05-03 | YARAHQ/yara-forge |
| [CheckPlz ](https://github.com/BlackSnufkin/CheckPlz ) | — | 2024-12-29 | BlackSnufkin/CheckPlz |
| [Stringnalyzer ](https://github.com/BlackSnufkin/Rusty-Playground/tree/main/Stringnalyzer ) | — | 2025-01-27 | BlackSnufkin/Rusty-Playground |
| [HolyGrail ](https://github.com/BlackSnufkin/HolyGrail ) | — | 2025-08-18 | BlackSnufkin/HolyGrail |
Version format: `<release-version>` or `<release-version> (release)` when the binary is pulled from an upstream release; `<release-version> (\` <commit>\`)` or just ` \`<commit>\`` when built from source. Last-updated date is the upstream commit / release date, not the local build date.
When you refresh a scanner: replace the binary under its ` Scanners/<Name>/` directory and update the row above (version + date).
2025-05-20 13:16:54 +03:00
## Contributing
2026-05-03 12:46:38 -07:00
See [CONTRIBUTING.md ](./CONTRIBUTING.md ). Work in feature branches on personal forks.
2024-12-29 05:01:54 -08:00
2025-08-28 17:02:19 +03:00
## Support 🍺
<a href="https://www.buymeacoffee.com/blacksnufkin"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" width="200" height="60"></a>
2025-08-31 23:00:18 +03:00
[](https://starchart.cc/blacksnufkin/litterbox)
2025-05-20 17:06:29 +03:00
## Security Advisory
2024-12-29 05:01:54 -08:00
2026-05-03 12:46:38 -07:00
- **Development use only.** This platform is designed for testing environments. Production deployment presents significant security risks.
- **Isolation required.** Run only in isolated VMs or dedicated testing environments.
- **No warranty.** Provided without guarantees; use at your own risk.
- **Legal compliance.** Users are responsible for ensuring usage complies with applicable laws.
2024-12-29 05:01:54 -08:00
2025-05-20 17:06:29 +03:00
## Acknowledgments
2024-12-29 05:04:00 -08:00
2026-05-03 12:46:38 -07:00
LitterBox stands on the work of these projects and their authors:
2024-12-29 05:04:00 -08:00
2026-05-03 12:46:38 -07:00
| Tool | Author |
|---|---|
| [YARA rules ](https://github.com/elastic/protections-artifacts/tree/main/yara ) · [Elastic Defend ](https://www.elastic.co/security/endpoint-security ) | [Elastic Security ](https://github.com/elastic ) |
| [PE-Sieve ](https://github.com/hasherezade/pe-sieve ) · [Hollows-Hunter ](https://github.com/hasherezade/hollows_hunter ) | [hasherezade ](https://github.com/hasherezade ) |
| [Moneta ](https://github.com/forrest-orr/moneta ) | [Forrest Orr ](https://github.com/forrest-orr ) |
| [Patriot ](https://github.com/joe-desimone/patriot ) | [joe-desimone ](https://github.com/joe-desimone ) |
| [Hunt-Sleeping-Beacons ](https://github.com/thefLink/Hunt-Sleeping-Beacons ) | [thefLink ](https://github.com/thefLink ) |
| [RedEdr ](https://github.com/dobin/RedEdr ) | [dobin ](https://github.com/dobin ) |
| [Fibratus ](https://github.com/rabbitstack/fibratus ) | [rabbitstack ](https://github.com/rabbitstack ) |
| [ThreatCheck ](https://github.com/rasta-mouse/ThreatCheck ) (basis for CheckPlz) | [rasta-mouse ](https://github.com/rasta-mouse ) |
| [MalAPI ](https://malapi.io/ ) reference DB | [mr.d0x ](https://github.com/mrd0x ) |
2024-12-29 15:20:48 +02:00
2025-05-20 17:06:29 +03:00
## Interface
2025-01-02 12:01:01 +02:00
2025-09-02 07:36:52 -07:00
