Funbox Rookie Vulnhub Walkthrough

Hello, Friends Welcome to Another Vulnhub Machine Walkthrough is name Funbox: Rookie. This Easy level box. and This VM makes for Testing Penetration Tester Skill and this machine is hosted on Vulnhub Server you can download here this machine.

Network scanning

Let’s Star with network Scanning find our target IP address using the Nmap ping scan command.

Funbox Rookie Vulnhub Walkthrough

Nmap is discovered our target IP address. In my case, my target IP address is ( 192.168.43.88) and our next step is scanning target machine ports and running services.

and Nmap Scanning output is shown open ports target machine and we can see FTP service allows anonymous user login and there have lots of zip files.

Enumeration

We started Enumeration on port 21/FTP by using the URL we can login we anonymous FTP user and we download the every one file our local machine.

Funbox Rookie Vulnhub Walkthrough

Password Cracking

After download all zip files First we generate hash all files by using the zip2john tool. and we crack only two zip file cathrine.zip and tom.zip. let’s extract the zip file data After extract the file we found a private SSH key

Funbox Rookie Vulnhub Walkthrough

Now we have ssh private. first, we changed the private key permission and then try to login with the tom user SSH server.

After getting a shell target machine we enumerating the machine but our some command is not working and we can see our shell environment is rbash means ( restrict bash shell ) there have lots of option bypassing this shell but we’re using the python command for bypass rbash the shell.

read more about rbash shell cheat sheet

Funbox Rookie Vulnhub Walkthrough

After reading the .mysql_history we found a possible password for tom user and the sudo -l command is shown our user can run any command with a password. let’s run the sudo su command for getting root account access.

Funbox Rookie Vulnhub Walkthrough

let’s move the /root directory and read the root flag.

Funbox Rookie Vulnhub Walkthrough