triaging-windows-with-kape
하는 일
KAPE는 Windows 컴퓨터에서 중요한 정보를 빠르게 수집하는 도구입니다. 무슨 일이 있었는지 기록한 파일을, 사용 중이더라도 복사해 나중에 분석할 수 있게 합니다.
사용하는 경우
- ✓의심스러운 컴퓨터를 빨리 조사해야 할 때.
- ✓컴퓨터 디스크 전체를 복사할 수 없을 때.
- ✓여러 컴퓨터에서 정보 수집을 자동화하고 싶을 때.
스킬 링크
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/triaging-windows-with-kape/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“문제를 조사하기 위해 내 컴퓨터의 진단 정보를 수집해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
KAPE는 먼저 컴퓨터에서 지정한 파일(레지스트리와 로그 등)을 복사합니다. 그다음 다른 도구를 사용해 이 파일들을 정리하고 분석해, 읽기 쉬운 보고서를 만듭니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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 ^
…
자주 묻는 질문
KAPE를 쓰려면 허가가 필요한가요?
네, 자신이 소유하거나 조사할 명시적인 허가를 받은 컴퓨터에서만 사용해야 합니다.
KAPE가 사용 중인 파일도 복사할 수 있나요?
네, 문제를 일으키지 않으면서 사용 중인 중요한 파일도 복사하도록 설계되었습니다.
‘Targets’와 ‘Modules’란 무엇인가요?
‘Targets’는 KAPE가 어떤 파일을 수집할지 알려 줍니다. ‘Modules’는 수집된 파일을 어떻게 처리하고 분석할지 알려 줍니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 35k
- 순위
- #8405
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 8. 31.
댓글
- …
이 저장소의 다른 스킬
abusing-dpapi-for-credential-access
35kAI 에이전트에게 특정 작업을 위한 준비된 지침을 제공해, 더 잘하고 더 빠르게 처리하도록 합니다.
abusing-shadow-credentials-for-privesc
35kAI 에이전트가 명확하고 잘 구성된 텍스트를 쓰도록 가르칩니다.
achieving-cmmc-level-2-compliance
35kCMMC Level 2 규정 준수를 위한 환경을 준비하도록 돕습니다. 보안 요구 사항을 구현하고 필요한 문서를 관리합니다.
acquiring-disk-image-with-dd-and-dcfldd
35k에이전트가 하드 드라이브의 정확한 복사본을 만들도록 돕습니다. 조사 중 정보가 손실되거나 변경되지 않도록 하는 데 유용합니다.
비슷한 스킬
graincrawl
394k에이전트가 저장된 Granola 회의 메모와 기록을 검색하고, 최신 상태를 확인하며, 일정 기간 동안 개수를 세도록 돕습니다.
notcrawl
394k에이전트가 저장된 Notion 워크스페이스 사본을 검색하고, 페이지와 데이터베이스를 찾아보며, 페이지를 Markdown 파일로 내보내도록 돕습니다.
knowledge-entities
394k에이전트가 사람, 회사, 프로젝트가 무엇인지 식별한 뒤, Knowledge 볼트에 출처가 있는 프로필 페이지를 작성하도록 돕습니다.