Enumerating ASN and IP blocks
Last updated
Was this helpful?
Last updated
Was this helpful?
An autonomous system number (ASN) is a unique identifier assigned to an organization or company. It represents a collection of IP addresses that belong to that entity.
For instance, we can use bgp.he.net to identify the ASNs associated with Amazon:
For each found ASN we can then determine the IP ranges assigned to Amazon:
Another way is to make use of its API to enumerate ASN via command line:
Nmap script target-asn
can enumerate IP ranges based upon an ASN.