IP addresses and ASNs · 02 Technique

IP addresses and ASNs: technique

The technique for analysing an IP address: identification, querying the regional registry, ASN and prefix, reverse resolution and hosted domains, cautious geolocation, reputation, history, links.

  1. 01
    Identify the address

    From the domain’s DNS records, an email’s headers, a server’s logs, an attack report.

  2. 02
    Query the registry

    RDAP or WHOIS of the regional registry: block, holder, country, abuse contact.

  3. 03
    Derive ASN and prefix

    Which autonomous system announces the address and since when.

  4. 04
    Classify the network

    Home access, mobile, hosting, CDN, VPN or corporate network.

  5. 05
    Look for hosted domains

    Reverse resolution and passive DNS to see which sites share the address.

  6. 06
    Assess the location

    Geolocation databases usually get the country right, the city much less so.

  7. 07
    Check reputation

    Blocklists, abuse reports, threat intelligence services.

  8. 08
    Reconstruct history

    Who used the address at the moment that matters, not just today.

terminale
whois 192.0.2.10
curl -s https://rdap.db.ripe.net/ip/192.0.2.10
dig -x 192.0.2.10 +short
curl -s "https://stat.ripe.net/data/prefix-overview/data.json?resource=192.0.2.10"

Address and autonomous system are valuable pivots, but they must be weighed: millions of unrelated sites share the addresses of a large CDN.

Continue with
03 Sources

IP addresses and ASNs: sources

The sources for IP address research: regional registry databases, BGP announcements, reverse resolution and passive DNS, geolocation databases, reputation lists, device search engines.

↑