Tag: nmap
17 posts tagged nmap.

Port Egress Testing
Testing which outbound ports a firewall allows during an internal pentest, the problems with public port test servers, and a better solution.

HackTheBox: Sau
HackTheBox Sau walkthrough: SSRF in Request Baskets to reach Maltrail 0.53, unauthenticated RCE, then systemctl less (CVE-2023-26604) for root.

HackTheBox: Valentine
HackTheBox Valentine walkthrough: Heartbleed (CVE-2014-0160) leaks an SSH key passphrase, then hijacking a root tmux session.

HackTheBox: Jerry
HackTheBox Jerry walkthrough: logging into Tomcat Manager with default credentials and deploying a WAR reverse shell for SYSTEM.

HackTheBox: Sense
HackTheBox Sense walkthrough: finding pfSense credentials with GoBuster, then exploiting pfSense 2.1.3 command injection for root.

HackTheBox: Bounty
HackTheBox Bounty walkthrough: bypassing an IIS upload filter with a malicious web.config for RCE, then MS15-015 to SYSTEM.

HackTheBox: Nineveh
HackTheBox Nineveh walkthrough: brute forcing logins with Hydra, phpLiteAdmin and LFI for a shell, then a kernel exploit for root.

HackTheBox: Silo
HackTheBox Silo walkthrough: attacking Oracle TNS with ODAT for a shell, then Volatility on a memory dump and pass-the-hash for admin.

HackTheBox: Bastard
HackTheBox Bastard walkthrough: exploiting Drupal 7.54 for remote code execution, then MS15-051 privilege escalation to SYSTEM.

HackTheBox: Grandpa & Granny
HackTheBox Grandpa and Granny walkthrough: IIS 6.0 WebDAV ScStoragePathFromUrl buffer overflow for a shell, then Windows privilege escalation.

HackTheBox: Bashed
HackTheBox Bashed walkthrough: abusing an exposed phpbash web shell, a PHP reverse shell, then kernel exploit CVE-2017-6074 for root.

HackTheBox: Legacy
HackTheBox Legacy walkthrough: exploiting SMB on Windows XP with the MS17-010 EternalBlue Metasploit module for a SYSTEM shell.

HackTheBox: Beep
HackTheBox Beep walkthrough: an Elastix LFI leaks FreePBX credentials from amportal.conf, reused to get root on the box.

HackTheBox: LAME
HackTheBox Lame walkthrough: exploiting the Samba 3.0.20 usermap_script vulnerability with Metasploit for an instant root shell.

HackTheBox: Haystack
HackTheBox Haystack walkthrough: credentials hidden in an image and Elasticsearch, a Kibana LFI for a shell, then Logstash for root.

HackTheBox: Bastion
HackTheBox Bastion walkthrough: anonymous SMB access to a Windows backup VHD, dumping hashes from it, then decrypting mRemoteNG credentials for admin.

nMap Visulisation
A Python script that parses Nmap and masscan XML output and draws a colour-coded map of hosts and open ports across an IP range.