Skip to content
Recipes
Skip navigation
Recipes
View as Markdown

External Recon

Passive recon: paginated subdomain discovery, IP footprint by prefix/ASN/city, owner attribution, CDN de-cloaking, CT and TLS pivots.

Published Last updated

On this page (29)

External Recon Documentation

You're scoping a target for a sanctioned engagement and you want a full external attack-surface picture before you touch a single packet. These recipes take you to it passively: they read WhisperGraph's pre-joined view of public DNS, BGP, WHOIS, Certificate Transparency and TLS-fingerprint data. No DNS queries hit the target's nameservers, no ports get scanned, nothing lands in their logs. Each recipe is a copy-paste Cypher block against https://graph.whisper.security/api/query.

New to the surface? Start with Getting Started and the Graph Schema. Every query here reads data already in the graph: you're querying Whisper's index, not the target's infrastructure. CHILD_OF (the DNS hierarchy index) is the workhorse; Certificate Transparency (SEEN_IN_CT) adds names that never appear in zone transfers or active brute-forcing, on the hosts that layer covers.

Run it live: Attack-Surface Mapper and Find the real infrastructure behind the CDN each open with a live result you can run on your own indicator. The full Attack Surface & Recon landing lists every runnable workflow for this job.

Key concepts: Attack surface · Subdomain enumeration · Origin-IP discovery · Certificate Transparency · TLS fingerprint · WHOIS.

Quick triage

Subdomain enumeration (DNS hierarchy)

A flat DNS tool gives you one record per lookup; recovering an org's full namespace means guessing names or scraping. The graph already holds the subdomain tree, so walk it, and page through it with SKIP/LIMIT rather than pulling the whole estate at once.

cypher · runnablegraph.whisper.securitySign in to run
// Direct children of the domain, alphabetical, one page at a time
MATCH (sub:HOSTNAME)-[:CHILD_OF]->(:HOSTNAME {name: "github.com"})
RETURN sub.name AS subdomain
ORDER BY sub.name SKIP 0 LIMIT 15

Returns: subdomain

json
[{"subdomain": "0.github.com"}, {"subdomain": "000.github.com"}, {"subdomain": "00010011.github.com"}]

CHILD_OF links one label at a time (a.b.example.com → b.example.com → example.com → com), so one hop gets the immediate children. For the whole subtree, walk it with a variable-length pattern; sign in to run it on a large estate:

cypher · runnablegraph.whisper.securitySign in to run
// All observed descendants, including deep ones, paged the same way
MATCH (sub:HOSTNAME)-[:CHILD_OF*1..]->(:HOSTNAME {name: "github.com"})
RETURN DISTINCT sub.name AS subdomain
ORDER BY sub.name SKIP 0 LIMIT 15

Costs: milliseconds for the one-hop page; the variable-length walk is slower on a deep estate; anchor on the parent and traverse inbound, subdomains sit on the left of the arrow.

Tip. Page with literal numbers, SKIP 0 LIMIT 15, then SKIP 15 LIMIT 15. Use the MATCH ()-[:CHILD_OF]->() join form shown here rather than a WHERE (sub)-[:CHILD_OF]->(...) predicate. Names the graph only ever saw as a link target or a WHOIS contact may carry no CHILD_OF edge at all, so treat any enumeration as a floor.

From here, → Count before you enumerate.

Count before you enumerate

Before you start paging, size the target's namespace. Tens of thousands of children usually means a CDN, SaaS tenant root or hosting provider, and changes how you scope everything below.

cypher · runnablegraph.whisper.securitySign in to run
// How many direct children are indexed for this target?
MATCH (sub:HOSTNAME)-[:CHILD_OF]->(:HOSTNAME {name: "github.com"})
RETURN count(sub) AS subdomain_count

Returns: subdomain_count

json
[{"subdomain_count": 36146}]

Costs: milliseconds; one anchored hop aggregated; plain count() is the right tool for the order of magnitude.

Tip. Treat the count as a floor, not a census; passive data reflects what's been observed. Swap in [:CHILD_OF*1..] with count(DISTINCT sub) for the whole subtree: the gap between the two numbers is the depth of the namespace.

From here, → Prefix-targeted discovery (interesting hosts).

Prefix-targeted discovery (interesting hosts)

Pentesters care about the juicy prefixes: vpn., dev., staging., git., jenkins.. Anchor on the target's children through CHILD_OF, then filter the bounded set with STARTS WITH, which keeps the read indexed.

cypher · runnablegraph.whisper.securitySign in to run
// VPN-flavored hosts under a specific org
MATCH (sub:HOSTNAME)-[:CHILD_OF]->(:HOSTNAME {name: "github.com"})
WHERE sub.name STARTS WITH "vpn"
RETURN sub.name AS subdomain
LIMIT 25

Returns: subdomain

json
[{"subdomain": "vpn.github.com"}, {"subdomain": "vpn-covid19.github.com"}, {"subdomain": "vpn-test.github.com"}]

Costs: milliseconds; one anchored hop with a string filter on the child set; the filter runs over the target's children only, never over the whole label.

Tip. Anchor first, filter second. A bare MATCH (h:HOSTNAME) WHERE h.name ENDS WITH ".example.com" has no anchor and scans the entire label, so write the parent into the CHILD_OF pattern and put the interesting-prefix test in the WHERE. Chain several with OR (STARTS WITH "dev" OR STARTS WITH "staging") for one pass over the candidate list.

From here, → Subdomain discovery from Certificate Transparency.

Subdomain discovery from Certificate Transparency

CHILD_OF covers names the graph has resolved. Certificate Transparency catches the rest: internal-sounding hosts an org put on a public cert (SANs, wildcard siblings, short-lived staging certs) that never show up in passive DNS. Certificate observations are a rolling window of recent issuance, so write the recipe to find its own anchor first, then point it at your target.

cypher · runnablegraph.whisper.securitySign in to run
// Certificate-Transparency observations, anchored so the recipe cannot rot
MATCH (h:HOSTNAME)-[:SEEN_IN_CT]->(ct:CT_OBSERVATION)
WITH h LIMIT 5
MATCH (h)-[:SEEN_IN_CT]->(o:CT_OBSERVATION)
RETURN h.name AS host, o.fqdn AS observed_name,
       o.certCount AS certs, o.wildcard AS wildcard
LIMIT 20

Returns: host, observed_name, certs, wildcard

json
[
  {"host": "cyberbrand.org", "observed_name": "*.cyberbrand.org", "certs": 1, "wildcard": true},
  {"host": "cyberbrand.org", "observed_name": "cyberbrand.org", "certs": 1, "wildcard": false}
]

To run it against your own target, swap the discovery step for an anchor and keep the rest:

cypher
// The same read, anchored on a domain you care about
MATCH (h:HOSTNAME {name: "login.live-int.com"})-[:SEEN_IN_CT]->(ct:CT_OBSERVATION)
RETURN ct.fqdn AS observed_name, ct.certCount AS certs,
       ct.wildcard AS wildcard, ct.firstSeen AS first_seen, ct.lastSeen AS last_seen
ORDER BY ct.lastSeen DESC
LIMIT 20

Costs: milliseconds; one anchored hop into a coverage-scoped layer; a specific host ages out of the window, so re-anchor from the discovery form when a seed goes quiet.

Empty result: Certificate Transparency coverage is partial and recent. A zero-row result here means Whisper holds no recent certificate observation for that host. It never means the host has a clean certificate history; well-known apexes routinely carry none because nothing about them was issued inside the window. If certificate history is load-bearing for your decision, query a CT log directly (crt.sh or the Google CT API) and come back with the hostnames you find. Zero rows is never a verdict.

Tip. A *. in observed_name with wildcard: true means the operator issued a wildcard cert, so every subdomain under it is plausible, even ones passive DNS never saw. firstSeen/lastSeen are epoch milliseconds, which makes a freshly issued certificate on a brand-new lookalike a strong early signal. A host's certificate data lives on :CT_OBSERVATION, reached through SEEN_IN_CT. There is no label for leaf certificates: :CERTIFICATE holds issuing CA keys (name is the SPKI SHA-256; read subjectDn and role), reached as CT_OBSERVATION -[:HAS_CERTIFICATE]-> CERTIFICATE and chained by CHAINS_TO, as the CA-trust recipe below shows.

From here, → Map the org's IP footprint.

Mapping the IP footprint

Map the org's IP footprint

You want the set of IPs an org actually answers from, pulled from its subdomains rather than probed live. Bound the subdomain set before resolving, then collect and count.

cypher · runnablegraph.whisper.securitySign in to run
// Subdomains -> the IPs they resolve to
MATCH (sub:HOSTNAME)-[:CHILD_OF]->(:HOSTNAME {name: "cloudflare.com"})
WITH sub LIMIT 200
MATCH (sub)-[:RESOLVES_TO]->(ip:IPV4)
RETURN collect(DISTINCT ip.name)[0..15] AS ips, count(DISTINCT ip) AS distinct_ips
LIMIT 1

Returns: ips, distinct_ips

json
[{"ips": ["104.16.47.63", "104.16.48.63", "104.17.72.14", "104.17.73.14", "104.16.132.229"], "distinct_ips": 29}]

Costs: milliseconds; two single hops with a WITH sub LIMIT 200 between them; raise the bound if results come back sparse.

Tip. RESOLVES_TO is hostname → IP. Not every subdomain has a resolution record in passive data, so a count of zero means "none observed", not "none exist". For the real origins behind a CDN, use whisper.origins below.

From here, → Enrich each subdomain with IP, city, prefix and ASN.

Enrich each subdomain with IP, city, prefix and ASN

You have a target's subdomains and want the full picture for each: the IP it answers from, where that IP sits, the block it belongs to, and which network announces the block. One traversal carries you from the name down to the ASN. Sign in to run it.

cypher · runnablegraph.whisper.securitySign in to run
// Subdomain -> IP -> routed prefix + ASN + city, in one pass
MATCH (sub:HOSTNAME)-[:CHILD_OF]->(:HOSTNAME {name: "cloudflare.com"})
WITH sub LIMIT 300
MATCH (sub)-[:RESOLVES_TO]->(ip:IPV4)
OPTIONAL MATCH (ip)-[:BELONGS_TO]->(p:PREFIX)<-[:ROUTES]-(a:ASN)
OPTIONAL MATCH (ip)-[:LOCATED_IN]->(c:CITY)
RETURN sub.name AS subdomain, ip.name AS ip, p.name AS prefix, a.name AS asn, c.name AS city
LIMIT 10

Returns: subdomain, ip, prefix, asn, city

json
[
  {"subdomain": "access.cloudflare.com", "ip": "104.16.47.63", "prefix": "104.16.32.0/20", "asn": "AS13335", "city": "Toronto, CA"},
  {"subdomain": "ajax.cloudflare.com", "ip": "104.17.72.14", "prefix": "104.17.64.0/20", "asn": "AS13335", "city": "Toronto, CA"}
]

Costs: milliseconds; a bounded subdomain set, then up to four hops per address; keep the geo and network steps OPTIONAL, CDN and anycast addresses often have no city.

Tip. An IP usually belongs to more than one prefix, a wide covering block and a narrower announced block; joining through <-[:ROUTES]-(a:ASN) pins the result to the routed prefix and its origin ASN. Swap IPV4 for IPV6 to follow the v6 records, and add (ip)-[:HAS_COUNTRY]->(co:COUNTRY) if you only need the country. Anchor on a domain whose children actually resolve; the alphabetically first children of some estates are crawler-discovered names with no DNS record, so page past them or add WHERE (sub)-[:RESOLVES_TO]->().

From here, → Pivot an IP to its owning network.

Pivot an IP to its owning network

Once you have IPs, attribute each to the network that announces it: owner, ASN and country in one traversal instead of a whois plus a BGP lookup plus a GeoIP call. Sign in to run it.

cypher · runnablegraph.whisper.securitySign in to run
// IP → announced prefix → ASN → network name → country
MATCH (ip:IPV4 {name: "140.82.112.3"})-[:ANNOUNCED_BY]->(ap:ANNOUNCED_PREFIX)
      -[:ROUTES]->(a:ASN)-[:HAS_NAME]->(n:ASN_NAME)
MATCH (ip)-[:HAS_COUNTRY]->(c:COUNTRY)
RETURN ap.name AS prefix, a.name AS asn, n.name AS network, c.name AS country
LIMIT 5

Returns: prefix, asn, network, country

json
[{"prefix": "140.82.112.0/24", "asn": "AS36459", "network": "GITHUB - GitHub, Inc.", "country": "US"}]

Costs: milliseconds; three single hops from an indexed address plus one country hop; an address with no live announcement returns no row.

From here, → All prefixes announced by the target's ASN.

All prefixes announced by the target's ASN

The routed footprint of the network you just attributed is the netblock list to add to scope, and it is one hop off the ASN.

cypher · runnablegraph.whisper.securitySign in to run
// Every IP prefix announced by an ASN, the full routed footprint
MATCH (a:ASN {name: "AS36459"})-[:ROUTES]->(p:ANNOUNCED_PREFIX)
RETURN a.name AS asn, p.name AS prefix
LIMIT 50

Returns: asn, prefix

json
[{"asn": "AS36459", "prefix": "140.82.112.0/24"}, {"asn": "AS36459", "prefix": "140.82.113.0/24"}]

Costs: milliseconds; one anchored hop; count first with RETURN count(p), large transit ASNs announce thousands of prefixes.

Tip. Anchor on the ASN by {name: "AS…"} and never CONTAINS on ASN.name; it scans the label and will not finish. The network's routing hygiene (RPKI state, MOAS conflicts, hijack posture) is one anchor away on BGP & RPKI.

From here, → Who operates this host, and how confident is the answer?.

Owner attribution

Who operates this host, and how confident is the answer?

You want to know who is behind a hostname, the operator rather than the brand on the page, and how much to trust the answer. whisper.identify attributes a host to a canonical vendor with a confidence score and the roles the evidence supports.

cypher · runnablegraph.whisper.securitySign in to run
// Operator identity with a confidence score
CALL whisper.identify(["github.com"])
YIELD host, vendor_id, canonical_name, confidence, roles, host_class
RETURN host, vendor_id, canonical_name, confidence, roles, host_class

Returns: host, vendor_id, canonical_name, confidence, roles, host_class

json
[{"host": "github.com", "vendor_id": "github", "canonical_name": "Github", "confidence": 0.85,
  "roles": ["DNS_OPERATOR", "MAIL_RECEIVER", "ORIGIN_AS"], "host_class": "multi_tenant_user_content"}]

Costs: milliseconds; a procedure call over a list of hosts, no traversal; pass a list even for one host.

Tip. roles tells you which layers the attribution rests on (DNS operator, mail receiver, origin AS), and host_class warns you when the host is a multi-tenant platform, where co-tenancy proves nothing. When identity isn't direct, CALL whisper.walk("www.example.com", 2, 500) YIELD host, nearest_known_vendors, coverage returns the nearest known operators with a confidence and the channel each was inferred through; read the confidence, don't just take the first row. Full signatures on whisper.identify().

From here, → Who registered the apex, and what else did they register?.

Who registered the apex, and what else did they register?

Ownership data lives on the registrable apex, never on the subdomain, so resolve the apex first (CALL whisper.psl.tldPlusOne("api.status.github.com") YIELD apex returns github.com). Then read the WHOIS edges in one pass, and pivot on the contact email to size the rest of the estate.

cypher · runnablegraph.whisper.securitySign in to run
// Current registrant, registrar and contacts on the apex
MATCH (d:HOSTNAME {name: "github.com"})-[r]->(o)
WHERE type(r) IN ["REGISTERED_BY", "HAS_REGISTRAR", "HAS_EMAIL", "HAS_PHONE", "HAS_COUNTRY"]
RETURN type(r) AS edge, o.name AS value
LIMIT 10

Returns: edge, value

json
[
  {"edge": "HAS_PHONE", "value": "+14157354488"},
  {"edge": "HAS_EMAIL", "value": "hostmaster@github.com"},
  {"edge": "REGISTERED_BY", "value": "github hostmaster"},
  {"edge": "HAS_REGISTRAR", "value": "iana:292"}
]
cypher · runnablegraph.whisper.securitySign in to run
// Every domain registered with the same contact email
MATCH (e:EMAIL {name: "hostmaster@github.com"})<-[:HAS_EMAIL]-(d:HOSTNAME)
RETURN count(d) AS portfolio_size

json
[{"portfolio_size": 231}]

Costs: milliseconds; one anchored hop over the WHOIS edge types, then one inbound hop from the indexed email; anchor on the apex, a subdomain carries none of these edges. Contact data (HAS_EMAIL, HAS_PHONE and the EMAIL and PHONE nodes) answers 403 not-entitled when the key is not entitled to it: that is an access answer, not an empty result, so sign in or ask for access.

Tip. Registrant email is the cleanest pivot, since it's a single normalized value. ORGANIZATION is noisier: WHOIS strings come in unresolved, so "github," and "github hostmaster" are separate nodes for the same company. The REGISTRAR node's name is an IANA id like iana:292, not a display name. Privacy services redact a large share of current WHOIS, so treat a missing registrant as "withheld", not "none", and fall back to CALL whisper.history.whois("github.com"), which often shows an un-redacted registrant from an older snapshot. See whisper.history().

From here, → Mail servers for a domain.

Email surface: MX and SPF

Mail servers for a domain

Mail often lives on different infrastructure than the web tier: a separate IP range to add to scope, and a tell for the email vendor in use.

cypher · runnablegraph.whisper.securitySign in to run
// MX records. Note the direction: MAIL_FOR points server → domain
MATCH (d:HOSTNAME {name: "cloudflare.com"})<-[:MAIL_FOR]-(mx:HOSTNAME)
RETURN mx.name AS mail_server
LIMIT 20

Returns: mail_server

json
[{"mail_server": "mxa.global.inbound.cf-emailsecurity.net"}, {"mail_server": "mxa-canary.global.inbound.cf-emailsecurity.net"}]

Costs: milliseconds; one inbound hop from an indexed domain; swap MAIL_FOR for NAMESERVER_FOR to list the nameservers the same way.

From here, → SPF authorization tree → trusted senders and IP ranges.

SPF authorization tree → trusted senders and IP ranges

An SPF record names every IP range and third-party service the org trusts to send as them: a free list of vendor relationships and additional netblocks. There are six SPF mechanisms in the graph: SPF_INCLUDE, SPF_IP, SPF_A, SPF_MX, SPF_EXISTS and SPF_REDIRECT.

cypher · runnablegraph.whisper.securitySign in to run
// SPF mechanisms declared by a target domain
MATCH (h:HOSTNAME {name: "microsoft.com"})-[r:SPF_INCLUDE|SPF_IP|SPF_A|SPF_MX|SPF_EXISTS|SPF_REDIRECT]->(t)
RETURN type(r) AS mechanism, t.name AS target
LIMIT 25

Returns: mechanism, target

json
[{"mechanism": "SPF_INCLUDE", "target": "_spf-a.microsoft.com"}, {"mechanism": "SPF_INCLUDE", "target": "_spf-b.microsoft.com"}]

To follow one level of includes and pull their authorized IP ranges, join two explicit hops. Re-anchor a second query on each include if you need to go deeper.

cypher · runnablegraph.whisper.securitySign in to run
// One level of nested includes + their authorized IP ranges
MATCH (h:HOSTNAME {name: "google.com"})-[:SPF_INCLUDE]->(spf:HOSTNAME)
OPTIONAL MATCH (spf)-[:SPF_IP]->(range)
RETURN spf.name AS spf_record, collect(DISTINCT range.name) AS authorized_ranges
LIMIT 10

Costs: milliseconds; one anchored hop over six edge types, then an optional hop per include.

Tip. The full SPF workup, including the tree laid out by depth, is on Posture Audits.

From here, → CNAME target.

Following the chain: CNAMEs and DNS hierarchy

CNAME target

Deep CNAME chains expose CDN, SaaS and cloud-provider relationships that the surface domain hides. ALIAS_OF is the CNAME edge, hostname to canonical host.

cypher · runnablegraph.whisper.securitySign in to run
// Follow ALIAS_OF (CNAME) to the immediate canonical host
MATCH (h:HOSTNAME {name: "www.github.com"})-[:ALIAS_OF]->(target:HOSTNAME)
RETURN h.name AS host, target.name AS canonical
LIMIT 10

Returns: host, canonical

json
[{"host": "www.github.com", "canonical": "github.com"}]

Costs: milliseconds; one anchored hop; if the target is itself an alias, re-anchor on it and follow the next hop the same way.

From here, → Parent in the namespace.

Parent in the namespace

Confirm which zone a deep hostname actually sits in before you scope it: CHILD_OF is child → parent.

cypher · runnablegraph.whisper.securitySign in to run
// subdomain → immediate parent (CHILD_OF is child → parent)
MATCH (h:HOSTNAME {name: "mail.google.com"})-[:CHILD_OF]->(parent:HOSTNAME)
RETURN h.name AS host, parent.name AS parent
LIMIT 10

Returns: host, parent

Costs: milliseconds; one anchored hop; add [:CHILD_OF*1..3] and nodes(path) to climb to the TLD in one call.

From here, → De-cloaking: find the real origin behind a CDN.

De-cloaking: find the real origin behind a CDN

The classic CDN problem: every subdomain resolves to Cloudflare/Akamai/Fastly anycast IPs, so you never see the origin host. whisper.origins derives candidate origins from MX, SPF, sibling-host and crawl signals, with no active scanning of the origin needed.

cypher
// Origin IPs behind the CDN, highest-confidence first
CALL whisper.origins("paypal.com")
YIELD ip, confidence, methods
WHERE confidence >= 0.4
RETURN ip, confidence, methods
ORDER BY confidence DESC
LIMIT 10

Returns: ip, confidence, methods

json
[
  {"ip": "13.226.244.115", "confidence": 0.502, "methods": ["sibling", "links_to"]},
  {"ip": "173.0.84.208", "confidence": 0.502, "methods": ["sibling", "links_to"]}
]

Costs: under a second to a few seconds; a procedure running several discovery arms, so slower than the anchored traversals on this page.

methods tells you how each origin was found: mx, spf, a sibling host (sibling), or a leaked web link (links_to). The strongest signal is corroboration, an IP found by more than one method. A single mail-only finding is the weakest, because third-party mail providers serve mail for thousands of unrelated domains. confidence runs from 0.0 to 1.0: sibling-derived and multi-method candidates land above 0.4, a lone mx or lone links_to finding below it, so the filter keeps the corroborated web-origin candidates and skips the lone-mail noise. Run it once without the filter to see where your target's distribution sits before you pick a threshold.

Cross-check candidates against the netblock's operating vendor. A candidate sitting in the org's own space, not the CDN's, is a strong origin signal:

cypher · runnablegraph.whisper.securitySign in to run
// Which vendor actually operates the address space an IP sits in?
MATCH (ip:IPV4 {name: "104.16.132.229"})-[:DELEGATED_TO]->(v:VENDOR)
RETURN ip.name AS ip, v.name AS vendor
LIMIT 5

json
[{"ip": "104.16.132.229", "vendor": "cloudflare"}]

DELEGATED_TO is the operating vendor, distinct from the WHOIS owner. It's useful for telling "fronted by Cloudflare" apart from "hosted on the org's own AWS region". See the full signature set in Procedures.

From here, → Which certificate authorities issue for the organisation?.

Certificate authority trust and takeover exposure

Which certificate authorities issue for the organisation?

Scoping an engagement or checking a supplier, you want to know which certificate authorities issue for the organisation. A short, consistent list says one team runs certificates centrally. A long tail of issuers says departments and contractors buy their own, and that is where forgotten hosts live.

cypher · runnablegraph.whisper.securitySign in to run
// Issuers of the certificates logged under one domain, with how many names each covers
MATCH (:HOSTNAME {name: "mit.edu"})-[:SEEN_IN_CT]->(o:CT_OBSERVATION)
UNWIND o.issuerDn AS issuer
WITH issuer, o WHERE issuer IS NOT NULL
RETURN issuer, count(DISTINCT o.fqdn) AS names, collect(DISTINCT o.fqdn)[0..3] AS sample
ORDER BY names DESC, issuer
LIMIT 10

Returns: issuer, names, sample

Sample output (captured 2026-11-25, the first four of 10 rows):

json
[
  {"issuer": "CN=YE2,O=Let's Encrypt,C=US", "names": 36, "sample": ["meche-grad-funding.mit.edu", "inforadar.lcs.mit.edu", "forbidden.media.mit.edu"]},
  {"issuer": "CN=YE1,O=Let's Encrypt,C=US", "names": 19, "sample": ["cryodrgn.csail.mit.edu", "clss.mit.edu", "meche-reservations.mit.edu"]},
  {"issuer": "CN=SSL.com TLS Issuing RSA CA R1,O=SSL Corporation,C=US", "names": 10, "sample": ["oc11-7-tsm-unity-1.mit.edu", "reports11.mit.edu", "shopmittest.mit.edu"]},
  {"issuer": "CN=YR1,O=Let's Encrypt,C=US", "names": 10, "sample": ["rb-safe-visual-mapf-mers.csail.mit.edu", "computerprogress.csail.mit.edu", "imap.csail.mit.edu"]}
]

The issuer is the intermediate that signed the certificate, so one CA appears under several names (Let's Encrypt's YE1, YE2 and YR1 here). Group on the O= part when you want one row per company.

Costs: milliseconds to a second; one anchored hop into the certificate-transparency window, then a group by issuer. A large organisation logs many names, so keep the LIMIT.

Empty result: the window holds recent, unexpired certificates, not every certificate the domain ever had. Zero rows means nothing under the name was logged inside the window, and a CA the organisation stopped using a year ago will not show.

Tip. A name in sample is a lead, not a live host: confirm it resolves with Enrich each subdomain with IP, city, prefix and ASN before it goes in a report. To ask the reverse question, which hosts chain to one CA, use the next recipe.

From here, → Which hosts chain to a distrusted CA?.

Which hosts chain to a distrusted CA?

When a browser distrusts a certificate authority, you need to know which hosts break. A leaf certificate rarely names the root, so look the CA up by its key, the SHA-256 that CERTIFICATE nodes carry as name. The query picks the key from the registry: certificates age out of the window, and a pasted hash would stop matching.

cypher · runnablegraph.whisper.securitySign in to run
// Hosts whose logged chain names a CA key, with the key picked from the window
// To ask about one key, replace the first two lines with MATCH (c:CERTIFICATE {name: $spki})
MATCH (c:CERTIFICATE) WHERE c.observationCount > 0
WITH c ORDER BY CASE WHEN c.subjectDn CONTAINS "emSign" THEN 0 ELSE 1 END, c.observationCount ASC LIMIT 1
MATCH (c)<-[:HAS_CERTIFICATE]-(:CT_OBSERVATION)<-[:SEEN_IN_CT]-(h:HOSTNAME)
RETURN DISTINCT c.subjectDn AS ca, c.name AS spki, h.name AS host
LIMIT 20

Returns: ca, spki, host

Sample output (captured 2026-11-25, first row; the key that answers depends on the window):

json
[{"ca": "CN=emSign ECC Root CA - G3,O=eMudhra Technologies Limited,OU=emSign PKI,C=IN", "spki": "8d417db2dd8bf5e3084d1e3f196d583849d81bdd4c00c70b9d39369e96b8c782", "host": "rit.edu"}]

Costs: milliseconds to a second; one pick over the CA registry, then two inbound hops. A CA is a hub, so keep the LIMIT.

Empty result: these answers cover the certificates in the window the graph holds, not every certificate ever issued under the key, and the window can be short. Zero rows means nothing inside the window chains to that key, not that nothing ever did. The procedure whisper.ct.hostsUnder(<spki>) returns the same hosts with the position in the chain where the key matched (matchedAt), the expiry and the window start; UNWIND whisper.ct.hostsUnder(<spki>) AS d then anchors each name so you can read who hosts them. Zero rows is never a verdict.

From here, → Which subdomains are open to takeover?.

Which subdomains are open to takeover?

A subdomain can still carry a CNAME to a cloud resource its owner deleted. Whoever claims that resource name next serves content on the subdomain, with the parent company's reputation. You want to find these before someone else does.

cypher · runnablegraph.whisper.securitySign in to run
// Hosts currently flagged as subdomain-takeover candidates, with the CNAME that dangles
MATCH (h:HOSTNAME)-[:HAS_SIGNAL]->(:THREAT_SIGNAL_TYPE {name: "subdomain-takeover"})
WITH h LIMIT 10
OPTIONAL MATCH (h)-[:ALIAS_OF]->(t:HOSTNAME)
RETURN h.name AS host, collect(t.name)[0..3] AS cname_targets
LIMIT 10

Returns: host, cname_targets

Sample output (hostnames masked here; the live query returns real names):

json
[
  {"host": "cas.<masked>.com", "cname_targets": ["adserver-<masked>.us-east-1.elb.amazonaws.com"]},
  {"host": "topapps-func.<masked>.com", "cname_targets": ["<masked>-aks-tm.trafficmanager.net"]}
]

Costs: milliseconds; one signal hop bounded at ten hosts, then one optional hop each.

Empty result: to check your own hosts, pass them to whisper.danglingCname. Zero rows means no record names the host, not that it is clean; an advisory on the response says when the host was not assessed. How exploitable a candidate is depends on the provider: names under app-service and traffic-manager domains can usually be claimed by anyone who registers the same name, while load-balancer names with a random numeric suffix are much harder to reclaim. Treat the list as candidates to verify and report what you find to the owner rather than testing a claim yourself. Zero rows is never a verdict.

From here, → Lookalike domains for phishing-readiness.

Lookalike domains for phishing-readiness

For a social-engineering or phishing simulation, you want registered lookalikes of the target: domains an attacker (or you, for the assessment) could weaponize. Generate the registered set with the typosquat recipe — filter whisper.variants on registered, which means a name someone stood up, not a malicious one (inGraph alone includes names that lapsed long ago, and the older exists column is deprecated). Pivot any hit through explain() for a threat verdict and to decide whether it's already in use:

cypher · runnablegraph.whisper.securitySign in to run
// Threat verdict + evidence for a lookalike you found
CALL explain("paypa1.com")
YIELD feedAggregateScore, level, factors, sources
RETURN feedAggregateScore, level, factors, sources

Costs: one procedure call, no traversal; the generator supplies the candidate, explain() the verdict.

Read coverage before band. Only known-clean — coverage: known-clean. In coverage, no malicious evidence. licenses the word "clean"; unassessed — coverage: unassessed. In the graph, but no source has assessed it. Unknown, not clean. and no-data — coverage: no-data. Not in coverage. This is not a verdict — nothing was looked at. mean unknown, which is a different thing again; malicious-evidenced — coverage: malicious-evidenced. In coverage, with positive evidence of malice. and ambiguous — coverage: ambiguous. In coverage, and the evidence points both ways. mean there is evidence, whatever the band says. Full contract: Coverage — what we looked at.

Registered lookalike hunting is covered in full under Brand Protection.

From here, → One-shot external profile.

One-shot external profile

Pull the headline attack-surface facts for a target in a single anchored traversal, namespace size and mail tier, the kind of pivot that's several separate flat-tool calls.

cypher · runnablegraph.whisper.securitySign in to run
// Subdomain count + mail servers for a target, one round-trip
MATCH (target:HOSTNAME {name: "github.com"})
OPTIONAL MATCH (sub:HOSTNAME)-[:CHILD_OF]->(target)
WITH target, count(sub) AS subdomain_count
OPTIONAL MATCH (target)<-[:MAIL_FOR]-(mx:HOSTNAME)
RETURN target.name AS domain,
       subdomain_count,
       collect(DISTINCT mx.name)[0..5] AS mail_servers

Returns: domain, subdomain_count, mail_servers

json
[{"domain": "github.com", "subdomain_count": 36146, "mail_servers": ["aspmx.l.google.com", "alt1.aspmx.l.google.com", "alt2.aspmx.l.google.com", "alt3.aspmx.l.google.com", "alt4.aspmx.l.google.com"]}]

Costs: milliseconds; two aggregated single hops separated by a WITH, which stops the subdomain count from multiplying the MX list.

From here, → Subdomain enumeration (DNS hierarchy) to start paging the estate you just sized.

Try it from the shell

The endpoint answers a plain curl, which is enough for a quick subdomain count:

bash
curl -s https://graph.whisper.security/api/query \
  -H "Content-Type: application/json" \
  -d '{"query":"MATCH (sub:HOSTNAME)-[:CHILD_OF]->(:HOSTNAME {name:\"github.com\"}) RETURN count(sub) AS subdomain_count"}'

A key unlocks whisper.history for passive WHOIS/BGP timelines and the deeper enrichment traversals above. Pass it in the X-API-Key header. For AI-driven recon, point any MCP client at AI & Agents and let the agent walk the graph itself.

De-cloak the origin behind a CDN or proxy

A site fronted by a CDN (Cloudflare, Akamai, Fastly) hides its real hosting. whisper.origins surfaces candidate origin IPs, each with a confidence score and the signals that found it, so you can find the server the CDN is protecting. Runs live:

Live · graph.whisper.security
read-only Cypher

Copy as
Open it in the Console

Higher-confidence rows are stronger origin candidates. Pivot each through the graph (co-hosted domains, threat verdict, routing) to confirm before acting.

Splunk equivalents

Inside Splunk, the whisper_lookalikes, whisper_cname_chain and whisper_spf_chain macros run three of these checks for one name at a time; see Investigation macros. More copy-paste Cypher lives under Recipes.