Sandbox
@BlackSnufkin/LitterBox

Payload analysis sandbox with MCP and EDR tools

LitterBox is a local sandbox for checking payloads against static scanners, dynamic checks, and EDR profiles before they leave the lab. The main app exposes a web UI, while `GrumpyCats` adds CLI, Python, and MCP entry points so an agent can upload samples and collect results without manual clicking.

1,536 stars169 forksYARAUpdated 4mo ago
Who it's for

Builders who want an agent-driven way to analyze suspicious payloads in an isolated environment.

What it delivers

You can decide whether a payload is field-ready from one analysis run instead of stitching together separate tools by hand.

What it does

Static and dynamic payload analysis

Uploads a sample and runs it through bundled scanners, YARA rules, and other checks.

Detection score breakdown

Shows a score plus the indicators that caused it, so you can see why a sample triggered.

EDR-backed analysis

Can send payloads to a Windows VM with Elastic Defend or Fibratus and pull the alerts back into the report.

MCP and CLI access

`GrumpyCats` provides MCP, CLI, and Python library access for agent-led workflows.

Configurable scanner bundle

Uses the `Scanners/` and `Config/edr_profiles/` folders to manage tools, paths, and EDR profiles.

Docker lab setup

Includes Docker-based setup scripts for running the sandbox in an isolated environment.

How to get it

  1. 1Run
    git clone https://github.com/BlackSnufkin/LitterBox.git
    cd LitterBox
    python -m venv venv
    .\venv\Scripts\Activate.ps1
    pip install -r requirements.txt
    python litterbox.py            # add --debug for verbose logging
  2. 2Run
    git clone https://github.com/BlackSnufkin/LitterBox.git
    cd LitterBox/Docker
    chmod +x setup.sh
    ./setup.sh

README

LitterBox

LitterBox Logo

Python Windows Linux Docker MCP Ask DeepWiki GitHub Stars

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.

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.

While designed primarily for red teams, LitterBox is equally useful for blue teams running the same tools in their malware-analysis workflows.

Documentation

Operator and developer documentation lives in the LitterBox Wiki.

TopicWiki page
How everything fits togetherApplication Architecture
Run static + every reachable EDR in parallelAll in One Pipeline
Dispatch payloads to a real EDR VMEDR IntegrationElastic Defend / Fibratus
Whiskers agent (install, endpoints, build)Whiskers Agent
Every HTTP endpointHTTP API Reference
CLI / Python lib / MCP for LLMsGrumpyCats CLI · GrumpyCats Library · LitterBoxMCP
What feeds the Detection ScoreDetection Score Explained
Configure scanners / paths / timeoutsConfiguration Reference
Add custom YARA rules / scannersYARA Rules Management · New Scanner

Installation

Windows

git clone https://github.com/BlackSnufkin/LitterBox.git
cd LitterBox
python -m venv venv
.\venv\Scripts\Activate.ps1
pip install -r requirements.txt
python litterbox.py            # add --debug for verbose logging

Open http://127.0.0.1:1337. Requires Python 3.11+ and an admin shell.

Linux (Docker)

git clone https://github.com/BlackSnufkin/LitterBox.git
cd LitterBox/Docker
chmod +x setup.sh
./setup.sh

The setup script provisions a Windows 10 container with KVM and runs LitterBox inside. Initial build takes ~1 hour.

  • 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

EDR setup (optional)

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 AgentElastic Defend Setup or Fibratus Setup.

Scanners

Bundled binaries under Scanners/. Versions and last-update dates tracked here so operators can tell at a glance whether a scanner is current.

ScannerVersionLast updatedSource
PE-Sieve0.4.1.2 (f1dc39d)2026-05-02hasherezade/pe-sieve
Hollows-Hunter0.4.1.2 (e271f7e)2026-04-18hasherezade/hollows_hunter
Moneta5b653952024-03-16forrest-orr/moneta
Patriot2024-12-29joe-desimone/patriot
Hunt-Sleeping-Beacons84dd3a92026-01-25thefLink/Hunt-Sleeping-Beacons
RedEdr3bd6b97 (EXE-only build)2026-05-03dobin/RedEdr
YARA (engine yara64.exe)2024-12-29VirusTotal/yara
Elastic YARA rules (Scanners/Yara/rules/elastic-yara/)d131ea82026-04-30elastic/protections-artifacts
YARA-Forge Extended (Scanners/Yara/rules/YARAForge/)0.9.1 (release 20260503)2026-05-03YARAHQ/yara-forge
CheckPlz2024-12-29BlackSnufkin/CheckPlz
Stringnalyzer2025-01-27BlackSnufkin/Rusty-Playground
HolyGrail2025-08-18BlackSnufkin/HolyGrail

Version format: <release-version> or <release-version> (release) when the binary is pulled from an upstream release; <release-version> (\`)or just``` 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).

Contributing

See CONTRIBUTING.md. Work in feature branches on personal forks.

Support 🍺

Stars

Security Advisory

  • 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.

Acknowledgments

LitterBox stands on the work of these projects and their authors:

ToolAuthor
YARA rules · Elastic DefendElastic Security
PE-Sieve · Hollows-Hunterhasherezade
MonetaForrest Orr
Patriotjoe-desimone
Hunt-Sleeping-BeaconsthefLink
RedEdrdobin
Fibratusrabbitstack
ThreatCheck (basis for CheckPlz)rasta-mouse
MalAPI reference DBmr.d0x

Interface

LitterBox Demo

Files in the repo

Repository payload15 top-level entries
  • app
  • Config
  • Docker
  • GrumpyCats
  • Scanners
  • Screenshots
  • Utils
  • Whiskers
  • .gitignore
  • CHANGELOG.md
  • CONTRIBUTING.md
  • LICENSE
  • litterbox.py
  • README.md
  • requirements.txt

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More tools

JuliusBrussee/
caveman

🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman

105k
1 add
MemPalace/
mempalace

The best-benchmarked open-source AI memory system. And it's free.

59k
stablyai/
orca

Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

66k

Never stop coding. Free MIT AI gateway: one endpoint, 352 providers (150+ free), 1200+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 550+ contributors

64k
headroomlabs-ai/
headroom

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.

71k
virgiliojr94/
book-to-skill

Turn any technical book PDF into a Claude Code skill — ready to study, reference, and use while you work.

30k