Aller au contenu
Skillpedia
Recherche35k · #8405

triaging-windows-with-kape

Ce qu’il fait

KAPE est un outil qui collecte rapidement des informations importantes sur un ordinateur Windows. Il copie les fichiers contenant des données sur ce qui s'est passé sur le système, même s'ils sont en cours d'utilisation, afin que vous puissiez les analyser plus tard.

Quand l’utiliser

  • ✓Lorsque vous devez examiner rapidement un ordinateur suspect.
  • ✓Lorsqu'il n'est pas possible de copier l'intégralité du disque de l'ordinateur.
  • ✓Lorsque vous souhaitez automatiser la collecte d'informations sur plusieurs ordinateurs.

Lien du skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/triaging-windows-with-kape/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/triaging-windows-with-kape/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Collecte les informations de diagnostic de mon ordinateur pour enquêter sur un problème.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

KAPE copie d'abord les fichiers que vous avez indiqués (comme le registre et les journaux) depuis un ordinateur. Ensuite, il utilise d'autres outils pour organiser et analyser ces fichiers, puis produit des rapports faciles à lire.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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 (.tkape files) 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 example KapeTriage, !SANS_Triage) that pull a forensically rich subset in minutes.
  • Modules (.mkape files) 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 !EZParser compound 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.cli files.
  • 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 ^

…
Questions fréquentes

Ai-je besoin d'une autorisation pour utiliser KAPE ?

Oui, vous ne devez utiliser KAPE que sur des ordinateurs qui vous appartiennent ou pour lesquels vous avez une autorisation explicite d'enquête.

KAPE peut-il copier des fichiers en cours d'utilisation ?

Oui, il est conçu pour copier les fichiers importants même lorsqu'ils sont utilisés, sans provoquer de problèmes.

Que sont les « Targets » et les « Modules » ?

Les « Targets » (cibles) indiquent à KAPE quels fichiers collecter. Les « Modules » lui indiquent comment traiter et analyser ces fichiers collectés.

Détails

Description originale de l’auteur

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

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularité

Étoiles GitHub
35k
Position au classement
#8405
Licence
Apache-2.0
Mis à jour
31/08/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires