Repository navigation
REI Wiki Part 1: Intro
Welcome to the rapid-endpoint-investigations wiki, clearly (and perpetually!) a work in progress! Keep scrolling for the general workflow or click a specific topic link below:
This repo contains scripts and notes for performing rapid Windows/Linux endpoint "tactical triage" and investigations with Velociraptor, UAC, PowerShell and KAPE.
First, acquire and stage the tooling:
- Velociraptor (download): https://docs.velociraptor.app/downloads/ (tested with 0.75.4 - Current at the time of this writeup)
- KAPE (register, download, support the project!): https://www.kroll.com/en/insights/publications/cyber/kroll-artifact-parser-extractor-kape
Executables for KAPE Modules (download and copy to KAPE\Modules\bin):
- NirSoft BrowsingHistoryView: https://www.nirsoft.net/utils/browsing_history_view.html (SAVE TO: ..KAPE\modules\bin\browsinghistoryview.exe
- NirSoft Browser Downloads View: https://www.nirsoft.net/utils/web_browser_downloads_view.html (SAVE TO: ..KAPE\modules\bin\browserdownloadsview.exe)
- ObsidianForensics Hindsight: https://github.com/obsidianforensics/hindsight (SAVE TO: ..KAPE\modules\bin\hindsight.exe)
- Hayabusa: https://github.com/Yamato-Security/hayabusa/releases (Install/Unzip Hayabusa, then COPY all of the installation-directory contents to a "hayabusa" directory AND rename the hayabusa-2.x.x-win-x64.exe to "hayabusa.exe": ..KAPE\modules\bin\hayabusa)
NOTE: You will need to run the !!ToolSync module (now included in the rapid triage script) or launch Gkape and click the "sync with github" button at the bottom before running the script!
"Invoke-KAPE" PowerShell Script (download and copy to the root of your KAPE directory, e.g. C:\Tools\KAPE)
Custom EvtxECmd Module:
- Download !EvtxECmd.mkape from this repo, save to your KAPE\Modules\!Local directory
Documentation References:
- Velociraptor: https://docs.velociraptor.app/blog/2025/2025-08-30-release-notes-0.75/
- KAPE: https://ericzimmerman.github.io/KapeDocs/#!index.md
Other Requirements:
- PowerShell 7.x
- S3 with user/IAM policies, if desired for Velociraptor Offline Collector Upload (notes coming soon!)
- Microsoft Excel (OpenOffice/LibreOffice Calc can be used for Analysis, but the scripted/consolidated output requires the Excel executable.)