MATRIX
Hello, welcome all, we are here for a walkthrough on matrix machine. Lets roll on and capture the flag.
Summary of the steps
The summary of the steps involved in solving this CTF is given below.
1, Identifying target host by using the Nmap utility
2, Scanning open ports by using the Nmap scanner
3, Learning more about the target system with HTML comments
4, Identifying and downloading hidden files
5, Generating a password list with wordlist
6, Brute-forcing with Hydra
7, Logging in and bypassing Rbash shell
8, Taking root access
9, Reading flag file
Step-1
* First open terminal and run "ifconfig" command, copy the IP and move to next step
Step-2
switch to root user by running "sudo su" command
* Take IP and scan using Nmap run;
⇒ nmap -sn IP.0/24
* For aggressive scanning run;
⇒ nmap -A -v IP
Step-3
* Copy that IP and search it on your browser, and a new page opens then;
right click ➡ view page source;
we can't find any clues from the html comments, so copy the IP from the search bar eg;(https//192.168.29.121/ ), then come back to our terminal and run
⇒ dirb IP (eg; https//192.168.29.121/ )
Copy https://192.168.29.225/assets (CODE: 301| SIZE:0) and search it on your browser, then we get a new page;
In these files open img/ and then open port31337.png file here we can see an image of rabbit;
Open browser and search IP with the port no, that we find (eg; 192.168.29.225:31337/ ) then you will get into a new window like this;
Here right click ➡ view source page
Then scroll down we get a hash value, copy that and decode it on any website; (eg: base64)
⇒ cd Downloads
⇒ ls
⇒ cat cypher.matrix
Now we get some charecters in an encrypted form, go to any website and decrypt that text.
Step-5
Now we are going to creating a wordlist of passwords, run command; after entering into the Downloads directory
⇒ ls
⇒ cat wordlist





Comments
Post a Comment