Ethical Hacking and Penetration Testing Guide


Getting the Software Up and Running



Yüklə 22,44 Mb.
Pdf görüntüsü
səhifə170/235
tarix07.08.2023
ölçüsü22,44 Mb.
#138846
1   ...   166   167   168   169   170   171   172   173   ...   235
Ethical Hacking and Penetration Testing Guide ( PDFDrive )

Getting the Software Up and Running
As mentioned earlier, we will be using the freefloat FTP server to demonstrate the vulnerability. 
You can download the freefloat FTP server from one of these links and install it on your Windows 
XP machine.

http://freefloat-ftp-server.apponic.com/download/

http://www.mediafire.com/?9cds1786340avnn
Once downloaded and installed, executing it will open up the following dialog box:
Causing the Application to Crash
Our next step would be to cause the program to crash; for that we will use a fuzzer. A fuzzer is a 
simple program that sends fixed data to an application to cause it to crash. Fuzzing is done in a 


274
◾ 
Ethical Hacking and Penetration Testing Guide
black box penetration test where the source code of the application is not available. Since we are 
up against an FTP server, we have a great fuzzer named 
infigo FTPStress Fuzzer v1.0

and this fuzzer was specifically created for fuzzing FTP-based applications. It works by sending 
long malformed strings to an FTP server; we can choose the type of FTP command we want to 
fuzz along with the size of the data we would like to send.
Once you have the FTP fuzzer up and running, deselect all the commands and select only 
the USER and PASS command; the latter is essential in order to fuzz the former. Once the USER 
command has been selected, check the “fuzz this FTP command” box.
Next, from the configuration we will move into fuzzing sizes; this will be the data that the 
fuzzer will send starting from 30 to a maximum of 700.
Next we take a look at the fuzzing data. The fuzzing data could be any type of string. However, 
here we are interested in sending only “A”; therefore we deselect all and select only “A”. The reason 
why we are sending As is that we can easily recognize them in the output, since the hex value of 
A is 41.


Windows Exploit Development Basics
◾ 
275
Next, we enter the host; since my FTP server is running upon my local host I type 127.0.01. 
The port is 21 by default. If your FTP server is running upon another port then change it accord-
ingly. The rest of the options should be left unchanged.
Upon fuzzing, our target application crashed and the following window appears; this indicates 
that something is wrong.
The error details reveal that the offset has been replaced with 41414141, which is the hex 
equivalent of AAAA.

Yüklə 22,44 Mb.

Dostları ilə paylaş:
1   ...   166   167   168   169   170   171   172   173   ...   235




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin