跳到正文
Skillpedia
分析与电子表格35k · #7936

fleet-hunting-with-velociraptor

它能做什么

Velociraptor 是一款可以同时在多台电脑上搜索可疑活动的工具。你可以创建自定义搜索,在整个网络中查找特定信息,比如恶意程序或异常行为。

适用场景

  • ✓当你需要在数百或数千台电脑上搜索某种特定行为时。
  • ✓在调查过程中,需要从电脑上收集安全信息,又不想重装系统时。
  • ✓需要为未连入主网络的电脑创建数据收集程序时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/fleet-hunting-with-velociraptor/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/fleet-hunting-with-velociraptor/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“搜索所有正在运行可疑 PowerShell 脚本的电脑。”

每周 5 个新技能,1 分钟读完。

工作原理

你需要搭建一台中央服务器,并在要监控的电脑上安装一些小程序(代理程序,即 agent)。然后编写搜索命令(VQL),发送给所有代理程序,收集你需要的信息。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Fleet Hunting with Velociraptor

Authorized Use Only: Velociraptor agents provide deep endpoint visibility and remote collection. Deploy only on assets you own or are authorized to monitor, in accordance with your monitoring policy and applicable law.

Overview

Velociraptor is an open-source endpoint visibility and digital-forensics platform from Rapid7/Velocidex. A single Go binary acts as server, client (agent), and CLI depending on how it is invoked and configured. Its power comes from VQL (Velociraptor Query Language) — an SQL-like language whose plugins query the live state of an endpoint (processes, files, registry, event logs, WMI, network connections, prefetch, etc.). VQL queries are packaged into reusable Artifacts, and Artifacts are run at scale as Hunts that fan out across every connected client and stream results back to the server as structured rows.

This makes Velociraptor ideal for fleet-wide threat hunting: a hypothesis ("are any hosts running suspicious PowerShell?") becomes a VQL artifact, deployed as a hunt, with results aggregated centrally in minutes. It also supports offline collectors (standalone executables that collect and bundle artifacts on air-gapped or unmanaged hosts) and live forensic notebooks.

When to Use

  • Hunting for a TTP across hundreds or thousands of endpoints from a single console.
  • Collecting forensic artifacts on demand during incident response without re-imaging.
  • Continuously monitoring for an indicator using client-side event artifacts.
  • Generating standalone offline collectors for hosts you cannot enroll.

Prerequisites

  • A Linux or Windows host for the server (Linux recommended for production).
  • The Velociraptor binary from the official release page: https://github.com/Velocidex/velociraptor/releases
  • Outbound/inbound connectivity from clients to the server frontend port (default 8000) and admin GUI (default 8889).
  • Make the binary executable on Linux:
    chmod +x velociraptor-v0.*-linux-amd64
    sudo mv velociraptor-v0.*-linux-amd64 /usr/local/bin/velociraptor
    

Objectives

  • Generate server and client configurations.
  • Run the server frontend and admin GUI.
  • Enroll clients across the fleet.
  • Author and test VQL hunts.
  • Launch a fleet-wide hunt and collect results.
  • Produce an offline collector for unmanaged hosts.

MITRE ATT&CK Mapping

ID Official Technique Name Relevance to this skill
T1059 Command and Scripting Interpreter A primary hunt target — VQL artifacts surface anomalous interpreter execution (PowerShell, cmd, wscript) across the fleet for detection and triage.

Velociraptor is a defensive hunting platform; the mapping reflects the adversary behavior the hunts are designed to detect.

Workflow

1. Generate the server configuration

The interactive generator writes a server config (TLS, datastore paths, GUI users, frontend URL). Use config generate for a self-signed lab build or the interactive -i wizard for production.

# Non-interactive: dump a default server config
velociraptor config generate > server.config.yaml

# Interactive wizard (recommended for production deployments)
velociraptor config generate -i

2. Add a GUI admin user

Create at least one administrator to log into the console.

velociraptor --config server.config.yaml user add admin --role administrator

3. Start the server frontend and GUI

The frontend accepts client connections; the GUI is served per the config (default https://127.0.0.1:8889).

velociraptor --config server.config.yaml frontend -v

For a quick all-in-one local lab (server + frontend + a local client in one process):

velociraptor gui

4. Generate the client configuration and deploy agents

Derive the client config from the server config and run it as the client on each endpoint.

# Produce the client config (embeds server URL + CA)
velociraptor --config server.config.yaml config client > client.config.yaml

# On a Linux endpoint, run as a client (or install as a service)
velociraptor --config client.config.yaml client -v

On Windows, build an MSI/service installer from the GUI ("Server Artifacts" > deployment) or run:

velociraptor.exe --config client.config.yaml service install

5. Test VQL interactively before hunting

…

常见问题

什么是 VQL?

VQL 是一种类似 SQL 的查询语言,Velociraptor 用它在电脑上查找信息。你可以用它查询正在运行的进程、文件和日志等详细信息。

什么是 “Artifacts”?

Artifacts 就像是把 VQL 查询打包在一起的“软件包”。它们让复杂的搜索更容易在大量电脑上重复使用和运行。

我可以在不连接我网络的电脑上使用吗?

可以。Velociraptor 可以创建“离线收集器”,也就是独立运行的程序,用于从未联网的电脑上收集数据。

详情

作者的原始描述

Deploy a Velociraptor server and agents, then author VQL (Velociraptor Query Language) artifacts and run them as fleet-wide hunts, on-demand forensic collections, or standalone offline collectors. Use when hunting a TTP across hundreds or thousands of endpoints, collecting forensic artifacts during incident response without re-imaging, or generating collectors for unmanaged/air-gapped hosts.

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#7936
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能