Files
Anthropic-Cybersecurity-Skills/skills/tracking-threat-actor-infrastructure/references/api-reference.md
T
mukul975 c21af3347e Complete folder anatomy for all 649 cybersecurity skills + update LICENSE to Mahipal
- Add scripts/agent.py and references/api-reference.md to all remaining skills
- Update all 648 LICENSE files: copyright now reads 'Mahipal'
- Add implementing-security-monitoring-with-datadog (new skill with full anatomy)
- All 649 skills now have: SKILL.md, LICENSE, scripts/agent.py, references/api-reference.md
2026-03-11 00:22:12 +01:00

49 lines
1.8 KiB
Markdown

# API Reference: Tracking Threat Actor Infrastructure
## Pivoting Techniques
| Technique | Source | Discovers |
|-----------|--------|-----------|
| Passive DNS | DNS resolvers | Domains on same IP, historical mappings |
| Reverse WHOIS | Registrar data | Domains by same registrant |
| SSL Certificate | CT logs, direct | Shared certs, SANs, issuers |
| Shodan/Censys | Internet scanning | Open ports, services, banners |
| HTTP fingerprint | Server responses | Body hash, headers, favicon |
| JARM/JA3S | TLS handshake | C2 framework identification |
## API Endpoints
| Service | Endpoint | Auth |
|---------|----------|------|
| Shodan Host | `GET /shodan/host/{ip}?key=` | API key |
| VirusTotal IP | `GET /api/v3/ip-addresses/{ip}` | x-apikey header |
| VirusTotal Domain | `GET /api/v3/domains/{domain}` | x-apikey header |
| SecurityTrails | `GET /v1/domain/{d}/subdomains` | APIKEY header |
| RDAP WHOIS | `GET https://rdap.org/domain/{d}` | None |
## Network Fingerprinting
| Method | Tool | Description |
|--------|------|-------------|
| JARM | jarm.py | Active TLS server fingerprint |
| JA3S | Zeek/Wireshark | Passive TLS Server Hello hash |
| Favicon hash | Shodan `http.favicon.hash` | mmh3 hash of favicon.ico |
| HTTP body hash | SHA-256 | Response body fingerprint |
| Server banner | HTTP Server header | Software identification |
## Python Libraries
| Library | Version | Purpose |
|---------|---------|---------|
| `requests` | >=2.28 | API queries to Shodan/VT |
| `ssl` | stdlib | TLS certificate retrieval |
| `socket` | stdlib | DNS resolution, connections |
| `hashlib` | stdlib | Certificate/content fingerprinting |
## References
- Shodan API: https://developer.shodan.io/api
- VirusTotal API v3: https://docs.virustotal.com/reference/overview
- Certificate Transparency: https://certificate.transparency.dev/
- JARM: https://github.com/salesforce/jarm