![]() ![]() ![]() We know that the server is an IIS 6.0 from the http-server-header. most often used by Hypertext Transfer Protocol (HTTP) We can see that there is only 1 open port: If you find the results a little bit too overwhelming, you can do another command to get only the open ports. Grandpa.htb: hostname for the Grandpa box A: Enable OS detection, version detection, script scanning, and traceroute I use the following command to perform an intensive scan: nmap -A -v grandpa.htb If you want to learn more about it, you can have a look at the documentation here. There are many commands you can use with this tool to scan the network. It uses raw IP packets to determine what hosts are available on the network, what services those hosts are offering, what operating systems they are running, what type of packet filters/firewalls are in use, and dozens of other characteristics. Nmap is a free and open source utility for network discovery and security auditing. It is always better to spend more time on that phase to get as much information as you could. This is one of the most important parts as it will determine what you can try to exploit afterwards. The first step before exploiting a machine is to do a little bit of scanning and reconnaissance. ![]() ![]() With 10.10.10.14 grandpa.htb Step 1 - Reconnaissance I add grandpa on the /etc/hosts file nano /etc/hosts We will use the following tools to pawn the box on a Kali Linux box This vulnerability is trivial to exploit and granted immediate access to thousands of IIS servers around the globe when it became public knowledge Grandpa is one of the simpler machines on Hack The Box, however it covers the widely-exploited CVE-2017-7269. Only write-ups of retired HTB machines are allowed. Some of them are simulating real world scenarios and some of them lean more towards a CTF style of challenge. It contains several challenges that are constantly updated. It's worth noting that a quick review of the Setuid Nmap Exploit module shows the exploit should work with either shell or meterpreter sessions - it's only the check method which is problematic.Hack The Box (HTB) is an online platform allowing you to test your penetration testing skills. 172.16.191.252 - /pentest/exploit/metasploit-framework/modules/post/multi/recon/local_exploit_suggester.rb:134:in `run' 172.16.191.252 - /pentest/exploit/metasploit-framework/modules/post/multi/recon/local_exploit_suggester.rb:134:in `each' 172.16.191.252 - /pentest/exploit/metasploit-framework/modules/post/multi/recon/local_exploit_suggester.rb:136:in `block in run' 172.16.191.252 - /pentest/exploit/metasploit-framework/modules/exploits/unix/local/setuid_nmap.rb:54:in `check' 172.16.191.252 - Post failed: NoMethodError undefined method `fs' for # 172.16.191.252 - Collecting local exploits for cmd/unix. Msf post(multi/recon/local_exploit_suggester) > run Msf post(multi/recon/local_exploit_suggester) > set session 1 Msf exploit(multi/handler) > use post/multi/recon/local_exploit_suggester ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |