Skip to content

meltedinhex/analyst-ai-pack / skills/hunting-from-a-threat-intel-report

hunting-from-a-threat-intel-report

Verified

Operationalizes 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.

FileKindSize
LICENSEother340 B
SKILL.mdskill md3.1 KB
references/api-reference.mdmarkdown1.0 KB
scripts/analyst.pyscript2.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
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: 472kUpdated Claude CodeCodexVerifiedInstall
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: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall