Lion Cipher Lab

Enumerate and exploit a weak FTP server in your own lab — anonymous access, writable roots, then lock it down

Why it matters

FTP is one of the oldest protocols still running on real networks -- RFC 959 dates to 1985 -- and it refuses to die because it is baked into legacy gear: printers, IP cameras, network-attached storage, backup jobs, industrial controllers, and forgotten Linux boxes. Two things make it a perennial finding on penetration tests. First, FTP is PLAINTEXT: usernames, passwords and file contents cross the wire unencrypted, so anyone who can sniff the network reads the credentials. Second, FTP has an 'anonymous' mode -- log in as the user `anonymous` (or `ftp`) with literally any string as the…

What you'll learn

Steps in this lab

  1. First: this is your lab, and anonymous FTP is a real, common finding
  2. The words you need: FTP, anonymous login, plaintext, and why it survives
  3. Set up the target: install vsftpd and DELIBERATELY weaken it
  4. Discover the service with nmap: version scan, then the ftp-anon script
  5. Log in anonymously and read what the FTP root leaks
  6. The escalation that matters: writable FTP + an executable webroot = RCE
  7. Harden and re-measure: disable anonymous, jail users, move to FTPS/SFTP
  8. The judgment: when FTP shows up, how a pro triages it, and the honest negatives

Open the full interactive lab →