Lion Cipher Lab

Move a file between two machines you own four ways, then see what each leaves in logs and in Zeek

Why it matters

Moving files between machines is something administrators do all day, and it is also how data leaves a network. A defender cannot judge a transfer unless they know what each method looks like on the wire and in logs. The honest answer is different for each: SSH-based copies are encrypted, so the network sees sizes and times but not the file; plain HTTP shows the file, its type and its size. By doing the transfer yourself and then reading your own capture, you learn what evidence exists, what is missing, and why a defender cares about volume, direction and timing, not only file names.

What you'll learn

Steps in this lab

  1. The authorization rule, and the plan
  2. Make the test file and its fingerprint
  3. Start the capture on BOX_B
  4. Method 1: scp
  5. Method 2: rsync over ssh
  6. Method 3: python http.server and curl
  7. What the machines themselves logged
  8. Run Zeek on your capture
  9. Read conn.log: every transfer is a connection
  10. Read ssh.log, http.log and files.log
  11. Make Zeek prove the hash, and what that does and does not give a defender
  12. When to use each, and what a professional does differently
  13. Clean up, and what a defender saw

Open the full interactive lab →

Keep learning