triaging-windows-with-kape
Skill này làm gì
KAPE là công cụ thu thập nhanh thông tin quan trọng từ máy tính Windows. Nó sao chép các file ghi lại những gì đã xảy ra trên hệ thống, ngay cả khi chúng đang được sử dụng, để bạn phân tích sau.
Khi nào nên dùng
- ✓Khi bạn cần nhanh chóng điều tra một máy tính đáng ngờ.
- ✓Khi không thể sao chép toàn bộ ổ đĩa của máy tính.
- ✓Khi bạn muốn tự động hóa việc thu thập thông tin trên nhiều máy tính.
Liên kết skill
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/triaging-windows-with-kape/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thu thập thông tin chẩn đoán từ máy tính của tôi để điều tra một sự cố.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
KAPE trước tiên sao chép các file bạn đã chỉ định (như registry và nhật ký) từ máy tính. Sau đó, nó dùng các công cụ khác để sắp xếp và phân tích các file này, tạo ra báo cáo dễ đọc.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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 ^
…
Câu hỏi thường gặp
Tôi có cần sự cho phép để dùng KAPE không?
Có, bạn chỉ nên dùng KAPE trên máy tính mà bạn sở hữu hoặc được ủy quyền rõ ràng để điều tra.
KAPE có thể sao chép file đang được sử dụng không?
Có, công cụ được thiết kế để sao chép các file quan trọng ngay cả khi chúng đang được sử dụng, mà không gây lỗi.
“Targets” và “Modules” là gì?
'Targets' cho KAPE biết cần thu thập file nào. 'Modules' cho KAPE biết cách xử lý và phân tích các file đã thu thập.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 35k
- Vị trí xếp hạng
- #8405
- Giấy phép
- Apache-2.0
- Cập nhật
- 31/8/2026
Bình luận
- …
Thêm skill từ kho mã này
abusing-dpapi-for-credential-access
35kCung cấp cho agent AI của bạn hướng dẫn có sẵn cho một tác vụ cụ thể, giúp nó làm việc tốt hơn và nhanh hơn.
abusing-shadow-credentials-for-privesc
35kDạy agent AI của bạn viết văn bản rõ ràng và có cấu trúc tốt.
achieving-cmmc-level-2-compliance
35kGiúp agent của bạn chuẩn bị môi trường để tuân thủ CMMC Level 2. Triển khai các yêu cầu bảo mật và quản lý tài liệu cần thiết.
acquiring-disk-image-with-dd-and-dcfldd
35kGiúp agent của bạn tạo bản sao chính xác của ổ đĩa. Cách này đảm bảo không mất hay thay đổi thông tin trong quá trình điều tra.
Skill tương tự
graincrawl
394kCho phép agent của bạn tìm trong ghi chú cuộc họp và bản chép lời Granola đã lưu, kiểm tra độ mới và đếm số cuộc họp trong một khoảng thời gian.
notcrawl
394kCho phép agent của bạn tìm trong bản sao đã lưu của workspace Notion, tra cứu trang và database, rồi xuất trang ra file Markdown.
knowledge-entities
394kGiúp agent của bạn xác định người, công ty và dự án, rồi viết trang hồ sơ có nguồn cho họ trong kho Knowledge của bạn.