Activity With Ali - JadenGil/Jaden-Tech-Journal GitHub Wiki

To start I logged into both the Kali and Windows machines.

Now in the Windows machine, I went to downloads opened the directory with minihttpd in it and moved the contents into the tools directory located in C:

image

Then I Made the following changes to the .ini file:

image

Open admin CMD and cd into the minihttpd dir and in this dir run install.bat and you'll be given the following message:

image

Before changing into the Kali machine get the IP for the Windows box:

image

We also need to add port 80 to the firewall on Windows:

image

Then navigate to that IP on Kali:

image

Then go to exploit-db and install the following exploit:

image

Open the downloaded file and delete the shell code! (Never run the exploit as stock you never know what could happen) Then comment out the payload and change the IP to the IP of the Windows box.

Note: Anything beyond the return and newline feed is the HTTP

Before creating a fuzzer it is important to understand the protocol and application

Now on the Kali box open burp suite go to proxy and turn intercepted "on" and then open browser and in the search bar navigate to the IP address of the Windows box.

image

After making edits to the exploit file go back to the Windows box, make a temp dir in the minihttpd dir, and stop and start HTTPD Service

image

Then run the exploit again and you'll have access to the Log

image

Then on the desktop run the debugger as administrator (It is important that you run it as admin)

Now in the debugger do file > attach > select httpd service > attach and then you'll be presented with the following:

image

By hitting the "play" button on the top bar it'll run. Then go back to the Kali box and re-send the payload