Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Masriyan/Claude-Code-CyberSecurity-Skillnpx agentmods add skills/masriyan/claude-code-cybersecurity-skill/05-malware-analysisWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/masriyan/claude-code-cybersecurity-skill/05-malware-analysis)<a href="https://agentmods.dev/skills/masriyan/claude-code-cybersecurity-skill/05-malware-analysis"><img src="https://agentmods.dev/badge/skills/masriyan/claude-code-cybersecurity-skill/05-malware-analysis.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00028 | $0.03688 |
| Opus 5 | $0.00014 | $0.01844 |
| Sonnet 5 | $0.00006 | $0.00738 |
| Haiku 4.5 | $0.00003 | $0.00369 |
Grade A, and why
Malware Analysis & Sandboxing scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl "https://www.virustotal.com/api/v3/files/<sha256>" -H "x-apikey: YOUR_KEY" How it starts
The opening of the file, as written. The whole thing — 400 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Malware Analysis & Sandboxing
Purpose
Enable Claude to assist with malware analysis workflows including static analysis of file properties and code, dynamic behavioral analysis interpretation, YARA rule generation, sandbox configuration, and malware family identification. Claude analyzes provided artifacts directly and orchestrates scripts for automated processing.
Safety Warning: Never execute suspicious files outside of isolated, controlled environments. Use dedicated VMs or sandboxes with network isolation and snapshot capability.
Activation Triggers
This skill activates when the user asks about:
- Analyzing a suspicious file, binary, or script
- Generating YARA rules for malware detection
- Setting up a malware analysis sandbox
- Interpreting Cuckoo/CAPE/AnyRun sandbox reports
- Identifying malware family or behavior
- Creating IOCs from malware samples
- Static analysis of PE/ELF files
- Memory forensics for malware artifacts
- Behavioral analysis (process creation, network, registry, file changes)
Prerequisites
pip install yara-python pefile python-magic requests ssdeep
Recommended analysis tools:
Cuckoo Sandbox / CAPE— Automated dynamic analysisVirusTotal API— Multi-engine scanning and intelYARA— Pattern matching engineGhidra / IDA Pro— Deep binary analysis (→ Skill 04)Volatility 3— Memory forensicsDIE (Detect-It-Easy)— Packer/compiler detectionPestudio— Windows PE static analysis
Core Capabilities
1. Static Malware Analysis
When the user provides a suspicious file or hash for analysis:
Claude performs analysis in this order:
Step 1 — File Identification:
file malware.exe # File type from magic bytes
md5sum malware.exe # MD5 hash (legacy, for lookups)
sha256sum malware.exe # SHA-256 (primary identifier)
python scripts/static_analyzer.py --file malware.exe --hashes
Step 2 — Threat Intelligence Lookup:
- Query VirusTotal (requires API key or paste hash in browser)
- Check MalwareBazaar, AbuseIPDB, URLhaus
- Search for existing analysis reports
# VirusTotal hash lookup via API
curl "https://www.virustotal.com/api/v3/files/<sha256>" -H "x-apikey: YOUR_KEY"
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 400 lines · 28 tokens per session scan A 09ec71d6300d
Malware Analysis & Sandboxing is a skill published in the GitHub repository Masriyan/Claude-Code-CyberSecurity-Skill (397 stars, last pushed 3d ago), licensed MIT. It adds 28 tokens to every session and 3,688 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
analyzing-malware-behavior-with-cuckoo-sandbox
Detonate malware samples in Cuckoo Sandbox to observe runtime behavior — process creation, file system and registry changes, network communications, and API calls — and generate behavioral reports for classification and IOC extraction. Use when a sample has passed static triage and needs dynamic/behavioral analysis…
analyzing-packed-malware-with-upx-unpacker
Identifies and unpacks UPX-packed malware samples, including binaries with modified UPX magic bytes or headers that block automated decompression, to recover the original executable for static analysis. Use when a sample shows high entropy, minimal imports, or only LoadLibrary/GetProcAddress in its import table, or…
analyzing-pdf-malware-with-pdfid
Analyzes malicious PDF files using PDFiD, pdf-parser, and peepdf to identify embedded JavaScript, shellcode, exploits, and suspicious objects without opening the document. Determines the attack vector and extracts embedded payloads for further analysis. Activates for requests involving PDF malware analysis, malicious…
performing-dynamic-analysis-in-a-sandbox
Runs a sample in an instrumented sandbox to observe behavior: process tree, file and registry changes, network activity, and persistence, then summarizes the behavioral report into capabilities and IOCs. Activates for requests to detonate a sample, do dynamic or behavioral analysis, or interpret sandbox output.
analyzing-packed-malware-with-upx-unpacker
Identifies and unpacks UPX-packed and other packed malware samples to expose the original executable code for static analysis. Covers both standard UPX unpacking and handling modified UPX headers that prevent automated decompression. Activates for requests involving malware unpacking, UPX decompression, packer…
analyzing-malware-behavior-with-cuckoo-sandbox
Executes malware samples in Cuckoo Sandbox to observe runtime behavior including process creation, file system modifications, registry changes, network communications, and API calls. Generates comprehensive behavioral reports for malware classification and IOC extraction. Activates for requests involving dynamic…