Asset Discovery

Org-level recon that expands a company name into the full set of root domains, IP ranges, cloud endpoints and tenants it owns, before any per-host subdomain or content work; the defender-side version is External Attack Surface Management (EASM).

How it works

Asset discovery sits above Subdomain Enumeration: its output is the seed list (root domains, ASNs/CIDRs, cloud tenants, unlinked IPs) that everything downstream fans out from. The standard sequence (Wiz Bug Bounty Masterclass, ProjectDiscovery one-shot script):

  1. Root domain discovery: acquisitions and WHOIS (Crunchbase, whoxy.com), reverse WHOIS on the registrant org.
  2. IP-space discovery: ASN to CIDR, then reverse DNS on those ranges.
  3. Internet-wide search engines (Shodan, Censys, Fofa, Netlas, ZoomEye) for hosts with no DNS record that still carry the org’s certificates, favicon or HTML.
  4. Subdomain enumeration per root (see Subdomain Enumeration, OWASP Amass).
  5. Public exposure probing: resolve, port scan, httpx for live services and tech.

Rule from the masterclass: passive first, active second, and don’t stop at the main domain, because acquisitions and WHOIS surface the forgotten assets. ProjectDiscovery treats this phase as the one that most needs a human. It can be lightly automated with uncover and the Whoxy API, but ownership calls need review.

Assetnote’s point about internet-wide recon: an IP-centric view misses much of the modern surface. Behind CDNs, WAFs and TLS-SNI routing, many hostnames share one IP and only answer with the right Host/SNI. A bare IP scan therefore sends the wrong host header and sees a default page. Correlate names and IPs; don’t treat either alone as the asset.

Techniques / data sources

Root domains, ASNs and IP ranges

# ASN -> announced prefixes via RADb (as93 methodology); find the ASN on bgp.he.net or whois of a known IP
whois -h whois.radb.net -- '-i origin AS12345' | grep -Eo '([0-9.]+){4}/[0-9]+'
 
# Amass intel: org name -> ASNs -> parent domains
amass intel -org 'Example Ltd'
amass intel -active -asn 222222 -ip
amass intel -d owasp.org -whois          # reverse-WHOIS pivot to sibling roots

Reverse-WHOIS hits can be confirmed manually (e.g. ViewDNS reversewhois/?q=<Org>, one of Amass’s own data sources). -active adds zone-transfer attempts and cert grabs (Dionach). Big companies often own their ASN, and an ASN-wide range is in scope only if the program wording covers it. Shodan/Censys org attribution is also often wrong, so verify ownership before testing (Intigriti).

Internet search engines (Shodan / Censys)

GoalShodanCensys
By orgorg:"Target" / ssl:"Target"autonomous_system.organization:"Target" / services.tls.certificate.parsed.subject.organization
By ASNasn:AS1234autonomous_system.asn: AS1234
Cert namesssl.cert.subject.CN:"target.com"services.tls.certificate.names:"target.com"
Faviconhttp.favicon.hash:<mmh3>services.http.response.favicons.hashes:<hash>
Live onlyhttp.status:200 org:"Target"services.http.response.status_code:200 AND ...

Censys requires explicit AND/OR. Combining org filters with expired-cert, http.html and panel-title operators surfaces forgotten hosts and login panels (Intigriti). Run reverse DNS on IPs found this way to pivot to more roots and ASNs (ProjectDiscovery).

Favicon fingerprinting

The favicon hash is MurmurHash3 (32-bit, signed) over the base64-encoded icon bytes. It is a durable fingerprint because icons rarely change. Pivots (Bishop Fox):

  • shodan-query: http.favicon.hash:<v> / fofa-query: icon_hash=<v>. Nuclei’s favicon-detect.yaml plus CVE templates carrying shodan-query + CPE give a labelled hash→product baseline.
  • The favicon URL is itself a signal. A non-standard path (/assets/v3/icons/brand.ico) or a shared CDN path ties unrelated domains to common infra.
  • Content/favicon mismatch flags honeypots. One of the top hashes (attributed to Gladinet CentreStack) is likely mostly honeypot infrastructure.
  • Caveats: MMH3 is collision-prone (preimages to a chosen hash exist), and counts after a CVE can rise, because researchers and honeypots deploy the product too (cPanel, CVE-2026-41940).

Certificates (CT logs and live TLS)

curl -s "https://crt.sh/?q=%.target.com&output=json" | python3 -m json.tool | grep '"name_value"' | sort -u
openssl x509 -in cert.pem -noout -text | grep -A3 "Subject:\|Subject Alternative Name"

CT records every name ever issued, so oldstaging, vpn2, jira, sso-dev, mfa-dev and past-project names persist (dev.to checklist; a Tesla CT query returned 300+ unique names). On live hosts, read the handshake in curl -v: the subject, issuer and subjectAltName lines. Self-signed and internal-CA certs leak internal hostnames (DNS:admin.internal), O/OU naming conventions and ownership. crt.sh rate-limits hard, so use its API for volume (gitconnected TLS article).

Origin IP behind a CDN/WAF

  • hakoriginfinder requests every candidate IP with the original Host header and compares each body to the real response by Levenshtein distance (-l threshold, default 5; -p ports, default 80,443; -t threads):
    prips 93.184.216.0/24 | hakoriginfinder -h https://example.com:443/foo -p 80,443,8080,8443
  • CloudFail recovers Cloudflare origins via misconfigured DNS (DNSDumpster), the historical Crimeflare DB and brute-forcing about 2,500 subdomains: python3 cloudfail.py --target example.com --tor.
    Candidate ranges come from the ASN/Censys steps above. An origin match lets you test without the WAF.

Virtual hosts

Names never published in DNS can still be served by a shared reverse proxy, which picks the app by Host:
ffuf -u https://example.com -H "Host: FUZZ.example.com" -w wordlist (Intigriti, 7 overlooked techniques). See Content Discovery.

Cloud tenants and shadow cloud

  • MSFTRecon does unauthenticated M365/Entra mapping: tenant name/ID, federation (managed vs federated → SAML targets), AAD Connect, enterprise apps and admin-consent endpoints, B2C, storage. ./msftrecon.py -d example.com -j (--gov, --cn for sovereign clouds).
  • Cloud resources often get provider-assigned names outside the org’s DNS space (name.s3.us-east-2.amazonaws.com, dynamic public IPs). Pure DNS-seeded external scans miss them. Wiz ASM pairs outside-in scanning with in-account inventory to catch these “shadow cloud” assets, and reports cloud/AI keys exposed in JS and default creds on CI/CD among real findings.
  • Self-hosted AI tooling is a distinct exposed-asset class: Jupyter 8888, MLflow 5000, LiteLLM 4000, Ollama 11434, ComfyUI 8188, Langflow 7860, Ray 8265. Censys counted about 268k internet-facing AI systems (Oct 2026), and honeypot data shows attackers already sweep these ports. See AI Infrastructure Vulnerabilities.

Forgotten-asset checklist (defender view)

Seed from registrar accounts, all cloud subscriptions (including personal-card ones) and ISP-assigned ranges. Then run CT for names, resolve and flag dangling CNAMEs (Subdomain Takeover), and port-check for 3389/22/3306/5432/6379/9200/8080/8443 (dev.to).

EASM platforms

Commercial ASM has moved from visibility to validation. ProjectDiscovery’s 2026 report argues “proof, not probability”, citing 1,198 “critical” alerts collapsed to 31 real issues by deterministic validation. Wiz ASM adds graph context and owner attribution. Assetnote’s original pitch (now Searchlight Cyber) stresses continuous, wide-breadth discovery modelled on bug-bounty hunter behaviour.

Sources