Skip to content
LasCCPublic

About

Search Windows forensic artifacts, see where each one lives on disk, and copy the KAPE command to collect it. Also builds collection scripts and converts Sigma rules in the browser.

Topics

Resources

Stars

10 stars

Watchers

0 watching

Forks

Repository files navigation

DFIRHub

DFIRHub is a reference for Windows forensic artifacts. It lists the KAPE targets from Eric Zimmerman's KapeFiles repository, shows what each one collects, and gives you the command to run. It also converts Sigma rules into queries for your SIEM.

DFIRHub landing page

What it does

You can search artifacts by name, or start from a question on the home page, such as "Did this program run?". Each artifact page lists the paths KAPE collects, adds notes, and links to CyberChef recipes for the data inside. A side panel builds the collection command for KAPE, PowerShell, Batch, or WSL.

Collections group related artifacts. The KAPE command builder starts from an incident scenario, combines targets and modules, and exports a KAPE command, a _kape.cli batch file or a fallback script; its URL keeps every choice except secrets. Short links open an artifact directly: /prefetch works for popular ones, and /a/<slug> works for every artifact.

The registry section lists Windows registry artifacts from the DFIRBatch.reb batch file in Eric Zimmerman's RECmd repository. Each page shows the hive, key path and values, the reference links from the batch file, and the RECmd or KAPE command that parses them.

The event log section lists Windows event IDs from the EvtxECmd maps in Eric Zimmerman's evtx repository. Each page, at /eventlogs/<channel>/<id>, shows the fields EvtxECmd extracts, value lookups, a sample event, the reference links from the map, and the EvtxECmd or KAPE command that parses the log. When several logs use the same ID, /eventlogs/<id> lists them; otherwise it redirects to the only one.

The converter turns a Sigma rule into one of 17 backends, including Splunk, Elastic, KQL, Loki, and CrowdStrike. It runs pySigma in the browser through Pyodide. You can also search the SigmaHQ repository and import a rule from the results.

The site is dark by default. The header switch also offers a light theme and an auto setting that follows your browser. Every artifact page has its own social preview image, rendered at build time.

Getting started

You need Node 24 and Bun 1.4. The KapeFiles, RECmd and evtx data are git submodules, so initialize them after you clone.

git clone https://github.com/LasCC/DFIRHub.git
cd DFIRHub
git submodule update --init --recursive
bun install
bun run dev

Open http://localhost:4321.

Commands

Command Description
bun run dev Start the development server
bun run build Build the site. It also renders a social image per artifact, about 90 seconds total
bun run preview Serve the production build locally
bun run test Run the tests
bun astro check Type check the project
bun run check Lint and check formatting with Ultracite
bun run fix Fix lint and formatting problems
bun run sigma:index Rebuild the Sigma rules index from SigmaHQ

Deployment

The site deploys to Netlify. Two GitHub Actions workflows keep the data current. Both need a NETLIFY_BUILD_HOOK secret, which you create under Build hooks in Netlify and add to the repository secrets in GitHub.

Workflow Schedule What it does
update-kapefiles.yml Weekly (Mon 00:00 UTC) Updates the KapeFiles, RECmd and evtx submodules and triggers a Netlify rebuild
update-sigma-rules.yml Monthly (1st, 02:00 UTC) Rebuilds the Sigma rules index from the SigmaHQ API, commits it, and triggers a rebuild

You can also start either workflow by hand with workflow_dispatch.

Keyboard shortcuts

Shortcut Action
/ or Cmd+K Open search
Cmd+Shift+K Open Sigma search (converter page)
g h Go to home
g a Go to artifacts
g c Go to collections
g r Go to registry artifacts
g e Go to event logs
g b Go to builder
g s Go to converter
j / k Move down / up in a list
? Show all shortcuts

Built with

Astro and React, Tailwind CSS, Pagefind, Pyodide, Satori for the social images, and Netlify.

License

MIT

Acknowledgments

About

Search Windows forensic artifacts, see where each one lives on disk, and copy the KAPE command to collect it. Also builds collection scripts and converts Sigma rules in the browser.

Topics

Resources

Stars

10 stars

Watchers

0 watching

Forks

Contributors

Languages