Skip to main content

Posts

Showing posts with the label vulnhub hack challenges

FartKnocker – Vulnhub CTF Challenge Walkthrough

Fart Knocker is a Boot2Root Challenge from TopHatSec Series and is available at  Vulnhub . This is a unique and interesting challenge that includes Packet Analysis and Port Knocking. In this walkthrough, I’ll be using Parrot Security OS but you can use any Linux distro you want. Start the Virtual machine and use Netdiscover to find its IP Address. Register this IP to your local DNS file “/etc/hosts”. sudo netdiscover -r [IP/subnet] sudo nano /etc/hosts Run a full port Nmap scan. There’s no port open except HTTP. Open this on your browser. Click on the link below, you’ll be prompted to download a file. This is a “pcap” file. when you open this file in Wireshark, you’ll see a knocking pattern on port no 7000, 8000, 9000, 7000, 8000. Apply TCP filter to see the pattern. Now, I’ll use a utility “knock” to knock these ports install Knockd sudo apt install knockd knock knock.local 7000 8000 9000 7000 8000 nmap -p- knock.local By running Nmap sca

Tr0ll 1.0 – Vulnhub CTF Challenge Walkthrough

  Tr0ll 1.0 is an intentionally vulnerable machine, which is more of a   CTF  like type than real world scenario. Nevertheless, this machine has its own difficulties and you can learn some new stuff from it. So, let’s start. Enumeration Phase Let’s first run  netdiscover  to find the IP of our machine. netdiscover -r 192.168.1.1/24 After that, we run our typical  nmap  scan to see the open ports in the machine. nmap -A -sS -Pn -vv [target] Great we see many interesting stuff here. First of all, there is an open  FTP  port and we can connect to it with  anonymous access .  Also there is an open  http  port, we will run a nikto scan for it. The  ssh  port will be valuable later. From the nikto scan we got an interesting  /secret/  folder. When we get inside, we can understand why the machine got this name. Nothing interesting here, as you can see. we got trolled Let’s connect to the ftp server. When we get asked for the username we type ‘ anonymous ‘ and we l
SickOS 1.2 is the second Boot2Root Challenge in SickOS Series and is available at  Vulnhub . This is an interesting CTF and requires think-out-of-the-box mentality. This VM is intended for “Intermediates” and should take a couple of hours to get root. In this walkthrough, I’ll be using  Parrot Security OS  but you can use Kali or any other distro. Turn on the  Virtual Machine  and use Netdiscover to determine the IP. Then register this IP to your local DNS file “/etc/hosts”. sudo netdiscover -r [IP/subnet] sudo nano /etc/hosts Run a full port Nmap scan. There is an HTTP Server running. There’s no “robots.txt” file so we need to run a dirb scan. dirb http://sick.local/ There’s an empty directory called “/test/”. When we test the Server, we see that PUT and DELETE commands are enabled. Now, try to put something to the Server. Fire up Burp Suite and in Repeater, set up the host as “sick.local” and port 80 and write PUT /test/hello HTTP/1.1 Host: