Re ti

From dslsdzc/rev-skills · View interactive version

Re ti is an AI agent skill from the GitHub repository dslsdzc/rev-skills. 威胁情报查询与关联:VT/Any.run/hybrid-analysis、MISP。 触发词:威胁情报、VirusTotal、Any.run、沙箱查询、MISP、样本关联

How to use this skill

Skill file

威胁情报查询与关联

何时使用 / 何时不用

工具准备

本技能以查询/解读为主,不运行样本;上传到沙箱的动态执行须在 [[re-sandbox]] 内(默认沙箱最高原则,见 [[re-analyze/platform-tips]])。

VirusTotal(核心查询,网页 + API)

curl —— API 请求

Any.run / hybrid-analysis(沙箱报告,网页)

MISP(可选,团队自建情报库)

jq(可选,解析 API JSON)

操作步骤

按顺序执行;步骤 1-3 对每个线索(hash/域名/IP)都过一遍,记下结果与查询时间(证据)。

  1. 哈希/域名/IP 查询(VT):

```sh

curl -s --request GET \

--url "https://www.virustotal.com/api/v3/search?query=<sha256_or_domain_or_ip>" \

-H "x-apikey: $VT_API_KEY" | jq '.data[0].attributes | {last_analysis_stats, names, tags, popular_threat_category}'

```

  1. 沙箱报告解读(Any.run / hybrid-analysis):

```sh

curl -s -H "api-key: $HA_API_KEY" \

"https://hybrid-analysis.com/api/v2/search/hash?hash=<sha256>" | jq '{sha256s, verdicts: [.reports[].verdict]}'

```

  1. 家族/团伙关联(VT graph、tag):

```sh

curl -s --request GET \

--url "https://www.virustotal.com/api/v3/files/<sha256>/graphs" \

-H "x-apikey: $VT_API_KEY" | jq '.data[].type' | sort -u

```

  1. MISP 事件关联(如有实例):

```sh

# 查询事件的属性(hash/域名/IP)——POST + JSON body

curl -s --request POST "https://<misp>/events/restSearch" \

-H "Authorization: <MISP_API_KEY>" \

-H "Accept: application/json" \

-H "Content-Type: application/json" \

--data-binary '{"returnFormat":"json","value":"<sha256>"}' | jq '.response[]?.Event | {info, date, orgc}'

```

  1. 情报进报告(衔接 [[re-ioc]]):

跨域联合

常见坑与陷阱

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.