Vulnerabilities
subzy: check subdomains for takeover
Subzy is a subdomain takeover tool written in Go that checks each subdomain's HTTP response against fingerprints from the can-i-take-over-xyz project to flag hosts pointing at claimable, deprovisioned services.
installgo install -v github.com/PentestPad/subzy@latestdocker pull quay.io/trickest/subzy:6ba1639
commit 6ba1639 on Trickest · Go · GPL-2.0 license
Free plan: 1 user, 3 execution slots, no card.
overview
What subzy does
subzy reads a subdomain list and tests each host for a takeover condition. It requests the host, reads the response, and matches it against the fingerprint set from the can-i-take-over-xyz project. When a subdomain points at a deprovisioned cloud service that still answers with a claimable error page, subzy flags it as vulnerable.
The check is response-driven, so it avoids many false positives that come from CNAME inspection alone. Scan a single host with -target, a comma-separated set, or a file via -targets. Tune -concurrency, -timeout, and -https to match the scope. Set -hide_fails to keep output on hosts worth acting on.
Place it after subdomain enumeration: discovery produces candidate names, subzy confirms which resolve to claimable services, and findings land as FILE and FOLDER output. Pair with tko-subs when you also need optional claim actions.
source github.com/PentestPad/subzy · commit 6ba1639 on Trickest
image quay.io/trickest/subzy:6ba1639
use cases
subzy use cases
Confirm takeovers across a discovered surface
Feed a full subdomain list into subzy so every host is tested against the live fingerprint set, surfacing only the names that point at claimable, dangling services.
Hunt dangling cloud and SaaS records
Catch subdomains that still CNAME to a deleted S3 bucket, GitHub Pages site, or Heroku app, the exact conditions an attacker uses to hijack a domain.
Keep takeover scans focused
Set -hide_fails to drop non-vulnerable hosts and raise -concurrency so a wide scope finishes quickly with output that only lists actionable findings.
Re-scan on a schedule to catch new exposure
Wire discovery plus subzy into a scheduled Trickest workflow so newly created subdomains are tested for takeover as they appear, without a manual pass.
reference
subzy inputs and flags
| Name | Type | Flag | Description |
|---|---|---|---|
| target | STRING | -target | Single or multiple subdomains separated by comma. |
| targets | FILE | -targets | File of subdomains to scan, the usual pipeline input. |
| concurrency | STRING | -concurrency | Number of concurrent checks (default 10). |
| timeout | STRING | -timeout | Request timeout in seconds (default 10). |
| hide-fails | BOOLEAN | -hide_fails | Do not display non-vulnerable results. |
| force-https | BOOLEAN | -https | Force HTTPS when the target has no protocol defined. |
| dont-verify-ssl | BOOLEAN | -verify_ssl | Skip sites with insecure SSL instead of returning an HTTP error. |
Showing key inputs. subzy exposes 7 inputs in total.
example
subzy command examples
# current upstream CLI (v1.2.1): run is a subcommand
subzy run --targets subdomains.txt --hide_fails --concurrency 50
# the Trickest node runs commit 6ba1639, which takes the older flag form
subzy -targets subdomains.txt -hide_fails -concurrency 50 -timeout 15# output format from subzy's runner/process.go (v1.2.1), not a captured run;
# example.com hosts and the can-i-take-over-xyz AWS/S3 entry are placeholders
[ * ] Loaded 3 targets
-----------------
[ VULNERABLE ] - https://assets.example.com [ AWS/S3 ]
[ DISCUSSION ] - [Issue #36](https://github.com/EdOverflow/can-i-take-over-xyz/issues/36)
[ DOCUMENTATION ] -
-----------------
[ NOT VULNERABLE ] - https://api.example.com
[ HTTP ERROR ] - https://legacy.example.comguidance
subzy vs alternatives
Reach for subzy when you have a subdomain list and need to know which hosts are takeover candidates. It matches can-i-take-over-xyz fingerprints on live HTTP responses, so it confirms claimable pages rather than dangling CNAMEs alone. Pair with subfinder upstream; use tko-subs when you also want optional claim/takeover actions.
| Tool | Pick it when |
|---|---|
| tko-subs | Also detects dangling DNS records and can claim some of them. Uses a providers CSV rather than the can-i-take-over-xyz fingerprint set. |
| subfinder | Finds the subdomains first. Run it before subzy, not instead of it. |
| nuclei | Has takeover templates among many other checks. subzy is purpose-built for this one fingerprint job. |
workflows
Workflows using subzy
faq
subzy FAQ
related
More Vulnerabilities tools
commix
Automates OS command injection detection and exploitation.
dalfox
Parameter mining and XSS testing with headless verification.
log4j-scan
Remote scanner for Log4Shell RCE, CVE-2021-44228.
react2shell-scanner
Confirm the RSC and Next.js RCE CVEs on a URL or host list.
sqlmap
Detect and exploit SQL injection on authorized web targets.
dnsreaper
Subdomain takeover scanner with cloud-zone intake.
Run subzy yourself
A domain feeds subfinder, which enumerates subdomains and passes them to subzy, which flags the takeover candidates as a queryable output.
Facts on this page come from the live Trickest tool library.