Tracking adversary infrastructure

From meltedinhex/analyst-ai-pack · View interactive version

Tracking adversary infrastructure is an AI agent skill from the GitHub repository meltedinhex/analyst-ai-pack. Tracks adversary C2 and staging infrastructure by clustering indicators on shared attributes (TLS/JARM, certificate fields, favicon hashes, ASN, registration patterns) to find related hosts. Activates for requests to track adversary infrastructure, cluster C2 servers, or pivot on infrastructure attr

How to use this skill

Skill file

Tracking Adversary Infrastructure

When to Use

hash, ASN, ports, registrar) and want to cluster them to find related infrastructure.

Do not use clustering as confirmed attribution — shared hosting/attributes can be coincidental.

Corroborate before attributing.

Prerequisites

Workflow

Step 1: Cluster on shared attributes

python scripts/analyst.py cluster hosts.json --attrs jarm,cert_cn,favicon_hash,asn

Groups hosts that share one or more pivot attributes into clusters, defanging host indicators.

Step 2: Score cluster cohesion

Rank clusters by how many distinct attributes the members share (more shared attributes → stronger

relationship).

Step 3: Expand and confirm

Use the strongest shared attributes (e.g., a unique self-signed cert CN or favicon hash) to pivot

in internet-scan data for more hosts; corroborate.

Step 4: Document

Record clusters, the shared pivots, and confidence; feed confirmed indicators to detection.

Validation

Pitfalls

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.