The Complete Guide to Uncovering Every Subdomain a Business Owns Using Passive OSINT (2026 Edition)
• BizVuln Staff
Learn passive OSINT techniques to map every subdomain of a business – from Certificate Transparency logs to GitHub leaks. Includes checklist, FAQ, and risk analysis for 2026.
The Complete Guide to Uncovering Every Subdomain a Business Owns Using Passive OSINT (2026 Edition)
Every subdomain is a potential door. In the first half of 2026, we have already seen three high‑profile breaches that originated from forgotten, unmonitored subdomains – a staging server with default credentials, an old marketing landing page left pointing to an unclaimed cloud service, and a development dashboard indexed by Shodan. The common thread is that the parent organisations had no idea these subdomains existed.
Attack surface management now starts with one fundamental question: What domains and subdomains does my organisation actually own? Answering that question using passive OSINT – collecting data from publicly available sources without sending a single packet to the target – is not only safer and more ethical than active scanning, but also legally defensible and operationally stealthy.
This guide will walk you through the complete passive methodology used by professional penetration testers and red teams to discover every subdomain a business owns. By the end, you will have a repeatable workflow, a ready‑to‑use checklist, and a clear understanding of why continuous subdomain discovery is a non‑negotiable part of modern security posture.
> A note on context: This post is published on BizVuln.com, your partner for automated OSINT scanning and attack surface monitoring. If you discover security gaps during your reconnaissance, our trusted remediation partner ZoeSquad provides rapid IT and incident‑response services to close those vulnerabilities.
Why Subdomain Enumeration Matters in 2026
Subdomain enumeration is not an academic exercise. Every subdomain–whether `dev.example.com`, `mail.example.com`, `api.staging.example.com`, or `webmail.example.com`–represents a distinct asset with its own attack surface. In many organisations, the internal security team does not own or even know about subdomains created by marketing, engineering, or regional offices. This shadow IT expands the perimeter without corresponding visibility.
- **Regulatory compliance:** Frameworks such as NIST CSF v2.0, PCI DSS 4.0, and SOC 2 require organisations to maintain an accurate inventory of information assets. You cannot protect what you cannot see.
- **Mergers & acquisitions:** Due diligence must include passive discovery of subdomains belonging to the target company. Acquisitions frequently turn up forgotten subdomains still running old software or pointing to decommissioned cloud services.
- **Subdomain takeover:** A common vulnerability that occurs when a DNS CNAME record points to a third‑party service (e.g., a Heroku app, GitHub Pages, or AWS S3 bucket) that has been released or deleted. An attacker can claim that resource and serve content under your legitimate domain.
In early 2026, a Fortune 500 transportation company suffered a credential‑harvesting campaign that started with a `secure‑login.example.com` subdomain that no employee remembered creating. The CNAME pointed to a long‑dead Azure Front Door endpoint; the attacker recreated the endpoint, deployed a phishing page, and collected hundreds of login credentials before the incident was contained. Passive OSINT would have flagged that subdomain years before.
The Passive OSINT Advantage – No Traffic, No Alerts
Active subdomain enumeration – brute‑forcing DNS names, sending HTTP probes, or performing DNS zone transfers – generates traffic from your IP address. This can trigger intrusion detection systems, web application firewalls, or even cause the target’s SOC to issue a block or alert. In regulated contexts, active scanning without prior authorisation can breach terms of service or local laws.
Passive OSINT relies entirely on third‑party data that is already publicly available:
- Certificate Transparency (CT) logs
- Passive DNS databases
- Search engine indexes
- Public code repositories
- Historical web archives
- Social media and job listings
- Security community platforms (AlienVault OTX, URLScan, Shodan)
Because you never send a packet to the target’s infrastructure, your reconnaissance remains stealthy, lawful, and non‑intrusive. This approach is the foundation of every professional external attack surface assessment.
Methodology – A Layered Approach to Passive Subdomain Discovery
No single data source will reveal every subdomain. The most reliable results come from combining multiple passive sources and deduplicating the output. Below we break down the core techniques in the order of highest yield.
1. Certificate Transparency Logs (CT Logs)
Every publicly trusted TLS/SSL certificate issued for a domain must be submitted to a Certificate Transparency log. The certificate’s Subject Alternative Name (SAN) field contains every domain and subdomain the certificate covers. This is arguably the richest single source of subdomain information.
How to use it:
- **[crt.sh](https://crt.sh/)** – Free web interface for querying CT logs. Use the wildcard search: `%.example.com`
- **CertSpotter** by SSLMate – Monitors CT logs and alerts on new certificates.
- **Google’s CT search** – `https://certs.search.google.com`
Example query:
`https://crt.sh/?q=%25.example.com&output=json`
The raw JSON output can be parsed with `jq` or integrated into your own scripts. In practice, you will get hundreds or thousands of results for large organisations.
Pro tip: Do not stop at the root domain. Query for `%25.other.domain.com` owned by the same entity – sometimes an acquisition results in legacy subdomains still covered by old certificates.
2. Passive DNS Databases
Passive DNS data captures DNS responses that have been collected over time by third parties. These databases contain historical IP‑to‑domain mappings, which are gold mines for finding subdomains that may no longer be active but still pose risks (e.g., still have a valid certificate or are still hosted on an IP you no longer control).
Top sources:
- **SecurityTrails** – Free tier provides daily DNS snapshots. Query `a.example.com` to get subdomains.
- **VirusTotal** – The “Detected URLs” and “Communicating Files” sections for a domain often list subdomains.
- **Shodan DNS Resolver** – Aggregates passive DNS from the network.
- **DNSTwister** – Focuses on typosquatting, but also reveals legitimate subdomains.
Limitation: Passive DNS coverage varies. For most organisations, SecurityTrails and VirusTotal together capture 60–80% of active subdomains.
3. Search Engine Dorking & Google Hacking
Search engines crawl and index public‑facing subdomains. A well‑crafted Google dork can reveal subdomains that are not obvious from CT logs.
Effective dorks for `example.com`:
- `site:example.com -www` – Show every indexed page except the main site.
- `site:*.example.com` – Google’s wildcard for subdomains (subject to its own limitations).
- `site:example.com intitle:"login"` – Find login portals on subdomains.
- `site:example.com filetype:pdf` – Often reveals subdomain URLs in PDF footers.
Remember to run the same queries on Bing and DuckDuckGo – their indexes differ from Google’s.
4. Public GitHub Repositories & Code Leaks
Developers frequently commit configuration files, scripts, and documentation that contain internal subdomains. This is a high‑yield passive source because these subdomains are often unlisted in CT logs (e.g., internal APIs, staging servers with self‑signed certs).
Tools and techniques:
- **GitHub code search** – Query `"example.com"` and filter for domain‑like patterns such as `*.example.com`.
- **truffleHog** – Scans commits for secrets but also picks up URLs.
- **git-hound** – Focuses on domain and subdomain discovery in GitHub.
- **GitDorker** – Automates multiple GitHub dork queries.
Pro tip: Search for `CNAME` records inside repository contents. A common practice is to store DNS records in `CNAME` files inside infrastructure‑as‑code repositories: `grep "CNAME example.com"` can reveal subdomains.
5. Social Media & Job Listings
Job postings often include direct URLs to internal applications or career portals. For example: `https://careers.example.com`, `https://benefits.example.com`. Similarly, LinkedIn job descriptions may contain `https://apply.example.com`.
How to mine:
- Search LinkedIn jobs for `example.com` and look at the URL displayed.
- Use **Indeed** or **Glassdoor** with the query `site:indeed.com "example.com"`.
- Twitter/X – Search for `"example.com"` filtered by company name.
This technique is especially useful for finding subdomains that are only used internally but accidentally exposed via job advertisements.
6. Syndicated Data Sources: AlienVault OTX, URLScan, Wayback Machine
- **AlienVault OTX** – The Open Threat Exchange contains “pulses” that include domain indicators. Many security researchers publish subdomain lists. Query `otx.alienvault.com/api/v1/indicators/domain/example.com/passive_dns`.
- **URLScan.io** – Has a live feed of submitted URLs. Search by domain: `https://urlscan.io/domain/example.com`. The results include every visited subdomain.
- **Wayback Machine** – Use `https://web.archive.org/cdx/search/cdx?url=*.example.com&coll=web`. This yields historical URLs that reveal subdomains no longer active but still registered.
Building the Master List – Combining and Deduplicating
Manually querying every source is tedious. The industry standard is to automate the collection using tools that consolidate passive sources. Two of the most capable tools in 2026 are:
- **Amass** (by OWASP) – The `intel` and `enum` subcommands support passive data collection from dozens of sources.
- **Subfinder** (by ProjectDiscovery) – Lightweight focused on passive enumeration. Example:
`subfinder -d example.com -all -o subs.txt`
After gathering, deduplicate and validate. A lightweight validation phase (sending a single HTTP HEAD request to each subdomain) is still passive *from the perspective of the DNS resolution* but does generate outbound traffic. If your policy permits, run a simple `curl -I --connect-timeout 3 https://sub.example.com` to filter dead subdomains.
Automated Workflow with BizVuln’s Passive OSINT Scanner
At BizVuln.com, we have integrated all of the above sources into a single automated pipeline. Our platform:
- Continuously monitors Certificate Transparency logs for new subdomains.
- Queries passive DNS databases and search engine indexes on a schedule.
- Performs GitHub and social‑media scraping for subdomain references.
- Produces a consolidated, deduplicated asset inventory with risk scoring.
When our scanner identifies a subdomain that points to an unclaimed service (potential takeover) or runs an outdated software version, we flag it immediately. Organisations can then hand off the remediation to ZoeSquad, our trusted partner for IT remediation and incident response. ZoeSquad’s certified engineers work with your team to retire, secure, or migrate risky subdomains within hours rather than days.
The Hidden Risks – Why You Must Map Subdomains Continuously
Subdomain mapping is not a one‑time project. Consider the following scenarios that happen every week:
- **Subdomain takeover:** A developer creates `dashboard.example.com` pointing to a Heroku app. The app is later deleted, but the CNAME record remains. An attacker notices the expired resource, claims it