analyzing-indicators-of-compromise

analyzing-indicators-of-compromise is a skill for Claude Code from killvxk/cybersecurity-skills-zh. It costs 111 tokens per session (2,037 once invoked), scanned B, original, Apache-2.0.

A guide for investigating indicators of compromise, or signs such as suspicious IP addresses, domains, URLs, file fingerprints, and email addresses. It combines information from several security-intelligence services.

In plain words
What is it for?
Checking phishing indicators, enriching threat-intelligence feeds, comparing evidence across sources, prioritising blocking decisions, and recording indicators safely without making them clickable.
Why use it?
It helps analysts sort alerts, add context, estimate whether an indicator is malicious, and decide whether to block, monitor, or allow it.

Skill for Claude Code

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

Part of the cybersecurity-skills-zh plugin — 58 skills shipped together

Good fit Checking phishing indicators, enriching threat-intelligence feeds, comparing evidence across sources, prioritising blocking decisions, and recording indicators safely without making them clickable.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/killvxk/cybersecurity-skills-zh/analyzing-indicators-of-compromise
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 killvxk/cybersecurity-skills-zh --skill analyzing-indicators-of-compromise
Clone the repo
git clone --depth 1 https://github.com/killvxk/cybersecurity-skills-zh

Made for: Claude Code.

Or install cybersecurity-skills-zh, the plugin that ships this one along with the rest of its 58 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 analyzing-indicators-of-compromise

README.md
[![agentmods](https://agentmods.dev/badge/skills/killvxk/cybersecurity-skills-zh/analyzing-indicators-of-compromise/github.svg)](https://agentmods.dev/skills/killvxk/cybersecurity-skills-zh/analyzing-indicators-of-compromise)
Your own site
<a href="https://agentmods.dev/skills/killvxk/cybersecurity-skills-zh/analyzing-indicators-of-compromise"><img src="https://agentmods.dev/badge/skills/killvxk/cybersecurity-skills-zh/analyzing-indicators-of-compromise/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 analyzing-indicators-of-compromise

Your own site · 80×15
<a href="https://agentmods.dev/skills/killvxk/cybersecurity-skills-zh/analyzing-indicators-of-compromise"><img src="https://agentmods.dev/badge/skills/killvxk/cybersecurity-skills-zh/analyzing-indicators-of-compromise.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,037 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00111 $0.02037
Opus 5 $0.00056 $0.01019
Sonnet 5 $0.00022 $0.00407
Haiku 4.5 $0.00011 $0.00204

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

Security

Grade B, and why

analyzing-indicators-of-compromise scanned grade B with 2 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/agent.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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

response = requests.post( "https://mb-api.abuse.ch/api/v1/",

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

response = requests.get(
skills/analyzing-indicators-of-compromise/SKILL.md · 145 lines

How it starts

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

分析失陷指标

适用场景

在以下情况下使用本技能:

  • 钓鱼邮件或告警产生需要快速分诊的 IOC(URL、IP 地址、文件哈希)
  • 自动化情报推送批量投递需要在进入封锁控制前进行置信度评分的 IOC
  • 事件调查需要对观察到的网络工件进行上下文富化

不适用于将本技能单独用于高风险封锁决策——始终将自动化富化与分析师判断结合使用,特别是对于共享基础设施(CDN、云服务商)的情况。

前置条件

  • VirusTotal API 密钥(免费或企业版),用于多引擎杀毒软件和沙箱查询
  • AbuseIPDB API 密钥,用于 IP 信誉检查
  • MISP 实例或威胁情报平台(TIP),用于与已知攻击活动交叉核对
  • 安装有 requestsvt-py 库的 Python,或带有预构建连接器的 SOAR 平台

工作流程

步骤 1:规范化并分类 IOC 类型

在富化之前,对每个 IOC 进行分类:

  • IPv4/IPv6 地址:检查是否为 RFC 1918 私有地址(跳过外部富化),验证格式
  • 域名/FQDN:为安全处理进行去激活(evil[.]com),使用 tldextract 提取注册域名
  • URL:分别提取域名和路径;检查是否存在重定向
  • 文件哈希:识别哈希类型(MD5/SHA-1/SHA-256);优先使用 SHA-256 确保唯一性
  • 电子邮件地址:拆分为域名部分(检查 MX/DMARC)和本地部分进行模式分析

在文档中对 IOC 进行去激活处理(将 . 替换为 [.],将 :// 替换为 [://]),防止意外点击。

步骤 2:多源富化

VirusTotal(文件哈希、URL、IP、域名)

import vt

client = vt.Client("YOUR_VT_API_KEY")

# 文件哈希查询
file_obj = client.get_object(f"/files/{sha256_hash}")
detections = file_obj.last_analysis_stats
print(f"Malicious: {detections['malicious']}/{sum(detections.values())}")

# 域名分析
domain_obj = client.get_object(f"/domains/{domain}")
print(domain_obj.last_analysis_stats)
print(domain_obj.reputation)
client.close()

AbuseIPDB(IP 地址)

import requests

response = requests.get(
    "https://api.abuseipdb.com/api/v2/check",
    headers={"Key": "YOUR_KEY", "Accept": "application/json"},
    params={"ipAddress": "1.2.3.4", "maxAgeInDays": 90}
)
data = response.json()["data"]
print(f"Confidence: {data['abuseConfidenceScore']}%, Reports: {data['totalReports']}")

MalwareBazaar(文件哈希)

response = requests.post(
    "https://mb-api.abuse.ch/api/v1/",
    data={"query": "get_info", "hash": sha256_hash}
)
result = response.json()
if result["query_status"] == "ok":
    print(result["data"][0]["tags"], result["data"][0]["signature"])

步骤 3:结合攻击活动溯源归因进行上下文分析

在 MISP 中查询匹配 IOC 的现有事件:

from pymisp import PyMISP

misp = PyMISP("https://misp.example.com", "API_KEY")
results = misp.search(value="evil-domain.com", type_attribute="domain")
for event in results:
    print(event["Event"]["info"], event["Event"]["threat_level_id"])

Read the full file on GitHub · 145 lines

Files

What ships with it

3 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. 12d ago First seen · 145 lines · 111 tokens per session scan B 607e31bd96b1

Subscribe to this mod's changes

analyzing-indicators-of-compromise is a skill published in the GitHub repository killvxk/cybersecurity-skills-zh (45 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 111 tokens to every session and 2,037 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). 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

analyzing-indicators-of-compromise

Analyzes indicators of compromise (IOCs) including IP addresses, domains, file hashes, URLs, and email artifacts to determine maliciousness confidence, campaign attribution, and blocking priority. Use when triaging IOCs from phishing emails, security alerts, or external threat feeds; enriching raw IOCs with…

mukul975/Anthropic-Cybersecurity-Skills · 106 tokens

analyzing-indicators-of-compromise

Use when analyzes indicators of compromise (IOCs) including IP addresses, domains, file hashes, URLs, and email artifacts to determine maliciousness confidence, campaign attribution, and blocking priority. Use when triaging IOCs from phishing emails, security alerts, or external threat feeds; enriching raw IOCs with…

oyi77/1ai-skills · 107 tokens

analyzing-indicators-of-compromise

Analyzes indicators of compromise (IOCs) including IP addresses, domains, file hashes, URLs, and email artifacts to determine maliciousness confidence, campaign attribution, and blocking priority. Use when triaging IOCs from phishing emails, security alerts, or external threat feeds; enriching raw IOCs with…

26zl/cybersec-toolkit · 106 tokens

analyzing-indicators-of-compromise

Analyzes indicators of compromise (IOCs) including IP addresses, domains, file hashes, URLs, and email artifacts to determine maliciousness confidence, campaign attribution, and blocking priority. Use when triaging IOCs from phishing emails, security alerts, or external threat feeds; enriching raw IOCs with…

plurigrid/asi · 106 tokens

analyzing-indicators-of-compromise

Analyzes indicators of compromise (IOCs) including IP addresses, domains, file hashes, URLs, and email artifacts to determine maliciousness confidence, campaign attribution, and blocking priority. Use when triaging IOCs from phishing emails, security alerts, or external threat feeds; enriching raw IOCs with…

balsm-health/Balsm-AI · 106 tokens

analyzing-indicators-of-compromise

Analyzes indicators of compromise (IOCs) including IP addresses, domains, file hashes, URLs, and email artifacts to determine maliciousness confidence, campaign attribution, and blocking priority. Use when triaging IOCs from phishing emails, security alerts, or external threat feeds; enriching raw IOCs with…

pinkpixel-dev/skills-collection-1 · 106 tokens