meltedinhex/analyst-ai-pack / skills/hunting-from-a-threat-intel-report
hunting-from-a-threat-intel-report
VerifiedOperationalizes a threat intelligence report into hunts: extracting IOCs and TTPs, mapping behaviors to ATT&CK and available telemetry, prioritizing durable behavioral indicators over volatile atomic ones, and producing concrete hunt queries. Activates for requests to hunt from a threat report, operationalize CTI, or turn an intel report into detections.
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 340 B |
| SKILL.md | skill md | 3.1 KB |
| references/api-reference.md | markdown | 1.0 KB |
| scripts/analyst.py | script | 2.8 KB |
references/api-reference.md
View on GitHub# API Reference: Hunting from a Threat Intel Report
## Overview
`scripts/analyst.py` extracts IOCs (IPs, domains, URLs, hashes) and ATT&CK technique IDs from
report text, refangs bracketed indicators for matching, re-defangs them for safe output, and
ranks indicator classes by the Pyramid of Pain. It reads a local text file only and performs no
lookups.
## Dependencies
| Package | Version | Purpose |
|---------|---------|---------|
| (stdlib) | — | regex, JSON, file IO |
## Core functions
### `extract(text)`
Returns techniques, defanged indicators grouped by type, and Pyramid-of-Pain priority guidance.
### `refang(text)` / `defang(ind)`
Normalize bracketed indicators for matching, then re-defang for safe display.
## Usage
```bash
python scripts/analyst.py extract report.txt
```
## Sources
- MITRE ATT&CK — https://attack.mitre.org/
- The Pyramid of Pain (David Bianco) —
https://detect-respond.blogspot.com/2013/03/the-pyramid-of-pain.html
- Defanging conventions (hxxp, [.]) for safe IOC handling, common CTI practice
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |