Skip to content

meltedinhex/analyst-ai-pack / skills/building-a-threat-hunt-hypothesis

building-a-threat-hunt-hypothesis

Verified

Frames a structured, testable threat-hunting hypothesis: grounding it in adversary behavior and available telemetry, defining the data sources and detection logic, and setting success criteria and outcomes. Activates for requests to start a threat hunt, write a hunt hypothesis, or plan a hypothesis-driven hunt.

FileKindSize
LICENSEother340 B
SKILL.mdskill md3.4 KB
references/api-reference.mdmarkdown1.1 KB
scripts/analyst.pyscript2.0 KB

references/api-reference.md

View on GitHub
# API Reference: Building a Threat-Hunt Hypothesis

## Overview

`scripts/analyst.py` emits a structured hunt plan from an ATT&CK technique, data source, and
lookback window: a hypothesis statement, data requirements, baseline questions, scope, and the
three outcome branches. It is a planning aid and queries no systems.

## Dependencies

| Package | Version | Purpose |
|---------|---------|---------|
| (stdlib) | — | text/JSON generation |

## Core functions

### `plan(technique, datasource, window, behavior)`
Returns the hunt-plan dictionary (hypothesis, data requirements, baseline questions, scope,
outcomes).

## Usage

```bash
python scripts/analyst.py plan --technique T1047 --datasource "Sysmon EID1" --window 14d \
  --behavior "WMI lateral movement"
```

## Sources

- MITRE ATT&CK — https://attack.mitre.org/
- The PEAK Threat Hunting Framework (Prepare, Execute, Act with Knowledge) —
  https://www.splunk.com/en_us/blog/security/peak-threat-hunting-framework.html
- Hypothesis-driven hunting methodology (testable "if/then" framing), established 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