tracking-adversary-infrastructure
Tracks adversary C2 and staging infrastructure by clustering indicators on shared
v1.0.03 installs+3 in 7 days24 StarsApache-2.0synced 10 hours ago
Install
No NotHoly CLI yet? Install it first.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install meltedinhex/tracking-adversary-infrastructureWrites to ~/.notholy/skills after checking the signature and the SHA-256.
SignatureSigned, ed25519
Package1e43d6b2…e5dd8e4d
1e43d6b28591…3b56e5dd8e4d4 files · 3.1 KBScanMedium2 findings
- Executable script shipped with the skillscripts/analyst.py
- Links to outside domains
Sourcegithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/tracking-adversary-infrastructure@da7600a
On this page
When to Use
- You have a set of suspected C2/staging hosts with attributes (JARM/JA3S, TLS cert fields, favicon hash, ASN, ports, registrar) and want to cluster them to find related infrastructure.
- You are expanding from a few known indicators to the adversary's broader footprint.
Do not use clustering as confirmed attribution — shared hosting/attributes can be coincidental. Corroborate before attributing.
Prerequisites
- Host records (CSV/JSON) with shared-attribute fields to cluster on.
Workflow
Step 1: Cluster on shared attributes
python scripts/analyst.py cluster hosts.json --attrs jarm,cert_cn,favicon_hash,asnGroups 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
- Clustering keys on explicit shared attributes, not loose similarity.
- Cluster strength reflects the count of distinct shared attributes.
- Host indicators are defanged in output.
Pitfalls
- Common CDN/cloud JARM/ASN values creating huge false clusters — exclude generic pivots.
- Default certificates shared by unrelated servers.
- Treating one weak shared attribute as a strong link.
References
- See
references/api-reference.mdfor the clustering tool. - ATT&CK T1583 and JARM references (linked in frontmatter).
Files in this version
references/11.2 KB
- api-reference.md1.2 KB
scripts/12.9 KB
- analyst.py2.9 KB
- LICENSE340 B
- SKILL.md2.6 KB
Permissions
| Permission | Declared | Found by the scan |
|---|---|---|
| Reads files | No | No |
| Writes files | No | No |
| Runs shell commands | Yes | Yes |
| Uses the network | Yes | Yes |
| Uses connectors | No | No |
| Drives a browser | No | No |
Scan findings
Reviewed on Nov 13, 2026
- MediumFile · Executable script shipped with the skillscripts/analyst.py
- InfoLink · Links to outside domains
A clean scan lowers the risk but does not prove a package is safe. Read what you install.
| Version | Published | Commit | SHA-256 | Signature | Permission change |
|---|---|---|---|---|---|
| v1.0.0 | Nov 13, 2026 | da7600a | 1e43d6b2 | Signed | – |
More from meltedinhex
All from this publisher- writing-yara-rules-from-reversed-codemeltedinhex/writing-yara-rules-from-reversed-code4
- validating-detections-with-atomic-testsmeltedinhex/validating-detections-with-atomic-tests4
- writing-suricata-and-snort-rulesmeltedinhex/writing-suricata-and-snort-rules3
- writing-sigma-detection-rulesmeltedinhex/writing-sigma-detection-rules3
More in Reporting and compliance
See the category- skillduty1g/skill5
- rea-ci-tests-auditmorluto/rea-ci-tests-audit4
- tracking-threat-actor-infrastructuremukul975/tracking-threat-actor-infrastructure4
- performing-authenticated-scan-with-openvasmukul975/performing-authenticated-scan-with-openvas4
- slicing-code-contexttrailofbits/slicing-code-context4
- 1337aeondave/13374
Ask anything your scope allows.
Create an account, add credits and ask the first question in the chat or the terminal.
- 1/3
Create the account
Individual or company. You can switch to a company later without losing balance or keys.
IndividualCompany - 2/3
Add credits
By card. Pay per token, no subscription.
$5.00minimum deposit - 3/3
Ask
In the chat, or install the CLI and run notholy login in your terminal.
$ notholy login