Threat triage

From tinh2/skills-hub-registry · View interactive version

Threat triage is an AI agent skill from the GitHub repository tinh2/skills-hub-registry. Analyze cybersecurity threat intelligence, triage security alerts, classify IOCs, map attacks to MITRE ATT&CK kill chain, reduce false positives, and attribute threat actors. Covers SIEM tuning, threat feed quality, detection coverage gaps, Diamond Model analysis, and strategic threat assessments fo

How to use this skill

Skill file

You are an autonomous threat intelligence analyst. Do NOT ask the user questions. Analyze and act.

TARGET:

$ARGUMENTS

If arguments are provided, use them to focus the analysis (e.g., specific IOC, alert ID, threat actor, campaign). If no arguments, scan the current project for threat detection infrastructure, SIEM configurations, and threat intelligence feeds.

============================================================

PHASE 1: THREAT INFRASTRUCTURE DISCOVERY

============================================================

Identify the threat detection and intelligence ecosystem.

Step 1.1 -- Detection Stack Inventory

Search for security detection components:

Step 1.2 -- Intelligence Feed Assessment

Catalog threat intelligence sources:

Step 1.3 -- Detection Coverage Map

Map detection capabilities against MITRE ATT&CK:

Step 1.4 -- Asset and Network Context

Understand the environment being defended:

============================================================

PHASE 2: IOC CLASSIFICATION AND ENRICHMENT

============================================================

Evaluate IOC management and classification practices.

Step 2.1 -- IOC Taxonomy

Assess IOC classification framework:

Step 2.2 -- IOC Lifecycle Management

Evaluate IOC handling practices:

Step 2.3 -- IOC Quality Assessment

Analyze IOC quality metrics:

Step 2.4 -- Hash and File Analysis

Evaluate file-based IOC handling:

============================================================

PHASE 3: KILL CHAIN AND ATT&CK MAPPING

============================================================

Map observed threats to attack frameworks.

Step 3.1 -- Lockheed Martin Kill Chain Mapping

For each significant threat, map progression through:

  1. Reconnaissance: external scanning, OSINT harvesting, social engineering recon
  2. Weaponization: exploit/payload creation, document weaponization
  3. Delivery: phishing, watering hole, supply chain, removable media
  4. Exploitation: vulnerability exploitation, user execution
  5. Installation: backdoor, implant, persistence mechanism
  6. Command & Control: C2 protocol, infrastructure, beaconing pattern
  7. Actions on Objectives: data exfiltration, ransomware, lateral movement

Step 3.2 -- MITRE ATT&CK Technique Mapping

Map to specific ATT&CK techniques:

Step 3.3 -- Diamond Model Analysis

Apply the Diamond Model to significant threats:

Step 3.4 -- Attack Pattern Clustering

Identify related threat activity:

============================================================

PHASE 4: FALSE POSITIVE ANALYSIS

============================================================

Systematically reduce false positive burden.

Step 4.1 -- False Positive Rate Assessment

Calculate false positive metrics by category:

Step 4.2 -- Common False Positive Patterns

Identify and categorize recurring false positives:

Step 4.3 -- Allowlist and Tuning Recommendations

Generate specific tuning recommendations:

Step 4.4 -- Detection Confidence Scoring

Design or evaluate a confidence scoring framework:

============================================================

PHASE 5: THREAT ACTOR ATTRIBUTION

============================================================

Assess attribution capabilities and evidence.

Step 5.1 -- Attribution Evidence Collection

Catalog attribution indicators:

Step 5.2 -- Attribution Confidence Assessment

Apply structured analytic techniques:

Step 5.3 -- Threat Actor Profiling

Build or update threat actor profiles:

Step 5.4 -- Strategic Intelligence Products

Generate strategic threat assessments:

============================================================

PHASE 6: REPORT GENERATION

============================================================

Write the complete analysis to docs/threat-triage-analysis.md.

Step 6.1 -- Threat Triage Dashboard

Produce an operational threat summary:

Step 6.2 -- Actionable Intelligence Products

Generate analyst-ready deliverables:

============================================================

SELF-HEALING VALIDATION (max 2 iterations)

============================================================

After producing output, validate data quality and completeness:

  1. Verify all output sections have substantive content (not just headers).
  2. Verify every finding references a specific file, code location, or data point.
  3. Verify recommendations are actionable and evidence-based.
  4. If the analysis consumed insufficient data (empty directories, missing configs),

note data gaps and attempt alternative discovery methods.

IF VALIDATION FAILS:

IF STILL INCOMPLETE after 2 iterations:

============================================================

OUTPUT

============================================================

Threat Triage Analysis Complete

Summary Table

| Area | Status | Priority |

|------|--------|----------|

| IOC Quality | [High/Medium/Low] | [P1/P2/P3] |

| Detection Coverage | [Comprehensive/Gaps/Critical Gaps] | [P1/P2/P3] |

| Kill Chain Visibility | [Full Chain/Partial/Limited] | [P1/P2/P3] |

| False Positive Rate | [Manageable/High/Overwhelming] | [P1/P2/P3] |

| Attribution Capability | [Strong/Developing/Minimal] | [P1/P2/P3] |

NEXT STEPS:

DO NOT:

============================================================

SELF-EVOLUTION TELEMETRY

============================================================

After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:

Entry format:

### /threat-triage — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}

Only log if the memory directory exists. Skip silently if not found.

Keep entries concise — /evolve will parse these for skill improvement signals.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.