--- title: "Eric Zimmerman Tools & KAPE" description: "The EZ Tools suite end to end: Get-ZimmermanTools install, KAPE targets and modules for triage collection, every *Cmd parser (MFTECmd, PECmd, LECmd, JLECmd, EvtxECmd, AmcacheParser, AppCompatCacheParser, SBECmd, SrumECmd, WxTCmd, RBCmd, SQLECmd, bstrings) with the artefact and the question it answers, then CSV into Timeline Explorer." category: dfir subcategory: "Windows" tags: [dfir, forensics, windows, ez-tools, kape, triage, timeline, mft, prefetch, evtx, amcache, shimcache, shellbags, lnk, jumplist, srum, registry] tools: ["KAPE / gkape", "Get-ZimmermanTools", "MFTECmd", "PECmd", "LECmd", "JLECmd", "EvtxECmd", "AmcacheParser", "AppCompatCacheParser", "SBECmd / ShellBags Explorer", "SrumECmd", "WxTCmd", "RBCmd", "SQLECmd", "bstrings", "Timeline Explorer", "Registry Explorer / RECmd", "EZViewer", "MFTExplorer", "Hasher"] difficulty: advanced updated: "2026-09-26" --- # Eric Zimmerman Tools & KAPE **Eric Zimmerman's tools** ("EZ Tools") are the free, open-source parsers that SANS FOR500 and most DFIR modules are built on: one small command-line tool per Windows artefact, all producing the same flat **CSV** that drops straight into **Timeline Explorer**. **KAPE** (Kroll Artifact Parser and Extractor) is the collector and orchestrator that sits in front of them: it copies the artefacts off a live box or mounted image in minutes (*targets*), then runs the parsers over the copy (*modules*). Learn the pattern once — `tool -f --csv ` — and you know the whole suite. This card is the install, the KAPE triage command you will run on every case, then each parser with **what it reads** and **what question it answers**. > [!info] Where they come from > Everything here is at [ericzimmerman.github.io](https://ericzimmerman.github.io/#!index.md) (tools) and [kroll.com/kape](https://www.kroll.com/en/services/cyber-risk/incident-response-litigation-support/kroll-artifact-parser-extractor-kape) (KAPE, free for non-commercial / internal use, registration required). Builds ship for **.NET 6** and **.NET 9**; grab the one matching the runtime on your analysis box. The `.NET 4` builds are gone. ## Install and update ```powershell # One script pulls every tool (and keeps them updated — rerun it monthly) Set-ExecutionPolicy Bypass -Scope Process iwr https://raw.githubusercontent.com/EricZimmerman/Get-ZimmermanTools/master/Get-ZimmermanTools.ps1 -OutFile Get-ZimmermanTools.ps1 .\Get-ZimmermanTools.ps1 -Dest C:\Tools\EZ -NetVersion 9 # or -NetVersion 6 # Runtime the tools need winget install Microsoft.DotNet.DesktopRuntime.9 # GUI tools (Registry/Timeline/ShellBags Explorer) winget install Microsoft.DotNet.Runtime.9 # CLI tools # KAPE lives separately (download from Kroll, unzip anywhere — it is portable) # C:\Tools\KAPE\kape.exe CLI # C:\Tools\KAPE\gkape.exe GUI that builds the CLI command for you # Point KAPE at the EZ tools once: copy them into C:\Tools\KAPE\Modules\bin\ Copy-Item C:\Tools\EZ\net9\*.exe C:\Tools\KAPE\Modules\bin\ -Force # Update KAPE's targets/modules from the community repo C:\Tools\KAPE\kape.exe --sync ``` Add `C:\Tools\EZ\net9` to `PATH` and every example below works as written. Every tool answers `--help`; the `--csv` output flag and `-q` (quiet) are common to almost all. > [!tip] Linux / macOS analyst box > The CLI tools run under the Linux .NET runtime too (`dotnet MFTECmd.dll ...`, or the native builds the script fetches with `-NetVersion 9`). The GUI tools (Timeline Explorer, Registry Explorer) are Windows-only — keep a Windows VM for those, or use `xsv`/`qsv`/`visidata` on the CSVs. ## The mental model ```text collect parse review live box ──► KAPE --target ──► copy of artefacts ──► KAPE --module / *Cmd ──► CSV ──► Timeline Explorer or image (files only, (tree mirrors C:\, (MFTECmd, PECmd, ...) (one per artefact) (filter, tag, timestamps kept) or a VHDX) pivot on time) ``` | Layer | Tool | Rule of thumb | |---|---|---| | Collection | KAPE **targets** (`.tkape`) | *What files to copy.* Compound targets like `!SANS_Triage`, `KapeTriage`, `!BasicCollection` bundle dozens of single targets | | Processing | KAPE **modules** (`.mkape`) | *What command to run over them.* `!EZParser` runs every EZ tool; other modules wrap Hayabusa, Chainsaw, Plaso, hindsight, etc. | | Parser | the `*Cmd` tools | One artefact type each, all → CSV/JSON | | Review | Timeline Explorer | The CSV viewer that understands the EZ column names (timestamps sort, colour, group) | ## KAPE ### The triage command you will actually run ```bat :: Live box, collecting from C:, output to your USB (E:), then parse everything kape.exe --tsource C: --tdest E:\case042\tout --target !SANS_Triage --tflush ^ --msource E:\case042\tout --mdest E:\case042\mout --module !EZParser --mflush ^ --gui :: Same, but pack the collection into a VHDX (one file, keeps ACLs/timestamps, mounts anywhere) kape.exe --tsource C: --tdest E:\case042\tout --target KapeTriage --vhdx HOST-042 --zv false :: From a mounted image instead of a live box (F: is the mounted E01 / Arsenal Image Mounter letter) kape.exe --tsource F: --tdest E:\case042\tout --target !SANS_Triage --tflush :: Only parse an existing collection (you already ran the target, or someone sent you a triage zip) kape.exe --msource E:\case042\tout --mdest E:\case042\mout --module !EZParser --mflush ``` | Flag | Meaning | |---|---| | `--tsource` / `--tdest` | source drive/dir to collect **from**, dir to copy **into** | | `--target X` | one or more targets, comma separated. `!` prefix = compound | | `--tflush` | empty `--tdest` first | | `--vhdx NAME` / `--vhd` / `--zip` | container for the collection instead of a loose tree | | `--vss` | also pull the same paths out of every Volume Shadow Copy (deleted/overwritten artefacts) | | `--tdd` | *target de-dupe* on hash when using `--vss` | | `--msource` / `--mdest` | dir to parse, dir for parser output | | `--module X` | modules to run; `!EZParser` = all EZ tools | | `--mef csv\|json\|html` | override module output format | | `--mvars key:val` | pass variables modules need (e.g. `--mvars computerName:HOST01`) | | `--gui` | open a window showing progress, leave console log | | `--debug` / `--trace` | verbose logging | | `--sync` | update targets/modules from GitHub (KapeFiles repo) | | `--tlist` / `--mlist` | list available targets / modules (`--tdetail` / `--mdetail` for contents) | > [!warning] Footprint and what KAPE is not > KAPE running on a live box **creates artefacts** (prefetch entry, `kape.exe` in Amcache/ShimCache, a ConsoleHost history line). Note the time you started it and exclude it in the timeline. It also pulls locked files (`$MFT`, hives, `$UsnJrnl`) through raw disk reads — it is not a bit-for-bit image and never will be; if you need one, [image first](/sheets/dfir/disk-imaging). ### Targets worth knowing | Target | Collects | |---|---| | `!SANS_Triage` | The FOR500/FOR508 set: `$MFT`, `$LogFile`, `$UsnJrnl`, registry hives + transaction logs, event logs, Prefetch, Amcache, LNK, Jump Lists, SRUM, WMI repository, scheduled tasks, PowerShell history, browser data, Recycle Bin, `$Extend` ... the 90% case | | `KapeTriage` | Similar scope, tuned for speed on IR engagements | | `!BasicCollection` | Lighter: hives, evtx, Prefetch, `$MFT`, LNK, Jump Lists | | `RegistryHives`, `EventLogs`, `Prefetch`, `LNKFilesAndJumpLists`, `Amcache`, `SRUM`, `WebBrowsers`, `PowerShellConsole`, `ScheduledTasks`, `WMI`, `RecycleBin`, `WindowsTimeline`, `SUM`, `Antivirus`, `RDPLogs`, `$MFT`, `$J`, `$LogFile`, `MemoryFiles` | single-purpose, mix as needed | | `ServerTriage`, `Exchange`, `IIS`, `MSSQL` | server roles | | `RemoteAdminTools` | AnyDesk, TeamViewer, ScreenConnect, Atera ... logs (ransomware cases) | ```bat kape.exe --tlist :: everything kape.exe --tdetail !SANS_Triage :: exactly which .tkape files a compound target includes type "C:\Tools\KAPE\Targets\Compound\!SANS_Triage.tkape" ``` ### Modules worth knowing | Module | Runs | |---|---| | `!EZParser` | every EZ CLI tool over the matching artefact, one CSV each in `mout\` sub-folders | | `!EZParser` output dirs | `FileSystem\` (MFTECmd), `ProgramExecution\` (PECmd, Amcache, ShimCache), `EventLogs\` (EvtxECmd), `Registry\` (RECmd batch), `FileFolderAccess\` (LECmd, JLECmd, SBECmd), `SRUMDatabase\`, `WindowsTimeline\`, `RecycleBin\` ... | | `Hayabusa`, `Chainsaw` | Sigma rule detection over the collected `.evtx` | | `Plaso_Timeline`, `MFTECmd_$MFT_Bodyfile` → `mactime` | full super-timeline | | `hindsight`, `BrowsingHistoryView` | browser history | | `Hasher`, `Sysinternals_Sigcheck`, `DensityScout` | hashing / sig / entropy over collected binaries | | `LogParser`, `EvtxECmd_RDP` | targeted event-log queries | ### gkape (GUI) Tick *Use Target options*, pick source/destination, tick targets in the tree (search box top right), tick *Use Module options*, pick `!EZParser`, and read the **command line box at the bottom** — that is the exact CLI it will run. Copy it into your notes; gkape is a command builder, nothing more. ## The parsers, one artefact at a time Every EZ CLI tool accepts `-f ` or `-d `, `--csv ` (add `--csvf name.csv` to fix the filename), `--json `, `-q` to suppress per-record console output, `--dt "yyyy-MM-dd HH:mm:ss.fffffff"` to change the timestamp format, and `--debug`. Timestamps are **UTC** unless you pass `--tz`. Paths below assume a KAPE collection under `E:\case042\tout\C\`. ### MFTECmd — `$MFT`, `$J` (USN journal), `$LogFile`, `$Boot`, `$SDS` *Every file that ever existed (until the record is reused), with all eight timestamps.* The backbone of any timeline. ```bat :: Parse the MFT — one row per file/dir, $STANDARD_INFORMATION and $FILE_NAME timestamps side by side MFTECmd.exe -f "E:\case042\tout\C\$MFT" --csv E:\case042\mout\mft --csvf mft.csv :: Include the $FILE_NAME-only timestamps too (timestomp detection) and the resident data / ADS MFTECmd.exe -f "$MFT" --csv out --fl --at :: Bodyfile for mactime / plaso (drive letter for the paths) MFTECmd.exe -f "$MFT" --body out --bodyf mft.body --bdl C :: One entry in full detail (entry number 0x1A5 or decimal), including data runs MFTECmd.exe -f "$MFT" --de 421 MFTECmd.exe -f "$MFT" --de 421 --dr :: USN journal: what happened to files (create/delete/rename/overwrite) with the MFT to resolve full paths MFTECmd.exe -f "E:\case042\tout\C\$Extend\$J" -m "E:\case042\tout\C\$MFT" --csv out --csvf usn.csv :: $LogFile (NTFS transaction log) and $Boot / $SDS (security descriptors) MFTECmd.exe -f "$LogFile" --csv out MFTECmd.exe -f "$Boot" --csv out MFTECmd.exe -f "$SDS" --csv out :: Pull from volume shadow copies too (needs --vss and admin, live or mounted image) MFTECmd.exe -f "F:\$MFT" --csv out --vss ``` > [!tip] Reading the MFT CSV in Timeline Explorer > `Created0x10` / `LastModified0x10` etc. are `$STANDARD_INFORMATION` (what Explorer shows, **user-space tools can change these**). `Created0x30` etc. are `$FILE_NAME` (kernel-set, much harder to fake). Filter `SI\$I*`) *Original path, size and deletion time of every file in the bin (the `$I` metadata file; `$R` is the content).* ```bat RBCmd.exe -d "E:\case042\tout\C\$Recycle.Bin" --csv out -q RBCmd.exe -f "$IABC123.txt" ``` ### SQLECmd — any SQLite (browsers, Teams, Slack, Windows Search, Signal ...) *Runs a library of community "maps" (queries) against every SQLite DB it recognises, producing a tidy CSV per map instead of you hand-writing SQL.* ```bat SQLECmd.exe --sync :: update maps SQLECmd.exe -d "E:\case042\tout\C\Users" --csv out :: finds and parses everything it has a map for SQLECmd.exe -f "History" --csv out :: Chrome/Edge history SQLECmd.exe -f places.sqlite --csv out --dedupe :: Firefox ``` ### bstrings — better `strings` *`strings` with regex, Unicode/UTF-16 aware, and built-in patterns for IPs, emails, URLs, GUIDs, MACs, credit cards, bitcoin addresses.* ```bat bstrings.exe -f pagefile.sys --lr ipv4 :: built-in regex: ipv4, ipv6, email, url, guid, mac, ssn, cc, b64, win_path, unc, reg_path, sid, aeon, bitcoin, xml bstrings.exe -f mem.raw --ls "Invoke-Mimikatz" -q :: literal search bstrings.exe -f mem.raw --lr "https?://[^\s\"']+" -m 8 -x 200 :: custom regex, min/max length bstrings.exe -f hiberfil.sys --fs iocs.txt -o hits.txt :: file of strings to search for bstrings.exe -d E:\case042\tout\C\Users\bob\Downloads --lr email --ro :: recurse a dir, --ro = show offsets bstrings.exe -p :: list built-in patterns ``` The Linux/macOS counterpart is in [strings & file triage](/sheets/dfir/strings-file-triage). ### The rest of the toolbox | Tool | Purpose | |---|---| | **RECmd** / **Registry Explorer** | registry hives, batch files, deleted keys, transaction log replay — [own sheet](/sheets/dfir/recmd) | | **Timeline Explorer** | the CSV viewer — below and in [GUI tools](/sheets/dfir/dfir-gui-tools#timeline-explorer-eric-zimmerman) | | **MFTExplorer** | GUI hex+tree view of `$MFT`, drill into any record, resident data, data runs | | **EZViewer** | universal viewer for dozens of file types (images, Office, PDF, hex) without running the real application on evidence | | **Hasher** | drag-and-drop hashing (MD5/SHA1/SHA256/...) of files, folders, text | | **RecentFileCacheParser** | `RecentFileCache.bcf` (Win7/2008 pre-Amcache execution evidence) | | **PECmd** sibling **RBCmd**, **SumECmd** | Recycle Bin (above); `SumECmd` = User Access Logging (`SUM` databases on **servers**: which user/IP hit which role, per day, 2+ years) | | **SDB Explorer** | shim databases (`.sdb`) — application-compat persistence | | **iisGeolocate** | GeoIP-enrich IIS logs | | **VSCMount** | mount every Volume Shadow Copy of a live or attached volume as a folder tree | | **TimeApp** | tiny clock overlay for screen-recorded live response | | **XWFIM** | X-Ways forensics installer manager (only if you own X-Ways) | | **KAPE** module **`!EZParser`** | runs all of the above in the right order over a collection | ## Timeline Explorer — reviewing the CSVs Open any EZ CSV (or drag several in — each becomes a tab). It recognises the column names and sets types (timestamps sort as time, not text). | Action | How | |---|---| | Filter a column | type in the **filter row** under the header (`%mimikatz%` wildcard, `>2026-09-20` on time columns) | | Filter builder | funnel icon bottom-left → boolean expressions across columns | | Search everything | `Ctrl+F` finds across all columns of the current tab | | Hide / reorder columns | right-click header → **Column Chooser**, drag to the header to show | | Group by | drag a header into the band above the grid (group evtx by `EventId`, MFT by `ParentPath`) | | Tag rows | tick the `Tag` checkbox column, then **Tools → Show only tagged**; tags survive export | | Conditional colouring | right-click header → **Conditional Formatting** → e.g. `EventId = 4624` green, `= 4625` red | | Sessions / layouts | **File → Session → Save**; reopens every tab with filters intact | | Export | **File → Export** → CSV/XLSX/HTML of the *filtered* view — what goes in the report | | Pivot on a time | copy a timestamp, paste it into the filter row of every other tab with `~` (approx) to see what else happened then | > [!tip] The merged-timeline shortcut > `PECmd`'s `*_Timeline.csv`, `EvtxECmd` output, `MFTECmd`'s CSV and `LECmd` all share a first timestamp column. Open all of them in Timeline Explorer, filter each to the same 15-minute window, and you have a multi-artefact timeline without plaso. When you need the full super-timeline (thousands of files, every artefact) use `MFTECmd --body` + `mactime`, or the KAPE `Plaso_Timeline` module. ## Worked triage: from live box to answers in ~30 minutes ```bat :: 1. Collect (USB E:, 3–8 min for a workstation) kape.exe --tsource C: --tdest E:\c42\tout --target !SANS_Triage --vhdx WS042 --zv false --gui :: 2. Mount the VHDX read-only (Disk Management → Attach VHD → Read-only, or Arsenal Image Mounter), say it lands on F: :: 3. Parse everything kape.exe --msource F: --mdest E:\c42\mout --module !EZParser --gui :: 4. Detection pass over the event logs while you wait hayabusa.exe csv-timeline -d F:\C\Windows\System32\winevt\Logs -o E:\c42\hayabusa.csv --no-wizard -p verbose ``` Then in Timeline Explorer, in this order: 1. **`EventLogs\*.csv`** — filter `EventId` in `4624,4625,4648,4672,4688,7045,4698,1102`; note first suspicious logon time **T0** and the account. 2. **`ProgramExecution\*Amcache*UnassociatedFileEntries.csv`** — sort `FileKeyLastWriteTimestamp` ≥ T0; anything under `Users\`, `Temp\`, `ProgramData\`, `Public\` gets its SHA-1 checked. 3. **`ProgramExecution\*PECmd_Output_Timeline.csv`** — same window; confirm execution and get the *exact* run times. 4. **`FileSystem\*MFTECmd*.csv`** — filter `Created0x10` in the window, `ParentPath` for the dirs above; check `SI