Organization and asset discovery
- Noise
- Passive
- Reads
scope/roots.txt- Writes
org/asn.txtorg/cidrs.txtorg/domains.txt
Find everything the organization owns at the top level: autonomous system numbers (ASNs), IP ranges (CIDR blocks such as 203.0.113.0/24), root domains, and companies it bought. Subdomain tools need a root domain to start from. If you only feed them example.com, you never see example-corp.net or the acquired startup’s examplelabs.io.
This phase matters most on wide-scope programs that say things like “any asset owned by Example Inc”. On a program that lists three hostnames, skim it and move on.
| Tool | Noise | What it gives you |
|---|---|---|
| bgp.he.net | Passive | ASNs, prefixes and peers for an organization name |
| asnmap | Passive | ASN and CIDR lookup by org, ASN, IP or domain. Needs a ProjectDiscovery Cloud key |
| Amass intel | Passive | Related domains from WHOIS and certificates. Check whether your Amass version still ships it |
| RIPEstat | Passive | Announced prefixes and routing history through a free JSON API |
| WHOIS and reverse WHOIS | Passive | Registrant org and email, then other domains registered with them |
| crt.sh | Passive | Certificate Transparency search by domain or organization name |
| Censys | Passive | Hosts and certificates indexed by org, domain or IP |
| Shodan | Passive | Banners and certs; favicon hash search |
| FOFA, ZoomEye | Passive | Shodan-style search with better coverage in some regions |
| Netlas, Hunter.how | Passive | More internet-wide scan indexes with free tiers |
| BuiltWith Relationships | Passive | Domains that share an analytics or ad ID with the target |
| analyticsrelationships | Passive | Self-hosted version of the same analytics ID pivot |
When to use each approach
Section titled “When to use each approach”| Source | Use it when | It misses |
|---|---|---|
| BGP (the protocol that announces ranges) and ASNs | The company, ISP, or bank runs its own network and you can name an ASN such as AS64500 |
A company that lives only on shared AWS, GCP, or Azure and announces nothing |
| WHOIS and reverse WHOIS | A seed domain still shows a registrant org or a real email. Older names often still do. Privacy proxies such as WhoisGuard and Domains By Proxy are a dead end | Anything hidden behind a privacy proxy |
| Certificate search by organization | The company buys organization-validated (OV) or extended-validation (EV) certificates, so the legal name is in the subject | Cloudflare, Let’s Encrypt, and other CAs that leave the org field empty |
| Scan indexes and favicon hashes | Internal apps reuse a custom company icon on hosts that never showed up in DNS | The default Vite or React icon, which matches a huge number of unrelated servers |
| Filings and acquisitions | A public company. Exhibit 21 of the US 10-K lists subsidiaries | A private startup with an informal product name and no filing |
Use Amass intel when you want the links between an ASN and the parent company. If you only need lists to pipe onward, use asnmap and curl.
What these records prove
Section titled “What these records prove”BGP route announcement
Section titled “BGP route announcement”Route: 203.0.113.0/24Origin ASN: AS64500AS Name: EXAMPLE-CORPAnnounced by: AS64496, AS64500AS64500 announces 203.0.113.0/24. The route does not mean every address has a host. It does not mean Example Inc is the only tenant. Companies sub-lease pieces of a prefix to contractors, branch offices, and colo customers.
WHOIS registrant record
Section titled “WHOIS registrant record”Domain Name: example-corp.netRegistry Domain ID: 2984102_DOMAIN_COM-VRSNRegistrant Organization: Example IncRegistrant Email: hostmaster@example.comCreation Date: 2012-04-15T10:00:00ZName Server: ns1.example.comThe registrar stored Example Inc and hostmaster@example.com when this name was created or last renewed. It does not mean Example Inc runs the domain today. It can be a parked defensive registration, or a name waiting to drop.
Organization-validated TLS certificate
Section titled “Organization-validated TLS certificate”Subject: C=US, ST=California, O=Example Inc, CN=vpn.example.comSubject Alternative Names: DNS:vpn.example.com DNS:portal.example-corp.net DNS:auth.example-internal.orgIssuer: DigiCert Global Root CAValidity: Not After 2026-10-01A certificate authority (CA) checked that Example Inc controlled each listed name when it issued the certificate. It does not mean auth.example-internal.org still resolves, or that Example Inc still controls it.
Trade-offs
Section titled “Trade-offs”Sweeping every announced prefix finds quiet infrastructure and also guest Wi-Fi, colo neighbors, and software-as-a-service (SaaS) products the company does not run.
crt.sh is free and needs no account. Heavy queries come back as HTTP 502. Subfinder with API keys drops out less often, and you pay for that with accounts and quotas.
Amass keeps a graph of how names and ASNs relate. That graph uses gigabytes of RAM and slows a pipeline. org/cidrs.txt and org/domains.txt pipe straight into anew, sort, and grep.
Convincing duds
Section titled “Convincing duds”Customer support vanity domain
Section titled “Customer support vanity domain”Reverse WHOIS on domain-admin@example.com returns example-helpdesk.com. The name sounds like the company. DNS says otherwise:
example-helpdesk.com. 300 IN CNAME example.zendesk.com.That host is Zendesk. Hitting it tests Zendesk, which bug bounty programs leave out of scope.
Colocation tenant
Section titled “Colocation tenant”AS64500 announces 203.0.113.0/24. 203.0.113.190 answers SSH:
SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.1PTR: customer-tenant-44.colo-facility.example.netThe company leased a /28 inside that /24 to someone else. The SSH banner is the tenant’s.
Same name, different company
Section titled “Same name, different company”crt.sh for O="Example Inc" returns certificates for example-logistics.com and example-shipping.net. The state registry shows Example Logistics as a freight company in Ohio. Your target is a software company in Delaware.
Default framework favicon
Section titled “Default framework favicon”httpx hashes https://example.com to -1234567890. Shodan returns thousands of hosts. The file is still the default Vite or React icon, so the query matches every app that never replaced the starter icon.
Step by step
Section titled “Step by step”-
ASNs from the org name. Search the company name on bgp.he.net and note every ASN that clearly belongs to it. Big companies own their ranges; most startups do not and live entirely on cloud providers.
Terminal window # Look up CIDRs announced by an organization (needs PDCP_API_KEY)asnmap -org "Example Inc" -silent | tee -a org/cidrs.txtTerminal window # Look up the CIDRs announced by one ASN you foundasnmap -a AS64500 -silent | anew org/cidrs.txtTerminal window # Cross-check the same ASN with RIPEstat's free APIcurl -s "https://stat.ripe.net/data/announced-prefixes/data.json?resource=AS64500" | jq -r '.data.prefixes[].prefix' | anew org/cidrs.txt -
Domains from WHOIS. Pull the registrant organization and email from a known domain, then run reverse WHOIS on them with a service such as Whoxy or ViewDNS. Privacy-protected records hide this on many domains, but older domains often still show it.
Terminal window # Show registrant fields for a known root domainwhois example.com | grep -iE 'registrant (organization|email)|org(name)?:' -
Domains from certificates. Certificates carry the organization name in the subject. Searching by that name finds domains that never mention the main brand.
Terminal window # Find certificate common names issued to the organization namecurl -s "https://crt.sh/?O=Example%20Inc&output=json" | jq -r '.[].common_name' | sed 's/^\*\.//' | sort -u > org/crtsh-org.txt -
Amass intel, if your version has it. Amass v4 shipped an
intelsubcommand for this exact job. Amass v5 reorganized the CLI and the v5 docs no longer mentionintel, so runamass -hfirst. If you depend on these commands, pin v4 (go install github.com/owasp-amass/amass/v4/cmd/amass@latest, whose major version resolves to the last v4 release) rather than installing from the v5 docs.Terminal window # Amass v4 style: related domains for an ASN and an org nameamass intel -asn 64500amass intel -org "Example Inc" -
Search engines for internet-wide scans. Query Shodan, Censys, FOFA, ZoomEye and Netlas for the org name and the root domain. You are looking for IPs and hostnames that serve the company’s certificates.
# Shodan: hosts with a certificate issued to the orgssl.cert.subject.O:"Example Inc"# Shodan: anything mentioning the domain in TLS datassl:"example.com"# Censys hosts: certificates with the org in the subject (check the syntax for your platform)services.tls.certificates.leaf_data.subject.organization: "Example Inc"# Censys legacy certificates index: same field, different pathparsed.subject.organization: "Example Inc"# FOFA: certificate and title searchescert="example.com" || title="Example Inc"# ZoomEye: certificate searchssl:"example.com" -
Favicon hash pivoting. Many internal apps reuse the company favicon. Hash it once, then search for every host on the internet serving the same icon.
Terminal window # Get the MurmurHash3 favicon hash Shodan useshttpx -u https://example.com -favicon -silentTerminal window # Find every indexed host with that favicon hash (replace the number)shodan search --fields ip_str,hostnames,org 'http.favicon.hash:-1234567890' -
Analytics and tag ID pivot. A Google Analytics (
UA-,G-) or Tag Manager (GTM-) ID is often pasted into every property the same company runs. Pull the ID from the homepage, then reverse-search it to find sibling domains. This catches roots that WHOIS privacy hides, because the ID sits in the page, not the registration.Terminal window # Pull analytics and tag IDs out of the homepage sourcecurl -s https://example.com | grep -Eo 'UA-[0-9]+-[0-9]+|G-[A-Z0-9]{8,}|GTM-[A-Z0-9]+' | sort -uReverse-search the ID through BuiltWith’s Relationships report, or self-host the lookup with
analyticsrelationships, which scrapes the same links. Confirm each hit belongs to the target before you trust it; agencies reuse one ID across unrelated clients. -
Acquisitions. Read the company’s Wikipedia page, Crunchbase profile and press releases. For US public companies, Exhibit 21 of the annual 10-K filing on SEC EDGAR lists subsidiaries. Check the program policy before you treat any acquisition as in scope.
-
Merge root domains. Keep only the domains you can tie to the company, and only those the program covers.
Terminal window # Collect candidate root domains into one deduplicated listcat scope/roots.txt org/crtsh-org.txt | sort -u > org/domains.txt
How the output feeds the next phase
Section titled “How the output feeds the next phase”org/domains.txtreplacesscope/roots.txtas the seed list for phase 2.org/cidrs.txtfeeds reverse DNS and TLS certificate mining in phase 4 and port scanning in phase 5.- Favicon and certificate hits that resolve to IPs go to
dns/ips.txtonce you confirm ownership.
Common mistakes
Section titled “Common mistakes”- Treating every result for “Example” as the target. Name collisions are common. Confirm with WHOIS, certificates or the company’s own pages.
- Scanning a whole /16 that belongs to a cloud provider because one host lived there.
- Assuming acquisitions are in scope. They often are not until the program says so.
- Skipping this phase on wide programs. The second root domain is often where the bugs are.
- A root domain with the company’s name and an odd TLD, such as
example-corp.netorexample.dev - Certificates issued to the org for hosts that do not resolve under the main domain
- Hosts with the company favicon on IPs outside known content delivery networks (CDNs)
- An ASN with a small range that runs mail, VPN or legacy services
- Recently acquired companies that still run their own infrastructure
Next, list every subdomain of org/domains.txt from passive sources in phase 2.
Open local graph around this page
Linked from here
Recon AtlasFor authorized testing only. Your scope is the map edge.