FTP (File Transfer Protocol) is one of the oldest protocols on the internet, dating back to 1971. Despite its age, it remains widely deployed for file transfers. The problem? FTP transmits everything in plaintext, including credentials.
FTP credentials and file contents are transmitted unencrypted. If you capture network traffic, you can read everything. Many organizations still use it internally, making it a valuable target.
Anonymous FTP
Quick Anonymous Check
Use nmap script to quickly check for anonymous FTP: nmap -sV -p21 --script=ftp-anon 10.10.10.10
FTP Enumeration
Known FTP Exploits
The ProFTPd mod_copy vulnerability is particularly dangerous as it allows unauthenticated file copying anywhere on the filesystem!
Brute Force
Knowledge Check
Challenges
Key Takeaways
- FTP transmits everything in plaintext - easy to sniff
- Anonymous login is surprisingly common
- vsftpd 2.3.4 has a famous backdoor (username containing :))
- ProFTPd mod_copy allows unauthenticated file copying
- Always check for upload capability - webshell opportunity