What is adversary infrastructure hunting?#
Adversary infrastructure hunting is the proactive practice of finding attacker-controlled domains, servers, and staging networks before or during a campaign. Rather than waiting for an endpoint alert or a reported phishing email, threat hunters inspect public internet signals to map how an actor registers domains, provisions TLS certificates, configures DNS, and deploys web kits.
Attackers rarely build one isolated server per campaign. They reuse hosting accounts, name server pairs, TLS certificate templates, web server stacks, and phishing kit code across dozens of domains. Finding one confirmed indicator lets an analyst pivot across shared infrastructure traits to uncover the rest of the cluster before victims ever see it.
High-signal infrastructure pivots#
Effective threat hunting relies on combining multiple weak signals into high-confidence clusters. A single shared cloud IP means little on a multi-tenant CDN, whereas a shared non-standard JARM fingerprint paired with a matching HTTP title and newly issued TLS certificate strongly links two phishing hosts.
| Pivot signal | What it reveals | Best use in threat hunting | Key limitation |
|---|---|---|---|
| CT precertificate | Domain and subdomain names seconds before a TLS certificate goes live | Catching brand-targeting phishing domains and staging subdomains early | Shared CDN SAN certificates mix unrelated customers |
| DNS and passive DNS | Current and historical A, AAAA, CNAME, NS, and MX relationships | Tracing domain migrations, shared name servers, and active mail setup | Fast-flux DNS and proxy edges obscure true origin IPs |
| JARM TLS fingerprint | Active TLS server handshake signature across 10 crafted probes | Grouping custom C2 servers, reverse proxies, and phishing frameworks | Default nginx or Cloudflare stacks match millions of benign hosts |
| HTTP banner analysis and page artifacts | Server headers, HTML titles, favicon hashes, and redirect chains | Identifying cloned login kits and identical phishing templates | Attackers can alter headers or serve decoys to scanner IPs |
| RDAP and ASN reputation | Registrar patterns, domain age, and hosting network concentration | Spotlighting bulk registrations and abuse-tolerant bulletproof networks | Privacy redaction hides most registrant contact details |
Hunting with certificate transparency precertificates#
Certificate Authorities submit a precertificate to public certificate transparency logs before issuing the final signed leaf certificate. Because modern browsers require HTTPS for credential forms to appear trustworthy, phishing operators almost always request free automated certificates right before sending lures.
Searching certificate transparency logs lets defenders spot brand keywords inside newly issued hostnames, including deep subdomains such as sso-login.brand-security-check.example that never appear in TLD zone files. Tracking precertificates turns TLS certificates from a passive encryption layer into a real-time early warning stream.
Domain protection
Detect adversary infrastructure while it is being staged.
Have I Been Squatted helps security teams detect lookalike domains, certificate and DNS changes, and staging infrastructure, investigate the evidence, and coordinate takedowns.
Using JARM and HTTP artifacts to cluster servers#
JARM is an active TLS fingerprinting technique developed by Salesforce that sends ten specifically crafted TLS ClientHello packets to a target server and hashes the server's responses into a 62-character signature. Two servers running the same custom adversary-in-the-middle proxy, C2 listener, or containerized phishing stack often produce the exact same JARM hash even when hosted on different IP addresses and registrars.
Pairing JARM with HTTP response headers, favicon hashes, and malicious redirect chains sharpens cluster accuracy. Hunters start from a known malicious host, filter out common cloud defaults, and query for other newly observed domains sharing the same fingerprint combination.
Internet-wide scan engines versus domain-focused hunting platforms#
Threat hunters use two complementary categories of tools when mapping adversary infrastructure.
- Internet-wide scan engines such as Censys and Shodan index open ports, service banners, certificates, and JARM hashes across the global IPv4 and IPv6 space. They excel at host-centric discovery, exposed service inventories, and C2 hunting across raw IP addresses.
- Domain and brand-focused threat intelligence platforms such as Have I Been Squatted Threat Intelligence center on lookalike discovery, live certificate transparency search (
certgrep), DNS and RDAP pivots, and visual cloning. They connect those detections straight into SOC response.
Teams deciding how to pair or choose between host-centric internet scanners and domain-centric detection and response can read the detailed breakdown in Have I Been Squatted vs Censys.
Operationalizing threat hunting into detection and response#
Threat hunting delivers limited value if findings stay trapped in an analyst's notebook. Mature teams close the loop in four steps.
- Seed hunts from real incidents. Start with domains flagged by Domain Monitoring, reported phishing emails, or site-cloning tripwires.
- Pivot to uncover dormant staging assets. Map shared name servers, origin IPs, certificate patterns, and HTML structures to surface sibling domains that have not yet launched lures.
- Convert hunt patterns into automated rules. Codify recurring hosting ASNs, registrar combinations, and keyword patterns into continuous detection rules so future campaigns trigger alerts automatically.
- Automate enrichment and containment. Connect threat hunting data to AI agents and MCP workflows for rapid triage and push confirmed clusters into DNS and web gateway blocklists alongside coordinated takedowns.
Frequently asked questions#
What is a precertificate in certificate transparency?#
A precertificate is a special X.509 structure containing a poison extension that a Certificate Authority submits to public certificate transparency logs before issuing the final TLS certificate. Monitoring precertificates allows defenders to detect newly provisioned phishing hostnames minutes before a site goes live.
What is a JARM fingerprint used for?#
A JARM fingerprint identifies the underlying TLS stack configuration of a remote server by hashing its replies to ten distinct TLS handshake probes. Threat hunters use JARM hashes alongside DNS and HTTP traits to cluster related C2 servers and phishing proxies across separate IP addresses.
Why are certificate transparency logs better than zone files for subdomain hunting?#
TLD zone files only list apex registered domains and omit subdomains completely. Because attackers frequently host phishing pages on brand-themed subdomains of compromised or unrelated domains, certificate transparency logs reveal targets that zone-file feeds miss entirely.
How does adversary infrastructure hunting differ from reactive threat intelligence feeds?#
Reactive feeds list indicators after other victims have already been attacked and reported the site. Adversary infrastructure hunting proactively identifies newly staged domains and sibling servers from registration, certificate, and hosting patterns before mass lures go out.