Skip to main content

Posts

Showing posts with the label Active Directory

Hackthebox.eu - Retired - Forrest

Hackthebox.eu - Retired - Forrest Recon As always  I start with a simple up/down scan on all TCP ports to see what we can find. nmap -T4 -p- -oX /root/Desktop/HTB/Forest/nmapb.xml Then I convert that to HTML to make it pretty :) xsltproc /root/Desktop/HTB/Forest/nmapb.xml -o /root/Desktop/HTB/Forest/nmapb.html That's a whole lot of open ports. Now let's do the next part of our staged scan. I'm going to scan just those ports with the -A switch to finger os/services nmap -T4 -p 53,88,135,139,389,445,464,593,636,3268,3269,5985,9389,47001,49664,49665,49666,49667,49671,49676,49677,49684,49698,49717 -oX ./nmapf.xml -A 10.10.10.161 Then convert that to HTML too xsltproc /root/Desktop/HTB/Forest/nmapf.xml -o /root/Desktop/HTB/Forest/nmapf.html Looks like we got a windows machine with AD services, winrm, dns Let's poke around and see what we see, I added forest.htb to my hosts file here too. Let's start with smb Anon