← All posts

Kuiper: A Team-Scale Home for Your Forensic Artifacts

On this page

Kuiper: a team-scale home for your forensic artifacts

Earlier this year my line manager asked me to go away and research the open-source DFIR tooling landscape — what a small team could stand up without a six-figure license. Two names kept surfacing in every comparison I read: Kuiper and Velociraptor. They solve different halves of the same problem, so I spent real time getting to know each one properly.

This post isn’t that comparison. It’s the hands-on getting-to-know guide I wrote for myself on the first of the two — Kuiper — so that next time I open it, I’m not relearning it from scratch. If you’ve ever finished a triage collection and then stared at a folder of .zip files wondering where to actually look, this is the tool that answers that.

What Kuiper actually is

Kuiper is a digital forensics investigation platform: a server-side home where collected evidence gets parsed, indexed, searched, tagged, timelined and alerted on — by a whole team, in one place. It’s open-source (GPL-3.0), built by Saleh Muhaysin, Muteb Alqahtani and Abdullah Alrasheed.

The mental model that made it click for me: Kuiper is not a collector and not an agent on the endpoint. It sits after collection. Something else grabs the artifacts off a machine (its sibling tool Hoarder, or KAPE, or CyLR); Kuiper is where those artifacts go to become searchable evidence. Think of it as the Elasticsearch-backed case file that every analyst on the team queries at once, instead of five people each running EvtxECmd on their own laptop and emailing CSVs around.

Browser analysts Nginx proxy Flask web app MongoDB case meta Redis job queue Celery workers run the parsers Elasticsearch searchable records NFS share evidence files

That’s seven containers — Nginx, Flask, MongoDB, Redis, Celery, Elasticsearch and an NFS share — but you don’t manage them by hand. Docker Compose brings the whole thing up as one unit.

Step 1 — stand it up with Docker

Kuiper ships as a Docker Compose stack, so the install is mostly “have Docker, then up”. Give it room: Elasticsearch is the hungry one.

Spec it honestly: 64-bit Ubuntu 18.04+, Docker 20.10+ and Compose, 4+ CPU cores (Kuiper spawns one parsing worker per core), 25 GB+ disk, and as much RAM as you can spare — 4 GB is the floor, 64 GB is what Elasticsearch actually wants for a busy case.

# Elasticsearch refuses to start without this — set it first, every boot
sudo sysctl -w vm.max_map_count=262144

# Pull and run the whole stack
git clone https://github.com/DFIRKuiper/Kuiper.git
cd Kuiper
docker-compose pull
docker-compose up -d

Then confirm all seven services came up, and tail logs if one didn’t:

docker-compose ps -a                         # every service should read "Up"
docker-compose logs -f --tail=100 kuiper_flask   # if Flask failed to mount NFS, just re-run `up -d`

The web UI comes up over HTTPS on port 443. Log in, and you’ve got an empty investigation platform waiting for its first case.

Step 2 — the workflow: case → machines → parsed evidence

Here’s the loop that every investigation in Kuiper follows. Collection happens outside Kuiper; everything after the upload happens inside it.

📦 1 · Collect Hoarder/KAPE → zip 🗂️ 2 · Case create + scope ⬆️ 3 · Upload one zip per machine ⚙️ 4 · Parse Celery → ES 🔎 5 · Investigate search·tag·rules
  1. Collect. On the endpoint, run a triage collector. The team behind Kuiper also makes Hoarder for exactly this, but KAPE or CyLR output works too — the point is you end up with a .zip of that machine’s artifacts (registry hives, event logs, $MFT, prefetch, browser history, and so on).
  2. Create a case in the UI and scope the machines that belong to it.
  3. Upload each machine’s .zip. Kuiper stores it on the shared NFS volume so the workers can reach it.
  4. Parse. This is where Kuiper earns its keep: Celery fans the work out across your CPU cores — roughly one machine per core — running the right parser for each artifact type and streaming structured records into Elasticsearch. You watch progress per machine in the UI.
  5. Investigate. Now every parsed field, from every machine in the case, is searchable from one bar.

Parsers: how a raw hive becomes a searchable row

A parser in Kuiper is a small program that takes one artifact type and emits structured records. Out of the box it ships parsers for the usual suspects — Windows registry, EVTX event logs, $MFT, prefetch, browser history, scheduled tasks, and more — each living in its own folder under kuiper/parsers/. Every parser’s output lands in Elasticsearch with a consistent envelope (which machine, which parser, a timestamp, and the parsed fields), which is the whole trick behind searching across wildly different artifact types in one query.

Why this matters: once a 4688 process-creation event and a Run-key registry value and a prefetch execution record are all just documents with fields in the same index, “show me everything that touched temp\svchost.exe on any machine” becomes a single search instead of three tools.

Writing a custom parser

When you have an artifact Kuiper doesn’t know yet — a bespoke application log, an EDR export — you add a parser folder. Each one pairs the program that does the parsing with a configuration that tells Kuiper when to run it and how to label its output. The shape looks like this (the exact field names are documented in the project’s Add Custom Parser wiki page — follow it rather than my sketch for the real schema):

# kuiper/parsers/mytool/configuration.yaml  (illustrative shape)
parser_name: mytool
description: Parse MyTool's JSON export into Kuiper records
# which uploaded files this parser should be handed
files:  ['*mytool*.json']
# how to run it — Kuiper pipes the artifact in and reads records out
interpreter: python3
command: 'mytool_parser.py'
# mytool_parser.py — read the artifact, print one JSON record per line
import sys, json
for line in open(sys.argv[1]):
    row = json.loads(line)
    print(json.dumps({
        "timestamp": row["ts"],          # Kuiper timelines on this
        "user":      row.get("user"),
        "action":    row.get("action"),
        "raw":       row,                 # keep the original for context
    }))

Drop the folder in, and your artifact is now first-class: searchable, taggable and timeline-able like everything else.

Searching across the whole case

Because the backend is Elasticsearch, search is field-aware and fast. You query by the fields the parsers produced — pick a machine or search them all at once, filter by parser, and pivot on values:

# representative queries — the available fields depend on the parser
EventID:4624 AND LogonType:10            # interactive RDP logons
parser:"windows.registry" AND KeyPath:*\\Run\\*
message:*powershell* AND message:*-enc*  # encoded PowerShell anywhere

The win isn’t any single query — it’s that you’re querying every machine in the case at once, from one box, without re-running tooling per host.

Tagging and the timeline

Searching finds candidates; tagging is how you turn candidates into a story. When a record looks relevant, tag it. Tagged records flow into the timeline view, so instead of a flat 50,000-row dump you get the handful of events that matter, in order. You can also drop manual timeline entries — a firewall hit, a proxy log line, a note from the reporter — as timestamped context without importing the whole source. By the end of a case, the timeline is your narrative.

Rules: promote a good query to an alarm

The feature that changes how you work: save a search as a rule. A rule is a query that Kuiper evaluates against the case’s data — past, present and future — and flags matches automatically. Write it once (“binary executed from a temp directory”, “encoded PowerShell”, “new service install via 7045”) and every machine you upload afterwards gets checked against it the moment it finishes parsing. It’s detection-engineering thinking applied to dead-box evidence: your hard-won knowledge from the last case becomes an automatic check on the next one.

Automating it: the API

For anything repetitive, Kuiper exposes a REST API (see the companion DFIRKuiperAPI project). The two endpoints I’d reach for first:

  • UploadMachines — push a machine’s .zip into a case programmatically, so your collection pipeline can hand off to Kuiper with no clicks.
  • GetFieldsScript — pull parsed data back out, for a report or to feed another tool.

That turns Kuiper from a place you visit into a step in an automated triage pipeline: collector drops a zip, a script uploads it, parsing kicks off, rules fire — and an analyst only steps in once there’s something to look at.

Five ways I’d actually use it

  1. Team case file. Five analysts, one case, zero emailed CSVs — everyone searches the same parsed evidence and sees each other’s tags.
  2. A rules library that compounds. Every case ends with a few new rules. Six months in, a fresh upload is auto-triaged against everything you’ve ever learned.
  3. Collector + API = hands-off intake. Wire Hoarder (or KAPE) output straight into UploadMachines so triage data parses itself on arrival.
  4. Cross-host hunting. “Did this IOC touch any machine in scope?” is one query, not one-per-host.
  5. A teaching sandbox. Spin up the stack, drop in a sample triage image, and let a junior analyst learn to pivot through real artifacts without touching a live endpoint.

Where this leaves you

Kuiper is the after-collection half of a DFIR workflow: the shared, searchable, rule-driven home where artifacts become evidence a team can actually work. It doesn’t reach out and grab data from endpoints — and that’s exactly the gap the other tool from my manager’s research fills. That one’s an agent on the endpoint, and it’s next.

Worth reading next: the Kuiper repository and its wiki (start with Add Custom Parser), the companion collector Hoarder, and the DFIRKuiperAPI for automation.