TryHackMe Brooklyn Nine Nine Writeup

This is a writeup for TryHackMe Brooklyn Nine Nine room.
My target IP is 10.10.178.103
NMAP
sudo nmap -sS -sV -A 10.10.178.103

Three ports are open.
GOBUSTER

Nothing useful in Gobuster.
WEBSITE INSPECTION


Well then lets download image and check it.
time stegseek brooklyn99.jpg rockyou.txt


We have holt’s password.
FTP
We are allowed to login as anonymous as we can see in the Nmap results. Therefore, we don’t need to enter a password.

We found a file and this indicates we may try Hydra.

HYDRA
hydra -l jake -P rockyou.txt 10.10.178.103 ssh

SSH AND USER FLAG
First I will try SSH as jake.

Nothing useful in our directory.

After a little search, I found user flag.
ROOT FLAG
I will ssh as holt now.


We can just read the root flag since holt can run the nano command as sudo.
sudo /bin/nano /root/root.txt
