Subdomain Permutation Enumeration
Derive likely sibling hostnames from known ones using wordlists and mutators, then verify each candidate instead of guessing blindly
Use when: you already have a few confirmed hostnames and want to predict neighbours such as staging, admin or regional variants
Avoid when: the program's asset list is complete and published, making prediction unnecessary work with no new surface
Procedure
- Take your confirmed hosts as seeds and extract the naming conventions the vendor actually uses, such as region prefixes or environment suffixes.
- Apply a small focused mutator set: environment words, ordinal variants, hyphen and digit insertion, and common service names.
- Resolve or query each generated candidate and keep only answers that pass the same wildcard handling you used earlier.
- Record which mutator produced each hit so you can retire the ones that never work for this vendor.
- Check hits against scope before any HTTP request, since prediction frequently produces names the program never intended to expose.
- Fold verified hits back into the seed list and stop when a full pass yields nothing new.
Signals
- Two or three mutators account for every hit, which tells you the vendor's naming scheme is worth documenting.
- A predicted host resolves inside a cloud account rather than the vendor's own network.
- Naming patterns include environment words such as staging or uat, which often means weaker controls than production.
- A pass produces many candidates but zero new hosts, which means the naming space is likely exhausted.
Patterns
1. Mutator set
seeds: api.example.com, app.example.com
words: dev, stage, staging, test, uat, admin, internal, old, v2
joiners: -, ., digits 0-2
output: stage-api.example.com, api-v2.example.com
2. Hit record
candidate=stage-api.example.com mutator=env-prefix method=dns-resolve scope=unlisted -> ask before testing
3. Convergence
pass n: +4 hosts, pass n+1: +1 host, pass n+2: +0 hosts -> stop
Pitfalls
- Generating thousands of candidates and blasting them through DNS, which wastes time and violates rate expectations.
- Predicting a hostname and testing it purely because it resolved; resolution is not a scope verdict.
- Never pruning mutators, so each run repeats work that already proved fruitless for this vendor.
Done when
- New verified hosts are attributed to a specific mutator and checked against scope before use.
- The run terminates on a convergence rule rather than on an arbitrary candidate count.
References
1---2name: subdomain-permutation-enumeration3description: "Derive likely sibling hostnames from known ones using wordlists and mutators, then verify each candidate instead of guessing blindly. Use when you already have a few confirmed hostnames and want to predict neighbours such as staging, admin or regional variants"4pack: reconcraft5version: 1.0.06category: bug-bounty-tooling7tags: [subdomains, wordlist, enumeration]8metadata:9 source: https://skillmd.com/skills/wsh7ash/subdomain-permutation-enumeration10---1112# Subdomain Permutation Enumeration1314> Derive likely sibling hostnames from known ones using wordlists and mutators, then verify each candidate instead of guessing blindly1516**Use when:** you already have a few confirmed hostnames and want to predict neighbours such as staging, admin or regional variants1718**Avoid when:** the program's asset list is complete and published, making prediction unnecessary work with no new surface1920## Procedure21221. Take your confirmed hosts as seeds and extract the naming conventions the vendor actually uses, such as region prefixes or environment suffixes.232. Apply a small focused mutator set: environment words, ordinal variants, hyphen and digit insertion, and common service names.243. Resolve or query each generated candidate and keep only answers that pass the same wildcard handling you used earlier.254. Record which mutator produced each hit so you can retire the ones that never work for this vendor.265. Check hits against scope before any HTTP request, since prediction frequently produces names the program never intended to expose.276. Fold verified hits back into the seed list and stop when a full pass yields nothing new.2829## Signals3031- Two or three mutators account for every hit, which tells you the vendor's naming scheme is worth documenting.32- A predicted host resolves inside a cloud account rather than the vendor's own network.33- Naming patterns include environment words such as staging or uat, which often means weaker controls than production.34- A pass produces many candidates but zero new hosts, which means the naming space is likely exhausted.3536## Patterns3738**1. Mutator set**3940```text41seeds: api.example.com, app.example.com42words: dev, stage, staging, test, uat, admin, internal, old, v243joiners: -, ., digits 0-244output: stage-api.example.com, api-v2.example.com45```4647**2. Hit record**4849```text50candidate=stage-api.example.com mutator=env-prefix method=dns-resolve scope=unlisted -> ask before testing51```5253**3. Convergence**5455```text56pass n: +4 hosts, pass n+1: +1 host, pass n+2: +0 hosts -> stop57```5859## Pitfalls6061- Generating thousands of candidates and blasting them through DNS, which wastes time and violates rate expectations.62- Predicting a hostname and testing it purely because it resolved; resolution is not a scope verdict.63- Never pruning mutators, so each run repeats work that already proved fruitless for this vendor.6465## Done when6667- New verified hosts are attributed to a specific mutator and checked against scope before use.68- The run terminates on a convergence rule rather than on an arbitrary candidate count.6970## References7172- [HackTricks - Subdomain enumeration](https://book.hacktricks.xyz/)73- [PayloadsAllTheThings - discovery resources](https://github.com/swisskyrepo/PayloadsAllTheThings)