elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Sigue las noticias más importantes de seguridad informática en el Twitter! de elhacker.NET


+  Foro de elhacker.net
|-+  Seguridad Informática
| |-+  Hacking (Moderador: toxeek)
| | |-+  Phising + Ettercap + SET
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: Phising + Ettercap + SET  (Leído 4,413 veces)
SirSocket

Desconectado Desconectado

Mensajes: 17


Ver Perfil
Phising + Ettercap + SET
« en: 21 Febrero 2017, 22:32 pm »

Hola

Estoy intentando hacer un práctica para un curso que estoy realizando, se me pide recuperar el password de un usuario de twitter mediante phising, utilizando dns_spoofin con ettercap y las herramientas SET, tal cuál mostraré a continuación.

Mi problema es que aunque parece que todo funciona correctamente no recupero el usuario y password del usuario de twitter.

A continuación os muestro la práctica:


Las ips de las dos máquinas.






Aqui podemos ver la cache de la tabla arp de windows





En la siguiente vemos que existe connectividad entre las máquinas





He abierto ettercap en modo grafico, he escaneado los host, los muestro y añado
a target 1 la ip de salida y en el target 2 la ip de windows.





He comprobado que el envenenamiento de cache ha tenido exito y le hago un dns_spoof





Comprobamos en la máquina de windows 7 que la cache arp ha sido modificado y ahora apunta a la mac de Linux.






Hemos finalizado el trabajo con ettercap, lo dejamos esnifando mientras vamos a trabajar con SET.
Lo primero que he hecho es copiar la página web de twitter a una carpeta de mi escritorio.





Arrancamos SET (Social Engineer tool)






Aquí no tengo capturas simplemente he copiado la consola de linux:



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

   The Social-Engineer Toolkit is a product of TrustedSec.

           Visit: https://www.trustedsec.com

   It's easy to update using the PenTesters Framework! (PTF)
Visit https://github.com/trustedsec/ptf to update all your tools!


 Select from the menu:

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

  99) Exit the Social-Engineer Toolkit

set> 1


                 .--.  .--. .-----.
                : .--': .--'`-. .-'
                `. `. : `;    : :
                 _`, :: :__   : :
                `.__.'`.__.'  :_;   

[---]        The Social-Engineer Toolkit (SET)         [---]
[---]        Created by: David Kennedy (ReL1K)         [---]
                       Version: 7.5
                     Codename: 'Ghost'
[---]        Follow us on Twitter: @TrustedSec         [---]
[---]        Follow me on Twitter: @HackingDave        [---]
[---]       Homepage: https://www.trustedsec.com       [---]

        Welcome to the Social-Engineer Toolkit (SET).
         The one stop shop for all of your SE needs.

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

   The Social-Engineer Toolkit is a product of TrustedSec.

           Visit: https://www.trustedsec.com

   It's easy to update using the PenTesters Framework! (PTF)
Visit https://github.com/trustedsec/ptf to update all your tools!


 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) Wireless Access Point Attack Vector
   8) QRCode Generator Attack Vector
   9) Powershell Attack Vectors
  10) SMS Spoofing Attack Vector
  11) 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 Web-Jacking Attack method was introduced by white_sheep, emgent. 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 all at once to see which is successful.

The HTA Attack method will allow you to clone a site and perform powershell injection through HTA files which can be used for Windows-based powershell exploitation through the browser.

   1) Java Applet Attack Method
   2) Metasploit Browser Exploit Method
   3) Credential Harvester Attack Method
   4) Tabnabbing Attack Method
   5) Web Jacking Attack Method
   6) Multi-Attack Web Method
   7) Full Screen Attack Method
   8) HTA Attack Method

  99) Return to Main Menu

set:webattack>3

 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>3
[-] Credential harvester will allow you to utilize the clone capabilities within SET
[-] to harvest credentials or parameters from a website as well as place them into a report
[-] This option is used for what IP the server will POST to.
[-] If you're using an external IP, use your external IP for this
set:webattack> IP address for the POST back in Harvester/Tabnabbing:192.168.1.38
[!] Example: /home/website/ (make sure you end with /)
[!] Also note that there MUST be an index.html in the folder you point to.
set:webattack> Path to the website to be cloned:/root/Escritorio/Twitter/     
  • Index.html found. Do you want to copy the entire folder or just index.html?

1. Copy just the index.html
2. Copy the entire folder

Enter choice [1/2]: 2
[-] Example: http://www.blah.com
set:webattack> URL of the website you imported:https://twitter.com

The best way to use this attack is if username and password form
fields are available. Regardless, this captures all POSTs on a website.
  • The Social-Engineer Toolkit Credential Harvester Attack
  • Credential Harvester is running on port 80




Como vereis se queda escuchando a la espera.

Me he logado a twitter en windows pero linux parece no recuperar nada, he leido manuales , visto videos y no se en que estoy fallando.






Durante la formación que me están dando hicieron esto mismo para recuperar el password de un usuario de facebook e hicieron los pasos explicados arriba (La parte ettercap y el dns_spoof no se explico, se supone que ya sabiamos envenenar caches de otro tema) y funcionaba, el siguiente paso vi que habia gente que explicaba que se tenia que hacer.
Lo que he hecho es modificar el fichero etter.dns añadiendo mi ip para la url de twitter, he vuelto ha empezar desde el inicio pero se queda igual a la espera.







Cualquier ayuda sería bienvenida, ya que ahora mismo estoy sin ideas.
Puede ser por el puerto de escucha?y el fichero etter.dns?
En línea

SirSocket

Desconectado Desconectado

Mensajes: 17


Ver Perfil
Re: Phising + Ettercap + SET
« Respuesta #1 en: 22 Febrero 2017, 22:27 pm »

Bueno

Parece que avanzo pero me falta algo.

Como se ve en la imagen al ingresar directamente por la ip de mi máquina kali, accede a la página clonada de twitter, pero cuando lo intento desde la url de twitter no funciona.




Será que el dns_spoof no está funcionando correctamente , supongo que faltará tocar alguna config, he intentado modificar el ficherito agregando la url entera pero nada.





Venga que el día que lo consiga posteare el proceso completo.
En línea

LaThortilla (Effort)

Desconectado Desconectado

Mensajes: 234


¿En que vida harás lo que en esta no?


Ver Perfil WWW
Re: Phising + Ettercap + SET
« Respuesta #2 en: 21 Marzo 2017, 05:37 am »

Estoy Teniendo el mismo problema necesito ayuda... lo has logrado solucionar?


creo que el servidor apache recibe una solicitud del tipo https://pagina.com y no sabe que responder....



sera que es problema de configuracion de el apache :huh: :huh: :huh: :huh: :huh: :huh: :huh:



MODIFICADO

Te informo que intente con internet explorer
y si funciona, por alguna razon con firefox y chrome no funciona..


alguien sabe por que?

si lo solucionas me avisas porfa  :-\ :-\ :-\ :-\
« Última modificación: 21 Marzo 2017, 23:51 pm por Effort » En línea

N3LD4Z

Desconectado Desconectado

Mensajes: 8


Ver Perfil
Re: Phising + Ettercap + SET
« Respuesta #3 en: 6 Mayo 2017, 03:35 am »

Cuando empezaba con todo el tema del hacking,etc(hace mucho tiempo). Había visto un post para envenenar redes y inyectar el archivo hosts de Linux reemplazando www.twitter.com por la ip que insertas en SET, entonces cuando la víctima accede a www.twitter.com en realidad se dirige a tu ip donde tenes la página de phishing. Te voy a averiguar bien y te mando mensaje para que lo puedas resolver

Saludos
En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Alert-Phising
Seguridad
-H4D3S- 0 2,226 Último mensaje 18 Abril 2013, 00:28 am
por -H4D3S-
Phising mediante SET
Hacking
karrax 1 2,600 Último mensaje 25 Abril 2015, 14:18 pm
por mester
Programar phising
Programación General
ocee 1 2,040 Último mensaje 30 Mayo 2017, 12:11 pm
por MadBad
Phising ayuda
Hacking
SCR1PT.V3 7 5,059 Último mensaje 8 Diciembre 2023, 15:06 pm
por .xAk.
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines