threat-hunting

threat-hunting is a skill for Claude Code from hypnguyen1209/offensive-claude. It costs 73 tokens per session (2,618 once invoked), scanned A, original, MIT.

A guide to finding malicious activity in endpoint, network, cloud and identity records, and to writing rules that detect it. A detection rule is a repeatable test for suspicious behaviour.

In plain words
What is it for?
Investigating Windows, network and cloud logs, writing Sigma detection rules, mapping coverage to MITRE ATT&CK, hunting command-and-control traffic, and validating alerts with controlled attack simulations.
Why use it?
It helps security teams look for attacks systematically and measure which attack techniques their monitoring can or cannot identify.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the offensive-claude plugin — 30 skills, 18 commands, 8 agents, 1 hook shipped together

Good fit Investigating Windows, network and cloud logs, writing Sigma detection rules, mapping coverage to MITRE ATT&CK, hunting command-and-control traffic, and validating alerts with controlled attack simulations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hypnguyen1209/offensive-claude/threat-hunting
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hypnguyen1209/offensive-claude --skill threat-hunting
Clone the repo
git clone --depth 1 https://github.com/hypnguyen1209/offensive-claude

Made for: Claude Code.

Or install offensive-claude, the plugin that ships this one along with the rest of its 30 skills, 18 commands, 8 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for threat-hunting

README.md
[![agentmods](https://agentmods.dev/badge/skills/hypnguyen1209/offensive-claude/threat-hunting/github.svg)](https://agentmods.dev/skills/hypnguyen1209/offensive-claude/threat-hunting)
Your own site
<a href="https://agentmods.dev/skills/hypnguyen1209/offensive-claude/threat-hunting"><img src="https://agentmods.dev/badge/skills/hypnguyen1209/offensive-claude/threat-hunting/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for threat-hunting

Your own site · 80×15
<a href="https://agentmods.dev/skills/hypnguyen1209/offensive-claude/threat-hunting"><img src="https://agentmods.dev/badge/skills/hypnguyen1209/offensive-claude/threat-hunting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,618 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to critical

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • critical YARA Match · line 119
    YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).
    Fix: Remove the malware payload or compromised file entirely. Investigate how it entered the skill and audit all other artifacts for additional indicators of compromise.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.02618
Opus 5 $0.00036 $0.01309
Sonnet 5 $0.00015 $0.00524
Haiku 4.5 $0.00007 $0.00262

Measured 13d ago against content hash 76328bc8b7b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

threat-hunting scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/beacon_hunter.py, scripts/cloudtrail_hunt.py, scripts/coverage_matrix.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/threat-hunting/SKILL.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Threat Hunting & Detection Engineering

When to Activate

  • Hypothesis-driven hunting across endpoint, network, cloud, and identity telemetry
  • Writing & shipping detections (Sigma + correlation) as version-controlled code in CI
  • Mapping & measuring coverage against MITRE ATT&CK v18 (Detection Strategies / Analytics)
  • Hunting Windows post-exploitation: ETW/AMSI tampering, LSASS dumping, LOLBins, injection
  • Hunting C2 in encrypted traffic: JA4+/JA4X fingerprints, beaconing, DNS tunneling
  • Hunting cloud-identity attacks: Entra device-code/OAuth phishing, PRT theft, CloudTrail abuse
  • Purple-team validation: emulate ATT&CK with Atomic Red Team/Caldera, find detection gaps
  • Triaging EVTX/Zeek/CloudTrail offline during IR without a SIEM

Technique Map

Technique ATT&CK CWE Reference Script
Hypothesis-driven hunt loop (PEAK/TaHiTI) TA0043 CWE-778 references/methodology-hunt-loop.md -
ATT&CK v18 Detection-Strategies / Analytics mapping TA0043 CWE-778 references/methodology-hunt-loop.md scripts/coverage_matrix.py
Detection-as-Code CI (lint + compile) TA0043 CWE-778 references/methodology-hunt-loop.md scripts/dac_validate.py
Sysmon 15 PPL + tamper/visibility-gap T1562.001 CWE-693 references/windows-endpoint-hunting.md scripts/sysmon_config_2025.xml
ETW / AMSI in-memory patch detection T1562.001, T1562.002 CWE-693 references/windows-endpoint-hunting.md scripts/evtx_hunt.py
LSASS credential-access handle hunt T1003.001 CWE-522 references/windows-endpoint-hunting.md scripts/evtx_hunt.py
LOLBin / process-tree anomaly hunt T1218, T1105, T1059 CWE-78 references/windows-endpoint-hunting.md scripts/evtx_hunt.py
Sigma rule + correlation engineering TA0043 CWE-778 references/sigma-rule-engineering.md scripts/dac_validate.py
EVTX triage (Hayabusa/Chainsaw/Velociraptor) TA0043 CWE-778 references/sigma-rule-engineering.md scripts/sigma_pipeline.sh
JA4+/JA4X C2 fingerprinting T1071.001 CWE-300 references/network-c2-hunting.md scripts/beacon_hunter.py
Beaconing / long-conn / prevalence (RITA-style) T1071, T1571 CWE-940 references/network-c2-hunting.md scripts/beacon_hunter.py
DNS tunneling / DGA / DoH abuse T1071.004, T1572 CWE-940 references/network-c2-hunting.md scripts/beacon_hunter.py
Entra device-code / OAuth consent phishing T1528, T1566 CWE-287 references/cloud-identity-hunting.md scripts/entra_hunt.kql
PRT theft / token replay T1550.001 CWE-522 references/cloud-identity-hunting.md scripts/entra_hunt.kql
AWS CloudTrail abuse / log tampering T1078.004, T1098, T1562.008 CWE-269 references/cloud-identity-hunting.md scripts/cloudtrail_hunt.py
Atomic Red Team / Caldera validation TA0043 CWE-778 references/purple-team-validation.md scripts/coverage_matrix.py
Coverage matrix + ATT&CK Navigator + gap report TA0043 CWE-778 references/purple-team-validation.md scripts/coverage_matrix.py

Read the full file on GitHub · 122 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 122 lines · 73 tokens per session scan A 76328bc8b7b9

Subscribe to this mod's changes

threat-hunting is a skill published in the GitHub repository hypnguyen1209/offensive-claude (360 stars, last pushed 26d ago), licensed MIT. It adds 73 tokens to every session and 2,618 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

bt6-queue-audit

Audit the full pull-request and issue queue of a BT6 research or support repository, classifying readiness, evidence risk, and next action without mutating tracker state.

elder-plinius/T3MP3ST · 40 tokens

bt6-issue-steward

Triage and steward issues in BT6 research and support repositories, deciding whether to answer, reproduce, correct evidence, link work, design a feature, route security, implement, or close.

elder-plinius/T3MP3ST · 46 tokens

bt6-merge-train

Run an explicitly authorized, conservative BT6 merge train that processes validated pull requests one at a time and reconciles repository, CI, evidence, and issue state after each merge.

elder-plinius/T3MP3ST · 42 tokens

bt6-pr-audit

Audit one pull request in a BT6 research or support repository at an exact head SHA, covering correctness, research integrity, security, tests, contracts, and merge readiness.

elder-plinius/T3MP3ST · 40 tokens

bt6-provider-review

Audit an external AI/API provider and its integration into a BT6 repository for service reality, independent verification, trust boundaries, secret handling, API/model correctness, completeness, claim traceability, and merge readiness.

elder-plinius/T3MP3ST · 46 tokens

xiaohongshu-search-full

Search Xiaohongshu (XHS / RedNote) notes by keyword with full field extraction including body text, topics/tags, image list URLs, video stream URL, publish timestamp, and all engagement stats (likes, collects, comments, shares). Supports all page filter options: sort order (general, latest, most liked, most commented…

browser-act/skills · 254 tokens