You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wildcards that answer from a rotating IP pool (CDN/load-balanced) bypass the fingerprint filter #48
Many real wildcards sit behind CDNs or load balancers and return different A records per query. subenum fingerprints a wildcard from only two probes and drops a result only when its records are a strict subset of that fingerprint, so most wildcard answers from a pool are reported as real subdomains even with -force.
Evidence
internal/scan/runner.go:142-156 (recordsSubset) plus two probes in internal/dns/resolver.go:286-287.
Repro (hermetic test DNS): wildcard answering with 1 of 8 IPs, -force, 50 names → 45 of 50 reported as real, only 5 filtered.
CNAME wildcards in front of CDNs with rotating A records behave the same way.
Suggested approach
Probe more names (e.g. 5) to build the fingerprint.
Re-validate near-misses: if a result's records overlap the fingerprint, or its CNAME target matches the wildcard's CNAME target, re-probe a fresh random label under the same parent before accepting it.
Prefer CNAME-target fingerprinting when the wildcard answers via CNAME.
Add a test with a rotating-pool wildcard.
Done when
In the rotating-pool test, at least 95% of wildcard answers are filtered and no real names are lost.
Activity
test(scan): cover the near-miss wildcard revalidation (#169)