Incident Response 标志

Incident Response

社区
hypnguyen1209
incident-response

在响应安全事件或开展取证调查时使用——包括分诊与数据采集(Velociraptor/KAPE)、Volatility 3 内存取证、使用 Chainsaw/Hayabusa 对 EVTX 事件进行时间线分析、反取证检测、云端 IR,以及勒索软件/ESXi 响应

Add to TypingMind

概览

发布者hypnguyen1209
代码仓库offensive-claude
技能名称incident-response
星标数
396
复刻数
71
附带文件
16
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 16 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 hypnguyen1209 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Incident Response AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/hypnguyen1209/offensive-claude/tree/main/skills/incident-response
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hypnguyen1209/offensive-claude.git /tmp/offensive-claude
mkdir -p .claude/skills
cp -r /tmp/offensive-claude/skills/incident-response .claude/skills/incident-response
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Incident Response,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Incident Response。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Incident Response 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Incident Response & Digital Forensics

When to Activate

  • Active security incident: triage, scoping, evidence acquisition, containment, eradication
  • Memory forensics — process injection, rootkit (incl. eBPF), credential-theft, network artifacts
  • Windows event-log / artifact timelining and super-timeline reconstruction
  • Anti-forensics detection — timestomping, log clearing, secure deletion, VSS recovery
  • Cloud incident response — AWS/Azure/GCP identity-plane attacks and forensic collection
  • Ransomware / extortion response — hypervisor (ESXi) encryption, backup destruction, fast-dwell intrusions
  • Verifying suspect DFIR tooling used as adversary persistence (Velociraptor CVE-2025-6264)
  • Repository-compromise post-mortem — a poisoned public repo / force-pushed malicious commit / deleted PR (recover via dangling commits + GH Archive + Wayback + Events API; see references/repo-compromise-forensics.md)

Technique Map

TechniqueATT&CKCWEReferenceScript
Order-of-volatility live triage (Velociraptor/KAPE/UAC/CatScale)T1074CWE-778references/triage-collection.mdscripts/triage_collector.py
Offline collector build + RAM acquisition (winpmem/LiME/AVML)T1074CWE-778references/triage-collection.mdscripts/triage_collector.py
Suspect-tooling verification (Velociraptor CVE-2025-6264)T1219CWE-269references/triage-collection.mdscripts/triage_collector.py
Volatility 3 process/injection analysis (malfind, hollow)T1055CWE-noinforeferences/memory-forensics.mdscripts/vol3_triage.py
Credential extraction from memory (LSASS, hives)T1003.001CWE-522references/memory-forensics.mdscripts/vol3_triage.py
Kernel + eBPF rootkit detection (LinkPro, linux.ebpf)T1014CWE-269references/memory-forensics.mdscripts/ebpf_rootkit_hunt.sh
EVTX Sigma hunting & fast timeline (Chainsaw/Hayabusa)T1070.001CWE-778references/windows-evtx-timeline.mdscripts/evtx_hunt.sh
Super-timeline (plaso) + Timesketch correlationT1070CWE-778references/windows-evtx-timeline.mdscripts/evtx_hunt.sh
Timestomping detection ($SI vs $FN, USN FILE_CREATE)T1070.006CWE-noinforeferences/anti-forensics-detection.mdscripts/timestomp_detect.py
Log/journal clearing & VSS recoveryT1070.001, T1490CWE-778references/anti-forensics-detection.mdscripts/timestomp_detect.py
Cloud IR — IMDSv2/SSRF cred theft, CloudTrail/GuardDutyT1552.005, T1078.004CWE-918references/cloud-ir.mdscripts/cloud_ir_collect.py
Entra ID / token theft, identity-plane containmentT1528, T1078.004CWE-287references/cloud-ir.mdscripts/cloud_ir_collect.py
Ransomware rapid triage (Windows/Linux)T1486, T1490, T1485CWE-noinforeferences/ransomware-esxi-ir.mdscripts/ransomware_triage.ps1
ESXi / hypervisor ransomware response (UNC3944)T1486CWE-noinforeferences/ransomware-esxi-ir.mdscripts/ransomware_triage.ps1

Quick Start

bash
# 0. PRESERVE ORDER OF VOLATILITY — RAM before disk, never reboot a live host first.
#    Windows RAM:  winpmem_mini_x64.exe mem.raw        Linux RAM: AVML  ./avml mem.lime
# 1. Network-wide / endpoint triage (pick one):
python3 scripts/triage_collector.py --os auto --out /evidence --velociraptor-collector
#    Verify any Velociraptor already on-host is NOT adversary persistence (CVE-2025-6264):
python3 scripts/triage_collector.py --check-velociraptor   # flags <0.73.5 / unknown service

# 2. Memory forensics (Windows or Linux dump):
python3 scripts/vol3_triage.py -f /evidence/mem.raw --os windows --hunt-injection --dump-suspect
bash   scripts/ebpf_rootkit_hunt.sh   # Linux live/IR eBPF rootkit hunt (LinkPro-aware)

# 3. Windows event-log fast timeline + Sigma hunt:
bash scripts/evtx_hunt.sh -d /evidence/C/Windows/System32/winevt/Logs -o /evidence/timeline

# 4. Anti-forensics: timestomp / USN tamper detection from $MFT + $J:
python3 scripts/timestomp_detect.py --mft /evidence/mft.csv --usn /evidence/usn.csv

# 5. Cloud breach (identity-plane first):
python3 scripts/cloud_ir_collect.py aws --collect-cloudtrail --contain-key AKIA... --enforce-imdsv2

# 6. Ransomware on a Windows host (rapid scope, do BEFORE eradication):
powershell -ep bypass -File scripts/ransomware_triage.ps1 -OutDir C:\IR

OPSEC & Detection (summary)

IR is defensive; "OPSEC" below = handling rules that keep evidence admissible and avoid tipping off an adversary who may be monitoring (UNC3944 joins IR bridges in real time).

TechniqueTelemetry / IOCDetection (Sigma / EDR)OPSEC / evidence note
Live triageNew service/scheduled task for collector; large file writes to evidence pathBaseline expected DFIR tooling; alert on unsigned collectorsCollect RAM first; never write evidence to the suspect volume; hash everything
Velociraptor abusevelociraptor.exe svc <0.73.5; MSI from Azure Blob; relaunch after isolationSigma: unexpected Velociraptor service install; CVE-2025-6264 UpdateConfigTreat unexpected Velociraptor as persistence, not your tooling
Memory injectionRX/RWX private VAD not file-backed (malfind); reparented svchostVol3 malfind/hollowprocesses; EDR unbacked-execDocument plugin+offset provenance; keep raw dump read-only
eBPF rootkitbpf_override_return; getdents/sys_bpf hooks; XDP magic-packet (win=54321); /etc/ld.so.preloadlinux.ebpf vs baseline; ss(netlink) vs /proc/net diff; YARA MAL_LinkPro_*bpftool/ps/ss lie on host — acquire RAM out-of-band (hypervisor/LiME RO)
EVTX clearing1102 (Security cleared), 104 (System cleared), gaps in EventRecordIDChainsaw/Hayabusa Sigma; alert on 1102/104Pull EVTX from VSS/disk image, not the tampered live log
Timestomp$SI ≠ $FN create time; sub-second zeros; USN FILE_CREATE mismatchtimestomp_detect.py; MFTECmd Created0x10 vs Created0x30$FN is harder to forge — anchor truth to it + USN/$LogFile
Cloud cred theftInstanceCredentialExfiltration.OutsideAWS; impossible-travel sign-in; CloudTrail StopLoggingGuardDuty findings; Sentinel KQL risky sign-insSnapshot+immutable-export BEFORE remediation; logs to a SIEM the attacker can't reach
Ransomware/ESXiMass file rename/ext change; vCenter/ESXi SSH on; bulk vim-cmd VM power-offSIEM: high-volume VM power-off from one host; vpxuser anomaliesImage before decrypt attempts; preserve note + sample; assume comms compromised

Deep Dives

  • references/triage-collection.md — Order of volatility, RAM acquisition (winpmem/AVML/LiME), Velociraptor 0.75 offline collectors & hunts, KAPE targets, UAC/CatScale for Unix/ESXi, suspect-tooling verification incl. Velociraptor CVE-2025-6264.
  • references/memory-forensics.md — Volatility 3 symbol-table workflow, Windows injection/credential/rootkit plugins, Linux pslist/check_syscall/hidden_modules, eBPF rootkit detection (LinkPro, linux.ebpf, bpf_override_return), dump extraction.
  • references/windows-evtx-timeline.md — Chainsaw v2 & Hayabusa v3 Sigma hunting, key Event IDs, EvtxECmd/Eric Zimmerman parsers, plaso super-timeline, Timesketch + Dissect/Acquire enterprise scaling.
  • references/anti-forensics-detection.md — Timestomping ($SI/$FN + USN cross-validation), log/journal clearing (1102/104, $LogFile gaps), secure-deletion artifacts, VSS recovery, $MFT/$J/$LogFile QuadLink correlation.
  • references/cloud-ir.md — NIST SP 800-61r3 / SP 800-201, AWS CloudTrail/GuardDuty/IMDSv2-SSRF, Azure Entra ID token theft & KQL, GCP audit logs, identity-plane containment, automated evidence preservation.
  • references/ransomware-esxi-ir.md — Ransomware rapid triage & decision flow, Scattered Spider/UNC3944 ESXi LotL chain, backup destruction, cross-platform builders (LockBit 5.0/DragonForce), containment & negotiation hygiene.
  • references/repo-compromise-forensics.md — poisoned public-repo post-mortem from four INDEPENDENT, attacker-uncontrollable sources: dangling/force-pushed commits (dangling_commit_finder.py, git fsck via git_safe), GH Archive + Wayback CDX + live Events API (gharchive_recover.py); hypothesis→verify-at-source (evidence_kit)→adversarial-check→report, attribution-with-confidence, BigQuery kept optional.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Incident Response AI 技能有什么作用?

在响应安全事件或开展取证调查时使用——包括分诊与数据采集(Velociraptor/KAPE)、Volatility 3 内存取证、使用 Chainsaw/Hayabusa 对 EVTX 事件进行时间线分析、反取证检测、云端 IR,以及勒索软件/ESXi 响应

为什么在 TypingMind 中使用 Incident Response?

因为您只需安装一次,就能搭配任何模型使用。Incident Response 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Incident Response?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/hypnguyen1209/offensive-claude/tree/main/skills/incident-response。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Incident Response?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Incident Response 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Incident Response 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Incident Response AI 技能免费吗?

是的。hypnguyen1209 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇