Skip to content

1. Domain and Infrastructure

1. Identify the primary domain

  • [ ] Confirm the root domain and who owns it

  • Confirm the root domain (strip any subdomain, e.g. app.onetec.com → onetec.com).

  • Watch for two-part endings like .co.uk.
whois onetec.com

dig +short onetec.com

2. Enumerate subdomains

  • [ ] Find all subdomains under the root
    subfinder -d onetec.com -o subs.txt
    

Alternatives for more coverage:

amass enum -d onetec.com
assetfinder --subs-only onetec.com

## Resolve discovered domains

  • [ ] Check which subdomains point to a real IP
    dnsx -l subs.txt 
    

4. Identify live HTTP and HTTPS services

  • [ ] Find which resolved hosts serve a working site
    httpx -l resolved.txt -sc -title -o live.txt
    

5. Identify exposed ports and services

  • [ ] Scan for open ports
    nmap -sV onetec.com
    

Faster for many hosts:

naabu -l resolved.txt -o ports.txt

6. Identify IP addresses and hosting providers

  • [ ] Find the IPs and who hosts them
    dig +short onetec.com
    whois <IP-address>
    asnmap -d onetec.com
    

7. Review DNS records

  • [ ] Pull the main record types
    dig +short A onetec.com
    dig +short MX onetec.com
    dig +short NS onetec.com
    dig +short TXT onetec.com
    

8. Check certificate transparency logs

  • [ ] Find subdomains and related domains from certificates Website: search onetec.com on crt.sh

Command line:

curl -s "https://crt.sh/?q=onetec.com&output=json" | jq -r '.[].name_value' | sort -u

9. Identify CDN usage

  • [ ] Check for a CDN layer (Cloudflare, Akamai, Fastly)
    cdncheck -i <IP>
    

Manual check:

dig +short onetec.com
whois <the-IP>

10. Identify reverse proxies

  • [ ] Look at response headers for proxy clues
    curl -sI https://onetec.com
    

11. Identify WAF protection

  • [ ] Detect a web application firewall
    wafw00f https://onetec.com -a
    

12. Search for development and staging environments

  • [ ] Hunt for dev, staging, test, uat, qa hosts
    grep -E "dev|staging|test|uat|qa|preprod" subs.txt
    

13. Identify the certificate Type

  • [ ] Identify the certificate infromation
echo | openssl s_client -connect <IP>:<PORT> 2>/dev/null | openssl x509 -noout -text