BlackSnufkin

LitterBox

Built by BlackSnufkin 1,333 stars

What is LitterBox?

A secure sandbox environment for malware developers and red teamers to test payloads against detection mechanisms before deployment. Integrates with LLM agents via MCP for enhanced analysis capabilities.

How to use LitterBox?

1. Install a compatible MCP client (like Claude Desktop). 2. Open your configuration settings. 3. Add LitterBox using the following command: npx @modelcontextprotocol/litterbox 4. Restart the client and verify the new tools are active.
🛡️ Scoped (Restricted)
npx @modelcontextprotocol/litterbox --scope restricted
🔓 Unrestricted Access
npx @modelcontextprotocol/litterbox

Key Features

Native MCP Protocol Support
Real-time Tool Activation & Execution
Verified High-performance Implementation
Secure Resource & Context Handling

Optimized Use Cases

Extending AI models with custom local capabilities
Automating system workflows via natural language
Connecting external data sources to LLM context windows

LitterBox FAQ

Q

Is LitterBox safe?

Yes, LitterBox follows the standardized Model Context Protocol security patterns and only executes tools with explicit user-granted permissions.

Q

Is LitterBox up to date?

LitterBox is currently active in the registry with 1,333 stars on GitHub, indicating its reliability and community support.

Q

Are there any limits for LitterBox?

Usage limits depend on the specific implementation of the MCP server and your system resources. Refer to the official documentation below for technical details.

Official Documentation

View on GitHub

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> (\<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).

Contributing

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

Support 🍺

<a href="https://www.buymeacoffee.com/blacksnufkin"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" width="200" height="60"></a>

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

Global Ranking

-
Trust ScoreMCPHub Index

Based on codebase health & activity.

Manual Config

{ "mcpServers": { "litterbox": { "command": "npx", "args": ["litterbox"] } } }