Skip to content

rhaist/marq / skills/malware/malware-triage

malware-triage

Verified

Guides 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.

FileKindSize
SKILL.mdskill md2.6 KB
---
name: malware-triage
description: Guides 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.
license: Apache-2.0
metadata:
  verified: "2026-11-17"
---

# 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

1. **Identify**: `rabin2 -I` for format/arch, `exif_metadata` for
   document/media. Don't trust the extension; check the magic.
2. **Hash & check reputation first**: compute sha256 (`sha256sum`), then look it up via the `security-apis` skill:
   `hashlookup` (known-good NSRL = stop, it's legit software) and `ORKL`
   (hash appears in a threat report → you have attribution + a name).
3. **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 the
   `malware-static` skill.
4. **Strings**: `rabin2 -z` pulls embedded C2 URLs, mutexes,
   registry paths. (Plain strings only; encoded/obfuscated strings need an
   off-box deobfuscator; note the gap if capa flags obfuscation.)
5. **Docs**: if it's Office/RTF, go to the `malware-maldoc` skill 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-dynamic`
  for 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.
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
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: 196kUpdated Claude CodeCodexVerifiedInstall