guides/kape
DFIR · Rapid triage · Artifact collection

KAPE

Kroll Artifact Parser and Extractor. Collects and parses the most relevant forensic artifacts from a live or mounted Windows system in minutes — built for fast triage when time is critical.

Free — not OSS Windows only Kroll · Eric Zimmerman
Targetswhat is collected
Moduleshow it is parsed
gkapeGUI · kape CLI

What it is

KAPE has two phases. Targets define which artifacts are copied (registry hives, event logs, prefetch, browser history, etc.) — even locked system files, via raw disk access. Modules then run parsing tools (many of Eric Zimmerman's EZ Tools) against the collected data and produce readable CSV/JSON.

License honesty: KAPE is free to use, but not open source — it is governed by Kroll's EULA and requires registration to download. Strictly speaking it doesn't belong in an "open source" catalog, but it's included because it's central to modern DFIR triage. The Targets/Modules definitions (.tkape/.mkape), by contrast, are community-maintained on GitHub under MIT.

Setup

Windows
Steps
# 1. Download from kroll.com/kape (requires registration)
# 2. Extract the ZIP — KAPE is portable, no installation
# 3. Run Get-KAPEUpdate.ps1 for the latest Targets/Modules
# 4. gkape.exe = GUI · kape.exe = command line
Run from a USB/external drive to minimize the footprint on the target system.
Update definitions
.\Get-KAPEUpdate.ps1

Targets — collection

Targets (.tkape) are YAML-like definitions of which files/paths to copy. Compound targets combine several into one.

TargetCollects
!SANS_TriageCompound — broad triage set recommended as default
!BasicCollectionCore artifacts: registry, logs, prefetch, $MFT
RegistryHivesSYSTEM, SOFTWARE, SAM, SECURITY, NTUSER.dat
EventLogsWindows .evtx event logs
Prefetch.pf files (program execution evidence)
FileSystem$MFT, $LogFile, $UsnJrnl, $J
WebBrowsersChrome/Edge/Firefox history, cache, cookies
LNKFilesAndJumpListsShortcut and jumplist artifacts

Modules — parsing

Modules (.mkape) run external tools against the collected artifacts. Many wrap Eric Zimmerman's EZ Tools.

Module / toolFunction
!EZParserCompound — runs the entire EZ Tools suite against targets
PECmdParse Prefetch → program execution timeline
MFTECmdParse $MFT / $J → file timeline
EvtxECmdParse event logs → normalized CSV
RECmdRegistry parsing with batch plugins
AmcacheParserAmcache.hve → installed/executed software
LECmd / JLECmdLNK and JumpList parsing
SBECmdShellBags → folder browsing history
After parsing: Many open the CSV output in Timeline Explorer (also EZ Tools) or load it into Elastic/Splunk. Combine with Autopsy for deeper disk analysis of the same image.

CLI examples

Triage live C: with the SANS target
kape.exe --tsource C: --target !SANS_Triage \
  --tdest E:\out\%m --gui
Collect + parse in one go
kape.exe --tsource C: --target !SANS_Triage \
  --tdest E:\out \
  --module !EZParser --mdest E:\parsed
%m = machine name · %d = timestamp in destination path
FlagFunktion
--tsourceSource (drive letter, image or folder)
--targetTarget(s) to collect
--tdestDestination for collected artifacts
--moduleModule(s) to run for parsing
--mdestDestination for parsed output
--vhdx / --zipPackage the collection as a VHDX container or ZIP
--vssInclude Volume Shadow Copies
--debug / --traceDetailed logging

Triage-flow

Classic IR sequence: KAPE collects artifacts in minutes (Targets) → parses them to CSV (Modules/!EZParser) → the analyst triages in Timeline Explorer → suspicious machines get deep disk analysis in Autopsy or live response via Velociraptor. KAPE is the "quick overview", the others are the "deep dive".