What is an ASN?#
An Autonomous System Number (ASN) is a unique identifier assigned to an autonomous system (AS). An AS is a network or group of networks run by a single administrative entity. It presents one routing policy to the internet. Every organization that peers directly with the internet's backbone routing infrastructure is assigned an ASN. ASN data is a key part of threat intelligence. It provides the hosting attribution layer in domain investigations.
BGP routing context#
ASNs exist because of the Border Gateway Protocol (BGP), the routing protocol that governs how traffic moves between networks on the internet. When your ISP routes traffic to a destination, BGP path selection uses ASNs to determine the sequence of networks a packet traverses. Each AS announces the IP prefixes it controls, and neighboring ASes propagate those announcements. An AS is essentially a collection of Internet Protocol (IP) address prefixes under common administrative control. For more on how DNS maps domain names to these IP addresses, see what DNS is.
ASN formats#
Originally, ASNs were 16-bit numbers (0 to 65,535), but as the internet grew, the pool was exhausted. 32-bit ASNs (0 to 4,294,967,295) were introduced, expanding the available space. 16-bit ASNs are written as plain integers (e.g., AS13335 for Cloudflare), while 32-bit ASNs may appear in "asdot" notation (e.g., AS1.10) or as plain integers above 65,535.
Domain protection
Detect adversary infrastructure while it is being staged.
Have I Been Squatted helps security teams detect lookalike domains, certificate and DNS changes, and staging infrastructure, investigate the evidence, and coordinate takedowns.
Allocation#
Regional Internet Registries (RIRs) allocate ASNs. The five RIRs are ARIN (North America), RIPE NCC (Europe/Middle East/Central Asia), APNIC (Asia-Pacific), LACNIC (Latin America/Caribbean), and AFRINIC (Africa). Organizations request ASNs from their regional RIR, along with the IP prefix allocations the AS will announce. RIR databases are public and queryable, so ASN ownership is relatively transparent.
ASN in domain investigations#
When investigating a suspicious domain, resolving its IP address and looking up the associated ASN reveals who hosts the infrastructure. This is valuable because:
- Certain ASNs are associated with bulletproof hosting providers that ignore abuse reports. ASN reputation scoring quantifies this risk.
- Clustering multiple suspicious domains on the same ASN can reveal campaign infrastructure.
- Legitimate brands typically host on well-known ASNs. Unexpected hosting providers are a signal worth investigating.
ASN lookup tools accept an IP address and return the ASN, prefix, and registered organization. This lookup is a standard step in domain enrichment workflows.
Limitations#
An ASN identifies the network operator, not the individual customer. Large cloud providers and CDNs host millions of unrelated customers under a single ASN, so the ASN alone cannot confirm malicious intent. ASN data is best used as one signal among many. It adds hosting context, but it must be correlated with DNS and other signals to support conclusions.