Velociraptor Cheat Sheet
Endpoint visibility and digital forensic platform with VQL for hunting, collections, and incident response at scale.
Overview
Velociraptor deploys agents (or runs offline) to collect artifacts, run VQL queries, and hunt across endpoints. Used in enterprise IR for process lists, registry, browser history, and YARA scans with centralized server.
Authorized testing only. Use only on systems, networks, and accounts you own or have explicit written permission to test. Unauthorized access is illegal.
Install
Server + client binary
wget https://github.com/Velocidex/velociraptor/releases/latest/download/velociraptor-v0.72.0-linux-amd64chmod +x velociraptor-* && mv velociraptor-* /usr/local/bin/velociraptorGenerate server config (first time)
velociraptor config generate -ivelociraptor --config server.config.yaml frontend -vEssential commands
Interactive client (local debug)
velociraptor -c client.config.yaml query "SELECT * FROM info()"Built-in artifact collection
velociraptor -c client.config.yaml artifacts collect Windows.System.PslistCommon workflows
VQL notebook queries (UI) —
-- Running processesSELECT Pid, Name, CommandLine, UsernameFROM pslist()-- Network connectionsSELECT Pid, Laddr, Raddr, StatusFROM netstat()-- Files in user Downloads modified last 7 daysSELECT FullPath, Mtime, SizeFROM glob(globs="C:/Users/*/Downloads/**")WHERE Mtime > timestamp(epoch=now() - 7*86400)CLI collector (offline IR)
velociraptor-collector.exe --definitions Collector.zip -o ./collection.zipYARA hunt —
SELECT File, Rule, TagsFROM proc.yara(rules="rule test { strings: $a = \"evil\" condition: $a }",processes=True,files="C:\\Users\\*\\Downloads\\*")Upload / file fetch —
SELECT upload(file="C:/Windows/System32/config/SAM") AS UploadFROM scope()Linux agent —
sudo velociraptor -c client.config.yaml client -vFlags reference
frontend | Start server UI/API |
|---|---|
client | Run agent |
artifacts list | Available collections |
query 'VQL' | Ad-hoc query |
--config FILE | YAML config |
config generate | Bootstrap server/client |
GUI port | Default 8889/frontend |
Tips
- VQL is powerful — test hunts on single host before org-wide deployment.
- Use labels (e.g. windows, critical) to scope hunts.
- Collector ZIP runs without permanent agent — good for one-off IR.
- Integrate with Sigma → Velociraptor artifacts for detection engineering.