Hands-on vulnerability analysis and non-destructive verification of the vsftpd 2.3.4 backdoor (CVE-2011-2523) in an isolated lab.
Hands-on vulnerability analysis and non-destructive verification of the vsftpd 2.3.4 backdoor (CVE-2011-2523) in an isolated lab.
This project is for educational purposes only. The labs were conducted in an isolated, controlled virtual environment on personal virtual machines (Kali Linux and Metasploitable 2). Unauthorized access to networks, servers, or devices is illegal and unethical.
scan_results.txt: Full Nmap port scan logs detailing running services on the target.assets/Screenshot 2026-10-06 105901.png: Target host network configuration and user verification.assets/Screenshot 2026-10-06 105916.jpg: Baseline Nmap scan showing port 6200 closed, followed by the trigger sequence sent to port 21.assets/Screenshot 2026-10-06 105951.png: Follow-up scan confirming port 6200 opened on the target.assets/Screenshot 2026-10-06 111114.png: Netcat connection to port 6200, terminal upgrade via Python PTY, and privilege verification.assets/Screenshot 2026-10-06 112223.png: Clean session teardown returning to the local workstation context.This project analyzes how a historic supply-chain backdoor in the vsftpd 2.3.4 file-sharing software (CVE-2011-2523) operates inside an isolated lab network.
Back in 2011, the official download file for vsftpd 2.3.4 was secretly modified by an unknown attacker. When anyone sends a username ending with a smiley face :) to port 21, the program executes a hidden piece of code that opens port 6200 on the target computer and attaches a root command shell to it. This lab documents how this flaw is verified, observed over the network, and safely audited without altering the system.
10.0.2.0/24).10.0.2.15): Security testing workstation used for scanning and network interactions.10.0.2.3): Intentionally vulnerable Linux server running the unpatched vsftpd 2.3.4 service.nc): Networking tool used to send raw protocol commands to port 21 and connect to the backdoor port on 6200.pty) from a bare network socket.USER test:) followed by a dummy password caused the FTP server to silently open port 6200 in the background.closed to open right after the trigger was processed.uid=0) because the parent FTP service was run by the administrator account.pty.spawn("/bin/bash") turned a blank raw connection into a functional terminal prompt.
Figure 1: Target host network setup (10.0.2.3) and standard user context confirmation (msfadmin).

Figure 2: Verifying port 6200 is initially closed, then transmitting the USER test:) trigger to port 21 via Netcat.

Figure 3: Follow-up Nmap scan showing port 6200 flipped state from closed to open.

Figure 4: Connecting to port 6200, upgrading the socket with Python, and confirming root access with whoami and id.

Figure 5: Exiting the remote shell and returning cleanly to the local Kali workstation prompt.

Hochleistungsfähiges Netzwerk-Erkennungs- und Sicherheits-Audit-Tool mit fortschrittlichem Port-Scanning, Betriebssystemerkennung, Dienstversionserkennung und einer skriptbaren NSE-Engine für automatisierte Aufklärung und Schwachstellenbewertung.

TCP-Portscanner, der asynchron SYN-Pakete versendet und das gesamte Internet in unter 5 Minuten scannt.

ZMap ist ein schneller Single-Packet-Netzwerkscanner, der für internetweite Netzwerkerhebungen entwickelt wurde.