dandye/ai-runbooks/triage-malware

Claude Code and agent skill by dandye/ai-runbooks

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

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.

Install

npx vskill@latest install dandye/ai-runbooks/triage-malware

SKILL.md

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 file
  • CASE_ID - SOAR case ID for documentation
  • ALERT_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 seen
  • AFFECTED_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_IOCs
Step 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 only

Required Outputs

After completing this skill, you MUST report these outputs:

OutputDescription
MALWARE_CLASSIFICATIONGTI verdict and malware family (e.g., "Emotet - Banking Trojan")
BEHAVIORAL_IOCSNetwork IOCs from sandbox analysis (contacted IPs/domains)
AFFECTED_HOSTSHosts where this malware was executed or detected
AFFECTED_USERSUsers who executed or accessed the malware
TRIAGE_VERDICTOverall verdict: malicious, suspicious, or clean

Severity Assessment Matrix

FactorLowMediumHighCritical
GTI Detection< 5 engines5-20 engines20-50 engines> 50 engines
ExecutionNot executedDownloaded onlyExecutedActive C2
SpreadSingle host2-5 hosts5-20 hosts> 20 hosts
Network IOCsNone observedBenignSuspiciousKnown malicious
Data at RiskNoneLow valuePII/credentialsCritical systems

Recommended Actions by Severity

Critical/High:

  1. Immediately isolate affected hosts
  2. Block network IOCs at firewall
  3. Escalate to Incident Response
  4. Preserve forensic evidence

Medium:

  1. Monitor affected hosts closely
  2. Block known malicious IOCs
  3. Schedule endpoint scan
  4. Escalate to Tier 2

Low:

  1. Document findings
  2. Monitor for recurrence
  3. Close with detailed notes

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
90
Repository forks
25
7-day trend score
23

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 24 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dandye/ai-runbooks/triage-malware/badge)](https://verified-skill.com/skills/dandye/ai-runbooks/triage-malware)

Something wrong with this skill or its page? Tell us.