malware-triage · diff
git:20261109.4c98a1c to git:20261109.2971dcb
1 added, 1 removed. Audit A to A.
What this update changes in the checks
No check changed: every fixed check gives the same answer before and after this update.
A tripped check is a label, not a verdict: read the matched text and the lines below. This week's updates that newly trip a check.
---
name: malware-triage
- description: Guides safe triage of an unknown sample — identify the file type, hash it, check hashlookup, run quick static analysis, and decide 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.
+ description: Triage an unknown sample safely — identify, hash, static-analyze, and decide malicious/benign without executing it.
license: Apache-2.0
metadata:
verified: "2026-10-20"
---
# Malware triage workflow
This environment does **static analysis only** — never try to execute or
"detonate" a sample here. No tool below runs the file.
## Order of operations
1. **Identify** — `bin_headers` (rabin2) for format/arch, `exif_metadata` for
document/media. Don't trust the extension; check the magic.
2. **Hash & check reputation first** — compute sha256 (`run_shell` →
`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>`: 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** — `bin_headers` with `-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.