Footprinting & Passive Reconnaissance
foundational 25 min

Whois, ASN and the public footprint

Build a scope file of owned domains, netblocks and ASNs without touching the target's infrastructure.

whoisamassdig

Why start with public data

Every engagement begins before the first packet leaves your machine. Registration records, BGP announcements and DNS describe who owns an address range, how it is announced, and which names resolve into it. None of that traffic reaches the target's infrastructure, so it is effectively silent.

Registrant and range data

whois example.com returns the registrar, key dates, name servers and often an abuse contact. Then query the IP itself: whois 93.184.216.34 gives the netblock, the owning organisation and the ASN. An ASN is the useful pivot — it maps to every prefix that organisation announces, which is usually far larger than the single domain you started from.

Technology hints you get for free

Mail exchangers name the mail provider. TXT records carry SPF, DKIM selectors and vendor verification tokens that disclose the exact SaaS products in use. Historical DNS shows hosts that were retired but may still resolve internally.

Record everything

Keep a scope file with domains, netblocks, ASNs and the source for each entry. You will aim scans with it later, and on the defensive side it is the asset inventory that makes detection possible.

Practice commands locked

Commands unlock once you hold an active authorization scope and a verified isolated lab. The lesson text, the attack/defence panel and the knowledge check stay open.

  • · Authorization scope: none active
  • · Lab isolation: no profile recorded
Open the safety center
Attacker's view

Corporate ownership, hosting and mail providers, netblock size and the DNS provider — enough to choose where to probe and to build convincing phishing infrastructure.

Countermeasure

Use a privacy service for registration data and keep the abuse contact monitored. Audit DNS TXT records quarterly: every stale vendor verification token tells an attacker which SaaS you run. Maintain your own asset inventory so a newly registered look-alike domain or an unannounced prefix gets noticed.

Detection signals
  • Alert on AXFR zone-transfer attempts against your authoritative servers
  • Watch passive-DNS feeds for new hostnames resolving into your netblocks
  • Monitor certificate transparency for look-alike domains carrying your brand
  • Rate-limit bulk whois lookups from single sources at your registrar

Knowledge check

Sign in to take the knowledge check, save your score and unlock the next lesson in the path.

Hacker fact

Kevin Mitnick was arrested in 1995 after one of the most publicised manhunts in computing history, and later became a security consultant and author.

Stay Ethical

Real Hackers protect systems

Practice only against systems you own or have written authorization to test. Scanning networks without permission is illegal in most jurisdictions.

Pass the knowledge check above to unlock the next lesson.