HackTheBox - "Lame" Write-up

HackTheBox - "Lame" Write-up
1 min read

Initial Enumeration

We start with an Nmap scan to identify open ports and services running on the target machine.

nmap -sC -sV 10.10.10.3

The scan reveals an open FTP port with anonymous login enabled and an SMB service.

Exploitation

The vsftpd version 2.3.4 has a known backdoor. We can use Metasploit to exploit this vulnerability.

use exploit/unix/ftp/vsftpd_234_backdoor

After setting the RHOSTS, we run the exploit to gain a root shell.