Lion Cipher Lab

Fingerprint C2 servers with JARM to cluster malicious infrastructure

Why it matters

A huge amount of threat-intelligence work is not about a single malicious IP — it is about finding the OTHER servers that belong to the same actor before they are used against you. That is infrastructure pivoting, and it lives near the top of the Pyramid of Pain: if you can cluster and burn an adversary's whole tooling footprint, you cost them far more than blocking one address. JARM is one of the cleanest ways in. It is an ACTIVE TLS server fingerprint: you send a server ten deliberately-varied TLS handshakes and hash the pattern of how it answers, producing a 62-character fingerprint of…

What you'll learn

Steps in this lab

  1. The idea: cluster the infrastructure, not the indicator
  2. Active vs passive, and CLIENT vs SERVER — the distinction that keeps this from being a JA3 rerun
  3. Set the authorization boundary before you send a single packet
  4. Install JARM
  5. Fingerprint your first host and read the 62 characters
  6. Fingerprint a few more hosts and watch them cluster (or not)
  7. The false-cluster trap: CDNs, domain fronting and shared hosting
  8. Scale it up the RIGHT way: pivot in Censys/Shodan instead of scanning the internet yourself
  9. The judgment: never single-signal, and mind that you left tracks
  10. What you built, and where it plugs in

Open the full interactive lab →