Lion Cipher Lab

Spot a domain generation algorithm: the DNS pattern that reveals resilient C2

Why it matters

When you block a malware's command-and-control (C2) domain, a good adversary shrugs — because their malware never depended on that one name. A Domain Generation Algorithm (DGA) has the malware and the operator independently compute the SAME giant list of throwaway domains each day from a shared seed; the malware tries them until one answers, and the operator only has to register a single domain per period to stay reachable. You cannot block your way out of that with a list. But the technique leaves a loud fingerprint in DNS logs: a single host firing hundreds of random-looking domain lookups…

What you'll learn

Steps in this lab

  1. The scenario, and what a DGA actually is
  2. The DNS log — read it before you read another word of mine
  3. Tell #1 — the domains don't look like language
  4. Tell #2 — the NXDOMAIN flood is the real signature
  5. Tell #3 — the set rotates by date (seed + date)
  6. Say it out loud — the analyst's one-paragraph verdict
  7. The third rule — WHEN this reading works, WHEN it fails, and HOW a pro does it at scale
  8. Why DGA makes C2 resilient — the takeaway to keep

Open the full interactive lab →