ASN and IP Range Discovery via Public Sources
You'll learn how to find which IP address blocks belong to an organization by querying public internet routing databases—a key reconnaissance step before testing or securing networks.
What is This All About?
Every organization connected to the internet doesn't just have individual IP addresses; they own blocks or ranges of IPs. These blocks are tracked using Autonomous System Numbers (ASNs)—unique identifiers assigned to networks that manage their own routing policies.
Think of an ASN like a postal district number: it tells you which "neighborhood" of the internet an organization controls. The IP ranges are the actual "street addresses" within that district.
Where to Find This Information
Public databases maintained by Regional Internet Registries (RIRs) track who owns what:
- ARIN (North America)
- RIPE NCC (Europe, Middle East)
- APNIC (Asia-Pacific)
- LACNIC (Latin America)
- AFRINIC (Africa)
You can also query BGP route registries that show how internet traffic is routed globally. Services like RIPEstat, Hurricane Electric's BGP toolkit, and Team Cymru's IP-to-ASN lookup expose this routing data.
Why Security Professionals Care
During reconnaissance, knowing an organization's complete IP footprint reveals:
- All their public-facing infrastructure
- Subsidiary networks they might not advertise prominently
- Cloud provider allocations
- The true scope of your attack surface (if you're defending) or target (if you're testing with permission)
This is entirely passive—you're just reading public records, not touching the target's systems yet.
Key Takeaway:
ASN and IP range discovery uses public RIR and BGP databases to map an organization's complete internet address space without directly interacting with their network.