sickn33/agentic-awesome-skills/malware-analysis
Claude Code and agent skill by sickn33/agentic-awesome-skills
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Analyze suspected malware through static, dynamic, and behavioral techniques: IOC extraction, YARA/Sigma rule authoring, sandbox orchestration, and anti-analysis detection.
Install
npx vskill@latest install sickn33/agentic-awesome-skills/malware-analysisSKILL.md
Malware Analysis
When to Use
- Triaging a suspicious sample in a controlled environment.
- Producing detections (YARA/Sigma) from observed behavior.
适用场景
- 恶意软件样本分析(PE/ELF/Mach-O/APK/脚本)
- YARA 规则编写与验证
- Sigma 行为检测规则生成
- 沙箱自动化分析编排
- IOC 提取与威胁情报
- 反分析技术检测与绕过
分析边界
只处理有权分析的样本。静态解析器也处理不可信数据:保持更新,在隔离工作区使用,只读保存原始样本与SHA256。动态执行仅限可回滚、无生产凭证的专用虚拟机,禁用共享目录/剪贴板并限制网络;无行为不是无害证明。不得因时间盒或自动门闩而越过动态执行授权。上传样本或哈希到第三方前确认隐私/共享权限。文中外部tool-index、RULES与其他skill不保证已安装;缺失就报告,不伪造Evidence或测试。API导入/签名/字符串只是线索,不直接证明勒索或注入。
六阶段分析流程
Phase 1: 初步分诊
Phase 1b: 脱壳与 IAT 处理(有壳时 · Issue #65)
Phase 2: 静态分析
Phase 3: 沙箱动态分析
Phase 4: YARA 规则编写
Phase 5: Sigma 规则生成
Phase 6: IOC 提取与情报
反分析技术速查
| 技术 | 检测方法 | YARA 特征 | |
|---|---|---|---|
| 虚拟机检测 | WMI Win32_BIOS/VideoController/Processor | Win32_ 字符串 + 特定厂商名 | |
| 沙箱检测 | 磁盘 < 60GB, RAM < 2GB, 单核 CPU | GlobalMemoryStatusEx 调用模式 | |
| 调试器检测 | IsDebuggerPresent, CheckRemoteDebuggerPresent | PEB.BeingDebugged 偏移访问 | |
| 定时逃逸 | Sleep(300000) 后执行恶意行为 | NtDelayExecution 长参数 | |
| 地理位置检测 | 检查键盘布局/时区 → 排除 CIS 国家 | GetKeyboardLayoutList 调用 | |
| 父进程检测 | explorer.exe vs cmd.exe | 进程名字符串比较 | |
| API 直接 syscall | 绕过 EDR hook | syscall 指令 + SSN 解析 |
多 Agent 自动化分析 (SentinelHive 架构)
工具链
| 工具 | 用途 | 获取 | |
|---|---|---|---|
| Ghidra / IDA Pro | 深度反编译 | ghidra-sre.org | |
| CAPE Sandbox | 开源恶意软件沙箱 | GitHub: kevoreilly/CAPEv2 | |
| ASD Azul | 大规模自动化分析 | GitHub: ASD | |
| YARA | 模式匹配规则引擎 | pip install yara-python | |
| Sigma | SIEM 行为检测规则 | GitHub: SigmaHQ/sigma | |
| FLOSS | 去混淆字符串提取 | pip install flare-floss | |
| Detect It Easy | 壳/编译器检测 | GitHub: horsicq/Detect-It-Easy | |
| pe-sieve | 进程内存扫描 | GitHub: hasherezade/pe-sieve | |
| VirusTotal API | 多引擎扫描 | virustotal.com | |
| MalwareBazaar | 恶意软件样本库 | bazaar.abuse.ch |
参考
references/yara-sigma-rules.md— YARA + Sigma 编写方法论references/sandbox-orchestration.md— 沙箱编排与自动化references/anti-analysis-techniques.md— 94 种反分析技术检测../reverse-engineering/references/re-agent-workflow.md— IAT 铁律与六阶段门闩(Issue #65)../reverse-engineering/anti-analysis.md— Agent 响应菜谱 A–T(反调试/混淆旁路)../reverse-engineering/references/nonpe-format-cookbook.md— 非 PE/多格式菜谱 U–AV(脚本/宏/JS/驱动/DLL/Android)../reverse-engineering/references/ollvm-deobfuscation.md— 平坦化/不透明谓词(H/S)
任务完成自检(声称完成前 MUST 通过)
- [ ] 是否准确列出本次获授权并实际完成的步骤,以及未执行/不适用/受阻步骤,避免声称全部完成?
- [ ] 导入表 MUST 检查是否已执行并写入 Evidence(E-imports 或 .NET 等价锚点)?DLL/SYS 是否含 E-exports?
- [ ] 若 IAT 修复失败或自校验闪退:是否记录 E-iat-repair-fail / E-self-check-crash 并转入动态?
- [ ] 重做请求是否回到被点名步骤或经确认的前提协商?阻塞时是否说明+请确认而非偷换步骤?
- [ ] 动态是否按 TLS→EP→敏感 API→ExitProcess 保底顺序预置断点?时间盒/高危 API 组合是否按旁路处理?
- [ ] 反调试/混淆(A–T)是否按 anti-analysis 菜谱记录 Evidence?签名无效是否未错误降级威胁?
- [ ] 脚本/宏/DLL 等非 PE 类型是否按 U–AV cookbook 记录对应 Evidence(如 E-batch-deobf / E-ps-decode / E-vba-pcode / E-dll-*)?
- [ ] 我是否基于
tool-index使用了真实工具路径? - [ ] 我是否产出了可复现证据(命令/脚本/截图/报告)?
- [ ] 我是否完成并回写了 RULES 要求的 Checklist 项?
Limitations
- Never detonate live samples outside isolated, disposable VMs.
- Anti-VM techniques can stall or mislead automated sandboxes.
Adapted from zhaoxuya520/reverse-skill (MIT).
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/malware-analysis/SKILL.md
Popularity
- Repository stars
- 47,054
- Repository forks
- 6,853
- 7-day trend score
- 54
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sickn33/agentic-awesome-skills/malware-analysis)