Threat Hunting & IOC Analysis

Threat Hunting & IOC Analysis is a skill for Claude Code from Masriyan/Claude-Code-CyberSecurity-Skill. It costs 28 tokens per session (3,585 once invoked), scanned A, original, MIT.

A set of methods for finding signs of compromise, called indicators of compromise, and turning threat information into tests and detection rules. It also uses MITRE ATT&CK, a public catalogue of attacker behaviors, to classify findings.

In plain words
What is it for?
It is for extracting and organizing indicators, creating threat-hunting ideas, mapping attacker techniques, and writing rules or queries for security monitoring tools.
Why use it?
It helps security teams move from scattered threat reports to specific searches and detections in their monitoring systems.

Skill for Claude Code

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

Part of the cybersecurity plugin — 20 skills shipped together

Good fit It is for extracting and organizing indicators, creating threat-hunting ideas, mapping attacker techniques, and writing rules or queries for security monitoring tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/masriyan/claude-code-cybersecurity-skill/06-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 Masriyan/Claude-Code-CyberSecurity-Skill --skill 06-threat-hunting
Clone the repo
git clone --depth 1 https://github.com/Masriyan/Claude-Code-CyberSecurity-Skill

Made for: Claude Code.

Or install cybersecurity, the plugin that ships this one along with the rest of its 20 skills.

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 & IOC Analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/masriyan/claude-code-cybersecurity-skill/06-threat-hunting/github.svg)](https://agentmods.dev/skills/masriyan/claude-code-cybersecurity-skill/06-threat-hunting)
Your own site
<a href="https://agentmods.dev/skills/masriyan/claude-code-cybersecurity-skill/06-threat-hunting"><img src="https://agentmods.dev/badge/skills/masriyan/claude-code-cybersecurity-skill/06-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 & IOC Analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/masriyan/claude-code-cybersecurity-skill/06-threat-hunting"><img src="https://agentmods.dev/badge/skills/masriyan/claude-code-cybersecurity-skill/06-threat-hunting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,585 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 pass 7 Sept 2026
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.00028 $0.03585
Opus 5 $0.00014 $0.01792
Sonnet 5 $0.00006 $0.00717
Haiku 4.5 $0.00003 $0.00359

Measured 3d ago against content hash 3f90eb509b77, 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 & IOC Analysis 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 3d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/ioc_extractor.py, scripts/mitre_mapper.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/06-threat-hunting/SKILL.md · 404 lines

How it starts

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

Threat Hunting & IOC Analysis

Purpose

Enable Claude to assist threat hunters with proactive threat detection, IOC extraction and normalization, MITRE ATT&CK mapping, hunt hypothesis generation, and converting threat intelligence into actionable detection rules across all major SIEM platforms.


Activation Triggers

This skill activates when the user asks about:

  • Extracting IOCs from threat reports, emails, or security advisories
  • Mapping behaviors or TTPs to MITRE ATT&CK framework
  • Generating hunt hypotheses for a specific threat actor or technique
  • Creating Sigma rules, Splunk SPL queries, KQL, or EQL
  • Converting threat intelligence into SIEM detection queries
  • STIX/TAXII or MISP-compatible indicator formatting
  • ATT&CK Navigator layer creation
  • Threat intelligence correlation across multiple sources
  • Proactive threat hunting in a SIEM or EDR

Prerequisites

pip install requests pyyaml stix2 taxii2-client

Optional platforms:

  • MISP — Threat intelligence sharing platform
  • OpenCTI — Threat intelligence platform
  • YARA — Pattern matching (→ Skill 05)
  • Sigma CLI — Rule conversion tool
  • SIEM access (Splunk, Elastic, QRadar, Microsoft Sentinel)

Core Capabilities

1. IOC Extraction & Normalization

When the user provides a threat report, article, email, or log snippet:

Claude performs these extraction steps:

  1. Parse all text for indicators using pattern matching:
IOC Type Pattern Examples
IPv4 192.0.2.1, defanged: 192[.]0[.]2[.]1
IPv6 2001:db8::1
Domain evil.example.com, evil[.]example[.]com
URL hxxp://evil.com/path, https://malicious[.]io/c2
Email [email protected], phish[at]evil.com
MD5 32 hex chars
SHA1 40 hex chars
SHA256 64 hex chars
CVE CVE-2024-XXXXX
ATT&CK ID T1059.001, TA0001
Registry Key HKCU\Software\...
File path C:\Windows\Temp\..., /tmp/...
Mutex Named mutex patterns

Read the full file on GitHub · 404 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago Changed 3f90eb509b77
  2. 12d ago First seen · 404 lines · 28 tokens per session scan A bc2310610f94

Subscribe to this mod's changes

Threat Hunting & IOC Analysis is a skill published in the GitHub repository Masriyan/Claude-Code-CyberSecurity-Skill (410 stars, last pushed 4d ago), licensed MIT. It adds 28 tokens to every session and 3,585 once invoked, about $0.0001 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

detection-sigma

Generic detection rule creation and management using Sigma, the universal SIEM rule format. Sigma provides vendor-agnostic detection logic for log analysis across multiple SIEM platforms. Use when: (1) Creating detection rules for security monitoring, (2) Converting rules between SIEM platforms (Splunk, Elastic…

AgentSecOps/SecOpsAgentKit · 115 tokens

analyzing-campaign-attribution-evidence

Systematically evaluate cyber-campaign evidence to attribute an operation to a threat actor, using the Diamond Model and Analysis of Competing Hypotheses (ACH) to weigh infrastructure overlaps, TTP consistency, malware code similarity, and timing/language artifacts into confidence-weighted attribution assessments. Use…

mukul975/Anthropic-Cybersecurity-Skills · 79 tokens

analyzing-threat-actor-ttps-with-mitre-attack

MITRE ATT&CK is a globally-accessible knowledge base of adversary tactics, techniques, and procedures (TTPs) based on real-world observations. This skill covers systematically mapping threat actor beh.

26zl/cybersec-toolkit · 54 tokens

analyzing-campaign-attribution-evidence

Use when campaign attribution analysis involves systematically evaluating evidence to determine which threat actor or group is responsible for a cyber operation. This skill covers collecting and weighting attr.

oyi77/1ai-skills · 40 tokens

hunting-for-living-off-the-land-binaries

Use when proactively hunt for adversary abuse of legitimate system binaries (LOLBins) to execute malicious payloads while evading detection. Use when working with hunting for living off the land binaries.

oyi77/1ai-skills · 50 tokens

hunting-from-a-threat-intel-report

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…

meltedinhex/analyst-ai-pack · 77 tokens