HackTheBox: Devel

 Welcome Back Guys, Today we are going to talk about Hack The Box machine named DEVEL.


So lets start with Network Mapper (NMAP) scan.


After rectifying the output, conclusions for this is. 


As we can see two ports are running port 21, 80 for FTP, HTTP respectively.

So lets check port 80 first


Now lets see the FTP port no. 21 using command

Seeing the output, we can rectify that we can send any file from our machine to the victim machine.

So lets try sending a aspx file for getting a reverse shell from that. So my file would be like shell.aspx and this would be created from using below mentioned command.


Now lets upload the file through FTP onto 10.10.10.5, and then start the listener on port no you specified while making payload in msfvenom command.



Now access the payload using URL as /shell.aspx So now check whether you have received the reverse connection from website or not.


But still we dont have access to any users like Babis nor Administrator.

So we would check the system information using the command systeminfo.


So we can see here the details of machine as Microsoft Windows 7 Enterprise v6.1.7600.

So after researching on Internet, I came across secwiki's windows kernel exploit payloads. (Figure shows and link provided)

LINK: https://github.com/SecWiki/windows-kernel-exploits

So now we have to select the exploit which is exploitable on Microsoft Windows 7 Enterprise v6.1.7600 .

So the details would be like for MS11-046

So download this file and upload using ftp as same processed we used earlier.


and then we have to locate the uploaded file in C: drive of victim machine.

After some search I got to know that .exe files are executed after converting them to binary. So while sending them through FTP onto victim machine start the bin as follows.


And now run the ms11-046.exe on victim's windows machine.

Enjoy the day bye. Do let me know if any corrections.



Comments

Popular posts from this blog

HackTheBox: Legacy

HackTheBox: Beep

HackTheBox: Lame