/secskills-defense:producing-threat-intelligencefrom secskills-defense
Produces finished cyber threat intelligence by pivoting on indicators, tracking actors/campaigns, enriching IOCs, and applying attribution discipline. Covers the intelligence lifecycle, Diamond Model, STIX/MISP/OpenCTI, TLP, and passive enrichment via Shodan, Censys, VirusTotal, etc.
Ships in secskills-defense. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Intelligence is not a pile of indicators — it is analysis that reduces a decision-maker's uncertainty. An IOC with no context, no confidence, and no recommended action is data, not intelligence. Attribution is a claim you must be able to defend from evidence, not a guess dressed in a threat-actor name. The test of a finished product is simple: did someone decide something differently because of it?
hunting-threatsanalyzing-malwaremapping-attack-techniquesresponding-to-incidentsengineering-detectionsEvery product moves through the same loop. Naming the stages is not bureaucracy — it is where you catch the two failures that make CTI worthless.
1. Direction — whose decision, which question (a PIR)
2. Collection — gather against the requirement, not everything reachable
3. Processing — normalize, deduplicate, translate, enrich
4. Analysis — assess, weigh hypotheses, assign confidence
5. Dissemination — deliver in a form the consumer can act on
6. Feedback — did it help; refine the next requirement
The two failures that account for most wasted CTI effort are at the ends of the loop, not the middle:
Write the PIR before collecting. Examples: "Which ransomware crews target our sector and what is their initial-access tradecraft?" "Is the actor in last week's incident likely to return?" "Does this vendor report describe a threat to us?" Each names a consumer and a decision.
Pivoting expands one observable into an infrastructure picture. The discipline is to stay passive first — every pivot below reads third-party data or historical records, none of it touches the adversary's live infrastructure.
| Start from | Pivot via | Finds |
|---|---|---|
| Domain / IP | Passive DNS (PDNS) | Historical resolutions, sibling domains on an IP, IPs a domain used |
| Domain | WHOIS / registration history | Registrant email, registrar, creation date, name-server reuse |
| Domain / IP | Certificate transparency (crt.sh) | Other hostnames on the same cert, SAN reuse, issuance timeline |
| IP / service | TLS fingerprints — JARM (server), JA3/JA3S (client/server handshake) | Hosts running the same C2 or framework default TLS stack |
| Web service | Favicon hash (Shodan http.favicon.hash, Censys) | Other servers serving the identical panel or login page |
| IP / host | Shodan / Censys banners | Open ports, product versions, response bodies, self-signed cert CNs |
A worked pivot chain: a phishing domain resolves (PDNS) to an IP; crt.sh shows the cert's SANs cover four more lookalike domains; the IP's JARM matches a known Cobalt Strike default; Shodan's favicon hash for the panel returns nine more IPs serving the same interface. One indicator became a cluster of ten, none of which required contacting the adversary.
# Certificate transparency — all certs/SANs seen for a domain
curl -s "https://crt.sh/?q=%25.example.com&output=json" | jq -r '.[].name_value' | sort -u
# Shodan: everything serving an identical favicon
shodan search "http.favicon.hash:-247388890"
# Censys: hosts presenting a given JARM fingerprint.
# Censys Platform (CenQL) prefixes every parsed field with its dataset:
censys search "host.services.jarm.fingerprint: <jarm_hash>"
# Legacy Search used the unprefixed form below. It is deprecated as of
# September 2026, so treat any older query you find as needing conversion:
# services.jarm.fingerprint: <jarm_hash>
Do not tip off the adversary. Do not curl the live C2, resolve its domain from a network attributable to you, submit the still-active sample to a public multi-scanner, or scan the infrastructure directly — each of those tells the operator you are watching and invites rotation or a burn of your visibility. Prefer passive datasets. If active interaction is genuinely required, route it through infrastructure that is not attributable to you and make it a deliberate, logged decision.
Every intrusion event has four connected features: adversary, capability (malware, tooling, exploits), infrastructure (C2, staging, redirectors), and victim. Any feature leads to another — a capability points to the adversary who wields it; infrastructure points to other victims. Pivoting is literally traversing the edges of the diamond. Record findings against these four vertices so a partial picture composes with the next one.
Not all indicators cost the adversary the same to change. The higher you track, the more it hurts them and the longer your intelligence survives.
TTPs ← hardest to change — track these
Tools
Network/Host artifacts
Domain names
IP addresses
Hash values ← trivial to change — useful now, dead tomorrow
Hashes and IPs are cheap for the adversary to rotate, so intelligence built on them decays in days. Tooling and TTPs force real redevelopment. Prioritize collection and tracking toward the top of the pyramid; treat the bottom as perishable and time-stamp it accordingly.
Attribution is the most abused word in CTI. Keep two operations strictly separate:
Use temporary, non-committal labels for clusters you have not confirmed:
UNC-style uncategorized designators, or your own internal CLUSTER-####. Only
promote a cluster to a named actor when the evidence supports it, and state
what evidence. "Same TTPs" is weak grounds: shared tooling, shared exploit
kits, and public tradecraft mean two operators can look identical.
Analytic confidence is a separate axis from the claim. State it explicitly:
Confidence is not the same as how strongly you feel it. It is a function of the evidence and the number of surviving alternative explanations.
Analysis of Competing Hypotheses (ACH): when attribution or intent is contested, enumerate the plausible hypotheses first, then list the evidence, and score each item by how well it is consistent with each hypothesis. The goal is to find evidence that disconfirms — the hypothesis left standing after you try to break it is stronger than the one you set out to prove.
Cognitive-bias traps to name and resist:
Free-text notes do not compose, correlate, or feed automation. Store intelligence in a structured model from the start.
indicator, malware, threat-actor, campaign, intrusion-set,
infrastructure, identity, and attack-pattern; relationships (SROs)
like uses, targets, indicates, attributed-to connect them. A STIX
indicator carries a pattern, valid-from/until, and confidence — context
the bare IOC lacks.Enrichment converts a bare observable into something with context and confidence. Match the source to the question.
| Source | Answers |
|---|---|
| VirusTotal | Detections, relationships (contacted domains, dropped files, siblings), first/last seen, community context |
| Passive DNS (Farsight/DNSDB, SecurityTrails, Circl) | Resolution history, co-hosted domains, infrastructure reuse over time |
| Shodan / Censys | Exposed services, banners, certs, JARM, favicon hashes — the internet-facing view without touching the target directly |
| GreyNoise | Whether an IP is mass-scanning the whole internet (background noise) versus activity aimed at you |
| URLScan | What a URL actually serves — page content, redirects, resources, screenshot — without you browsing it |
GreyNoise earns its place by subtraction. Most flagged IPs are internet background radiation — opportunistic scanners hitting everyone. GreyNoise tells you whether an indicator is that noise or something targeted, so you stop burning analyst hours enriching a Shodan crawler and focus on what is aimed at your organization.
The report is the product; everything upstream is inventory. Structure it for a decision-maker, not for an analyst admiring the work.
Write to the audience: an executive needs the risk and the decision; a SOC lead needs the detections and the pivots. The same underlying intelligence becomes two different products.
Threat intelligence is not a terminal deliverable — it is the fuel for the rest of the defensive program, and it consumes their output in return.
engineering-detections. Hand over behaviors and tiered indicators, not a
raw feed.hunting-threats run against your telemetry.mapping-attack-techniques so your products speak the same taxonomy as
detection and hunting, and coverage gaps become visible.Intelligence that does not flow into detection, hunting, or a decision is a research hobby, not a capability.
Fetch public advisories, specifications, and vendor reports as Markdown:
curl -sL "https://defuddle.md/<url>" # scheme in the path is optional
This strips page boilerplate — roughly 78% fewer tokens on a prose page — and returns the full text rather than a summary, so you can grep it and trust a negative result.
Three things it is not for. Fetch JSON and API responses raw, because readability extraction mangles structured data. Fetch authenticated or JavaScript-rendered pages directly, because it retrieves them anonymously. And never route adversary infrastructure (phishing links, C2, malware hosting), client-owned hosts, or engagement URLs through it — the request leaves your machine to a third party, and for live adversary infrastructure it also tips off the operator.
Some sites block the extractor and return an error blob rather than the page —
{"error":"Failed to fetch: 418 I'm a teapot"} from freedesktop.org, for
instance. That is the fetch being refused, not the source saying the thing
does not exist. Re-fetch the URL directly before drawing any conclusion from
it.
hunting-threats — running intel-derived hypotheses against your own
telemetryanalyzing-malware — sample-derived config, capability, and IOCs that feed
intelengineering-detections — converting tracked TTPs into deployed rulesmapping-attack-techniques — resolving and standardizing ATT&CK referencesresponding-to-incidents — the consumer and source during an active eventreporting-security-findings — structure and language for the finished
written productWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub trilwu/secskills --plugin secskills-defense22 skills in this plugin
/analyzing-disk-imagesPerform dead-disk forensics on an acquired disk image using The Sleuth Kit, Plaso, and bulk_extractor — verify integrity and mount read-only, map partitions, recover deleted files, build a file-system and super-timeline, carve unallocated space, mine registry hives and OS artifacts, and detect anti-forensics. Use when handed a .E01/.dd/.raw/.vmdk/.vhdx disk image or forensic acquisition to examine, recovering deleted files, building a file-system timeline, or carving artifacts from unallocated space./analyzing-linux-persistenceSystematically identify and analyze persistence mechanisms on Linux systems during DFIR investigations -- sweep systemd units, cron jobs, shell initialization, SSH config, kernel modules, LD_PRELOAD, package manager hooks, udev rules, container entrypoints, and XDG autostart entries. Use when investigating a compromised Linux host, performing forensic analysis of a Linux disk image, looking for backdoors or unauthorized access mechanisms, or determining how an attacker maintained access./analyzing-malwareAnalyze suspected malware safely — containment, static triage, sandboxed detonation, unpacking, capability and C2 extraction, IOC production, and YARA rule authoring. Use when handed a suspicious file, hash, or sample, when triaging an alert artifact, or when producing detection content from a specimen.2 plugins ship this exact skill · first indexed Jul 31, 2026
Other plugins' skills for the same job