Chuyển đến nội dung chính

Bài đăng

Hack the Sidney VM (CTF Challenge)

Today we will take up a boot2root challenge by N ightmares. We will work on Sidney: 0.2 made by N ightmares. This is the third challenge he genially came up with. The VM is set to grab a DHCP lease on boot. As before, gaining root is not the end of this VM. You will need to snag the flag. You can download this VM from –> https://www.vulnhub.com/entry/sidney-02,149/ Walkthrough First things we need to know what IP did the VM got. So naturally scan the network using: netdiscover Now that we have located our target IP i.e. 192.168.0.104, our next step is to scan it. nmap -A -p- 192.168.0.104 Upon scanning we know that port number 80 is open that means this IP will open in the browser so let us try and do that. On opening the target IP on the browser we did not get much information, therefore, we will use curl command to find out more about our target. curl -v http://192.168.0.104/ Now if you onto the source code, you can see that the word “ commorode64 ” used a lot. So we opened ...

Hack the Breach 1.0 VM (CTF Challenge)

This time we are going to solve a fun VM i.e. Breach 1.0. Let’s find out what we already know about it: Breach 1.0 is a first VM in a multi-part series, it is meant to be for beginner to intermediate boot2root/CTF challenge. It is configured with a static IP address (192.168.110.140) so you will need to configure your host-only adaptor to this subnet. nmap -Pn 192.168.110.140 As you can see it has almost all the ports open that could only mean one thing i.e. an IDS is activated. Now let’s start nikto : nikto -h 192.168.110.140 Nikto proved to be useless in this case. So now let’s divert our attention to Port 80 which is most known and open so we will try by investigating the said port and do to so open the target IP into your browser. On the home page you will find an image with some dialogues/comments. Open the page source and you will find a base64 encoded code: <! ——Y0dkcFltSnZibk02WkdGdGJtbDBabVZsYkNSbmIyOWtkRzlpWldGbllXNW5KSFJo —–> Decode this code using a Add-On H...