Lion Cipher Lab

Set up Snort 3 to watch your own network (open-source IDS)

Why it matters

A firewall decides what is allowed through. It does not tell you what actually happened. An intrusion detection system does the other half of the job: it reads the traffic crossing a link and raises a named, explainable alert when something matches a pattern of known-bad activity. Snort is the original — the engine that essentially invented open-source network detection, is now maintained by Cisco Talos, and whose rule syntax became the lingua franca that other engines copied. Standing one up yourself is the single fastest way to stop thinking of detection as a magic box and start thinking of…

What you'll learn

Steps in this lab

  1. Rules of engagement: your own wire, and nothing else
  2. What an IDS actually is — and why it is not a firewall
  3. The thing nobody tells beginners: placement beats rules
  4. Get to a Linux terminal (zero assumptions)
  5. The trap: `apt install snort` does NOT give you Snort 3
  6. Install the build dependencies
  7. Build and install libdaq (Snort's ears)
  8. Build and install Snort 3 itself
  9. Prove the install: snort -V and --daq-list
  10. Pick the interface that actually carries your traffic
  11. Sniffer mode first — watch raw packets with no rules at all
  12. Packet-logger mode — write what you see to disk
  13. Validate the configuration before you trust it (-T)
  14. Get the free Talos community ruleset
  15. Run Snort in IDS mode against the community ruleset
  16. Write your own rule and make it fire — safely, on your own ping
  17. Read the alert line field by field
  18. Why the 4,000 community rules stayed silent — the limits of signatures
  19. Snort vs Suricata vs Zeek — which, and why
  20. What you actually built, and what to keep

Open the full interactive lab →