Lion Cipher Lab

Enrich proxy-log domains with RDAP registration age, then measure whether the signal is worth an alert

Why it matters

Every SOC eventually hears the rule of thumb 'newly registered domains are bad', and every SOC is tempted to turn it straight into an alert. Phishing and malware infrastructure often is young, because attackers register fresh domains for each campaign and abandon them when they get blocked. But a rule of thumb is not a detection. Your marketing team launches a new campaign domain, a team signs up for a new SaaS tool, and a domain that is ten years old gets compromised and starts serving malware. The only way to know whether age is worth an alert in your environment is to enrich the domains…

What you'll learn

Steps in this lab

  1. What this lab does that its neighbours do not
  2. The words you need: RDAP, WHOIS, registry, registrar, bootstrap, events
  3. Optional: one live RDAP lookup, bootstrap first
  4. Generate the labelled dataset (offline, same for everyone)
  5. Read three fixtures before you write any code
  6. Write the enricher: bootstrap, first sighting, age at observation
  7. Run it and read the coverage line first
  8. Measure the mistake: age from today instead of age when seen
  9. Add one cheap feature and measure what it buys
  10. Decide what 'age unknown' means before it decides for you
  11. What age can never see, and where the data itself lies
  12. The caveats this dataset cannot show you
  13. When to use it, why it works, and how to do it better

Open the full interactive lab →