In July 2011, unknown attackers compromised the master download server for VSFTPD and replaced the legitimate source code archive for version 2.3.4 with a malicious copy. This altered version contained a classic backdoor: if a user attempted to log in with a username that ended in a smiley face emoticon ( :) ), the server would immediately open a command shell listening on TCP port 6200.
: This repository provides a straightforward Python script to exploit the backdoor.
Here's a breakdown of the steps involved:
: Always verify the MD5 or SHA256 checksums of downloaded software packages against official repository records.
Vsftpd (Very Secure FTP Daemon) is a popular open-source FTP server used on Linux and Unix-like systems. In 2011, a critical vulnerability was discovered in vsftpd version 2.0.8, which allowed attackers to execute arbitrary code on the server. This exploit has been widely discussed and shared on GitHub and other online platforms.
: Block port 6200 at your network firewall to prevent unauthorized shell access even if a vulnerable daemon is running.
If you are running an affected version, to the latest stable release of vsftpd. The backdoored version was only available for a few days in July 2011, but many older "vulnerable by design" virtual machines still use it for educational purposes.
Because this is a historical security flaw, verified exploit code is widely archived across public repositories. Direct Github Links & Exploit Code
The module will automatically send the :) username, check for the backdoor on port 6200, and spawn a command shell. Detection and Mitigation
msf6 > use exploit/unix/ftp/vsftpd_234_backdoor msf6 > set RHOSTS TARGET_IP msf6 > run