Challenge Overview
Platform: TryHackMe Challenge: TakeOver Category: Web / Subdomain Enumeration
The description hints at subdomain enumeration — that's basically handing you the attack path. Let's go.
Step 1 — Add Host Entry
Add the target domain and IP to /etc/hosts so the lab resolves:
Step 2 — Nmap Scan
Output:
Port 80 redirects to https://futurevera.thm. SSL cert on 443 shows commonName=futurevera.thm. Nothing too exciting yet.
Step 3 — Subdomain Enumeration
The room description says there are subdomains — let's find them with gobuster:
Got hits. Add them all to /etc/hosts:
Step 4 — SSL Certificate Inspection
portal and blog are dead ends. support.futurevera.thm looks empty too — but check the SSL certificate.
Visit https://support.futurevera.thm in the browser, click the padlock → view certificate → check the Subject Alternative Names.
There it is:
Hidden subdomain embedded in the cert. Classic.
Step 5 — Get the Flag
Add it to /etc/hosts:
Visit it on port 80:
Flag.
Key Takeaway
SSL certificates are recon goldmines. SANs (Subject Alternative Names) often list internal subdomains, staging environments, and hidden endpoints that never show up in DNS brute-forcing. Always check the cert.
*— 0xAdham *
