Logo von Malware Analysis

Malware Analysis

Community
gl0bal01
malware-analysis

Orchestrate the complete malware analysis lifecycle across triage, dynamic analysis, detection engineering, and report writing. Use as the single entry point for any malware analysis task — routes to specialized sub-skills by file type and phase, carries findings between phases, and supports multi-sample batch workflows.

Übersicht

Herausgebergl0bal01
Repositorymalware-analysis-claude-skills
Skill-Namemalware-analysis
Sterne
54
Forks
4
Mitgelieferte Dateien
19
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • 19 mitgelieferte Dateien

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von gl0bal01 auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill Malware Analysis in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner — liest SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/gl0bal01/malware-analysis-claude-skills/tree/main
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format lesen kann, kann diesen Skill nutzen — kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gl0bal01/malware-analysis-claude-skills.git \
  .claude/skills/malware-analysis
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Malware Analysis in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Malware Analysis automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Malware Analysis nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Keys.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Malware Analysis Orchestrator

Single entry point for malware analysis engagements. Routes to specialized sub-skills, carries findings between phases, and manages multi-sample workflows.

How This Works

You describe what you need — "analyze this sample", "I have 5 files to triage", "create detection rules from my findings" — and this orchestrator:

  1. Determines which sub-skill to use based on your file type and intent
  2. Runs the analysis using that sub-skill: Claude executes the static tooling, parses exported evidence, writes rules and reports itself
  3. Records findings in a state file (analysis_state.md)
  4. Recommends the next phase when the current one completes
  5. Waits for your confirmation before proceeding

You never need to invoke sub-skills directly.

Execution Model

  • Claude does the work on the host. Hashing, file, PE parsing, strings, IOC extraction, macro/PDF/script deobfuscation, .NET decompilation, Procmon/Sysmon/tshark parsing, rule authoring and testing, report writing — all run by Claude with Bash. Do not turn a step into "ask the user to run X and paste the output" unless the tool is missing and cannot be installed.

  • The only thing the analyst does by hand is execute the sample in the isolated VM and export text evidence. malware-dynamic-analysis produces the runbook for that.

  • Never execute a sample or any extracted stage on the host. Static tooling only. Never upload a sample anywhere without explicit consent (hash lookups are fine).

  • Locate skill files. The sub-skill SKILL.md files and the scripts below ship in this skill's directory tree. Set R="${CLAUDE_PLUGIN_ROOT:-<dir containing this SKILL.md>}" once — when installed as a plugin $CLAUDE_PLUGIN_ROOT points at the install; otherwise it is this skill folder. The working directory is the user's analysis workspace, so read sub-skills and run scripts by absolute path, e.g. python3 "$R"/scripts/ioc_extract.py and read "$R"/malware-triage/SKILL.md.

  • Bundled scripts (paths below are relative to $R):

    ScriptUsed byPurpose
    scripts/ioc_extract.pyall phasesextract + defang IOCs from any text (--format csv/json, --refang)
    malware-triage/scripts/pe_info.pytriagePE headers, sections, entropy, imports, packing verdict, signature, overlay, resources (needs pefile)
    malware-triage/scripts/hash_calculator.pytriageMD5/SHA1/SHA256
    malware-dynamic-analysis/scripts/procmon_summary.pydynamicProcmon CSV → process tree, file/registry writes, network, persistence flags
    malware-dynamic-analysis/scripts/sysmon_summary.pydynamicSysmon JSON/CSV/evtx_dump → tree, network + beaconing, DNS, injection, persistence

    Run --self-test on any of them if in doubt.

  • Host tool check at engagement start (once), then degrade gracefully and say what is missing:

    bash
    command -v file strings upx 7z yara tshark olevba oledump.py pdfid.py ilspycmd js-beautify readelf jq; python3 -c "import pefile" 2>&1 | tail -1
  • Big outputs go to files under the engagement workspace; inspect with wc -l, head, grep, and the summary scripts — never cat a strings dump or a Procmon CSV.

Routing Logic

SignalRoutes To
Unknown file / "what is this?" / initial assessmentmalware-triage
PE executable after triage, needing behavior monitoringmalware-dynamic-analysis
.NET / Office / PDF / script / archive / LNK / ELF / HTA / ISO / IMG / VHD / VHDXspecialized-file-analyzer
"Create detection rules" / post-analysis phasedetection-engineer
"Write the report" / final documentation phasemalware-report-writer
YARA rules specificallymalware-report-writer (not detection-engineer)

Triage is always the entry point for new samples. The table above describes which analysis skill follows triage.

File Type Priority Order

When routing by file type, use the file command output. Check in this order — first match wins:

  1. "Mono/.Net assembly" → read and follow specialized-file-analyzer/SKILL.md
  2. "Microsoft Office Document" → read and follow specialized-file-analyzer/SKILL.md
  3. "PDF document" → read and follow specialized-file-analyzer/SKILL.md
  4. "ELF" → read and follow specialized-file-analyzer/SKILL.md
  5. "PE32" / "PE64" (only if .NET was NOT matched) → read and follow malware-triage/SKILL.md, then malware-dynamic-analysis/SKILL.md
  6. "MS Windows shortcut" (LNK) → read and follow specialized-file-analyzer/SKILL.md
  7. ASCII text / script content → read and follow specialized-file-analyzer/SKILL.md
  8. Archive formats (Zip, RAR, 7z) → read and follow specialized-file-analyzer/SKILL.md
  9. HTML Application (.hta) → read and follow specialized-file-analyzer/SKILL.md
  10. ISO/IMG disk images → read and follow specialized-file-analyzer/SKILL.md (mount/extract, then analyze contents)
  11. VHD/VHDX virtual hard disks → read and follow specialized-file-analyzer/SKILL.md (mount/extract, then analyze contents)
  12. "data" / zero-byte / unrecognized → read and follow malware-triage/SKILL.md for manual assessment

.NET is the key ambiguity: file outputs both "PE32" and "Mono/.Net assembly" for .NET assemblies. Always check for .NET before checking for PE.

Phase Sequence

Each sample follows this sequence:

Triage → [Dynamic Analysis OR Specialized File Analysis] → Detection Engineering → Report Writing
  • Triage is always first — read and follow malware-triage/SKILL.md
  • Dynamic analysis for PE executables — read and follow malware-dynamic-analysis/SKILL.md
  • Specialized file analysis for non-PE files (.NET, Office, PDF, scripts, archives, LNK, ELF) — read and follow specialized-file-analyzer/SKILL.md
  • Detection engineering consolidates IOCs into Sigma/Suricata rules — read and follow detection-engineer/SKILL.md
  • Report writing is always last — read and follow malware-report-writer/SKILL.md

Phase Transitions (Suggest-Next Mode)

After each phase completes:

  1. Summarize what was found in the current phase
  2. Update analysis_state.md with findings and IOCs
  3. Recommend the next skill with reasoning based on findings
  4. Wait for user confirmation before proceeding

Never auto-chain phases. Every transition requires user confirmation.

VM Isolation Boundary

Before dynamic analysis, hand the user the runbook from malware-dynamic-analysis/SKILL.md Part A, tailored with the triage predictions (process names to filter, expected protocol, expected persistence), and state the boundary explicitly:

"The next phase requires executing the sample in your isolated VM (REMnux/FlareVM). Follow the runbook: snapshot → start Procmon/Wireshark/System Informer/Sysmon → execute → observe 15+ min → export evidence with the A4 commands (Procmon CSV, Sysmon JSON, tshark text, autoruns CSV, dropped files) → revert. Bring the evidence/ directory back and I'll parse it."

If the user returns with PML/PCAP/EVTX, give the conversion command from the dynamic skill's Converting Binary Evidence table (tshark and evtx_dump can run on the host) rather than refusing the files.

State File: analysis_state.md

Created in the user's working directory (not this skill repo) when the first sample is provided. Updated after each phase.

Structure

markdown
# Malware Analysis — [Engagement Name/Date]

**Analyst:** [name]
**Started:** [date]
**Status:** [In Progress / Complete]

---

## Samples

### Sample 1: [filename]
- **File Type:** [type]
- **MD5:** [hash]
- **SHA1:** [hash]
- **SHA256:** [hash]
- **Size:** [bytes]
- **Priority:** [Immediate / Standard / Low]
- **Classification:** [Trojan / Ransomware / etc. or Pending]
- **Threat Level:** [Critical / High / Medium / Low or Pending]
- **Current Phase:** [Triage / Dynamic Analysis / Specialized Analysis / Detection / Reporting / Complete / Benign]

#### Triage Findings
- [findings appended after triage phase]

#### Analysis Findings
- [findings appended after dynamic/specialized analysis]

#### IOCs Identified
- [accumulated IOCs, defanged]

#### Detection Rules Created
- [list of rules created and their locations]

---

## Next Steps
- [orchestrator's recommendation for what to do next and why]

State File Rules

  • Create when the user begins an engagement (first sample provided)
  • Append findings after each phase — never overwrite previous findings
  • Replace the "Next Steps" section at each transition (not append)
  • Resume from state file if the user returns in a new conversation — read analysis_state.md to restore context
  • All IOCs must be defanged at the point they are recorded to the state file, regardless of which phase produces them

Multi-Sample Batch Workflow

  1. Intake: Prompt for all known samples upfront — "How many samples do you have? Let's list them all before we begin."
  2. Batch triage: Quick triage pass on all samples (5-10 min each — hashes, file type, reputation check, classification per the triage skill's "Quick Triage" tier)
  3. Priority ranking: Rank samples as Immediate / Standard / Low based on triage findings
  4. Sequential deep analysis: Run the full phase sequence on high-priority samples one at a time, confirming with the user at each phase transition
  5. State tracking: Update state file per-sample so the user can see which samples are triaged, analyzed, and reported

Conventions Enforced

  • All IOCs in state files and reports must be defanged (hxxp://, [.]com, [@])
  • Reports always include all three hash types: MD5, SHA1, SHA256
  • Evidence must be in text-parseable formats (CSV, JSON, TXT)
  • Detection rules (YARA, Sigma, Suricata) must be tested before inclusion
  • MITRE ATT&CK technique IDs must be tagged in Sigma rules
  • Sigma rules require unique UUIDs
  • Custom Suricata rules use SIDs starting at 1000000+

IOC Defanging Ownership

Each phase defangs IOCs before appending them to the state file. The detection-engineer sub-skill handles bulk defanging, format conversion (STIX, CSV, OpenIOC), and confidence assessment during its dedicated phase.

Edge Cases

  • User wants to skip a phase: Allow it, note the skip in the state file, and proceed to the requested phase
  • User provides evidence without explicit routing: Infer the phase from evidence type (Procmon CSV → dynamic analysis, Sysmon JSON → dynamic analysis, olevba output → specialized file analysis, etc.)
  • Session restart: Read analysis_state.md to restore context and resume from the last recorded phase
  • Single sample, known type: Skip batch triage and go directly to the appropriate skill
  • User explicitly requests a specific sub-skill: Defer to the user's choice
  • Benign sample: If triage determines a sample is clean/benign, mark its phase as Benign in the state file, note the reasoning, and move to the next sample. Do not proceed with further analysis phases.
  • Unrecognized file type: If file output doesn't match any known routing pattern, default to malware-triage/SKILL.md for manual assessment. Note the unknown type in the state file.
  • State file conflicts: If an existing analysis_state.md is found, ask whether to resume the existing engagement or start a new one (with a timestamped filename like analysis_state_2026-03-15.md)
  • Running from the skill repo: If the working directory appears to be this skill repository itself (contains malware-triage/, detection-engineer/, etc. as subdirectories), warn the user and ask them to switch to their analysis workspace before creating a state file

Sub-Skill Reference

The orchestrator delegates to these sub-skills by reading their SKILL.md files at execution time:

Sub-SkillPathPurpose
Malware Triagemalware-triage/SKILL.mdRapid assessment, classification, prioritization
Dynamic Analysismalware-dynamic-analysis/SKILL.mdSafe execution, behavior monitoring in isolated VMs
Specialized File Analyzerspecialized-file-analyzer/SKILL.mdNon-PE file analysis (.NET, Office, PDF, scripts, archives, LNK, ELF)
Detection Engineerdetection-engineer/SKILL.mdSigma rules, Suricata rules, hunting queries, IOC defanging
Report Writermalware-report-writer/SKILL.mdProfessional reports, YARA rules, quality checklists

Paths are relative to the directory containing this SKILL.md (the sub-skills are not registered as separate skills — this orchestrator reads them by path). When entering a phase, read the corresponding SKILL.md file and follow its instructions. Carry forward the accumulated state from previous phases.

MCP Server Integrations (Optional)

MCP servers can automate manual steps like hash lookups and IOC enrichment. If available, use them to accelerate the workflow — but they are not required.

See references/mcp_integrations.md for setup instructions and a mapping of which MCP servers benefit which skills. The two highest-impact integrations are:

  1. VirusTotal MCP — automates hash/URL/domain reputation checks during triage
  2. Threat Intel MCP — unified access to MalwareBazaar, ThreatFox, AbuseIPDB, and GreyNoise for IOC validation

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Malware Analysis?

Orchestrate the complete malware analysis lifecycle across triage, dynamic analysis, detection engineering, and report writing. Use as the single entry point for any malware analysis task — routes to specialized sub-skills by file type and phase, carries findings between phases, and supports multi-sample batch workflows.

Warum Malware Analysis in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Malware Analysis besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Malware Analysis in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/gl0bal01/malware-analysis-claude-skills/tree/main ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Malware Analysis nutzen?

Jedes Modell, das Sie in TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Malware Analysis verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie Malware Analysis damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill Malware Analysis kostenlos?

Ja. Der Skill wird von gl0bal01 auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇