Lion Cipher Lab

Hunt on your own endpoint with osquery

Why it matters

Visibility is only worth something when you use it to ask a hard question. The configure lab gave you the tables and a baseline; hunting is the act of interrogating them — not scrolling a full process list, but asking a specific question that would only be true if something were wrong, and reading the answer. The skills here are exactly what a SOC analyst or threat hunter does at scale: join a listening port to the process behind it to catch an unexpected open door, walk crontab and startup_items to find how an intruder arranged to survive a reboot, list the files a suspicious process is…

What you'll learn

Steps in this lab

  1. What hunting means here, and where you type it
  2. What is listening, and who owns it? (your first JOIN)
  3. Who can log in, and who is logged in right now?
  4. How would it survive a reboot? Hunt persistence
  5. What is a process touching? process_open_files
  6. Fingerprint the binary: the hash table
  7. Make it repeatable: save your queries as a pack
  8. Know the edges: snapshot, read-only, and "a query is a lead"

Open the full interactive lab →