Lion Cipher Lab
Move a file between two machines you own four ways, then see what each leaves in logs and in Zeek
- Penetration Testing / Red Team
- Intermediate
- ~60 min
- Free · no account required
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
- copying a file with scp and with rsync over ssh
- serving a folder with python http.server and fetching with curl
- proving a copy is intact with sha256sum and its check mode
- capturing your own transfer with tcpdump into a pcap file
- reading conn.log, ssh.log, http.log and files.log that Zeek writes from the pcap
- explaining why an encrypted transfer shows size but no file, and a plain HTTP transfer shows the file
Steps in this lab
- The authorization rule, and the plan
- Make the test file and its fingerprint
- Start the capture on BOX_B
- Method 1: scp
- Method 2: rsync over ssh
- Method 3: python http.server and curl
- What the machines themselves logged
- Run Zeek on your capture
- Read conn.log: every transfer is a connection
- Read ssh.log, http.log and files.log
- Make Zeek prove the hash, and what that does and does not give a defender
- When to use each, and what a professional does differently
- Clean up, and what a defender saw
Open the full interactive lab →