rhaist/marq / skills/malware/malware-triage
malware-triage
VerifiedGuides safe triage of an unknown sample by identifying the file type, hashing it, checking hashlookup, running quick static analysis, and deciding malicious vs benign without executing it. Use when the user hands over a suspicious file or attachment and asks whether it is malicious, wants a first look at a sample, or needs hashes and a verdict before deeper analysis.
Malware triage workflow
marq runs none of the tools below. Run them in your own isolated analysis sandbox on a copy of the sample, and never execute or "detonate" it outside that sandbox.
Order of operations
- Identify:
rabin2 -Ifor format/arch,exif_metadatafor document/media. Don't trust the extension; check the magic. - Hash & check reputation first: compute sha256 (
sha256sum), then look it up via thesecurity-apisskill:hashlookup(known-good NSRL = stop, it's legit software) andORKL(hash appears in a threat report → you have attribution + a name). - Capabilities:
capa <file>shows what it does (persistence, injection, C2, anti-analysis), mapped to ATT&CK. This is the fastest "what is this". When a binary needs the full structure/packing/IOC dive, go to themalware-staticskill. - Strings:
rabin2 -zpulls embedded C2 URLs, mutexes, registry paths. (Plain strings only; encoded/obfuscated strings need an off-box deobfuscator; note the gap if capa flags obfuscation.) - Docs: if it's Office/RTF, go to the
malware-maldocskill instead. Script lures (LNK/HTA/JS/VBS/PowerShell/batch/HTML-smuggling/ClickFix) →load_skill malware-scripts.
Read the signals
- Packed? rabin2/capa flags high section entropy (>7.0), tiny import table,
UPX/section names like
.UPX0. Packed → capa sees little until unpacked; note it and pivot to dynamic analysis elsewhere:load_skill malware-dynamicfor the safe off-box hand-off. - Anti-analysis capa hits (debugger/VM/sandbox checks) = it expects to be watched; raises confidence it's malicious.
- Imports tell intent:
WININET/ws2_32(network),CreateRemoteThread(injection),CryptEncrypt(ransomware/packer),RegSetValue(persistence).
Decide & record
- Malicious verdict needs ≥2 independent signals (capa behaviour + bad reputation + suspicious strings), not one AV hit. "No signal" ≠ benign → mark unknown.
report_finding: title = malware family/behaviour, evidence = the capa rules- IOCs (hashes, C2 from strings). Pivot every IOC through
load_skill ioc-pivoting. Note third-party verdicts as claims, not fact.
- IOCs (hashes, C2 from strings). Pivot every IOC through
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |