# Find hidden subdomains

> Find hidden subdomains is an open-source agent skill for security. Maps an organisation's subdomains and sibling domains from certificate and passive DNS. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/UseOSINT/Skills/tree/main/skills/find-hidden-subdomains
- **Repository:** https://github.com/useosint/skills
- **GitHub stars:** 76
- **License:** MIT
- **Skill name:** find-hidden-subdomains
- **Collection:** https://github.com/UseOSINT/Skills
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-03

## About

This skill guides an agent through building a hostname inventory for a target domain using public sources that never touch the target directly. It explains how Certificate Transparency logs work, how to query crt.sh in JSON form, and how to read certificate SAN fields to separate the target's own names from those of unrelated tenants sharing a certificate.

The workflow covers choosing a starting source based on what the investigator already holds, combining CT history with passive DNS and wordlist candidates, then resolving names into live, CNAME and dead buckets. It includes a check for wildcard DNS before trusting brute-force results, and notes when a wildcard certificate hides hosts from CT. A confidence grading scheme ranks each finding by how well it is verified.

The skill expects a domain or organisation name as input and common command-line tools such as curl, jq, subfinder, amass and dnsx. It ships no scripts of its own. It also flags which steps are active, such as DNS brute-forcing and HTTP probing, so they can be kept within written scope.

## When your agent uses it

> Enumerate an organisation's subdomains and sibling domains from Certificate Transparency logs and passive DNS, without sending traffic to the target. Covers crt.sh and CT log queries, certificate SAN fields, subfinder and amass, and newly issued TLS certificates. Use when looking for staging, dev, admin or VPN hosts, mapping the full hostname footprint of a domain, or spotting infrastructure a company forgot it had. Applies to attack-surface mapping, vendor and supply-chain security review, brand-infringement discovery, and M&A technical diligence. Reference at useosint.com/skills/find-hidden-subdomains.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/UseOSINT/Skills/tree/HEAD/skills/find-hidden-subdomains)
- [License: MIT](https://github.com/UseOSINT/Skills/tree/HEAD/skills/find-hidden-subdomains)

## Features

- **Certificate Transparency queries:** Shows how to search crt.sh by domain, wildcard or organisation name and read the returned certificate fields.
- **SAN field analysis:** Explains how to read subject alternative names to tell intentional groupings from bundled multi-tenant certificates.
- **Passive source combination:** Covers running subfinder and amass in passive mode and resolving candidates with dnsx.
- **Wildcard DNS detection:** Describes testing a random nonexistent name to catch zones that answer everything before trusting brute-force output.
- **Name pattern triage:** Points to a reference that ranks dev, staging, VPN and admin hostnames by risk and follow-up.
- **Confidence grading:** Defines confirmed, probable and unconfirmed levels for each discovered host and the evidence to record.
- **Scope and ethics notes:** Separates passive lookups from DNS brute-forcing and HTTP probing and reminds the user to stay within written scope.

## Good for

- Find forgotten staging or VPN hostnames for a company domain
- Map the full hostname footprint of a domain before a security review
- Discover sibling or acquired domains during M&A technical diligence
- Check a vendor's certificate-listed hosts during supply-chain security review
- Spot typosquatting certificates that imitate a brand's domain

## Install

### Claude Code

This skill ships in the `useosint` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add UseOSINT/Skills
/plugin install useosint@useosint
```

Or copy only this skill to `~/.claude/skills/find-hidden-subdomains`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/UseOSINT/Skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/find-hidden-subdomains &&
cp -R "$tmp/skills/find-hidden-subdomains" ~/.claude/skills/find-hidden-subdomains &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/find-hidden-subdomains` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/find-hidden-subdomains` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/UseOSINT/Skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/find-hidden-subdomains &&
cp -R "$tmp/skills/find-hidden-subdomains" ~/.agents/skills/find-hidden-subdomains &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/find-hidden-subdomains` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/find-hidden-subdomains` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/UseOSINT/Skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/find-hidden-subdomains &&
cp -R "$tmp/skills/find-hidden-subdomains" ~/.cursor/skills/find-hidden-subdomains &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/find-hidden-subdomains` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/UseOSINT/Skills.git --path skills/find-hidden-subdomains
```

Or copy the folder to `~/.gemini/skills/find-hidden-subdomains` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/find-hidden-subdomains`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/UseOSINT/Skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/find-hidden-subdomains &&
cp -R "$tmp/skills/find-hidden-subdomains" ~/.copilot/skills/find-hidden-subdomains &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/find-hidden-subdomains` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/UseOSINT/Skills.git
```

Then copy `Skills/skills/find-hidden-subdomains` into your agent's skills folder as `find-hidden-subdomains`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Find hidden subdomains send traffic to the target?

Querying Certificate Transparency logs and passive DNS does not touch the target. Wordlist brute-forcing and HTTP probing do send traffic and are flagged as active steps to keep within scope.

### Why can't CT logs show every host?

Only publicly trusted certificates reach CT logs. Hosts behind private CAs, self-signed certificates, Cloudflare origin certificates or wildcard certificates are not listed by name.

### How do I avoid false positives from shared certificates?

Check whether the other names on a certificate belong to the target. Certificates with many unrelated names usually come from hosting providers or CDNs.

### What tools does the skill use?

It references crt.sh queries with curl and jq, plus subfinder, amass and dnsx for passive enumeration and resolution.

### How do I install Find hidden subdomains in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/find-hidden-subdomains to use it in all your projects, or to .claude/skills/find-hidden-subdomains in one project. Or install the useosint plugin, which includes it: /plugin marketplace add UseOSINT/Skills, then /plugin install useosint@useosint.

### Does Find hidden subdomains run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Find hidden subdomains?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Find hidden subdomains?

The closest alternatives to Find hidden subdomains are Reconnaissance, Recon a domain passively, Find exposed servers, Techstack identification and Who owns this domain.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Reconnaissance](https://ai-powered.com/skills/reconnaissance): Reconnaissance is an open-source agent skill for security.
- [Recon a domain passively](https://ai-powered.com/skills/recon-a-domain-passively): Recon a domain passively is an open-source agent skill for security.
- [Find exposed servers](https://ai-powered.com/skills/find-exposed-servers): Find exposed servers is an open-source agent skill for security.
- [Techstack identification](https://ai-powered.com/skills/techstack-identification): Techstack identification is an open-source agent skill for security.
- [Who owns this domain](https://ai-powered.com/skills/who-owns-this-domain): Who owns this domain is an open-source agent skill for security.
- [Techstack infra](https://ai-powered.com/skills/techstack-infra): Techstack infra is an open-source agent skill for security.
- [Infrastructure](https://ai-powered.com/skills/infrastructure): Infrastructure is an open-source agent skill for security.
- [Osint platform audit](https://ai-powered.com/skills/osint-platform-audit): Osint platform audit is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/find-hidden-subdomains
