Lion Cipher Lab

Turn a flat list of malicious IPs into infrastructure intelligence: enrich and cluster by ASN and prefix (offline)

Why it matters

A blocklist of IP addresses is one of the lowest forms of threat intelligence there is. It is a list of dots with no relationships: block these forty addresses and you have solved exactly forty problems, each of which the adversary can replace in minutes by spinning up the next host in the same pool. The value was never in the individual addresses -- it is in the STRUCTURE behind them, and that structure is mostly invisible until you enrich each IP with where it actually lives on the internet: which Autonomous System (the network operator's routing domain) announces it, which prefix (the CIDR…

What you'll learn

Steps in this lab

  1. The vocabulary of routing, from zero: ASN, prefix, BGP, holder, IP-to-ASN
  2. The problem: a flat blocklist is dots with no relationships
  3. Ship the data: the 40-IP indicator list and a LABELLED IP-to-ASN stub
  4. Enrich with longest-prefix match, and read the enriched table
  5. Cluster by ASN and by /24, and read the concentration
  6. Pivot from a hot ASN, and do the blocking-economics math
  7. Honest negatives: what this does NOT tell you
  8. Do it for real: pyasn, Team Cymru, and looking glasses (and judgment)

Open the full interactive lab →