/marq:malware-yarafrom marq
Guides writing and running YARA rules to detect malware families, including building rules from samples, tuning for hit quality, and scaling scans with yara.
Ships in marq. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Turn what you learned from one sample into detection for the whole family.
Stage rules and targets in your own isolated analysis sandbox (marq runs none of these tools; work on a copy of the sample); scan with yara.
Engine note: since YARA-X 1.0 (2025), classic YARA 4.x is in maintenance
mode (bug-fixes only) and YARA-X is the reference implementation VirusTotal runs at
scale. The rules below are standard YARA syntax and run on either, but YARA-X is
stricter: it rejects some sloppy patterns 4.x tolerated (unescaped { or invalid
escapes in regexes, base64 strings under 3 chars, duplicate rule modifiers), and
it adds a few things 4.x lacks (.len(), hex/octal jump bounds), so passing one
engine doesn't guarantee the other. Classic yara is 4.x; if you
author for YARA-X, check with yr check and keep
strings/conditions tight.
rabin2 -z strings: distinctive strings
(C2 templates, mutex names, PDB paths, unique error messages) and stable byte
sequences (decryption stubs, config markers).rule FamilyName {
meta:
author = "marq"
ref = "sha256 of the pivot sample"
strings:
$a = "unique-c2-template-%s.php" ascii
$b = { 8B 45 ?? 33 C9 8A 4C 05 ?? } // decrypt stub, wildcards for variety
condition:
uint16(0) == 0x5A4D and 2 of them
}
uint16(0) == 0x5A4D (PE) / 0x457f (ELF) to cut false positives.??) so minor variants still match./usr/bin with yara to sanity-check for false positives.yara with -r to recurse a directory of samples; -s to print the
matching strings (proof). Cluster the hits; a rule that catches N unrelated
samples is too broad.ORKL (load_skill ioc-pivoting) for existing reporting.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub rhaist/marq --plugin marq86 skills in this plugin
/actor-ttp-attributionGuides going from observed behavior or IOCs to a candidate threat actor and concrete MITRE ATT&CK technique IDs with calibrated confidence, starting from ORKL report search. Use when the user asks who is behind an attack, which APT or group matches observed TTPs, to map behavior to ATT&CK, or how confident an attribution is./ai-governanceGuides running an AI management system, covering ISO/IEC 42001 (with 42005/42006), NIST AI RMF and its profiles, the AI inventory and risk register, acceptable-use policy, model-vendor assessment, and how it evidences EU AI Act and AI-security duties. Use when the user asks about ISO 42001, NIST AI RMF, an AI policy or inventory, assessing an AI vendor, or AI governance for EU AI Act compliance./Other plugins' skills for the same job