triaging-windows-with-kape
Helps your agent collect important data from Windows computers quickly. It's useful for investigating security incidents when copying everything isn't possible.
What it does
KAPE is a tool that quickly collects important information from a Windows computer. It copies files containing data about what happened on the system, even if they are in use, so you can analyze them later.
When to use it
- ✓When you need to quickly investigate a suspicious computer.
- ✓When it's not possible to copy the entire computer's disk.
- ✓When you want to automate information collection across multiple computers.
Example of what to ask your AI
“Collect diagnostic information from my computer to investigate an issue.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
KAPE first copies the files you've specified (like registry and logs) from a computer. Then, it uses other tools to organize and analyze these files, creating easy-to-read reports.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill triaging-windows-with-kapeOr download just the file:
curl -L https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/main/skills/triaging-windows-with-kape/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
Triaging Windows with KAPE
Authorized Use Only: KAPE collects forensic artifacts from systems. Only run KAPE against systems you own or are explicitly authorized in writing to acquire and analyze. Preserve chain of custody and follow your organization's evidence-handling procedures.
Overview
KAPE (Kroll Artifact Parser and Extractor) is a free, Windows-native triage tool authored by Eric Zimmerman and distributed by Kroll. It performs two distinct phases controlled by separate configuration sets:
- Targets (
.tkapefiles) define what to collect. KAPE uses the raw NTFS file system (via direct volume access) to copy locked/in-use files such as registry hives,$MFT, event logs, prefetch, browser databases, and LNK files without triggering anti-tamper protections. Targets can be chained into "compound" targets (for exampleKapeTriage,!SANS_Triage) that pull a forensically rich subset in minutes. - Modules (
.mkapefiles) define how to process collected (or live) data. Modules wrap external binaries — primarily Eric Zimmerman's tools (PECmd, MFTECmd, RECmd, etc.) — and emit normalized CSV/JSON output. The!EZParsercompound module runs the full EZ Tools suite against a target collection.
KAPE ships with both a CLI (kape.exe) and a GUI front end (gkape.exe). Because of its speed, KAPE lets responders prioritize which hosts warrant deep forensic imaging, making it a cornerstone of modern remote/at-scale DFIR triage.
When to Use
- During the early containment/triage phase of an incident when you need execution, persistence, and account artifacts from one or many hosts quickly.
- When full disk imaging is impractical (large disks, remote sites, time pressure) but you still need a defensible, parseable artifact set.
- When automating collection across a fleet via remote execution (PSExec, EDR live response, SOAR) using batch-mode
_kape.clifiles. - When you need to collect from Volume Shadow Copies to recover historical artifact states.
Prerequisites
- Windows host (KAPE runs on Windows; EZ Tools modules require the .NET runtime bundled with the tools).
- Download KAPE from the official source (free, registration required): https://www.kroll.com/kape
- Administrator privileges (required for raw volume access and VSS).
- Update Targets, Modules, and the bundled binaries:
REM From the KAPE directory, sync community Targets/Modules from GitHub kape.exe --sync REM Download/update the EZ Tools binaries that Modules invoke Get-KAPEUpdate.ps1 - A clean, write-protected destination (external drive or network share) separate from the evidence source.
Objectives
- Collect a forensically sound triage artifact set from a target volume.
- Optionally include Volume Shadow Copies for historical recovery.
- Package output as a VHDX/ZIP container with hashing for chain of custody.
- Run modules to parse the collection into analyst-ready CSV/JSON.
- Build a repeatable batch-mode collection for fleet deployment.
MITRE ATT&CK Mapping
| ID | Official Technique Name | Relevance to this skill |
|---|---|---|
| T1005 | Data from Local System | KAPE reads artifacts directly from the local file system; defenders use the same capability to forensically acquire that data for analysis. |
KAPE is a defensive DFIR tool. The mapping reflects the data-source artifacts (local file system) that adversary actions leave behind and that KAPE preserves for investigation.
Workflow
1. Sync configurations and update binaries
Always work from current Targets/Modules and EZ Tools binaries so parsers match the latest artifact formats.
cd C:\KAPE
kape.exe --sync
2. Inventory available Targets and Modules
List what is available before building a collection so you scope precisely.
REM Show all Targets
kape.exe --tlist
REM Show all Modules
kape.exe --mlist
3. Collect a triage target set
Targets require the three switches --tsource, --target, and --tdest. --tflush clears the destination first. Use a compound target such as KapeTriage for a fast, broad pull.
kape.exe --tsource C: ^
--target KapeTriage ^
--tdest E:\kape_out\HOST01\tdest ^
--tflush
4. Include Volume Shadow Copies
Add --vss to also process every VSS snapshot on the source volume, recovering historical artifact states.
kape.exe --tsource C: ^
--target !SANS_Triage ^
…
FAQ
Do I need permission to use KAPE?
Yes, you should only use KAPE on computers you own or have explicit authorization to investigate.
Can KAPE copy files that are in use?
Yes, it's designed to copy important files even when they are in use, without causing issues.
What are 'Targets' and 'Modules'?
'Targets' tell KAPE which files to collect. 'Modules' tell KAPE how to process and analyze those collected files.
Details
Original description by the author
Runs KAPE (Kroll Artifact Parser and Extractor) to collect targeted forensic artifacts (registry hives, $MFT, event logs, prefetch, browser data) via Targets and parse them with Modules wrapping Eric Zimmerman's EZ Tools (PECmd, MFTECmd, RECmd). Use during early incident containment/triage when full disk imaging is impractical but a defensible, parseable Windows artifact set is needed quickly, inc
Popularity
- GitHub stars
- 35k
- Ranking position
- #6242
- License
- Apache-2.0
- Updated
- 8/31/2026
Comments
- …
More skills from this repository
abusing-dpapi-for-credential-access
Gives your AI agent ready-made instructions for a specific task, so it does it better and faster.
mukul975/Anthropic-Cybersecurity-Skills
abusing-shadow-credentials-for-privesc
Teaches your AI agent to write clear, well-structured text.
mukul975/Anthropic-Cybersecurity-Skills
achieving-cmmc-level-2-compliance
Helps your agent prepare an environment for CMMC Level 2 compliance. It implements security requirements and manages necessary documentation.
mukul975/Anthropic-Cybersecurity-Skills
acquiring-disk-image-with-dd-and-dcfldd
Helps your agent create exact copies of hard drives. This is useful for ensuring no information is lost or altered during investigations.
mukul975/Anthropic-Cybersecurity-Skills
Similar skills
deep-research
Lets your agent research topics in depth, gathering information from multiple sources. It cites sources and indicates confidence levels. Ideal for deep dives or investigations.
affaan-m/ECC
research-ops
Lets your agent find current facts and information. It uses public research and the context you provide to give evidence-based answers.
affaan-m/ECC
scientific-thinking-literature-review
Helps your agent conduct systematic reviews of scientific literature. It's useful for compiling and understanding research on a topic.
affaan-m/ECC