/velociraptor-skills:velociraptor-huntingfrom velociraptor-skills
Guides cross-host hunt workflows in Velociraptor: discover, classify, create or reuse hunts, analyze results, review DetectRaptor, correlate artifacts, and prepare GoldenDB updates.
Ships in velociraptor-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Always prefer reviewing suitable existing hunts before proposing new collection, including when the user gives a question or artifact rather than a hunt ID. Reuse the known inventory or discover existing hunts read-only, check their case, target, artifact/parameter, time and result coverage, then use the analysis branch below. A compatible multi-artifact hunt can satisfy a narrower question. Review available results even when the hunt is stopped or some flows failed; state the coverage gaps.
Only consider new collection when existing evidence cannot answer the requested scope/freshness or the user explicitly requests fresh collection. Explain the specific gap and retain collection authorization requirements. A missing local baseline, stopped state, or absent prior analysis alone does not justify a new hunt. Different-case/template evidence remains outside the current case unless the user explicitly selects it for review.
For requests such as "run analysis on H.ID", use this branch directly. The named
hunt is the evidence scope; collection discovery, check/ensure, and a separate
native status call are not prerequisites. The analysis command performs live
metadata and flow-status preflight itself, including for hunts without local
collection state. It reviews exposed results from RUNNING or STOPPED hunts.
Reuse the session's verified server profile, case root, investigation ID, readiness and analyst setup. If they are missing, resolve them from saved engagement/configuration; ask only for an unresolved connection or scope. Apply the server prerequisite below, reusing a successful session check.
Run one existing-evidence analysis. Replace the example values with the exact
saved context; --case-root is the parent of the investigation directory:
vraptor analyze --hunt H.EXAMPLE --id IR1234 --case-root ~/cases \
--server-profile lab
Omit --artifact to review the hunt's declared artifacts. Preserve requested
artifact/time filters and saved task policy; do not invent new bounds or model
overrides. General Autoruns review needs --profile autoruns plus one exact
Autoruns --artifact; use its specialized reference below for mixed hunts.
Keep default text/progress output and monitor this invocation until terminal.
Review analysis-hunt.md. For standard streaming results, retrieve retained
candidates without inference (specialized Autoruns/stack review uses its native
report and classification state):
vraptor analysis-results --checkpoint \
~/cases/IR1234/hunts/H.EXAMPLE/analysis/hunt-analysis-state.json --limit 25
Continue using the returned next offset until the selected candidates are
covered. Correlate findings and evidence, make the bounded enrichment decision,
then save hunts/<hunt-id>/assessment-hunt.md under the case directory using
the caller assessment contract.
Report result-review coverage separately from target execution; missing target
baselines mean not_assessed, not blocked result review. A running hunt remains
a point-in-time review. Caller assessment does not require another analysis run.
These commands cover the ordinary request without help discovery. Read the existing-hunt reference only for saved review versus refresh, paging, specialized results, or a concrete failure, and source-specific help only for an undocumented option or installed-version mismatch. The collection and advanced-review sections below are conditional.
Server prerequisite: complete the DetectRaptor bootstrap for each new local or connected live/remote server before server work; a failed import blocks the workflow.
Existing-evidence analysis uses vraptor analyze; collection, retries and
GoldenDB uploads remain explicit. See the shared CLI contract.
--synthesis full is the default. Add --synthesis none only when preliminary-only
analysis or caller-only final review is requested; classification still runs and
the caller reviews its candidates. --skip-ai disables all model calls for
deterministic preparation without an AI assessment; follow the
shared output and status contract and see the
synthesis contract for saved-summary execution and
specialized-path limits.
Use --debug-chunk-prompts 0 for every rendered part across selected hunts,
including DetectRaptor and Autoruns, with responses and retries. A positive N
captures the first N parts. The flag alone captures one.
For a cached Autoruns profile add --fresh-autoruns-review to preserve saved hunt
files. For provider errors and local input limits, see --debug diagnostics.
AI analyst settings: inspect with vraptor ai config and vraptor ai doctor; run-only overrides include --model, --reasoning-effort, --execution-profile, --ai-config-file, --max-input-tokens and --max-output-tokens (full list). Setup: AI analyst configuration. Budgets and execution: model execution.
Use native Velociraptor hunts for cross-host questions. This skill owns their
discovery, lifecycle, live analysis, explicit extraction, and saved review. Use
velociraptor-artifact-selection when the artifact, parameters, or safe pivots
are unknown. Use velociraptor-host-analysis for one-machine deep dives.
Follow the shared Velociraptor operation authorization policy and use the shared server-profile and engagement context. Apply the shared finding enrichment workflow to every material result before final publication. Read the analysis reduction contract before custom reduction, filtering, or closure decisions.
General Autoruns hunt AI review (--profile autoruns, one hunt, one exact
Autoruns --artifact) needs a schema-10 GoldenDB (schema 9 remains readable);
hunt run --profile autoruns selects the collector and output directories are
created automatically. Follow the
dedup AI and regex-only GoldenDB workflow.
The retired autoruns_test and autoruns_dedup profile names are rejected. For
mixed hunts, select other artifacts separately. For focused stack count changes,
request-byte batching, and exact-identity rules, follow the
accounting and identity contract.
Potential GoldenDB rows never update trust automatically. GoldenDB changes follow goldendb-maintenance.md:
src/vraptor/resources/golden/autoruns-golden.csv, then
generate the complete database with regex-build. Follow the
CSV-first maintenance workflow.
Direct regex-import is for standalone databases, not repository
maintenance; legacy exact/promotion writes are disabled for schema 10.--force-run to analyze it.--authorize-template-create after template review before
creating a separate current-case hunt. Require --force-run before bypassing
an exact prior current-case hunt. Record both decisions.analysis-hunt.md as generated analysis memory, not a hand-maintained
report. Persist analyst findings, bounded review coverage, source watermarks
or query hashes, limitations, and case-note references in
analysis/hunt-analysis-state.json before regenerating it. Attach available host,
identity, session, process, file, network, and time context to the finding it explains; do not emit a disconnected enrichment catalogue./tmp. Use stdin/stdout or private case-owned sibling paths.Targeting and case rules:
--target windows|linux|macos scopes by OS when no include label is set.--include-label or --host-label takes precedence over OS.--exclude-label may be combined with either form.--server-profile for the Velociraptor deployment and --engagement-id for local storage. If the engagement id is omitted, it falls back to the server profile. Labels remain explicit and independent.For an explicitly named hunt analysis, follow the existing-hunt branch above. Steps 2–6 below concern collection selection/lifecycle; stacking, decisions and manual review-memory publication apply only when those operations are needed.
engagement.json;
it does not expire by age. Live commands validate
<case-root>/<id>/engagement.json against the current API credential, server
fingerprint and org before querying. Use velociraptor-engagement-setup only
when it is missing, invalid, or affected by connection/credential/mapping
changes or failures, then resume the existing hunt. Reuse successful session
analyst checks instead of repeating setup/doctor for each hunt.hunt native check, then hunt native ensure or the public hunt run
wrapper. Both paths discover candidates server-wide before mutation; grouped
runs preflight every artifact before creating the first hunt.--authorize-template-create permission. Its results remain out of scope.status for target execution coverage and result availability.
If the hunt has no local collection state or baseline, automatically use
ad_hoc_review: review the complete server-reported result set and mark
target execution not_assessed without blocking review completion.hunt analyze --hunt-id|--group against live results. Use the explicit
--profile autoruns workflow above for general Autoruns review. Other
artifacts stream every row Velociraptor exposes, including rows already
available from open flows, through token-bounded transient chunks; see
acquisition and transport sizing.
Default stdout is bounded text with chat_summary. Keep text output for
interactive and operator-initiated runs. Use --format json only when an
explicit downstream integration will parse the structured response; do not
select JSON merely for agent convenience.--update
after a successful full analysis to merge flows completed since the persisted
server cutoff. The cursor advances only after accepted analysis publication
(validated synthesis in full, validated preliminary candidates in none):
either a fully validated result or the grounded deterministic
complete_with_failures fallback, which retains partial coverage. A failed
chunk or hard synthesis failure leaves the prior checkpoint and cursor
unchanged.--analysis-mode stack when the
question requires prevalence or structured reduction; stacking changes the
server-side reduction, not the streamed execution model. Only flagged groups
become drill-down items, requeried for impacted machines and original rows
before a second AI assessment. Declared Autoruns workflows select
their specialized streaming stacks automatically; indicators, filters, and
decisions require explicit stacking. Without a curated signature the runtime
derives a validated ephemeral rare-first stack; never update
preferred-artifacts.json. Chat-derived --stack-field-preference and
--stack-field-guidance inputs are advisory, and a guided selection with no
safe result stops for operator clarification. See
adaptive reduction.
Do not invoke generic --analysis-mode stack for DetectRaptor, and analyze
mixed DetectRaptor/Autoruns selections separately; see
DetectRaptor requirements.review_id; every suppression requires an exact match count, disposition,
and reason.analysis/hunt-analysis-state.json. For manual review outside
review_id, append
compact analyst_review_memory, then rerun hunt analyze to regenerate
analysis-hunt.md.
Ordinary caller review of accepted candidates instead writes
assessment-hunt.md; it neither edits the harness checkpoint nor reruns
analysis just to publish the caller's conclusions.complete,
partial, or not_applicable before final publication.hunt snapshot, hunt native export-results, or
hunt native download-results only when durable evidence is required.Use the shared analyst-agent only as a separate read-only semantic-review lane over bounded evidence. Hunt creation, retries, stops, and analysis checkpoint updates stay with the hunt workflow.
Read a reference only before work on its branch:
Contracts: ownership matrix, output and closure policy, and full/update transport behavior.
vraptor hunt run --id IR1234 --profile detectraptor \
--task-mode compromise-assessment --response-depth standard \
--question "Find Windows compromise leads"
vraptor hunt run --id IR1234 --artifact Windows.Search.FileFinder \
--env 'Glob=C:\\ProgramData\\Vendor\\beacon.dll' --question "Find the known file"
Add --force-run only when a fresh exact collection is desired after reviewing
prior-match details. run stores --task-mode and the resolved
--response-depth in the group manifest. A later live analyze inherits them
when those flags are omitted; explicit analysis flags take precedence.
If discovery returns a generic or different-IR template, review the reported source artifact set and parameters. To create a separate current-case hunt after explicit authorization:
vraptor hunt run --id IR1234 --artifact IG.Windows.Sysinternals.Autoruns \
--question "Review persistence" --authorize-template-create
This flag never retargets or mutates the source template and never reuses its results.
vraptor hunt native check --investigation-id IR1234 --target linux \
--artifact Linux.Sys.Users
vraptor hunt native ensure --investigation-id IR1234 --target linux \
--artifact Linux.Sys.Users
Use native check/ensure for Linux or macOS and for one-off expert scopes.
Use --activate-paused to resume an exact paused hunt. Use --force-run to
intentionally create a new exact run.
vraptor hunt status --id IR1234 --group DR-20260725T120000Z
vraptor hunt analyze --id IR1234 --group DR-20260725T120000Z
vraptor hunt analyze --id IR1234 --hunt-id H.1234 \
--artifact DetectRaptor.Windows.Detection.Evtx
The ordinary command requires no chunking option. A full rerun rebuilds from
authoritative hunt_results(); --update resumes from the last successfully
published server cutoff, except detection-partitioned EVTX analysis, which
rejects --update and requires a full rerun. Strict --time-after/--time-before
bounds and repeatable logical --time-field roles filter server-side before
transport; bounded hunts require stream mode. The verified matrix, default
mappings and source-specific roles are in
analysis-time-filter-support.md.
Bounded mixed-artifact runs persist exact expressions and complete, partial,
or unsupported time-filter coverage; partial filtering keeps overall coverage
partial.
To use fleet-prevalence stacking explicitly:
vraptor hunt analyze --id IR1234 --hunt-id H.1234 --analysis-mode stack
Apply a command-line indicator or approved filter reference when needed:
vraptor hunt analyze --id IR1234 --hunt-id H.1234 --analysis-mode stack \
--indicator 'Evidence=beacon\\.dll|rundll32' \
--filter-reference /path/to/hunt-filters.json
Live hunt analyze accepts --query-timeout-seconds N. The default 0 adds
no timeout ceiling. A positive integer caps each API query, including inventory,
accounting, stacks and original-row drill-downs; shorter internal timeouts still
win. It is not an overall command, AI, or collection timeout, and streamed
queries include time paused for downstream analysis capacity. The option is
rejected with --snapshot. See the
query deadline contract.
vraptor hunt analyze --id IR1234 --hunt-id H.1234 --profile autoruns \
--artifact IG.Windows.Sysinternals.Autoruns --query-timeout-seconds 1800
vraptor hunt retry-missing --id IR1234 --hunt-id H.1234 \
--after-hours 24 --max-attempts 1 --batch-size 100
This writes policy only. A later live analysis pass requeues only original baseline clients with no flow. Retry state stores client IDs and attempt timestamps, not result rows.
vraptor hunt snapshot --id IR1234 --hunt-id H.1234
vraptor hunt analyze --snapshot /path/to/snapshot.json
vraptor hunt native export-results --investigation-id IR1234 --hunt-id H.1234
vraptor hunt native download-results --investigation-id IR1234 --hunt-id H.1234
hunt analyze --hunt-id and hunt analyze --group never resolve
latest.json and never create a snapshot. Use hunt analyze-saved only for an
explicit existing export/download manifest.
vraptor hunt native stop --investigation-id IR1234 --hunt-id H.1234
Use the fleet adapter (recovery lanes,
concurrency, progressive publication, and report consolidation) and the shared
DetectRaptor contract.
DetectRaptor defaults to stream-only review: use accounted streaming rather than
generic stack analysis, and do not sample, generate filters, or apply
exclusions. EVTX automatically groups exact payloads only for large, materially
reducible detections, without hash equivalence or a signature-count ceiling;
group review receives the complete exact payload. Write compact uplift-review
candidates to analysis/detectraptor_whitelist_candidates.csv, never generated
ignore rules. Follow machine-validated priority, use prevalence only as context,
retrieve exact host rows, perform cross-artifact correlation, and require
fleet/replay validation for reusable rule-uplift proposals.
Normal live analysis writes compact control products under:
<case_root>/<id>/hunts/<hunt_id>/
analysis-hunt.md
analysis/
hunt-analysis-state.json
finding-evidence.md # optional, manager-selected full projected rows
filters.json # only when filter records exist
Read the persistence and output details for checkpoint bounds, persistence classification, debug/logging controls, recovery/reference semantics, aggregate review, and report-rendering limits before operating those lanes. Transient source rows, prompts, model transcripts, aggregate parts, and failed chunk payloads are not persisted by default.
analysis-hunt.md is the cumulative hunt assessment and task memory. The
generic flow-analysis coordinator is its sole writer and atomically composes
generic and compact specialized state after every pass. Do not edit it directly.
A custom review that must enter the harness report persists compact
analyst_review_memory (step 12) with the artifact, review time, source row
count, source watermark or query hash, coverage statement, assessment,
limitations, and case-note reference. Caller-owned assessment-hunt.md keeps
its checkpoint provenance and coverage without modifying harness state.
hunt-analysis-state.json holds compact watermarks, coverage, reviewed
branches, findings, review memory, run identity, query metadata, source
identifiers, closure blockers, and the persistence manifest; ordinary result rows
are never stored as bulk evidence in state, analysis memory, or command
responses. Incompatible existing analysis files fail before processing and are
preserved: move unrelated historical files into the case reviews directory
outside the analysis tree, or correct their format/classification, then rerun.
Allowed evidence-bearing exceptions are:
autoruns_potential_golden.csv candidate set;Explicit export and download manifests include persistence authorization tied to their hunt and artifact source identifiers.
Autoruns focused and GoldenDB outputs are defined in windows-persistence-autoruns.md.
managed_collection, preserve target-execution coverage separately and
require the necessary point-in-time scope before making fleet-wide closure or
missing-client claims.ad_hoc_review, accept the selected Velociraptor hunt as authoritative,
mark target execution not_assessed, and allow complete result-set review.
Do not translate result-set completion into a claim about nonresponding hosts.hunt_results() are reviewed.agents/openai.yaml (opens in a new tab)references/analysis-time-filter-support.md (opens in a new tab)references/detectraptor-analysis.md (opens in a new tab)references/existing-hunt-analysis.md (opens in a new tab)references/extracted-evidence-analysis.md (opens in a new tab)references/goldendb-maintenance.md (opens in a new tab)references/live-analysis.md (opens in a new tab)references/task-intent-and-output.md (opens in a new tab)references/windows-hunt-orchestration.md (opens in a new tab)references/windows-live-analysis.md (opens in a new tab)references/windows-persistence-autoruns.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
velociraptor, hunt-workflow, dfir, incident-response, forensics
8 skills in this plugin
/prep-dfir-toolsInstall or refresh shared DFIR tooling on macOS or Linux, including the standalone vraptor Python package, Velociraptor binary, Plaso, Volatility 3, and Sleuth Kit. Use for generic package installation, preparing a DFIR workstation, satisfying missing-tool prerequisites, or validating the local analysis toolchain./velociraptor-artifact-selectionInventory and select Velociraptor artifacts and detection scenarios, resolve built-in and site-owned references, and provide field-projection, hunt, stack, normalization, sampling, filtering, and analysis-routing policy. Use when choosing an artifact or scenario, reviewing or optimizing artifact fields, validating site policy, or exporting `artifact_definitions()`. Not for running or reviewing hunts; use velociraptor-hunting./Generated from the plugin's indexed repository (ig-labs/velociraptor-skills) — no native marketplace selected
npx claudepluginhub p/ig-labs-velociraptor-skillsOther plugins' skills for the same job