[TuT]Windows 7 hacking - Part 2 - Payloads and Listeners 05-06-2011, 04:11 PM
#1
Hey!! Time for second part of our tut!!! This might be last general tutorial, since there aren't many exploits and the ones that exist usually need the Win7 to have installed some program 
Anyway, I saw many tuts talking about payloads and listeners on win7 and all were so complicated, I thought to myself: Hey, isn't there a way to automate this?
And there surely is
So, instead of metasploit, start SET (Sociall Engeneering Toolkit)
![[Image: snapshot1p.jpg]](http://img861.imageshack.us/img861/2875/snapshot1p.jpg)
(you might want to update SET before proceeding)
Ok, next choose the "Payload and Listener" option.
Select a payload you want to use. I personally use Windows Reverse_TCP Meterpreter
Now select some encoding, well, you are alone here since I didn't really test all of the encodings... so once you have chosen you will be taken to Metasploit where a listener will start automatically
Now, we need to spread our payload, Remember, the listener is on your localhost, so stop thinking about making an youtube vid and make a java drive-by
![[Image: snapshot2wp.jpg]](http://img217.imageshack.us/img217/6509/snapshot2wp.jpg)
Yay!!! We have got a session!!!
To join a session, just type in msf console:
Congratz!!! You have hacked Windows 7!!!
NOTE: This works for many OS's

Anyway, I saw many tuts talking about payloads and listeners on win7 and all were so complicated, I thought to myself: Hey, isn't there a way to automate this?
And there surely is

So, instead of metasploit, start SET (Sociall Engeneering Toolkit)
![[Image: snapshot1p.jpg]](http://img861.imageshack.us/img861/2875/snapshot1p.jpg)
(you might want to update SET before proceeding)
Ok, next choose the "Payload and Listener" option.
Select a payload you want to use. I personally use Windows Reverse_TCP Meterpreter
Now select some encoding, well, you are alone here since I didn't really test all of the encodings... so once you have chosen you will be taken to Metasploit where a listener will start automatically

Now, we need to spread our payload, Remember, the listener is on your localhost, so stop thinking about making an youtube vid and make a java drive-by

![[Image: snapshot2wp.jpg]](http://img217.imageshack.us/img217/6509/snapshot2wp.jpg)
Yay!!! We have got a session!!!
To join a session, just type in msf console:
Code:
sessions -i [Session ID]Congratz!!! You have hacked Windows 7!!!
NOTE: This works for many OS's

Staff will never ever ask you for your personal information.
We know everything about you anyway.
We know everything about you anyway.
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)
but if you and the victim are connected to the internet, then you are in same network so it will work.