Skip to content
Proyectos

Acerca de

The Volatility Collaborative GUI

Otros proyectos

Cómo se miden estas cifras

What you can do

  • Multi-OS Memory Forensics (Windows, Linux x86_64 & AArch64, macOS): Powered by Volatility 3 and distributed Dask workers with interactive Process Tree, Process 360° Dossier, Network Topology & Geo-Map, Unified Timeline, and Single-Plugin Triage Ribbons.
  • Smart Symbol Assistant, DWARF & BTF ISF Builders: Automated Windows PE table repair, Ubuntu/Debian debug package auto-resolution, .deb/.rpm/.exe package compilation, direct vmlinux + System.map dwarf2json ISF generation, and lightweight Linux BTF-based ISF generation via btf2json.

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Orochi

Ruff GitHub license Built with Cookiecutter Django docker-compose-actions-workflow CodeQL CII Best Practices Join the chat at https://gitter.im/ldo-cert-orochi/community


🧠 Orochi — A modern, distributed web interface for collaborative memory forensics built on Volatility 3, Django, and Dask.

Orochi


Table of Contents


About Orochi

Orochi is an open-source framework for collaborative forensic memory dump analysis. It lets multiple analysts upload, analyze, and correlate memory dumps simultaneously via an intuitive web interface.

Key Capabilities

  • Multi-OS Memory Forensics (Windows, Linux x86_64 & AArch64, macOS): Powered by Volatility 3 and distributed Dask workers with interactive Process Tree, Process 360° Dossier, Network Topology & Geo-Map, Unified Timeline, and Single-Plugin Triage Ribbons.
  • YARA-X Forensic Toolkit: Centralized ruleset management (/users/<username>/rules/) with a dedicated YARA Hunt Sandbox tab (DB retro-hunt across indexed artifacts, extracted dumped_files scanning with .yara.json sidecars, ad-hoc text & sample file scanning), MITRE ATT&CK metadata correlation on YaraScan/VadYaraScan/VmaYaraScan, and 1-click Generate YARA rule builder from malfind injections.
  • Smart Symbol Assistant, DWARF & BTF ISF Builders: Automated Windows PE table repair, Ubuntu/Debian debug package auto-resolution, .deb/.rpm/.exe package compilation, direct vmlinux + System.map dwarf2json ISF generation, and lightweight Linux BTF-based ISF generation via btf2json.
  • Collaborative Cases, CTF Mode & Integrations: Shared investigation workspaces with evidence/findings, optional case dump sharing, MITRE ATT&CK coverage matrix, PDF/HTML/Markdown/STIX 2.1 reports, dual-track CTF mode (dedicated orochi.ctf app toggleable via ENABLE_CTF_APP with Jeopardy questions + Forensic Discovery vs. Ground Truth, Golden Case authoring, MITRE bonus, First Blood, YAML/JSON scenarios, and real-time WebSocket leaderboard), and integrations with MISP, TheHive 5, Cortex, SIEM (Splunk/Elastic/Sentinel), VirusTotal, ClamAV, and CAPE/Cuckoo.
  • Workflow Playbooks, Watchlists & Host Tracking: Visual drag-and-drop Workflow Playbook Editor (/playbooks/workflow) with conditional branching (Has result, Filter rows, If) and parameter passing (win_injection_followup); saved Watchlists (/watchlists) running text queries and YARA rules on every completed plugin result (with retro-run); and Host Detail pages (/host/<id>/) with Plotly risk trends and automatic consecutive dump diffs.
  • Triage Dispositions, Global IOC Correlation & Operations: Analyst triage dispositions (False Positive / Accepted / Escalated) with scoped suppression rules, a shared Global Indicator Archive with TTL-cached Threat Intel enrichment and cross-dump/cross-case sighting badges, Admin Operations (/operations) and Audit Trail (/audit) dashboards, scoped/expiring API tokens with Redis rate limiting, HMAC-signed async webhooks (X-Orochi-Signature), visual ResultRun diffs, and keyboard-first navigation (Ctrl+K > Command Palette and DataTables j/k/d/a/p shortcuts).

Orochi-main


🚀 Fastest Way to Try Orochi

If you just want to get hands-on immediately:

git clone https://github.com/LDO-CERT/orochi.git
cd orochi
cp .envs/.local/.django.example .envs/.local/.django
echo "DJANGO_SECRET_KEY=$(python3 -c 'import secrets; print(secrets.token_urlsafe(50))')" >> .envs/.local/.django
docker compose up

Then open https://localhost and log in with: Username: admin Password: admin

🔒 Note: Self-registration is disabled by default (DJANGO_ACCOUNT_ALLOW_REGISTRATION=False). Set it to True in .envs/.local/.django if you want users to register via Sign Up.

At first run, Orochi will need to download Volatility plugins and symbol files. You can do this directly from the Admin Page or by running the management commands described below.


⚙️ Architecture Overview

Orochi combines the power of Volatility 3 with distributed task management and a modern web stack:

  • 🧩 Volatility 3: Memory forensics framework for extracting digital artifacts.
  • ⚙️ Dask: Parallel computing library that distributes plugin execution across workers.
  • 🗄️ PostgreSQL: Database for user and analysis metadata.
  • ✉️ Mailpit: Local SMTP service for user registration emails.
  • 🧱 Django WSGI / ASGI: Core web backend, including real-time WebSocket updates.
  • 🔁 Redis: Message broker and cache for asynchronous communications.
  • 🌐 Nginx: Reverse proxy providing HTTPS termination.
  • 🐳 Docker Compose: Orchestrates the entire Orochi stack for both x64 and arm64 platforms.
flowchart TB
  %% Orientation: Top -> Bottom

  %% Frontend (visible label)
  subgraph FRONTEND[Frontend]
    direction TB
    client["Client (Browser)"]
    nginx["Nginx (Reverse Proxy)"]
  end

  %% Application Layer
  subgraph APP[Application Layer]
    direction TB
    wsgi["Django WSGI (REST / Pages)"]
    asgi["Django ASGI (WebSockets / Realtime)"]
  end

  %% Core Services
  subgraph CORE[Core Services]
    direction TB
    postgres["PostgreSQL (Primary Datastore)"]
    redis["Redis (Cache & Channels)"]
    mailpit["Mailpit (SMTP for Sign-up)"]
  end

  %% Distributed Execution
  subgraph DASK[Distributed Execution]
    direction TB
    scheduler["Dask Scheduler"]
    worker1["Dask Worker 01 (Volatility 3)"]
    worker2["Dask Worker 02 (Volatility 3)"]
  end

  storage["Uploads Storage (/media/uploads)"]

  %% Ingress
  client -->|HTTPS| nginx
  nginx --> wsgi
  nginx --> asgi

  %% Database access
  wsgi <-->|auth, metadata, results R/W| postgres
  asgi -->|state / R/W| postgres

  %% Redis roles
  wsgi -->|cache| redis
  asgi -->|channels| redis

  %% Email (SMTP)
  wsgi -->|SMTP| mailpit

  %% Task submission & execution
  wsgi -->|submit tasks| scheduler
  scheduler --> worker1
  scheduler --> worker2

  %% Files
  wsgi <-->|upload/download| storage
  worker1 <-->|read/write| storage
  worker2 <-->|read/write| storage
  worker1 -->|store analysis results| postgres
  worker2 -->|store analysis results| postgres

🧰 Getting Started

Installation

Orochi supports multi-architecture builds for both x64 (amd64) and arm64 systems (e.g., Apple Silicon).

Clone the Repository

git clone https://github.com/LDO-CERT/orochi.git
cd orochi

Configure Environment Variables

Set your environment configuration in .envs/.local/.postgres (or copy from the template):

POSTGRES_HOST=postgres
POSTGRES_PORT=5432
POSTGRES_DB=orochi
POSTGRES_USER=debug
POSTGRES_PASSWORD=debug
DATABASE_URL=postgresql://debug:debug@postgres:5432/orochi

And copy the example .envs/.local/.django configuration:

cp .envs/.local/.django.example .envs/.local/.django

Then set a unique DJANGO_SECRET_KEY (mandatory, Orochi refuses to start without it; it also protects the encrypted service API keys):

echo "DJANGO_SECRET_KEY=$(python3 -c 'import secrets; print(secrets.token_urlsafe(50))')" >> .envs/.local/.django

⚠️ Upgrading from ≤ 2.7.0 without DJANGO_SECRET_KEY? Your instance was using the public default key. Set a new key, put the old default from the config/settings/local.py history (now production.py) in DJANGO_SECRET_KEY_FALLBACKS, then run python manage.py reencrypt_service_keys (see the Admin Guide). Postgres, Redis and the Dask scheduler are now published on 127.0.0.1 only.

USE_DOCKER=yes
IPYTHONDIR=/app/.ipython
REDIS_URL=redis://redis:6379/0
DASK_SCHEDULER_URL=tcp://scheduler:8786
# Plus paths for YARA, symbols, uploads, and optional LDAP settings

💡 Tip: You can adjust the number of Dask workers in docker-compose.yml by editing the replicas value under the worker service.

Fast Docker Startup Flags

The django_wsgi startup script (compose/local/django/start) supports three environment variables to speed up container restarts in production or development:

Variable Default Description
TAILWIND_REBUILD 0 Set to 1 to rebuild tailwind_dist.css on start; defaults to 0 so production containers start offline using the image's pre-built CSS.
COLLECTSTATIC_ON_START 0 Runs collectstatic only when 1, on first boot, or when files in orochi/static are newer than the stamp file.
TAILWIND_WATCH 0 Set to 1 in local frontend development to run python manage.py tailwind watch in the background.

Build or Pull the Images

To pull prebuilt images:

docker compose pull

Or build locally with automatic architecture detection:

# Auto-detects your system architecture (amd64/arm64) and builds accordingly
docker compose build

For production deployment with bind mounts and ModSecurity WAF:

Create a local docker-compose.override.yml file (not tracked in git) to customize:

  • Volume bind mounts for persistent data (../orochi_data/nginx/, etc.)
  • Environment variables and proxy settings
  • Service-specific configurations

The build automatically detects your system architecture (ARM64 for Apple Silicon, Raspberry Pi, AWS Graviton; x86_64 for standard servers) and compiles all services accordingly—no manual configuration or TARGETARCH export needed.

See docker-compose.override.yml.example in the repo for reference on the structure and available options.

Start the Stack

docker compose up

Check the running containers:

docker ps -a

Example output:

NAME                 IMAGE                                COMMAND                  SERVICE       STATUS
orochi-worker-2      ghcr.io/ldo-cert/orochi_worker:new   "/usr/bin/tini -g --…"   worker        Up 5 weeks
orochi_nginx         ghcr.io/ldo-cert/orochi_nginx:new    "/docker-entrypoint.…"   nginx         Up 2 weeks (healthy)   0.0.0.0:443->443/tcp
...

Once the containers are running, Orochi will be available at: 🔗 https://127.0.0.1

Update Plugins, Symbols & Vendored Libraries

# Sync Volatility plugins and symbols
docker compose run --rm django_wsgi python manage.py plugins_sync
docker compose run --rm django_wsgi python manage.py symbols_sync

# Check for newer releases of vendored JS/CSS libraries (DataTables, Marked, SweetAlert2, etc.)
docker compose run --rm django_wsgi python manage.py update_vendor_js --check

# Safely download and update vendored libraries with integrity & token verification
docker compose run --rm django_wsgi python manage.py update_vendor_js --update

⚙️ These commands can also be executed directly from the Admin page or container CLI.


⚡ Quick Start Guide

  1. Log in as admin / admin (or enable DJANGO_ACCOUNT_ALLOW_REGISTRATION=True in .envs/.local/.django to register via Sign Up)
  2. Upload a memory dump (supports .raw, .mem, and zipped files), organize it into a folder, and choose an OS and color label
  3. Orochi automatically runs enabled Volatility plugins in parallel via Dask with real-time tracking in the Activity Drawer (or launch an Auto-Triage or Workflow Playbook)
  4. View results in the modernized DataTables workbench, inspect the Process Tree, IOC Hub, Network Graph, Timeline Stream, Watchlists, and Host risk/diff timelines, and export to CSV/Excel/JSON/XML/STIX/MISP
  5. Group evidence and findings into Cases (with MITRE ATT&CK mapping, PDF/HTML/Markdown/STIX reports, SIEM/TheHive/CAPE Sandbox integrations, and CTF Challenge Mode for training)

Default URLs:

Service URL
Orochi Homepage https://127.0.0.1
Admin Panel https://127.0.0.1/admin
Mailpit http://127.0.0.1:8025
Dask Dashboard https://127.0.0.1/dask/ (or http://127.0.0.1:8787 w/ override)

🧪 Running Tests

Orochi includes comprehensive automated tests with pytest covering API routers, dual-auth gateways, Dask concurrency, forensic graphs, UI views, and vendored frontend assets:

# Run the complete test suite via Docker Compose
docker compose exec django_wsgi pytest

# Run API, security, and collaborative forensic tests
docker compose exec django_wsgi pytest orochi/api/tests/test_backend_api_and_security.py
docker compose exec django_wsgi pytest orochi/website/tests/test_graph_and_case_collaboration.py
docker compose exec django_wsgi pytest orochi/website/tests/test_security_and_dask_refactoring.py
docker compose exec django_wsgi pytest orochi/website/tests/test_frontend_and_htmx_views.py

# Run the frontend vendor asset verification test
docker compose exec django_wsgi pytest orochi/website/tests/test_vendor_assets.py

# Or run locally with uv (requires PostgreSQL running):
uv run pytest
uv run ruff check .
uv run ruff format --check .

🎥 Video Guide

Watch on YouTube

Watch a complete 15-minute setup and walkthrough showing how to install, configure, and use Orochi.

Guide Timestamps:

  • 00:00 ➡️ Introduction: Cloning the GitHub repository
  • 00:30 ➡️ Docker Launch: Starting Orochi with docker-compose up
  • 03:00 ➡️ Platform Access: Opening the web interface
  • 03:35 ➡️ Admin Configuration: Downloading plugins & symbols
  • 04:00 ➡️ Dask Monitoring: Observing parallel analysis tasks
  • 05:20 ➡️ Memory Dump Upload: Uploading and analyzing a file
  • 10:45 ➡️ Download Process: Retrieving dumped artifacts
  • 12:15 ➡️ Regipy Plugins: Viewing parsed registry data
  • 12:40 ➡️ Hex Viewer: Navigating memory data in hex
  • 14:35 ➡️ Bookmarks: Saving and revisiting filtered results

📘 Documentation


👥 Community

Join discussions and get help on Gitter. We welcome questions, feedback, and new ideas to improve Orochi!

💡 Tip: You can also open GitHub Discussions or Issues directly in this repository.


🤝 Contributing

We love community contributions! Please review the Contributing Guidelines and Code of Conduct.

🧩 Pull requests are welcome — from typo fixes to new integrations and plugin improvements.


🐉 Origin of the Name

"Its eyes are like akakagachi, it has one body with eight heads and eight tails. Moss and cypress grow on its back, its belly is constantly bloody and inflamed."

Read the full legend on Wikipedia →

🗡️ Let's go cut tails and find your Kusanagi-no-Tsurugi!


© 2026 LDO-CERT — Collaborative Memory Forensics Platform

Explorar proyectos relacionados

Cargando…