Malware Report Writer 标志

Malware Report Writer

社区
gl0bal01
malware-report-writer

为企业安全团队和事件响应工作撰写专业的恶意软件分析报告。适用于编写、整理或改进恶意软件分析报告、撰写执行摘要、编写 YARA 规则,或以专业交付格式整理 IOC 和检测规则。

概览

发布者gl0bal01
代码仓库malware-analysis-claude-skills
技能名称malware-report-writer
星标数
54
复刻数
4
附带文件
2
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 2 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gl0bal01/malware-analysis-claude-skills.git /tmp/malware-analysis-claude-skills
mkdir -p .claude/skills
cp -r /tmp/malware-analysis-claude-skills/malware-report-writer .claude/skills/malware-report-writer
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Malware Report Writer。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Malware Report Writer

Create professional, comprehensive malware analysis reports for enterprise security teams, incident response, and threat intelligence.

Execution Model

  • You write the report. Read analysis_state.md and the evidence directory yourself (triage report, procmon_summary.txt, sysmon_summary.txt, tshark exports, decoded scripts, detection rule files) and draft every section from that. Ask the user only for what the evidence cannot tell you: engagement name, analyst name, audience, classification/TLP, and gaps you have flagged.
  • Locate skill files. Scripts and reference files ship in this skill's directory. Set R="${CLAUDE_PLUGIN_ROOT:-<dir containing this SKILL.md>}" once (when installed as a plugin $CLAUDE_PLUGIN_ROOT is set; otherwise it is this skill folder). Your working directory is the user's analysis workspace, so prefix every script path below with $R, e.g. python3 "$R"/scripts/ioc_extract.py.
  • Author the YARA rule from the evidence (runtime-decrypted strings, unique UA/URI, mutex, PDB path, config markers) and test it yourself when yara is installed — see Testing YARA rules. If it cannot be tested, mark the rule UNTESTED in the report; never present an untested rule as validated.
  • Defang at write time. Run any IOC list through python3 scripts/ioc_extract.py (repo root) rather than defanging by hand.
  • Output is a file. Write reports/<sample>_report.md in the user's workspace (create the directory), then print the executive summary and the quality-checklist result. Never leave template placeholders in the delivered file.
  • State what was not done. Phases skipped, network not observed, packer not defeated — these go in the report's limitations, not silently omitted.

When to Use This Skill

Use this skill when the user needs to:

  • Create a complete malware analysis report from analysis findings
  • Structure analysis results into professional documentation
  • Write executive summaries for malware samples
  • Format IOCs and detection rules for delivery
  • Review or improve existing malware reports
  • Prepare report documentation for stakeholders

Quick Start

Creating a New Report

  1. cat analysis_state.md; ls the evidence and detection directories; read the phase outputs you need
  2. Copy assets/report_template.md to reports/<sample>_report.md
  3. Populate each section from the evidence, citing it (file, line, event) so every claim is traceable
  4. Author and test the YARA rule; paste Sigma/Suricata rules from detection-engineer verbatim
  5. Run the Quality Checklist below and references/best_practices.md; fix, then deliver

Report Structure

The standard report includes these sections in order:

  1. Executive Summary - High-level overview for non-technical stakeholders
  2. Sample Information - Basic file metadata and hashes
  3. Static Analysis - File structure, strings, imports/exports, resources
  4. Dynamic Analysis - Runtime behavior, system changes, network activity
  5. IOCs - Organized by type (file, network, host indicators)
  6. Detection Rules - YARA rules and optionally Sigma rules
  7. Malware Classification - Family, type, capabilities
  8. Remediation and Mitigation - Actionable response steps
  9. Technical Details - Additional deep-dive analysis
  10. Conclusion - Final summary and assessment
  11. References - External resources and links
  12. Appendix - Timeline, tools used, screenshots

Key Principles

Professional Quality

  • Use precise technical language with clear explanations
  • Include all three hash types (MD5, SHA1, SHA256)
  • Provide full context for every finding
  • Document methodology and tools used
  • Include timestamps and version information

Professional Report Requirements

Industry-standard reports require:

  • Complete technical documentation of malware samples
  • Professional format suitable for enterprise delivery
  • Working detection rules based on malware characteristics
  • Clear IOCs that can be operationalized

Critical: The quality of your report reflects your professionalism. Allocate sufficient time for writing and review.

Audience Awareness

Structure content for multiple audiences:

  • Executive Summary: Non-technical decision makers
  • Technical Sections: Security analysts and researchers
  • IOCs/Detection: SOC teams and detection engineers
  • Remediation: Incident responders

Writing Guidelines

Executive Summary

  • 2-4 paragraphs maximum
  • Plain language, minimal jargon
  • Answer: What? How critical? What actions?
  • Include key findings in bullet points

Technical Analysis

  • Document both positive and negative findings
  • Provide evidence for every claim
  • Use code blocks for technical artifacts
  • Include screenshots when they add value
  • Connect behaviors to specific evidence

IOCs Section

Format:

  • Group by type (file, network, host)
  • Include context for each indicator
  • Provide confidence levels if uncertain
  • Test IOCs for accuracy before including

Defanging (required): All IOCs in reports MUST be defanged to prevent accidental activation:

  • URLs: http → hxxp, https → hxxps (e.g., hxxps://malicious[.]example[.]com/payload)
  • Domains: bracket the dot before the TLD (e.g., evil[.]com, sub.domain[.]net)
  • Email addresses: @ → [@] (e.g., attacker[@]evil[.]com)
  • IP addresses: bracket each dot separator (e.g., 192[.]168[.]1[.]1)

Avoid:

  • Environment-specific artifacts
  • Personal/analyst system information
  • Common legitimate values
  • Untested indicators

Detection Rules

YARA Rules:

  • Test against sample (must detect)
  • Test against clean files (must not false positive)
  • Include metadata: author, date, description, hash
  • Use meaningful string and variable names
  • Add comments explaining detection logic
  • Set appropriate conditions to balance detection and false positives

Testing YARA rules (run these; paste the results into the report's detection section):

bash
command -v yara || echo "yara not installed: pip install yara-python / apt install yara — mark rule UNTESTED"
yara -w -s detections/yara/family.yar samples/sample.exe                 # must match; -s shows which strings hit
yara -w -s detections/yara/family.yar samples/unpacked.exe               # and the unpacked/dropped stages
yara -w -r detections/yara/family.yar /usr/lib /usr/bin clean/ 2>/dev/null | head   # must print nothing (clean corpus; add a Windows clean dir if available)

A rule that matches only on strings present in the packed sample is a hash in disguise; prefer runtime-decrypted strings, config markers, mutexes, and code patterns, and require 2 of them or more with a filesize bound.

Best practices:

yara
rule Malware_Family_Variant {
    meta:
        description = "Detects Malware_Family based on C2 configuration"
        author = "Analyst Name"
        date = "2025-10-25"
        hash = "abc123..."
        reference = "Internal analysis"
        
    strings:
        $c2_config = { 48 8B ?? ?? ?? ?? ?? 48 8D ?? ?? }  // Config access pattern
        $ua_string = "Mozilla/4.0 (Suspicious UA)" ascii
        $mutex = "Global\\UniqueMalwareMutex" wide
        
    condition:
        uint16(0) == 0x5A4D and  // MZ header
        filesize < 2MB and
        2 of them
}

Common Mistakes to Avoid

  • Over-relying on automated tool output without interpretation
  • Listing findings without explaining significance
  • Missing critical hashes or file metadata
  • Weak or untested detection rules
  • Vague remediation recommendations
  • Poor grammar/spelling
  • Inconsistent formatting
  • Environment-specific artifacts in IOCs

Best Practices Reference

For detailed guidance on report quality, writing style, and common pitfalls, see references/best_practices.md.

Key topics covered:

  • Report writing principles (clarity, completeness, objectivity)
  • Structure guidelines for each section
  • IOC quality standards
  • Detection rule best practices
  • Audience considerations
  • Quality checklist
  • Efficient workflow strategies

Quality Checklist

Before submitting any report, verify:

Technical Accuracy:

  • All three hash types included and verified
  • File paths are complete and accurate
  • Timestamps include timezone
  • Process IDs included for process activity
  • Tool versions documented

Detection Rules:

  • YARA rules tested against sample (detects correctly)
  • YARA rules tested against clean files (no false positives)
  • Rules include complete metadata
  • Conditions are appropriate and not over-matching

IOCs:

  • Grouped by type (file, network, host)
  • Context provided for each IOC
  • All IOCs defanged (hxxp/hxxps, [.] for domains and IPs, [@] for email)
  • No environment-specific artifacts
  • All IOCs validated

Report Quality:

  • Executive summary is non-technical and actionable
  • All sections completed
  • Grammar and spelling checked
  • Consistent formatting throughout
  • Evidence supports all claims
  • Remediation steps are specific and prioritized

Professional Standards:

  • Report is professional and enterprise-ready
  • Detection rules work and are well-documented
  • Technical details demonstrate thorough analysis
  • Report answers: What is it? What does it do? How to detect? How to remove?

Output Format

Create reports in Markdown format using the template structure. For professional delivery:

  1. Create report in Markdown using the template
  2. Convert to PDF for professional appearance (if required)
  3. Ensure all sections are complete
  4. Include any screenshots as appendix items
  5. Verify detection rules are included and tested

Example Usage

User request: "Write the report for the ransomware sample"

What you do:

  1. Read analysis_state.md, the triage report, dynamic summaries, and the Sigma/Suricata files already created.
  2. Copy the template to reports/<sample>_report.md; fill all 12 sections from evidence, citing sources.
  3. Write the YARA rule from runtime strings / ransom-note markers / mutex; run yara against the sample and a clean corpus; record the result.
  4. Defang the IOC section with ioc_extract.py; remove lab artifacts.
  5. Write remediation ordered by urgency (isolate → block C2 → remove persistence → recover), and the limitations section.
  6. Run the Quality Checklist; ask the user only for analyst name, audience, and any gap you could not close.
  7. Print the executive summary and the file path.

附带文件

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

常见问题

Malware Report Writer AI 技能有什么作用?

为企业安全团队和事件响应工作撰写专业的恶意软件分析报告。适用于编写、整理或改进恶意软件分析报告、撰写执行摘要、编写 YARA 规则,或以专业交付格式整理 IOC 和检测规则。

为什么在 TypingMind 中使用 Malware Report Writer?

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

如何在 TypingMind 中安装 Malware Report Writer?

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

哪些 AI 模型可以使用 Malware Report Writer?

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

Malware Report Writer 可以搭配多少个 AI 模型使用?

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

Malware Report Writer AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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