triage-malware
Skill127 starsChanged 4 months agoApache-2.0View on GitHub
Triage a suspected malicious file hash. Use when investigating malware alerts or suspicious files. Analyzes GTI file report, behavioral indicators, identifies affected hosts, enriches network IOCs, and recommends containment actions.
In this repository32 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- analyze-content-gapsSkill
- audit-contentSkill
- check-duplicatesSkill
- close-case-artifactSkill
- cluster-documentsSkill
- confirm-actionSkill
- correlate-iocSkill
- deep-dive-iocSkill
- design-metadata-schemaSkill
- document-in-caseSkill
- enrich-iocSkill
- find-relevant-caseSkill
- generate-reportSkill
- generate-sitemapSkill
- generate-taxonomySkill
- generate-thesaurusSkill
- hunt-aptSkill
- hunt-credential-accessSkill
- hunt-iocSkill
- hunt-lateral-movementSkill
- hunt-threatSkill
- inventory-contentSkill
- pivot-on-iocSkill
- respond-compromised-accountSkill
- respond-malwareSkill
- respond-phishingSkill
- respond-ransomwareSkill
- triage-alertSkill
- triage-suspicious-loginSkill
- full-alert-triageSkill
- full-investigationSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 60
Search for file execution events:
- Very specific: line 69
Look for: PROCESS_LAUNCH, FILE_CREATION, FILE_MODIFICATION
- Distinctive: line 77
Search for network connections from processes with this hash:
- Distinctive: line 95
Check IOC match status
- Very specific: line 106
Use /document-in-case with assessment:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Malware Triage Skill
Perform initial analysis and context gathering for a suspected malicious file hash identified during an investigation or alert.
Inputs
FILE_HASH- MD5, SHA1, or SHA256 hash of the suspected fileCASE_ID- SOAR case ID for documentationALERT_GROUP_IDENTIFIERS- Alert group identifiers from the case- (Optional)
TIME_FRAME_HOURS- Lookback period (default: 72)
Workflow
Step 1: Get Case Context
secops-soar.get_case_full_details(case_id=CASE_ID)Step 2: GTI File Report
gti-mcp.get_file_report(hash=FILE_HASH)Record:
- Detection ratio (e.g., 45/70 engines)
- Malware family classification
- First/last seen dates
- Associated threat actors or campaigns
Step 3: GTI Behavior Summary
gti-mcp.get_file_behavior_summary(hash=FILE_HASH)Extract behavioral indicators:
- Network: Contacted IPs/domains →
NETWORK_IOCs_GTI - File system: Dropped files, modified files
- Registry: Modified keys
- MITRE TTPs: Observed techniques from sandbox
Step 4: SIEM Execution Check
Search for file execution events:
secops-mcp.search_security_events(
text='target.file.sha256 = "FILE_HASH" OR target.file.md5 = "FILE_HASH"',
hours_back=TIME_FRAME_HOURS
)Look for: PROCESS_LAUNCH, FILE_CREATION, FILE_MODIFICATION
Identify:
AFFECTED_HOSTS- Machines where file was seenAFFECTED_USERS- Users who executed/accessed the file
Step 5: SIEM Network Activity
Search for network connections from processes with this hash:
secops-mcp.search_security_events(
text='principal.process.file.sha256 = "FILE_HASH"',
hours_back=TIME_FRAME_HOURS
)Extract: NETWORK_IOCs_SIEM (contacted IPs/domains)
Step 6: Enrich Network IOCs
Combine NETWORK_IOCs_GTI + NETWORK_IOCs_SIEM → ALL_NETWORK_IOCs
For each network IOC, use /enrich-ioc:
- Check GTI reputation
- Check SIEM presence
- Check IOC match status
Step 7: Check Related Cases
Use /find-relevant-case with:
SEARCH_TERMS = AFFECTED_HOSTS + AFFECTED_USERS + ALL_NETWORK_IOCsStep 8: Synthesize & Document
Use /document-in-case with assessment:
Malware Triage for Hash FILE_HASH:
- GTI Classification: [family, detection ratio]
- Behavior: [network, files, registry]
- Affected Hosts: [list]
- Network IOCs: [with enrichment]
- Related Cases: [list]
Assessment: [severity level]
Recommendation:
- [ ] Isolate affected hosts
- [ ] Block network IOCs
- [ ] Escalate to IR
- [ ] Monitor onlyRequired Outputs
After completing this skill, you MUST report these outputs:
| Output | Description |
MALWARE_CLASSIFICATION | GTI verdict and malware family (e.g., "Emotet - Banking Trojan") |
BEHAVIORAL_IOCS | Network IOCs from sandbox analysis (contacted IPs/domains) |
AFFECTED_HOSTS | Hosts where this malware was executed or detected |
AFFECTED_USERS | Users who executed or accessed the malware |
TRIAGE_VERDICT | Overall verdict: malicious, suspicious, or clean |
Severity Assessment Matrix
| Factor | Low | Medium | High | Critical |
| GTI Detection | < 5 engines | 5-20 engines | 20-50 engines | > 50 engines |
| Execution | Not executed | Downloaded only | Executed | Active C2 |
| Spread | Single host | 2-5 hosts | 5-20 hosts | > 20 hosts |
| Network IOCs | None observed | Benign | Suspicious | Known malicious |
| Data at Risk | None | Low value | PII/credentials | Critical systems |
Recommended Actions by Severity
Critical/High:
- Immediately isolate affected hosts
- Block network IOCs at firewall
- Escalate to Incident Response
- Preserve forensic evidence
Medium:
- Monitor affected hosts closely
- Block known malicious IOCs
- Schedule endpoint scan
- Escalate to Tier 2
Low:
- Document findings
- Monitor for recurrence
- Close with detailed notes
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

