censys-investigate
БесплатноБез исполняемых скриптовНе проверенUse when the user explicitly requests a multi-step Censys investigation — e.g. "censys investigate," "censys deep dive into," "trace this infrastructure with…
от censys★ 15 звёзд на GitHubОб этом скилле
censys-investigate
When to use
Fires on explicit multi-command investigation requests — asks that need a methodology spanning several Censys commands, not just a single lookup. Typical triggers:
- "censys investigate 203.0.113.10"
- "censys deep dive into this actor's infrastructure"
- "trace this infrastructure with censys"
- "hunt for related infrastructure"
- "full censys investigation on this range"
- "/censys-investigate 203.0.113.5"
NOT for a single lookup (censys-view), a single search (censys-search), or
a single history request (censys-timeline). If the user says "what's running
on this IP," "profile this host," or "show me this host's services" — use
censys-view, not this skill.
Before starting: confirm with the user the investigation target, estimated API call count (typically 20–50+ for a standard investigation, 100+ for deep pivoting), and whether they want the full methodology or a lighter pass.
Precedence: If guidance in this skill conflicts with a command skill (censys-search, censys-view, censys-aggregate, etc.), the command skill wins. Command skills own the facts about their own CLI behavior; this skill owns the investigation methodology.
Prerequisites
Requires the Censys CLI installed and authenticated. See the repo README for install and auth steps.
Structure
This skill runs in two phases:
- Baseline collection (always run) — a fixed sequence that establishes what the target is, what it has done historically, what it's connected to, and which of its indicators are worth pivoting on.
- Decision trees (branch on findings) — the baseline's output determines which tree(s) apply. Trees can feed into each other as new candidates surface.
Every query result is saved to data/. The audit trail has three layers:
findings.md holds conclusions, data/ holds raw observations, and the
commands embedded throughout this skill are the methodology that connects
one to the other.
Baseline collection
Step 1 — Scaffold
Create the task directory:
YYYY-MM-DD_description/
├── data/
│ └── pivot_results/
├── analysis/
│ └── findings.md ← initialized from template
└── src/
Step 2 — Raw host profile
censys view <IP> -O json > data/censys_view_<IP>.json
Parse: services (port, protocol, software), TLS certs, DNS names, ASN/location,
OS indicators. Populate Host Profile and Current Services in
findings.md.
Step 3 — Historical timeline
censys history <IP> --duration 30d -S > data/censys_history_<IP>.ndjson
Start with 30 days and widen only if the baseline reveals a signal worth
chasing further back. Always use streaming (-S) — buffered output on a
large history can take minutes or fail to complete. Widen incrementally:
30d → 90d → 1y.
See censys-timeline for flag details, event model, and interpretation
guidance.
Parse: service uptime intervals, service changes, signal rotations, ownership events, reverse DNS. Populate Infrastructure Timeline.
Step 4 — Domain/DNS chase
For each associated domain:
censys history <domain>:443 --duration 30d -S > data/censys_history_<domain>.ndjson
Skip if no domains. Document DNS resolution history, flag previous IPs.
Step 5 — Indicator triage
Extract all pivotable indicators from steps 2–4. Categorize using
censys-cenql's known-noise section:
Unique — body hashes, banner hashes, cert fingerprints, build artifact strings, custom ETags
Broad / Noise — common software versions, default hostnames, shared CDN hashes, framework defaults
Unknown — count the hosts that match, then classify. 0–5 hits → unique. 25+ → broad.
"${CLAUDE_PLUGIN_ROOT}/scripts/censys-count.sh" '<query>'The script pages the full result set and prints the count. It exits 2 with a warning if the count hits the 10,000-result API ceiling — treat that number as a floor, not a total.
Do not count with
--page-size 1 --max-pages 1. That command returns one record and no total. Do not count by addingcensys aggregatebuckets either:-nlimits the bucket list and the default is 25, so the sum can be far below the true total. Seecensys-aggregatefor measured evidence.
Shared-tooling pitfall: C2 framework identifiers (Cobalt Strike watermarks,
Sliver implant IDs, Mythic callback tokens) can be shared across unrelated
operators via cracked/leaked licenses or shared builders. Always run a
population count before classifying as unique — e.g., CS watermark 987654321
appears on 77+ unrelated hosts globally. Treat these as Broad unless the
population is very small (< 5 hosts). The C2 framework's public key or
beacon config URIs are more likely to be operator-specific than the license
watermark.
Hosting-provider fleet artifact: a provider can run its own service on every VPS it rents. That
Установить censys-investigate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл censys-investigate?
Use when the user explicitly requests a multi-step Censys investigation — e.g. "censys investigate," "censys deep dive into," "trace this infrastructure with censys," "censys pivot chain," "full censys investigation," "hunt for related infrastructure," or "/censys-investigate." This is a heavyweight methodology skill (typically 20–50+ API calls) — do NOT fire on simple lookups like "what's running on this IP" or "profile this host" (use censys-view for those). Structured as a baseline collection phase followed by decision trees that branch on what the baseline reveals. Prescribes a findings template and data preservation convention. Always confirms scope and estimated cost with the user before starting.
Как установить скилл censys-investigate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл censys-investigate запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic