
End-to-end recon and exploitation of a known backdoor (CVE-2010-2075) on Metasploitable2 using Nmap and Metasploit.
Metasploitable2 is an intentionally vulnerable virtual machine, published specifically for security training and practice. This project was carried out entirely within an isolated virtual lab that I own and control, for educational purposes only.
This project documents a full attack chain against Metasploitable2: discovering the host on the network, fingerprinting its services, identifying a known backdoor in UnrealIRCd, and exploiting it to gain shell access.
Practice and document the standard recon-to-exploitation workflow: find the target, enumerate its services, identify an exploitable vulnerability, exploit it, and confirm the level of access gained.
nmap -sn 192.168.245.0/24 to discover live hosts on the subnet.nmap -sT -A <target-ip> to fingerprint the OS and get detailed
host information.ping.nmap -sV <target-ip> to enumerate open ports and service
versions, which surfaced UnrealIRCd running on port 6667.unix/irc/unreal_ircd_3281_backdoor, a known
exploit for a backdoor inserted into UnrealIRCd 3.2.8.1
(CVE-2010-2075).whoami, which returned root.ls -l, cd /etc) and read /etc/shadow to
confirm the level of access obtained.| Technique | ID | Description |
|---|---|---|
| Network Service Discovery | T1046 | Nmap host and service scanning |
| Exploit Public-Facing Application | T1190 | UnrealIRCd backdoor exploitation |
| OS Credential Dumping | T1003.008 |
/etc/shadow by a non-root-owned process or an
unexpected session should trigger an alert in a properly configured
environment.Nmap's version detection did the heavy lifting here. Recognizing UnrealIRCd 3.2.8.1 as a specific, known-vulnerable version is what turned a generic scan result into an actual finding. That's the same skill a vulnerability analyst or SOC analyst uses when triaging scan output against a CVE database.
Metasploitable2 has no patches or hardening applied by design. This demonstrates the exploitation mechanics, not what it takes to compromise a maintained, monitored production system.
whoami output/etc/shadow hash dump)| Reading /etc/shadow |