Lion Cipher Lab

Pivot on TLS certificate fields and measure each pivot's precision

Why it matters

When an investigation hands you one malicious server, the question that matters next is 'what else does this operator run?' The TLS certificate on that server is one of the richest answers, because internet-wide scanners record every certificate they see, and operators are creatures of habit: they copy one certificate onto several servers, re-issue from the same key, or leave the default values their tooling filled in. MITRE ATT&CK says it directly in its detection guidance for self-signed certificates (T1587.003): it may be possible to pivot on known pieces of certificate information to…

What you'll learn

Steps in this lab

  1. The idea: one certificate, six pivots of very different strength
  2. The vocabulary: the fields of an X.509 certificate
  3. Set up a short, empty working folder and check your tools
  4. Mint three certificates the way a hurried operator does
  5. Read every pivot key with a stdlib Python reader
  6. The judgment: rank the fields before you trust any of them
  7. Generate a labelled, synthetic scan of 641 TLS services
  8. Pivot from three seeds and score every field
  9. Read the scores like an analyst
  10. The honest limits: what certificates cannot tell you
  11. Where this goes next

Open the full interactive lab →