Lion Cipher Lab

Derive an egress allowlist from observed flows and replay it

Why it matters

Most networks let servers connect out to anywhere on the internet. That makes an attacker's life easy: malware calls home, stolen data leaves, and tools are downloaded, all over ordinary-looking HTTPS. Egress filtering, meaning a default-deny policy for outbound traffic with only approved destinations allowed, is one of the most effective controls against all of that. NIST's firewall guidance (SP 800-41) discusses filtering outbound traffic, and zero trust architecture (NIST SP 800-207) is built on granting access only where it is needed. The hard part is deciding what to allow. The usual…

What you'll learn

Steps in this lab

  1. Default-deny egress, and how an allowlist is usually built
  2. Two weeks of flows
  3. Write the learn-and-replay script
  4. Replay at two thresholds
  5. Learn, then review: a method that works

Open the full interactive lab →