[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ABY29NNT0A22076GVM1KD1":3,"skill-same:01M7ABY29NNT0A22076GVM1KD1":129},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":74,"commitSha":75,"skillDirectory":76,"forksCount":14,"repositoryHtmlUrl":77,"repositoryHomepageUrl":6,"ownerHtmlUrl":78,"ownerBlogUrl":6,"ownerDescription":79,"updatedAt":80,"install":81,"resources":94},"01M7ABY29NNT0A22076GVM1KD1","tracking-threat-actor-infrastructure",null,"Discovers and maps adversary-controlled infrastructure (C2 servers, phishing domains, exploit-kit hosts, bulletproof hosting) by pivoting across passive DNS, certificate transparency logs, Shodan\u002FCensys scans, WHOIS records, and network fingerprints (JARM\u002FJA3S). Use when tracking threat actor infrastructure, expanding a known IOC into related assets, or producing STIX-based threat intelligence during a CTI investigation.","NeelakshSaxena\u002FVayu","NeelakshSaxena","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87892838?v=4","01M7A3B9YFS6F6N9DD1787DT86","Neelaksh Saxena","01M7A3B9ZKBT09MNMPX2XN69BY",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftracking-threat-actor-infrastructure\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftracking-threat-actor-infrastructure\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tracking-threat-actor-infrastructure\ndescription: Discovers and maps adversary-controlled infrastructure (C2 servers,\n  phishing domains, exploit-kit hosts, bulletproof hosting) by pivoting across passive\n  DNS, certificate transparency logs, Shodan\u002FCensys scans, WHOIS records, and network\n  fingerprints (JARM\u002FJA3S). Use when tracking threat actor infrastructure, expanding\n  a known IOC into related assets, or producing STIX-based threat intelligence during\n  a CTI investigation.\ndomain: cybersecurity\nsubdomain: threat-intelligence\ntags:\n- threat-intelligence\n- cti\n- ioc\n- mitre-attack\n- stix\n- infrastructure-tracking\n- shodan\n- censys\n- passive-dns\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- ID.RA-01\n- ID.RA-05\n- DE.CM-01\n- DE.AE-02\nmitre_attack:\n- T1591\n- T1592\n- T1593\n- T1589\n- T1566\nmitre_f3:\n  version: '1.1'\n  tactics:\n  - reconnaissance\n  - resource-development\n  techniques:\n  - id: T1593\n    name: Search Open Websites\u002FDomains\n    tactic: reconnaissance\n    source: attack\n  - id: T1583.001\n    name: 'Acquire Infrastructure: Domains'\n    tactic: resource-development\n    source: attack\n  - id: T1583.008\n    name: 'Acquire Infrastructure: Malvertising'\n    tactic: resource-development\n    source: attack\n  - id: T1583.003\n    name: 'Acquire Infrastructure: Virtual Private Network or Server'\n    tactic: resource-development\n    source: attack\n  - id: F1020.002\n    name: 'Create Fake Materials: Fake Website'\n    tactic: resource-development\n    source: f3\n  - id: T1608.006\n    name: 'Stage Capabilities: SEO Poisoning'\n    tactic: resource-development\n    source: attack\n---\n# Tracking Threat Actor Infrastructure\n\n## Overview\n\nThreat actor infrastructure tracking involves monitoring and mapping adversary-controlled assets including command-and-control (C2) servers, phishing domains, exploit kit hosts, bulletproof hosting, and staging servers. This skill covers using passive DNS, certificate transparency logs, Shodan\u002FCensys scanning, WHOIS analysis, and network fingerprinting to discover, track, and pivot across threat actor infrastructure over time.\n\n\n## When to Use\n\n- When managing security operations that require tracking threat actor infrastructure\n- When improving security program maturity and operational processes\n- When establishing standardized procedures for security team workflows\n- When integrating threat intelligence or vulnerability data into operations\n\n## Prerequisites\n\n- Python 3.9+ with `shodan`, `censys`, `requests`, `stix2` libraries\n- API keys: Shodan, Censys, VirusTotal, SecurityTrails, PassiveTotal\n- Understanding of DNS, TLS\u002FSSL certificates, IP allocation, ASN structure\n- Familiarity with passive DNS and certificate transparency concepts\n- Access to domain registration (WHOIS) lookup services\n\n## Key Concepts\n\n### Infrastructure Pivoting\nPivoting is the technique of using one known indicator to discover related infrastructure. Starting from a known C2 IP address, analysts can pivot via: passive DNS (find domains), reverse WHOIS (find related registrations), SSL certificates (find shared certs), SSH key fingerprints, HTTP response fingerprints, JARM\u002FJA3S hashes, and WHOIS registrant data.\n\n### Passive DNS\nPassive DNS databases record DNS query\u002Fresponse data observed at recursive resolvers. This allows analysts to find historical domain-to-IP mappings, discover domains hosted on a known C2 IP, and identify fast-flux or domain generation algorithm (DGA) behavior.\n\n### Certificate Transparency\nCertificate Transparency (CT) logs publicly record all SSL\u002FTLS certificates issued by CAs. Monitoring CT logs reveals new certificates registered for suspicious domains, helping identify phishing sites and C2 infrastructure before they become active.\n\n### Network Fingerprinting\n- **JARM**: Active TLS server fingerprint (hash of TLS handshake responses)\n- **JA3S**: Passive TLS server fingerprint (hash of Server Hello)\n- **HTTP Headers**: Server banners, custom headers, response patterns\n- **Favicon Hash**: Hash of HTTP favicon for server identification\n\n## Workflow\n\n### Step 1: Shodan Infrastructure Discovery\n\n```python\nimport shodan\n\napi = shodan.Shodan(\"YOUR_SHODAN_API_KEY\")\n\ndef discover_infrastructure(ip_address):\n    \"\"\"Discover services and metadata for a target IP.\"\"\"\n    try:\n        host = api.host(ip_address)\n        return {\n            \"ip\": host[\"ip_str\"],\n            \"org\": host.get(\"org\", \"\"),\n            \"asn\": host.get(\"asn\", \"\"),\n            \"isp\": host.get(\"isp\", \"\"),\n            \"country\": host.get(\"country_name\", \"\"),\n            \"city\": host.get(\"city\", \"\"),\n            \"os\": host.get(\"os\"),\n            \"ports\": host.get(\"ports\", []),\n            \"vulns\": host.get(\"vulns\", []),\n            \"hostnames\": host.get(\"hostnames\", []),\n            \"domains\": host.get(\"domains\", []),\n            \"tags\": host.get(\"tags\", []),\n            \"services\": [\n                {\n                    \"port\": svc.get(\"port\"),\n                    \"transport\": svc.get(\"transport\"),\n                    \"product\": svc.get(\"product\", \"\"),\n                    \"version\": svc.get(\"version\", \"\"),\n                    \"ssl_cert\": svc.get(\"ssl\", {}).get(\"cert\", {}).get(\"subject\", {}),\n                    \"jarm\": svc.get(\"ssl\", {}).get(\"jarm\", \"\"),\n                }\n                for svc in host.get(\"data\", [])\n            ],\n        }\n    except shodan.APIError as e:\n        print(f\"[-] Shodan error: {e}\")\n        return None\n\ndef search_c2_framework(framework_name):\n    \"\"\"Search Shodan for known C2 framework signatures.\"\"\"\n    c2_queries = {\n        \"cobalt-strike\": 'product:\"Cobalt Strike Beacon\"',\n        \"metasploit\": 'product:\"Metasploit\"',\n        \"covenant\": 'http.html:\"Covenant\" http.title:\"Covenant\"',\n        \"sliver\": 'ssl.cert.subject.cn:\"multiplayer\" ssl.cert.issuer.cn:\"operators\"',\n        \"havoc\": 'http.html_hash:-1472705893',\n    }\n\n    query = c2_queries.get(framework_name.lower(), framework_name)\n    results = api.search(query, limit=100)\n\n    hosts = []\n    for match in results.get(\"matches\", []):\n        hosts.append({\n            \"ip\": match[\"ip_str\"],\n            \"port\": match[\"port\"],\n            \"org\": match.get(\"org\", \"\"),\n            \"country\": match.get(\"location\", {}).get(\"country_name\", \"\"),\n            \"asn\": match.get(\"asn\", \"\"),\n            \"timestamp\": match.get(\"timestamp\", \"\"),\n        })\n\n    return hosts\n```\n\n### Step 2: Passive DNS Pivoting\n\n```python\nimport requests\n\ndef passive_dns_lookup(indicator, api_key, indicator_type=\"ip\"):\n    \"\"\"Query SecurityTrails for passive DNS records.\"\"\"\n    base_url = \"https:\u002F\u002Fapi.securitytrails.com\u002Fv1\"\n    headers = {\"APIKEY\": api_key, \"Accept\": \"application\u002Fjson\"}\n\n    if indicator_type == \"ip\":\n        url = f\"{base_url}\u002Fsearch\u002Flist\"\n        payload = {\n            \"filter\": {\"ipv4\": indicator}\n        }\n        resp = requests.post(url, json=payload, headers=headers, timeout=30)\n    else:\n        url = f\"{base_url}\u002Fdomain\u002F{indicator}\u002Fsubdomains\"\n        resp = requests.get(url, headers=headers, timeout=30)\n\n    if resp.status_code == 200:\n        return resp.json()\n    return None\n\n\ndef query_passive_total(indicator, user, api_key):\n    \"\"\"Query PassiveTotal for passive DNS and WHOIS data.\"\"\"\n    base_url = \"https:\u002F\u002Fapi.passivetotal.org\u002Fv2\"\n    auth = (user, api_key)\n\n    # Passive DNS\n    pdns_resp = requests.get(\n        f\"{base_url}\u002Fdns\u002Fpassive\",\n        params={\"query\": indicator},\n        auth=auth,\n        timeout=30,\n    )\n\n    # WHOIS\n    whois_resp = requests.get(\n        f\"{base_url}\u002Fwhois\",\n        params={\"query\": indicator},\n        auth=auth,\n        timeout=30,\n    )\n\n    results = {}\n    if pdns_resp.status_code == 200:\n        results[\"passive_dns\"] = pdns_resp.json().get(\"results\", [])\n    if whois_resp.status_code == 200:\n        results[\"whois\"] = whois_resp.json()\n\n    return results\n```\n\n### Step 3: Certificate Transparency Monitoring\n\n```python\nimport requests\n\ndef search_ct_logs(domain):\n    \"\"\"Search Certificate Transparency logs via crt.sh.\"\"\"\n    resp = requests.get(\n        f\"https:\u002F\u002Fcrt.sh\u002F?q=%.{domain}&output=json\",\n        timeout=30,\n    )\n\n    if resp.status_code == 200:\n        certs = resp.json()\n        unique_domains = set()\n        cert_info = []\n\n        for cert in certs:\n            name_value = cert.get(\"name_value\", \"\")\n            for name in name_value.split(\"\\n\"):\n                unique_domains.add(name.strip())\n\n            cert_info.append({\n                \"id\": cert.get(\"id\"),\n                \"issuer\": cert.get(\"issuer_name\", \"\"),\n                \"common_name\": cert.get(\"common_name\", \"\"),\n                \"name_value\": name_value,\n                \"not_before\": cert.get(\"not_before\", \"\"),\n                \"not_after\": cert.get(\"not_after\", \"\"),\n                \"serial_number\": cert.get(\"serial_number\", \"\"),\n            })\n\n        return {\n            \"domain\": domain,\n            \"total_certificates\": len(certs),\n            \"unique_domains\": sorted(unique_domains),\n            \"certificates\": cert_info[:50],\n        }\n    return None\n\n\ndef monitor_new_certs(domains, interval_hours=1):\n    \"\"\"Monitor for newly issued certificates for a list of domains.\"\"\"\n    from datetime import datetime, timedelta\n\n    cutoff = (datetime.utcnow() - timedelta(hours=interval_hours)).isoformat()\n    new_certs = []\n\n    for domain in domains:\n        result = search_ct_logs(domain)\n        if result:\n            for cert in result.get(\"certificates\", []):\n                if cert.get(\"not_before\", \"\") > cutoff:\n                    new_certs.append({\n                        \"domain\": domain,\n                        \"cert\": cert,\n                    })\n\n    return new_certs\n```\n\n### Step 4: Infrastructure Correlation and Timeline\n\n```python\nfrom datetime import datetime\n\ndef build_infrastructure_timeline(indicators):\n    \"\"\"Build a timeline of infrastructure changes.\"\"\"\n    timeline = []\n\n    for ind in indicators:\n        if \"passive_dns\" in ind:\n            for record in ind[\"passive_dns\"]:\n                timeline.append({\n                    \"timestamp\": record.get(\"firstSeen\", \"\"),\n                    \"event\": \"dns_resolution\",\n                    \"source\": record.get(\"resolve\", \"\"),\n                    \"target\": record.get(\"value\", \"\"),\n                    \"record_type\": record.get(\"recordType\", \"\"),\n                })\n\n        if \"certificates\" in ind:\n            for cert in ind[\"certificates\"]:\n                timeline.append({\n                    \"timestamp\": cert.get(\"not_before\", \"\"),\n                    \"event\": \"certificate_issued\",\n                    \"domain\": cert.get(\"common_name\", \"\"),\n                    \"issuer\": cert.get(\"issuer\", \"\"),\n                })\n\n    timeline.sort(key=lambda x: x.get(\"timestamp\", \"\"))\n    return timeline\n```\n\n## Validation Criteria\n\n- Shodan\u002FCensys queries return infrastructure details for target IPs\n- Passive DNS reveals historical domain-IP mappings\n- Certificate transparency search finds associated domains\n- Infrastructure pivoting discovers new related indicators\n- Timeline shows infrastructure evolution over time\n- Results are exportable as STIX 2.1 Infrastructure objects\n\n## References\n\n- [Shodan API Documentation](https:\u002F\u002Fdeveloper.shodan.io\u002Fapi)\n- [Censys Search API](https:\u002F\u002Fsearch.censys.io\u002Fapi)\n- [SecurityTrails API](https:\u002F\u002Fsecuritytrails.com\u002Fcorp\u002Fapi)\n- [crt.sh Certificate Transparency](https:\u002F\u002Fcrt.sh\u002F)\n- [PassiveTotal API](https:\u002F\u002Fapi.passivetotal.org\u002Fapi\u002Fdocs\u002F)\n- [JARM Fingerprinting](https:\u002F\u002Fgithub.com\u002Fsalesforce\u002Fjarm)\n","# Tracking Threat Actor Infrastructure\n\n## Overview\n\nThreat actor infrastructure tracking involves monitoring and mapping adversary-controlled assets including command-and-control (C2) servers, phishing domains, exploit kit hosts, bulletproof hosting, and staging servers. This skill covers using passive DNS, certificate transparency logs, Shodan\u002FCensys scanning, WHOIS analysis, and network fingerprinting to discover, track, and pivot across threat actor infrastructure over time.\n\n\n## When to Use\n\n- When managing security operations that require tracking threat actor infrastructure\n- When improving security program maturity and operational processes\n- When establishing standardized procedures for security team workflows\n- When integrating threat intelligence or vulnerability data into operations\n\n## Prerequisites\n\n- Python 3.9+ with `shodan`, `censys`, `requests`, `stix2` libraries\n- API keys: Shodan, Censys, VirusTotal, SecurityTrails, PassiveTotal\n- Understanding of DNS, TLS\u002FSSL certificates, IP allocation, ASN structure\n- Familiarity with passive DNS and certificate transparency concepts\n- Access to domain registration (WHOIS) lookup services\n\n## Key Concepts\n\n### Infrastructure Pivoting\nPivoting is the technique of using one known indicator to discover related infrastructure. Starting from a known C2 IP address, analysts can pivot via: passive DNS (find domains), reverse WHOIS (find related registrations), SSL certificates (find shared certs), SSH key fingerprints, HTTP response fingerprints, JARM\u002FJA3S hashes, and WHOIS registrant data.\n\n### Passive DNS\nPassive DNS databases record DNS query\u002Fresponse data observed at recursive resolvers. This allows analysts to find historical domain-to-IP mappings, discover domains hosted on a known C2 IP, and identify fast-flux or domain generation algorithm (DGA) behavior.\n\n### Certificate Transparency\nCertificate Transparency (CT) logs publicly record all SSL\u002FTLS certificates issued by CAs. Monitoring CT logs reveals new certificates registered for suspicious domains, helping identify phishing sites and C2 infrastructure before they become active.\n\n### Network Fingerprinting\n- **JARM**: Active TLS server fingerprint (hash of TLS handshake responses)\n- **JA3S**: Passive TLS server fingerprint (hash of Server Hello)\n- **HTTP Headers**: Server banners, custom headers, response patterns\n- **Favicon Hash**: Hash of HTTP favicon for server identification\n\n## Workflow\n\n### Step 1: Shodan Infrastructure Discovery\n\n```python\nimport shodan\n\napi = shodan.Shodan(\"YOUR_SHODAN_API_KEY\")\n\ndef discover_infrastructure(ip_address):\n    \"\"\"Discover services and metadata for a target IP.\"\"\"\n    try:\n        host = api.host(ip_address)\n        return {\n            \"ip\": host[\"ip_str\"],\n            \"org\": host.get(\"org\", \"\"),\n            \"asn\": host.get(\"asn\", \"\"),\n            \"isp\": host.get(\"isp\", \"\"),\n            \"country\": host.get(\"country_name\", \"\"),\n            \"city\": host.get(\"city\", \"\"),\n            \"os\": host.get(\"os\"),\n            \"ports\": host.get(\"ports\", []),\n            \"vulns\": host.get(\"vulns\", []),\n            \"hostnames\": host.get(\"hostnames\", []),\n            \"domains\": host.get(\"domains\", []),\n            \"tags\": host.get(\"tags\", []),\n            \"services\": [\n                {\n                    \"port\": svc.get(\"port\"),\n                    \"transport\": svc.get(\"transport\"),\n                    \"product\": svc.get(\"product\", \"\"),\n                    \"version\": svc.get(\"version\", \"\"),\n                    \"ssl_cert\": svc.get(\"ssl\", {}).get(\"cert\", {}).get(\"subject\", {}),\n                    \"jarm\": svc.get(\"ssl\", {}).get(\"jarm\", \"\"),\n                }\n                for svc in host.get(\"data\", [])\n            ],\n        }\n    except shodan.APIError as e:\n        print(f\"[-] Shodan error: {e}\")\n        return None\n\ndef search_c2_framework(framework_name):\n    \"\"\"Search Shodan for known C2 framework signatures.\"\"\"\n    c2_queries = {\n        \"cobalt-strike\": 'product:\"Cobalt Strike Beacon\"',\n        \"metasploit\": 'product:\"Metasploit\"',\n        \"covenant\": 'http.html:\"Covenant\" http.title:\"Covenant\"',\n        \"sliver\": 'ssl.cert.subject.cn:\"multiplayer\" ssl.cert.issuer.cn:\"operators\"',\n        \"havoc\": 'http.html_hash:-1472705893',\n    }\n\n    query = c2_queries.get(framework_name.lower(), framework_name)\n    results = api.search(query, limit=100)\n\n    hosts = []\n    for match in results.get(\"matches\", []):\n        hosts.append({\n            \"ip\": match[\"ip_str\"],\n            \"port\": match[\"port\"],\n            \"org\": match.get(\"org\", \"\"),\n            \"country\": match.get(\"location\", {}).get(\"country_name\", \"\"),\n            \"asn\": match.get(\"asn\", \"\"),\n            \"timestamp\": match.get(\"timestamp\", \"\"),\n        })\n\n    return hosts\n```\n\n### Step 2: Passive DNS Pivoting\n\n```python\nimport requests\n\ndef passive_dns_lookup(indicator, api_key, indicator_type=\"ip\"):\n    \"\"\"Query SecurityTrails for passive DNS records.\"\"\"\n    base_url = \"https:\u002F\u002Fapi.securitytrails.com\u002Fv1\"\n    headers = {\"APIKEY\": api_key, \"Accept\": \"application\u002Fjson\"}\n\n    if indicator_type == \"ip\":\n        url = f\"{base_url}\u002Fsearch\u002Flist\"\n        payload = {\n            \"filter\": {\"ipv4\": indicator}\n        }\n        resp = requests.post(url, json=payload, headers=headers, timeout=30)\n    else:\n        url = f\"{base_url}\u002Fdomain\u002F{indicator}\u002Fsubdomains\"\n        resp = requests.get(url, headers=headers, timeout=30)\n\n    if resp.status_code == 200:\n        return resp.json()\n    return None\n\n\ndef query_passive_total(indicator, user, api_key):\n    \"\"\"Query PassiveTotal for passive DNS and WHOIS data.\"\"\"\n    base_url = \"https:\u002F\u002Fapi.passivetotal.org\u002Fv2\"\n    auth = (user, api_key)\n\n    # Passive DNS\n    pdns_resp = requests.get(\n        f\"{base_url}\u002Fdns\u002Fpassive\",\n        params={\"query\": indicator},\n        auth=auth,\n        timeout=30,\n    )\n\n    # WHOIS\n    whois_resp = requests.get(\n        f\"{base_url}\u002Fwhois\",\n        params={\"query\": indicator},\n        auth=auth,\n        timeout=30,\n    )\n\n    results = {}\n    if pdns_resp.status_code == 200:\n        results[\"passive_dns\"] = pdns_resp.json().get(\"results\", [])\n    if whois_resp.status_code == 200:\n        results[\"whois\"] = whois_resp.json()\n\n    return results\n```\n\n### Step 3: Certificate Transparency Monitoring\n\n```python\nimport requests\n\ndef search_ct_logs(domain):\n    \"\"\"Search Certificate Transparency logs via crt.sh.\"\"\"\n    resp = requests.get(\n        f\"https:\u002F\u002Fcrt.sh\u002F?q=%.{domain}&output=json\",\n        timeout=30,\n    )\n\n    if resp.status_code == 200:\n        certs = resp.json()\n        unique_domains = set()\n        cert_info = []\n\n        for cert in certs:\n            name_value = cert.get(\"name_value\", \"\")\n            for name in name_value.split(\"\\n\"):\n                unique_domains.add(name.strip())\n\n            cert_info.append({\n                \"id\": cert.get(\"id\"),\n                \"issuer\": cert.get(\"issuer_name\", \"\"),\n                \"common_name\": cert.get(\"common_name\", \"\"),\n                \"name_value\": name_value,\n                \"not_before\": cert.get(\"not_before\", \"\"),\n                \"not_after\": cert.get(\"not_after\", \"\"),\n                \"serial_number\": cert.get(\"serial_number\", \"\"),\n            })\n\n        return {\n            \"domain\": domain,\n            \"total_certificates\": len(certs),\n            \"unique_domains\": sorted(unique_domains),\n            \"certificates\": cert_info[:50],\n        }\n    return None\n\n\ndef monitor_new_certs(domains, interval_hours=1):\n    \"\"\"Monitor for newly issued certificates for a list of domains.\"\"\"\n    from datetime import datetime, timedelta\n\n    cutoff = (datetime.utcnow() - timedelta(hours=interval_hours)).isoformat()\n    new_certs = []\n\n    for domain in domains:\n        result = search_ct_logs(domain)\n        if result:\n            for cert in result.get(\"certificates\", []):\n                if cert.get(\"not_before\", \"\") > cutoff:\n                    new_certs.append({\n                        \"domain\": domain,\n                        \"cert\": cert,\n                    })\n\n    return new_certs\n```\n\n### Step 4: Infrastructure Correlation and Timeline\n\n```python\nfrom datetime import datetime\n\ndef build_infrastructure_timeline(indicators):\n    \"\"\"Build a timeline of infrastructure changes.\"\"\"\n    timeline = []\n\n    for ind in indicators:\n        if \"passive_dns\" in ind:\n            for record in ind[\"passive_dns\"]:\n                timeline.append({\n                    \"timestamp\": record.get(\"firstSeen\", \"\"),\n                    \"event\": \"dns_resolution\",\n                    \"source\": record.get(\"resolve\", \"\"),\n                    \"target\": record.get(\"value\", \"\"),\n                    \"record_type\": record.get(\"recordType\", \"\"),\n                })\n\n        if \"certificates\" in ind:\n            for cert in ind[\"certificates\"]:\n                timeline.append({\n                    \"timestamp\": cert.get(\"not_before\", \"\"),\n                    \"event\": \"certificate_issued\",\n                    \"domain\": cert.get(\"common_name\", \"\"),\n                    \"issuer\": cert.get(\"issuer\", \"\"),\n                })\n\n    timeline.sort(key=lambda x: x.get(\"timestamp\", \"\"))\n    return timeline\n```\n\n## Validation Criteria\n\n- Shodan\u002FCensys queries return infrastructure details for target IPs\n- Passive DNS reveals historical domain-IP mappings\n- Certificate transparency search finds associated domains\n- Infrastructure pivoting discovers new related indicators\n- Timeline shows infrastructure evolution over time\n- Results are exportable as STIX 2.1 Infrastructure objects\n\n## References\n\n- [Shodan API Documentation](https:\u002F\u002Fdeveloper.shodan.io\u002Fapi)\n- [Censys Search API](https:\u002F\u002Fsearch.censys.io\u002Fapi)\n- [SecurityTrails API](https:\u002F\u002Fsecuritytrails.com\u002Fcorp\u002Fapi)\n- [crt.sh Certificate Transparency](https:\u002F\u002Fcrt.sh\u002F)\n- [PassiveTotal API](https:\u002F\u002Fapi.passivetotal.org\u002Fapi\u002Fdocs\u002F)\n- [JARM Fingerprinting](https:\u002F\u002Fgithub.com\u002Fsalesforce\u002Fjarm)\n",{"name":5,"tags":25,"author":35,"domain":36,"license":15,"version":37,"mitre_f3":38,"nist_csf":64,"subdomain":26,"description":7,"mitre_attack":69},[26,27,28,29,30,31,32,33,34],"threat-intelligence","cti","ioc","mitre-attack","stix","infrastructure-tracking","shodan","censys","passive-dns","mahipal","cybersecurity","1.0",{"tactics":39,"version":42,"techniques":43},[40,41],"reconnaissance","resource-development","1.1",[44,48,51,54,57,61],{"id":45,"name":46,"source":47,"tactic":40},"T1593","Search Open Websites\u002FDomains","attack",{"id":49,"name":50,"source":47,"tactic":41},"T1583.001","Acquire Infrastructure: Domains",{"id":52,"name":53,"source":47,"tactic":41},"T1583.008","Acquire Infrastructure: Malvertising",{"id":55,"name":56,"source":47,"tactic":41},"T1583.003","Acquire Infrastructure: Virtual Private Network or Server",{"id":58,"name":59,"source":60,"tactic":41},"F1020.002","Create Fake Materials: Fake Website","f3",{"id":62,"name":63,"source":47,"tactic":41},"T1608.006","Stage Capabilities: SEO Poisoning",[65,66,67,68],"ID.RA-01","ID.RA-05","DE.CM-01","DE.AE-02",[70,71,45,72,73],"T1591","T1592","T1589","T1566","main","7540bbccf0c1ded6156a467b02c95b61ad62413f",".agents\u002Fskills\u002Ftracking-threat-actor-infrastructure","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena","Currently exploring the intersection of tech","2026-09-11 03:02:31",{"source":8,"skillName":5,"commands":82,"prompt":92,"zipAvailable":93},[83,86,89],{"tool":84,"command":85},"npx","npx skills add NeelakshSaxena\u002FVayu --skill tracking-threat-actor-infrastructure",{"tool":87,"command":88},"bunx","bunx skills add NeelakshSaxena\u002FVayu --skill tracking-threat-actor-infrastructure",{"tool":90,"command":91},"pnpm","pnpm dlx skills add NeelakshSaxena\u002FVayu --skill tracking-threat-actor-infrastructure","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftracking-threat-actor-infrastructure\u002FSKILL.md",true,[95,101,105,111,115,119,125],{"path":96,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":99,"sourceHtmlUrl":100},"assets\u002Ftemplate.md","ASSET","资产文件",1357,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftracking-threat-actor-infrastructure\u002Fassets\u002Ftemplate.md",{"path":102,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":104,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":106,"resourceType":107,"resourceTypeDesc":108,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Fapi-reference.md","REFERENCE","参考文档",1892,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftracking-threat-actor-infrastructure\u002Freferences\u002Fapi-reference.md",{"path":112,"resourceType":107,"resourceTypeDesc":108,"sizeBytes":113,"sourceHtmlUrl":114},"references\u002Fstandards.md",1661,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftracking-threat-actor-infrastructure\u002Freferences\u002Fstandards.md",{"path":116,"resourceType":107,"resourceTypeDesc":108,"sizeBytes":117,"sourceHtmlUrl":118},"references\u002Fworkflows.md",2422,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftracking-threat-actor-infrastructure\u002Freferences\u002Fworkflows.md",{"path":120,"resourceType":121,"resourceTypeDesc":122,"sizeBytes":123,"sourceHtmlUrl":124},"scripts\u002Fagent.py","SCRIPT","脚本",7800,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftracking-threat-actor-infrastructure\u002Fscripts\u002Fagent.py",{"path":126,"resourceType":121,"resourceTypeDesc":122,"sizeBytes":127,"sourceHtmlUrl":128},"scripts\u002Fprocess.py",11104,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftracking-threat-actor-infrastructure\u002Fscripts\u002Fprocess.py",[130,137,144,151,158,165],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":20},"01M7ACCCVNCFKMA9X6D15X6G98","runpodctl","Runpod CLI for managing GPU\u002FCPU workloads from the terminal — pods, serverless endpoints, templates, network volumes, Hub deploys, models, SSH, and file transfer (send\u002Freceive). Use for terminal\u002FCI\u002Fscripting, Hub browse\u002Fdeploy, SSH setup, `doctor`, or when the Runpod MCP tools are not connected. For structured tool calls in an MCP-enabled session, prefer runpod-mcp.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002FSKILL.md",[],[],{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":20},"01M7ACC63SRHEA5KMCHSMZK2TC","runpod","Start here for any Runpod task — running GPU\u002FCPU pods, deploying serverless endpoints, templates, network volumes, building images, or understanding how Runpod works. Routes to the right skill (runpod-mcp, runpodctl, flash, companion-clis, runpod-usage, runpod-templates, runpod-migrate) and indexes two dozen live-verified end-to-end examples (golden paths) — use it when the lane is unclear, and for any multi-step or provisioning task even when it is not.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod\u002FSKILL.md",[],[],{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":20},"01M7ACC0Q1C89N9BZBV91CTQTF","runpod-usage","How Runpod works and how to work it — pods vs serverless, GPU\u002FVRAM selection, storage, building a container, networking, plus the agentic pod development loop (provision → ssh-exec → set up → poll readiness) and on-pod install hygiene (uv\u002Fapt). Use to answer \"how does X work\", \"which GPU\", \"how do I build a container\", or \"how do I stand up a workload on a pod\". Guidance, not a tool — execute with runpodctl, runpod-mcp, or flash.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-usage\u002FSKILL.md",[],[],{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":20},"01M7ACBRPE345GF5GM5B8P8RRC","runpod-templates","Runpod's official prebuilt pod templates (ComfyUI, PyTorch, and others): what each image ships, which ports and paths it uses, how to pick one, how to pin a version, and what is missing on first boot. Use when a task says \"run \u003CX> on a pod\" and an official template already covers it, instead of building an image — and when a user needs help with or wants to fix something about a Runpod template they are already running (won't boot, can't reach the UI, missing models, wrong CUDA line, broken ComfyUI workflow metadata on imported workflows): start here and route onward. Deploy with runpodctl or runpod-mcp; end-to-end walkthroughs live in the runpod router's golden paths.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-templates\u002FSKILL.md",[],[],{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":20},"01M7ACBJATHKVX1TWES2F44GY8","runpod-migrate","Migrate a codebase from the Runpod GraphQL API or REST v1 to REST v2 — inventory which parts use which API version, rewrite the call sites, flag breaking changes, and verify. Use when someone asks to move to v2, asks what v2 would change, or asks which Runpod API their code is on. For managing infrastructure rather than migrating code, use runpod-mcp or runpodctl.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-migrate\u002FSKILL.md",[],[],{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":20},"01M7ACBC7GHVH6T9YEAPCG2AP8","runpod-mcp","Manage Runpod infrastructure — pods, serverless endpoints, jobs, templates, network volumes, container-registry auth, GPU\u002FCPU catalog, and billing — via the Runpod MCP server's structured tool calls. Use when the Runpod MCP tools (create-pod, list-endpoints, …) are connected in this session, or to connect them (hosted OAuth or local npx). Prefer this over runpodctl for plain infra CRUD when MCP is available; use runpodctl for the terminal, file transfer, or SSH setup.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-mcp\u002FSKILL.md",[],[]]