<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>evilsocket.net &#187; Exploiting</title>
	<atom:link href="http://www.evilsocket.net/category/hacking/exploiting/feed" rel="self" type="application/rss+xml" />
	<link>http://www.evilsocket.net</link>
	<description>If you can't understand it, it doesn't mean it's wrong ...</description>
	<lastBuildDate>Wed, 21 Jul 2010 00:16:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Script per il calcolo della chiave WPA dei router Alice Gate VoIP 2 Plus Wi-Fi</title>
		<link>http://www.evilsocket.net/1173/script-per-il-calcolo-della-chiave-wpa-dei-router-alice-gate-voip-2-plus-wi-fi.html</link>
		<comments>http://www.evilsocket.net/1173/script-per-il-calcolo-della-chiave-wpa-dei-router-alice-gate-voip-2-plus-wi-fi.html#comments</comments>
		<pubDate>Sun, 06 Jun 2010 17:57:26 +0000</pubDate>
		<dc:creator>evilsocket</dc:creator>
				<category><![CDATA[Exploiting]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[Sorgenti]]></category>
		<category><![CDATA[Wardriving]]></category>
		<category><![CDATA[AGPF]]></category>
		<category><![CDATA[algoritmo]]></category>
		<category><![CDATA[alice]]></category>
		<category><![CDATA[chiave]]></category>
		<category><![CDATA[cracking]]></category>
		<category><![CDATA[generazione]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[pirelli]]></category>
		<category><![CDATA[warcracking]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[win32]]></category>
		<category><![CDATA[wpa]]></category>
		<category><![CDATA[wpa2]]></category>

		<guid isPermaLink="false">http://www.evilsocket.net/?p=1173</guid>
		<description><![CDATA[Come preannunciato nell&#8217;artcolo precedente sui router Fastweb, mi sono adoperato a studiare la brillante ricerca della WhiteHatCrew sui router di Alice, denominati AGPF, al fine di implementare uno script per la generazione della chiave WPA di default. A differenza del caso FastWeb, il quale per il calcolo si basava solo sull SSID della rete, in [...]


Related posts:<ol><li><a href='http://www.evilsocket.net/1126/script-per-il-calcolo-della-chiave-wpa-nei-router-fastweb-pirelli.html' rel='bookmark' title='Permanent Link: Script per il calcolo della chiave WPA dei router FastWeb Pirelli.'>Script per il calcolo della chiave WPA dei router FastWeb Pirelli.</a></li>
<li><a href='http://www.evilsocket.net/96/alice-router-unlocker.html' rel='bookmark' title='Permanent Link: Alice Router Unlocker'>Alice Router Unlocker</a></li>
<li><a href='http://www.evilsocket.net/1375/informazione-di-servizio-chiave-pubblica.html' rel='bookmark' title='Permanent Link: Informazione di Servizio, Chiave Pubblica'>Informazione di Servizio, Chiave Pubblica</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Come preannunciato nell&#8217;<a href="http://www.evilsocket.net/1126/script-per-il-calcolo-della-chiave-wpa-nei-router-fastweb-pirelli.html" target="_blank">artcolo precedente</a> sui router Fastweb, mi sono adoperato a studiare la <a href="http://wifiresearchers.wordpress.com/2010/06/02/alice-agpf-lalgoritmo/" target="_blank">brillante ricerca</a> della WhiteHatCrew sui router di Alice, denominati AGPF, al fine di implementare uno script per la generazione della chiave WPA di default.</p>
<p><span id="more-1173"></span></p>
<p>A differenza del caso FastWeb, il quale per il calcolo si basava solo sull SSID della rete, in questo caso ci serve anche il seriale del router che, come dimostrato dalla ricerca precedentemente linkata, è ricavabile tramite un sistema a due incognite dal quale, la WHC, ha tirato fuori una tabella di valori noti, tabella che ho inserito nel mio script.</p>
<p>Di conseguenza, a meno che il lettore non ampli la propria tabella a mano, seguendo le indicazioni della WHC, lo script funzionerà solo con SSID del tipo :</p>
<ul>
<li>Alice-96xxxxxx</li>
<li>Alice-93xxxxxx</li>
<li>Alice-56xxxxxx</li>
<li>Alice-55xxxxxx</li>
<li>Alice-54xxxxxx</li>
<li>Alice-48xxxxxx</li>
<li>Alice-46xxxxxx</li>
</ul>
<p>Sono sicuro cmq che cercando nella rete delle tabelle un po più estese si trovano <img src='http://www.evilsocket.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Lo script è commentato (come il precedente), in modo tale il lettore avrà la possibilità non solo di utilizzarlo, ma anche di capirlo, che è la cosa che più mi preme al fine di una condivisione libera dell&#8217;informazione e della cultura informatica in generale.</p>
<p>Enjoy.</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:100%;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
<span style="color: #666666; font-style: italic;">/***************************************************************************<br />
&nbsp;* &nbsp; Alice AGPF WPA Discovery &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*<br />
&nbsp;* &nbsp; by evilsocket - evilsocket@gmail.com - http://www.evilsocket.net &nbsp; &nbsp; &nbsp;*<br />
&nbsp;* &nbsp; based on &lt;http://wifiresearchers.wordpress.com/&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*<br />
&nbsp;* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; This program is free software; you can redistribute it and/or modify &nbsp;*<br />
&nbsp;* &nbsp; it under the terms of the GNU General Public License as published by &nbsp;*<br />
&nbsp;* &nbsp; the Free Software Foundation; either version 2 of the License, or &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; (at your option) any later version. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; This program is distributed in the hope that it will be useful, &nbsp; &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; but WITHOUT ANY WARRANTY; without even the implied warranty of &nbsp; &nbsp; &nbsp; &nbsp;*<br />
&nbsp;* &nbsp; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. &nbsp;See the &nbsp; &nbsp; &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; GNU General Public License for more details. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*<br />
&nbsp;* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; You should have received a copy of the GNU General Public License &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; along with this program; if not, write to the &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; Free Software Foundation, Inc., &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; 59 Temple Place - Suite 330, Boston, MA &nbsp;02111-1307, USA. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />
&nbsp;***************************************************************************/</span><br />
<br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* Tabella per il calcolo del seriale.<br />
&nbsp;*<br />
&nbsp;* First SSID digits =&gt; ( SN1, k, Q )<br />
&nbsp;*/</span><br />
<span style="color: #000088;">$SN_TABLE</span> &nbsp; <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'96'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'69102'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">13</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">96017051</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">'93'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'69101'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">13</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">92398366</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">'56'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'67902'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">13</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">54808800</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">'55'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'67904'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">8</span><span style="color: #339933;">,</span> &nbsp;<span style="color: #cc66cc;">55164449</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">'54'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'67903'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">8</span><span style="color: #339933;">,</span> &nbsp;<span style="color: #cc66cc;">52420689</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">'48'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'67903'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">8</span><span style="color: #339933;">,</span> &nbsp;<span style="color: #cc66cc;">47896103</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">'46'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'67902'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">13</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">39015145</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* Numeri magici da utilizzare per il calcolo dell'SHA256.<br />
&nbsp;*/</span><br />
<span style="color: #000088;">$ALIS</span> &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;<span style="color: #660099; font-weight: bold;">\x64</span><span style="color: #660099; font-weight: bold;">\xC6</span><span style="color: #660099; font-weight: bold;">\xDD</span><span style="color: #660099; font-weight: bold;">\xE3</span><span style="color: #660099; font-weight: bold;">\xE5</span><span style="color: #660099; font-weight: bold;">\x79</span><span style="color: #660099; font-weight: bold;">\xB6</span><span style="color: #660099; font-weight: bold;">\xD9</span><span style="color: #660099; font-weight: bold;">\x86</span><span style="color: #660099; font-weight: bold;">\x96</span><span style="color: #660099; font-weight: bold;">\x8D</span><span style="color: #660099; font-weight: bold;">\x34</span><span style="color: #660099; font-weight: bold;">\x45</span><span style="color: #660099; font-weight: bold;">\xD2</span><span style="color: #660099; font-weight: bold;">\x3B</span><span style="color: #660099; font-weight: bold;">\x15</span><span style="color: #660099; font-weight: bold;">\xCA</span><span style="color: #660099; font-weight: bold;">\xAF</span><span style="color: #660099; font-weight: bold;">\x12</span><span style="color: #660099; font-weight: bold;">\x84</span><span style="color: #660099; font-weight: bold;">\x02</span><span style="color: #660099; font-weight: bold;">\xAC</span><span style="color: #660099; font-weight: bold;">\x56</span><span style="color: #660099; font-weight: bold;">\x00</span><span style="color: #660099; font-weight: bold;">\x05</span><span style="color: #660099; font-weight: bold;">\xCE</span><span style="color: #660099; font-weight: bold;">\x20</span><span style="color: #660099; font-weight: bold;">\x75</span><span style="color: #660099; font-weight: bold;">\x91</span><span style="color: #660099; font-weight: bold;">\x3F</span><span style="color: #660099; font-weight: bold;">\xDC</span><span style="color: #660099; font-weight: bold;">\xE8</span>&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* Tabella di conversione da hash a wpa.<br />
&nbsp;*/</span><br />
<span style="color: #000088;">$CONV_TABLE</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuv&quot;</span><span style="color: #339933;">.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">&quot;wxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">/* <br />
&nbsp;* SSID della rete.<br />
&nbsp;*/</span><br />
<span style="color: #000088;">$SSID</span> &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Alice-96154825&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* MAC address del router.<br />
&nbsp;*/</span><br />
<span style="color: #000088;">$MAC</span> &nbsp;&nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;<span style="color: #660099; font-weight: bold;">\x00</span><span style="color: #660099; font-weight: bold;">\x23</span><span style="color: #660099; font-weight: bold;">\x8E</span><span style="color: #660099; font-weight: bold;">\x01</span><span style="color: #660099; font-weight: bold;">\x02</span><span style="color: #660099; font-weight: bold;">\x03</span>&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* Calcolo il seriale in base al SSID e alla tabella dei valori noti.<br />
&nbsp;*/</span><br />
<span style="color: #000088;">$SN</span> &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> SSID2SN<span style="color: #009900;">&#40;</span><span style="color: #000088;">$SSID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* Calcolo SHA256( MagicN + SN + MAC )<br />
&nbsp;*/</span><br />
<span style="color: #000088;">$hash</span> &nbsp; &nbsp; &nbsp; <span style="color: #339933;">=</span> SHA256<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$ALIS</span><span style="color: #339933;">.</span><span style="color: #000088;">$SN</span><span style="color: #339933;">.</span><span style="color: #000088;">$MAC</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* Converto la stringa dell'hash in un array di byte.<br />
&nbsp;*/</span><br />
<span style="color: #000088;">$bytes</span> &nbsp;&nbsp; &nbsp; <span style="color: #339933;">=</span> hash2bytes<span style="color: #009900;">&#40;</span><span style="color: #000088;">$hash</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* Trovo la WPA utilizzando i primi 24 byte dell'hash come indici della tabella di covnersione.<br />
&nbsp;*/</span><br />
<span style="color: #000088;">$wpa</span> &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;</span> <span style="color: #cc66cc;">24</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$wpa</span> <span style="color: #339933;">.=</span> <span style="color: #000088;">$CONV_TABLE</span><span style="color: #009900;">&#91;</span> <span style="color: #000088;">$bytes</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;WPA : <span style="color: #006699; font-weight: bold;">$wpa</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* Funzione per risalire al seriale del router partendo dal suo SSID e utilizzando<br />
&nbsp;* le tabelle dei valori noti.<br />
&nbsp;*/</span><br />
<span style="color: #000000; font-weight: bold;">function</span> SSID2SN<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$ssid</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$SN_TABLE</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">/*<br />
&nbsp; &nbsp; &nbsp;* Prelevo il numero intero dall'SSID e ne prendo le prime due cifre<br />
&nbsp; &nbsp; &nbsp;* per verificare che il router sia presente nella tabella.<br />
&nbsp; &nbsp; &nbsp;*/</span><br />
&nbsp; &nbsp; <a href="http://www.php.net/preg_match_all"><span style="color: #990000;">preg_match_all</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;/^Alice\-([0-9]+)/&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$ssid</span><span style="color: #339933;">,</span> <span style="color: #000088;">$m</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$ssidn</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$m</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$id</span> &nbsp; &nbsp;<span style="color: #339933;">=</span> <a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$ssidn</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">2</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <a href="http://www.php.net/isset"><span style="color: #990000;">isset</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$SN_TABLE</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$id</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">/*<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* Ok, il router è presente nella tabella, prelevo la prima parte del seriale e<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* le costanti k e Q da utilizzare nell'equazione finale.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$sn1</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$SN_TABLE</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$id</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$k</span> &nbsp; <span style="color: #339933;">=</span> <span style="color: #000088;">$SN_TABLE</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$id</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$Q</span> &nbsp; <span style="color: #339933;">=</span> <span style="color: #000088;">$SN_TABLE</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$id</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">/*<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* La seconda parte del seriale equivale a :<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* &nbsp;&nbsp; &nbsp; (SSID - Q) / k<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$sn2</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>int<span style="color: #009900;">&#41;</span><span style="color: #000088;">$ssidn</span> <span style="color: #339933;">-</span> <span style="color: #000088;">$Q</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">/</span> <span style="color: #000088;">$k</span><span style="color: #339933;">;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">/*<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* Restituisco il seriale completo.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$sn1</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'X'</span><span style="color: #339933;">.</span><a href="http://www.php.net/sprintf"><span style="color: #990000;">sprintf</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;<span style="color: #009933; font-weight: bold;">%07s</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$sn2</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">/*<br />
&nbsp; &nbsp; &nbsp;* Router non presente nella tabella.<br />
&nbsp; &nbsp; &nbsp;*/</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/die"><span style="color: #990000;">die</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;La serie 'Alice-<span style="color: #006699; font-weight: bold;">$id</span>******' non è presente nella tabella e non è supportata.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* Funzione per il calcolo di un hash SHA256.<br />
&nbsp;*/</span><br />
<span style="color: #000000; font-weight: bold;">function</span> SHA256<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$phrase</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">return</span> <a href="http://www.php.net/bin2hex"><span style="color: #990000;">bin2hex</span></a><span style="color: #009900;">&#40;</span> <a href="http://www.php.net/mhash"><span style="color: #990000;">mhash</span></a><span style="color: #009900;">&#40;</span> MHASH_SHA256<span style="color: #339933;">,</span> <span style="color: #000088;">$phrase</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* Funzione per convertire un hash in un array di byte interi.<br />
&nbsp;*/</span><br />
<span style="color: #000000; font-weight: bold;">function</span> hash2bytes<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$hash</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <a href="http://www.php.net/preg_match_all"><span style="color: #990000;">preg_match_all</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;/[a-f0-9]{2}/i&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$hash</span><span style="color: #339933;">,</span> <span style="color: #000088;">$hash_bytes</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$bytes</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$hash_bytes</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$byte</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$bytes</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/hexdec"><span style="color: #990000;">hexdec</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$byte</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$bytes</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #000000; font-weight: bold;">?&gt;</span></div></div>

                            <div id="aspdf">
                                <a href="http://www.evilsocket.net/wp-content/plugins/as-pdf/generate.php?post=1173">
                                    <span> </span>
                                </a>
                            </div>
                        <img src="http://www.evilsocket.net/?ak_action=api_record_view&id=1173&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.evilsocket.net/1126/script-per-il-calcolo-della-chiave-wpa-nei-router-fastweb-pirelli.html' rel='bookmark' title='Permanent Link: Script per il calcolo della chiave WPA dei router FastWeb Pirelli.'>Script per il calcolo della chiave WPA dei router FastWeb Pirelli.</a></li>
<li><a href='http://www.evilsocket.net/96/alice-router-unlocker.html' rel='bookmark' title='Permanent Link: Alice Router Unlocker'>Alice Router Unlocker</a></li>
<li><a href='http://www.evilsocket.net/1375/informazione-di-servizio-chiave-pubblica.html' rel='bookmark' title='Permanent Link: Informazione di Servizio, Chiave Pubblica'>Informazione di Servizio, Chiave Pubblica</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.evilsocket.net/1173/script-per-il-calcolo-della-chiave-wpa-dei-router-alice-gate-voip-2-plus-wi-fi.html/feed</wfw:commentRss>
		<slash:comments>37</slash:comments>
		</item>
		<item>
		<title>Script per il calcolo della chiave WPA dei router FastWeb Pirelli.</title>
		<link>http://www.evilsocket.net/1126/script-per-il-calcolo-della-chiave-wpa-nei-router-fastweb-pirelli.html</link>
		<comments>http://www.evilsocket.net/1126/script-per-il-calcolo-della-chiave-wpa-nei-router-fastweb-pirelli.html#comments</comments>
		<pubDate>Sat, 05 Jun 2010 05:18:13 +0000</pubDate>
		<dc:creator>evilsocket</dc:creator>
				<category><![CDATA[Exploiting]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[Sorgenti]]></category>
		<category><![CDATA[Wardriving]]></category>
		<category><![CDATA[chiave]]></category>
		<category><![CDATA[fastweb]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[pirelli]]></category>
		<category><![CDATA[ssid]]></category>
		<category><![CDATA[telsey]]></category>
		<category><![CDATA[warcracking]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[win32]]></category>
		<category><![CDATA[wpa]]></category>

		<guid isPermaLink="false">http://www.evilsocket.net/?p=1126</guid>
		<description><![CDATA[Oggi mi sono inbattuto per caso in questo servizio, ovvero un servizio per &#8220;recuperare&#8221; la chiave WPA di un router Fastweb Pirelli. &#8220;Bene&#8221; mi sono detto, &#8220;Se hanno questo servizio, avranno anche una pagina dove spiegano l&#8217;algoritmo e pubblicano il codice&#8221; . Beh, la pagina c&#8217;era, e non era nemmeno un loro lavoro bensì quello [...]


Related posts:<ol><li><a href='http://www.evilsocket.net/1173/script-per-il-calcolo-della-chiave-wpa-dei-router-alice-gate-voip-2-plus-wi-fi.html' rel='bookmark' title='Permanent Link: Script per il calcolo della chiave WPA dei router Alice Gate VoIP 2 Plus Wi-Fi'>Script per il calcolo della chiave WPA dei router Alice Gate VoIP 2 Plus Wi-Fi</a></li>
<li><a href='http://www.evilsocket.net/96/alice-router-unlocker.html' rel='bookmark' title='Permanent Link: Alice Router Unlocker'>Alice Router Unlocker</a></li>
<li><a href='http://www.evilsocket.net/1375/informazione-di-servizio-chiave-pubblica.html' rel='bookmark' title='Permanent Link: Informazione di Servizio, Chiave Pubblica'>Informazione di Servizio, Chiave Pubblica</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Oggi mi sono inbattuto per caso in <a href="http://www.oversecurity.net/wpa-recovery/" target="_blank">questo servizio</a>, ovvero un servizio per &#8220;recuperare&#8221; la chiave WPA di un router Fastweb Pirelli.</p>
<p>&#8220;Bene&#8221; mi sono detto, &#8220;Se hanno questo servizio, avranno anche una pagina dove spiegano l&#8217;algoritmo e pubblicano il codice&#8221; .</p>
<p>Beh, la <a href="http://www.oversecurity.net/2010/03/29/recupero-chiave-wpa-fastweb-dettagli-tecnici/" target="_blank">pagina</a> c&#8217;era, e non era nemmeno un loro lavoro bensì quello di un altro gruppo (vedere il link &#8220;fonte&#8221; alla fine di quell&#8217;articolo), ma non c&#8217;era il sorgente!</p>
<p>In pratica, queste persone, hanno preso il lavoro che altri hanno pubblicato <strong>liberamente e per tutti</strong>, lo hanno ri-pubblicato (citando la fonte eh, per carità), ne hanno ricavato un servizio (guarda caso un servizio che fa gola a molti su un sito con degli ads pubblicitari) ma non hanno condiviso a loro volta le conoscenze distribuendo il codice del servizio &#8230; un po disonesto non vi pare?</p>
<p>Cioè, se io prendo un informazione libera, sono moralmente tenuto a rendere altrettanto libera qualsiasi opera io ne possa ricavare &#8230; non legalmente, ma moralmente.</p>
<p>Ebbene, ci penso io con un mio script fresco fresco <img src='http://www.evilsocket.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><span id="more-1126"></span></p>
<p>Vi posto qui di seguito il codice di uno script PHP che, seguendo quell&#8217;algoritmo, parte dal SSID di un router e stampa la chiave WPA di default.</p>
<p>Ribadisco, come loro, che :</p>
<p>Attualmente è possibile recuperare la chiave Wireless degli Access Point <strong>FastWeb Pirelli</strong>, nello specifico con i seguenti Mac Address:</p>
<blockquote><p><em>00:08:27 Pirelli Broadband Solutions<br />
00:13:C8 </em><em>Pirelli Broadband Solutions</em><br />
<em>00:17:C2 Pirelli Broadband Solutions<br />
00:19:3E P</em><em>irelli Broadband Solutions</em><br />
<em>00:1C:A2 </em><em>Pirelli Broadband Solutions</em><br />
<em>00:1D:8B </em><em>Pirelli Broadband Solutions</em><br />
<em>00:22:33 Pirelli Broadband Solutions<br />
00:23:8E </em><em>Pirelli Broadband Solutions</em><br />
<em>00:25:53 </em><em>Pirelli Broadband Solutions</em><br />
<em>00:03:6F </em><em>Telsey S.p.A.</em><em> </em><em>(in fase di Test)<br />
00:21:96 Telsey S.p.A.</em><em> (in fase di Test)</em></p></blockquote>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:100%;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
<span style="color: #666666; font-style: italic;">/***************************************************************************<br />
&nbsp;* &nbsp; FastWeb Pirelli WPA Discovery &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; by evilsocket - evilsocket@gmail.com - http://www.evilsocket.net &nbsp; &nbsp; &nbsp;*<br />
&nbsp;* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; This program is free software; you can redistribute it and/or modify &nbsp;*<br />
&nbsp;* &nbsp; it under the terms of the GNU General Public License as published by &nbsp;*<br />
&nbsp;* &nbsp; the Free Software Foundation; either version 2 of the License, or &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; (at your option) any later version. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; This program is distributed in the hope that it will be useful, &nbsp; &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; but WITHOUT ANY WARRANTY; without even the implied warranty of &nbsp; &nbsp; &nbsp; &nbsp;*<br />
&nbsp;* &nbsp; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. &nbsp;See the &nbsp; &nbsp; &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; GNU General Public License for more details. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*<br />
&nbsp;* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; You should have received a copy of the GNU General Public License &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; along with this program; if not, write to the &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; Free Software Foundation, Inc., &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />
&nbsp;* &nbsp; 59 Temple Place - Suite 330, Boston, MA &nbsp;02111-1307, USA. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />
&nbsp;***************************************************************************/</span><br />
<br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* SSID di partenza.<br />
&nbsp;*/</span><br />
<span style="color: #000088;">$ssid</span> &nbsp; <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;FASTWEB-1-00193EA1B2C3&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* 20 byte costanti cablati nel firmware dei Pirelli Fastweb.<br />
&nbsp;*/</span><br />
<span style="color: #000088;">$seq_20</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;<span style="color: #660099; font-weight: bold;">\x22</span><span style="color: #660099; font-weight: bold;">\x33</span><span style="color: #660099; font-weight: bold;">\x11</span><span style="color: #660099; font-weight: bold;">\x34</span><span style="color: #660099; font-weight: bold;">\x02</span><span style="color: #660099; font-weight: bold;">\x81</span><span style="color: #660099; font-weight: bold;">\xFA</span><span style="color: #660099; font-weight: bold;">\x22</span><span style="color: #660099; font-weight: bold;">\x11</span><span style="color: #660099; font-weight: bold;">\x41</span><span style="color: #660099; font-weight: bold;">\x68</span><span style="color: #660099; font-weight: bold;">\x11</span><span style="color: #660099; font-weight: bold;">\x12</span><span style="color: #660099; font-weight: bold;">\x01</span><span style="color: #660099; font-weight: bold;">\x05</span><span style="color: #660099; font-weight: bold;">\x22</span><span style="color: #660099; font-weight: bold;">\x71</span><span style="color: #660099; font-weight: bold;">\x42</span><span style="color: #660099; font-weight: bold;">\x10</span><span style="color: #660099; font-weight: bold;">\x66</span>&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* Prelevo la parte finale del SSID.<br />
&nbsp;*/</span> <br />
<span style="color: #000088;">$sn</span> &nbsp; &nbsp; <span style="color: #339933;">=</span> <a href="http://www.php.net/split"><span style="color: #990000;">split</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'-'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$ssid</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$sn</span> &nbsp; &nbsp; <span style="color: #339933;">=</span> <span style="color: #000088;">$sn</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* La divido in gruppi di due caratteri, formando un array<br />
&nbsp;* di 6 rappresentazioni esadecimali di byte.<br />
&nbsp;*/</span><br />
<a href="http://www.php.net/preg_match_all"><span style="color: #990000;">preg_match_all</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;/[a-f0-9]{2}/i&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$sn</span><span style="color: #339933;">,</span> <span style="color: #000088;">$sn_bytes</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$sn_bytes</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$sn_bytes</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* Inizializzo una stringa con il valore intero di questi byte.<br />
&nbsp;*/</span><br />
<span style="color: #000088;">$str</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;</span> <span style="color: #cc66cc;">6</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$str</span> <span style="color: #339933;">.=</span> <a href="http://www.php.net/chr"><span style="color: #990000;">chr</span></a><span style="color: #009900;">&#40;</span> <a href="http://www.php.net/hexdec"><span style="color: #990000;">hexdec</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$sn_bytes</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #666666; font-style: italic;">/* <br />
&nbsp;* Aggiungo alla stringa i 20 byte &quot;magici&quot;.<br />
&nbsp;*/</span> <br />
<span style="color: #000088;">$str</span> <span style="color: #339933;">.=</span> <span style="color: #000088;">$seq_20</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* Ricavo i byte dell'hash md5 della stringa<br />
&nbsp;*/</span><br />
<a href="http://www.php.net/preg_match_all"><span style="color: #990000;">preg_match_all</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;/[a-f0-9]{2}/i&quot;</span><span style="color: #339933;">,</span> <a href="http://www.php.net/md5"><span style="color: #990000;">md5</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$md5_bytes</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$md5_bytes</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$md5_bytes</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$long</span> &nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* Converto i byte in sequenze binarie di 8 bit.<br />
&nbsp;*/</span><br />
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$md5_bytes</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$byte</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$long</span> <span style="color: #339933;">.=</span> <a href="http://www.php.net/sprintf"><span style="color: #990000;">sprintf</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;<span style="color: #009933; font-weight: bold;">%08s</span>&quot;</span><span style="color: #339933;">,</span> <a href="http://www.php.net/decbin"><span style="color: #990000;">decbin</span></a><span style="color: #009900;">&#40;</span> <a href="http://www.php.net/hexdec"><span style="color: #990000;">hexdec</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$byte</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* Divido in 5 gruppi di 5 bit ognuno e, qual'ora il valore intero <br />
&nbsp;* di un gruppo sia maggiore di 0x0a, aggiungo 0x57.<br />
&nbsp;*/</span><br />
<span style="color: #000088;">$hex_5</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;</span> <span style="color: #cc66cc;">25</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">+=</span> <span style="color: #cc66cc;">5</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$n</span> &nbsp;&nbsp; &nbsp; &nbsp;<span style="color: #339933;">=</span> <a href="http://www.php.net/bindec"><span style="color: #990000;">bindec</span></a><span style="color: #009900;">&#40;</span> <a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$long</span><span style="color: #339933;">,</span> <span style="color: #000088;">$i</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">5</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$hex_5</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$n</span> <span style="color: #339933;">&gt;</span> <span style="color: #208080;">0x0a</span> ? <span style="color: #000088;">$n</span> <span style="color: #339933;">+</span> <span style="color: #208080;">0x57</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$n</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #666666; font-style: italic;">/*<br />
&nbsp;* Compongo la chiave.<br />
&nbsp;*/</span> <br />
<span style="color: #000088;">$wpa</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$hex_5</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$hex</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$wpa</span> <span style="color: #339933;">.=</span> <a href="http://www.php.net/sprintf"><span style="color: #990000;">sprintf</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;<span style="color: #009933; font-weight: bold;">%02x</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$hex</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #b1b100;">print</span> <span style="color: #0000ff;">&quot;WPA : <span style="color: #006699; font-weight: bold;">$wpa</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #000000; font-weight: bold;">?&gt;</span></div></div>
<p>Detto questo, a breve pubblicherò uno script analogo ma per i router Alice, dato che stanno uscendo lavori anche in questo senso <img src='http://www.evilsocket.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>

                            <div id="aspdf">
                                <a href="http://www.evilsocket.net/wp-content/plugins/as-pdf/generate.php?post=1126">
                                    <span> </span>
                                </a>
                            </div>
                        <img src="http://www.evilsocket.net/?ak_action=api_record_view&id=1126&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.evilsocket.net/1173/script-per-il-calcolo-della-chiave-wpa-dei-router-alice-gate-voip-2-plus-wi-fi.html' rel='bookmark' title='Permanent Link: Script per il calcolo della chiave WPA dei router Alice Gate VoIP 2 Plus Wi-Fi'>Script per il calcolo della chiave WPA dei router Alice Gate VoIP 2 Plus Wi-Fi</a></li>
<li><a href='http://www.evilsocket.net/96/alice-router-unlocker.html' rel='bookmark' title='Permanent Link: Alice Router Unlocker'>Alice Router Unlocker</a></li>
<li><a href='http://www.evilsocket.net/1375/informazione-di-servizio-chiave-pubblica.html' rel='bookmark' title='Permanent Link: Informazione di Servizio, Chiave Pubblica'>Informazione di Servizio, Chiave Pubblica</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.evilsocket.net/1126/script-per-il-calcolo-della-chiave-wpa-nei-router-fastweb-pirelli.html/feed</wfw:commentRss>
		<slash:comments>39</slash:comments>
		</item>
		<item>
		<title>Il Worm dell&#8217;iPhone &#8230; il Jailbreak è rischioso?</title>
		<link>http://www.evilsocket.net/871/il-worm-delliphone-il-jailbreak-e-rischioso.html</link>
		<comments>http://www.evilsocket.net/871/il-worm-delliphone-il-jailbreak-e-rischioso.html#comments</comments>
		<pubDate>Mon, 21 Dec 2009 17:13:36 +0000</pubDate>
		<dc:creator>evilsocket</dc:creator>
				<category><![CDATA[Exploiting]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[alpine]]></category>
		<category><![CDATA[default]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[worm]]></category>

		<guid isPermaLink="false">http://www.evilsocket.net/?p=871</guid>
		<description><![CDATA[Un po di tempo fa ha fatto scalpore il primo virus di tipo worm per iPhone, che nel giro di pochi giorni aveva ownato una miriade di melafonini in giro per il mondo. Dopo l&#8217;accaduto, subito nella rete si sono sparsi svariati rumors, la maggior parte dei quali si può riassumere in : Non eseguite [...]


Related posts:<ol><li><a href='http://www.evilsocket.net/901/resettare-le-password-ed-i-privilegi-di-mysql.html' rel='bookmark' title='Permanent Link: Resettare le password ed i privilegi di MySQL'>Resettare le password ed i privilegi di MySQL</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.evilsocket.net/wp-content/uploads/2009/12/iphone_worm.jpg"><img class="alignleft size-medium wp-image-875" title="iphone_worm" src="http://www.evilsocket.net/wp-content/uploads/2009/12/iphone_worm-300x300.jpg" alt="iphone_worm" width="108" height="108" /></a>Un po di tempo fa ha fatto scalpore il primo virus di tipo worm per iPhone, che nel giro di pochi giorni aveva ownato una miriade di melafonini in giro per il mondo.</p>
<p>Dopo l&#8217;accaduto, subito nella rete si sono sparsi svariati rumors, la maggior parte dei quali si può riassumere in :</p>
<blockquote><p>Non eseguite il jailbreak dell&#8217;iPhone se non volete essere infettati!</p></blockquote>
<p>Dato che sta frase è evidentemente stupida e, in alcuni casi, aimè è stata pronunciata con secondi fini (della serie &#8220;ecco una scusa x far credere a tutti che jailbreakare non va bene&#8221;), tanto xkè non c&#8217;ho niente da fare scrivo un po nel dettaglio cosa faceva sto worm, come funzionava ma soprattutto <strong>PERCHE&#8217;</strong> funzionava.</p>
<p><span id="more-871"></span>Innanzitutto, c&#8217;è da fare un preambolo.</p>
<p>Nel momento in cui si jailbreaka il proprio iPhone, viene installato il demone ssh configurato con la password di root di default &#8220;<strong>alpine</strong>&#8221; (e qui i più svegli hanno già capito l&#8217;inghippo).</p>
<p>Naturalmente è scontato che tale password va <strong>contestualmente cambiata </strong>con una più sicura e meno conosciuta, ma a quanto pare tanto scontato non è dato che gli iPhone ownati erano proprio di persone che non hanno eseguito questo procedimento.</p>
<p>In pratica, il worm in questione, eseguiva una scansione sui seguenti indirizzi:</p>
<table style="text-align: left; width: 478px; margin-left: auto; margin-right: auto;" border="1" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td style="vertical-align: top;"><small>192.168.0.0-192.168.3.255</small></td>
<td style="vertical-align: top;"><small>Local network</small></td>
</tr>
<tr>
<td style="vertical-align: top;"><small>94.157.100.0-94.157.255.255</small></td>
<td style="vertical-align: top;"><small>T-mobile, Netherlands</small></td>
</tr>
<tr>
<td style="vertical-align: top;"><small>87.103.52.255-87.103.66.255</small></td>
<td style="vertical-align: top;"><small>Vodafone, Portugal</small></td>
</tr>
<tr>
<td style="vertical-align: top;"><small>94.157.0.0.0-120.157.99.255</small></td>
<td style="vertical-align: top;"><small>T-mobile, Netherlands</small></td>
</tr>
<tr>
<td style="vertical-align: top;"><small>114.72.0.0-114.75.255.255</small></td>
<td style="vertical-align: top;"><small>OPTUSINTERNET, Australia</small></td>
</tr>
<tr>
<td style="vertical-align: top;"><small>92.248.90.0-92.248.120.255</small></td>
<td style="vertical-align: top;"><small>MOBILKOM, Austria</small></td>
</tr>
<tr>
<td style="vertical-align: top;"><small>81.217.74.0-81.217.74.255</small></td>
<td style="vertical-align: top;"><small>Kabelsignal AG, Austria</small></td>
</tr>
<tr>
<td style="vertical-align: top;"><small>84.224.60.0-84.224.80.255</small></td>
<td style="vertical-align: top;"><small>Pannon GSM Telecommunications Inc, Hungary</small></td>
</tr>
<tr>
<td style="vertical-align: top;"><small>188.88.100.0-188.88.160.255</small></td>
<td style="vertical-align: top;"><small>T-Mobile, Netherlands</small></td>
</tr>
<tr>
<td style="vertical-align: top;"><small>77.248.140.0-77.248.146.255</small></td>
<td style="vertical-align: top;"><small>UPC Broadband, Austria</small></td>
</tr>
<tr>
<td style="vertical-align: top;"><small>77.54.160.0-77.54.190.255</small></td>
<td style="vertical-align: top;"><small>Vodafone, Portugal</small></td>
</tr>
<tr>
<td style="vertical-align: top;"><small>80.57.116.0-80.57.131.255</small></td>
<td style="vertical-align: top;"><small>UPC Broadband Austria</small></td>
</tr>
<tr>
<td style="vertical-align: top;"><small>84.224.0.0-84.224.63.255</small></td>
<td style="vertical-align: top;"><small>Pannon GSM Telecommunications Inc, Hungary</small></td>
</tr>
</tbody>
</table>
<h5 style="text-align: center;"><em>(tabella prelevata da </em><a href="http://www.csl.sri.com/users/porras/iPhone-Bot/" target="_blank"><em>questo sito</em></a><em>)</em></h5>
<p>Come è facile intuire, sono gli intervalli di indirizzi ip che identificano i maggiori provider di connettività mobile.</p>
<p>Una volta identificato un host attivo tra quelli nell&#8217;intervallo, il worm sostanzialmente verificava se la porta 22 era aperta (quella del demone ssh) e provava a loggarsi con la password di default alpine.</p>
<p>Una volta dentro, copiava se stesso sul dispositivo e continuava la scansione sulla subnet locale del telefono infettato, e così via, ripdoducendosi esponenzialmente.</p>
<p><strong>That&#8217;s fucking all!</strong></p>
<p>Non è stata colpa del jailbreak, non è stata colpa di un mistico exploit 0day che sfruttava qualche strana falla nel sistema &#8230; è stata colpa solo ed esclusivamente, come nel 99% dei casi, della stupidità umana.</p>
<p>Cazzo ma non ti viene in mente di cambiarla la password ssh quando lo installi ?!?!? Bah -.-</p>

                            <div id="aspdf">
                                <a href="http://www.evilsocket.net/wp-content/plugins/as-pdf/generate.php?post=871">
                                    <span> </span>
                                </a>
                            </div>
                        <img src="http://www.evilsocket.net/?ak_action=api_record_view&id=871&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.evilsocket.net/901/resettare-le-password-ed-i-privilegi-di-mysql.html' rel='bookmark' title='Permanent Link: Resettare le password ed i privilegi di MySQL'>Resettare le password ed i privilegi di MySQL</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.evilsocket.net/871/il-worm-delliphone-il-jailbreak-e-rischioso.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Alice Router Unlocker</title>
		<link>http://www.evilsocket.net/96/alice-router-unlocker.html</link>
		<comments>http://www.evilsocket.net/96/alice-router-unlocker.html#comments</comments>
		<pubDate>Mon, 18 May 2009 01:52:13 +0000</pubDate>
		<dc:creator>evilsocket</dc:creator>
				<category><![CDATA[BASH]]></category>
		<category><![CDATA[Exploiting]]></category>
		<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[Sorgenti]]></category>
		<category><![CDATA[alice]]></category>
		<category><![CDATA[drpepperone]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[pirelli]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[saxdax]]></category>
		<category><![CDATA[telnet]]></category>
		<category><![CDATA[tftp]]></category>
		<category><![CDATA[unlock]]></category>

		<guid isPermaLink="false">http://www.evilsocket.net/?p=96</guid>
		<description><![CDATA[Basandomi sul lavoro di saxdax e drpepperONE che potete trovare su milw0rm ho buttato giÃ¹ al volo questo piccolo script che automatizza tutta la procedura descritta nel paper, procedurÃ  che sbloccherÃ  il vostro router di alice mettendo a disposizione taaante interessanti features che mamma telecom voleva tenerci nascoste . Scarica Related posts:Script per il calcolo [...]


Related posts:<ol><li><a href='http://www.evilsocket.net/1173/script-per-il-calcolo-della-chiave-wpa-dei-router-alice-gate-voip-2-plus-wi-fi.html' rel='bookmark' title='Permanent Link: Script per il calcolo della chiave WPA dei router Alice Gate VoIP 2 Plus Wi-Fi'>Script per il calcolo della chiave WPA dei router Alice Gate VoIP 2 Plus Wi-Fi</a></li>
<li><a href='http://www.evilsocket.net/1126/script-per-il-calcolo-della-chiave-wpa-nei-router-fastweb-pirelli.html' rel='bookmark' title='Permanent Link: Script per il calcolo della chiave WPA dei router FastWeb Pirelli.'>Script per il calcolo della chiave WPA dei router FastWeb Pirelli.</a></li>
<li><a href='http://www.evilsocket.net/109/arp-poisoning-ovvero-come-avere-il-totale-controllo-della-rete.html' rel='bookmark' title='Permanent Link: ARP Poisoning, ovvero come avere il totale controllo della rete .'>ARP Poisoning, ovvero come avere il totale controllo della rete .</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Basandomi sul lavoro di saxdax e drpepperONE che potete trovare su <a href="http://www.milw0rm.com/exploits/6750" target="_blank">milw0rm</a> ho buttato giÃ¹ al volo questo piccolo script che automatizza tutta la procedura descritta nel paper, procedurÃ  che sbloccherÃ  il vostro router di alice mettendo a disposizione taaante interessanti features che mamma telecom voleva tenerci nascoste <img src='http://www.evilsocket.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  .</p>
<p><a href="http://www.evilsocket.net/sources/alicefuck.sh.txt" target="_blank">Scarica</a></p>

                            <div id="aspdf">
                                <a href="http://www.evilsocket.net/wp-content/plugins/as-pdf/generate.php?post=96">
                                    <span> </span>
                                </a>
                            </div>
                        <img src="http://www.evilsocket.net/?ak_action=api_record_view&id=96&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.evilsocket.net/1173/script-per-il-calcolo-della-chiave-wpa-dei-router-alice-gate-voip-2-plus-wi-fi.html' rel='bookmark' title='Permanent Link: Script per il calcolo della chiave WPA dei router Alice Gate VoIP 2 Plus Wi-Fi'>Script per il calcolo della chiave WPA dei router Alice Gate VoIP 2 Plus Wi-Fi</a></li>
<li><a href='http://www.evilsocket.net/1126/script-per-il-calcolo-della-chiave-wpa-nei-router-fastweb-pirelli.html' rel='bookmark' title='Permanent Link: Script per il calcolo della chiave WPA dei router FastWeb Pirelli.'>Script per il calcolo della chiave WPA dei router FastWeb Pirelli.</a></li>
<li><a href='http://www.evilsocket.net/109/arp-poisoning-ovvero-come-avere-il-totale-controllo-della-rete.html' rel='bookmark' title='Permanent Link: ARP Poisoning, ovvero come avere il totale controllo della rete .'>ARP Poisoning, ovvero come avere il totale controllo della rete .</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.evilsocket.net/96/alice-router-unlocker.html/feed</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>VMWare Hacking</title>
		<link>http://www.evilsocket.net/80/vmware-hacking.html</link>
		<comments>http://www.evilsocket.net/80/vmware-hacking.html#comments</comments>
		<pubDate>Wed, 13 May 2009 07:43:22 +0000</pubDate>
		<dc:creator>evilsocket</dc:creator>
				<category><![CDATA[Exploiting]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Papers]]></category>
		<category><![CDATA[clipboard grabbing]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vmware exploit]]></category>

		<guid isPermaLink="false">http://www.evilsocket.net/?p=80</guid>
		<description><![CDATA[Un video nel quale mostro la fattibilitÃ  di un attacco ad un sistema vmware sfruttando il tool che si trova nell&#8217;apposita sezione . Scarica Related posts:VMWare Clipboard Grabber PoC StackHack ARP Poisoning, ovvero come avere il totale controllo della rete .


Related posts:<ol><li><a href='http://www.evilsocket.net/42/vmware-clipboard-grabber-poc.html' rel='bookmark' title='Permanent Link: VMWare Clipboard Grabber PoC'>VMWare Clipboard Grabber PoC</a></li>
<li><a href='http://www.evilsocket.net/76/stackhack.html' rel='bookmark' title='Permanent Link: StackHack'>StackHack</a></li>
<li><a href='http://www.evilsocket.net/109/arp-poisoning-ovvero-come-avere-il-totale-controllo-della-rete.html' rel='bookmark' title='Permanent Link: ARP Poisoning, ovvero come avere il totale controllo della rete .'>ARP Poisoning, ovvero come avere il totale controllo della rete .</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Un video nel quale mostro la fattibilitÃ  di un attacco ad un sistema vmware sfruttando <a href="http://www.evilsocket.net/?p=42" target="_blank">il tool </a>che si trova nell&#8217;apposita sezione .</p>
<p><a href="http://www.evilsocket.net/papers/vmgrabbing.tar.gz" target="_blank">Scarica</a></p>

                            <div id="aspdf">
                                <a href="http://www.evilsocket.net/wp-content/plugins/as-pdf/generate.php?post=80">
                                    <span> </span>
                                </a>
                            </div>
                        <img src="http://www.evilsocket.net/?ak_action=api_record_view&id=80&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.evilsocket.net/42/vmware-clipboard-grabber-poc.html' rel='bookmark' title='Permanent Link: VMWare Clipboard Grabber PoC'>VMWare Clipboard Grabber PoC</a></li>
<li><a href='http://www.evilsocket.net/76/stackhack.html' rel='bookmark' title='Permanent Link: StackHack'>StackHack</a></li>
<li><a href='http://www.evilsocket.net/109/arp-poisoning-ovvero-come-avere-il-totale-controllo-della-rete.html' rel='bookmark' title='Permanent Link: ARP Poisoning, ovvero come avere il totale controllo della rete .'>ARP Poisoning, ovvero come avere il totale controllo della rete .</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.evilsocket.net/80/vmware-hacking.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>StackHack</title>
		<link>http://www.evilsocket.net/76/stackhack.html</link>
		<comments>http://www.evilsocket.net/76/stackhack.html#comments</comments>
		<pubDate>Wed, 13 May 2009 07:39:29 +0000</pubDate>
		<dc:creator>evilsocket</dc:creator>
				<category><![CDATA[Assemby]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[Exploiting]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Papers]]></category>
		<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[function pointers]]></category>
		<category><![CDATA[stack]]></category>

		<guid isPermaLink="false">http://www.evilsocket.net/?p=76</guid>
		<description><![CDATA[Lo stack, questo sconosciuto ! In questo paper illustro alcuni aspetti basilari dello stack e altri non molto noti, o quantomeno non molto considerati che presentano riscontri pratici decisamente interessanti . Scarica Related posts:C/C++ Function Pointers C Stack Inspection VMWare Hacking


Related posts:<ol><li><a href='http://www.evilsocket.net/54/cc-function-pointers.html' rel='bookmark' title='Permanent Link: C/C++ Function Pointers'>C/C++ Function Pointers</a></li>
<li><a href='http://www.evilsocket.net/867/c-stack-inspection.html' rel='bookmark' title='Permanent Link: C Stack Inspection'>C Stack Inspection</a></li>
<li><a href='http://www.evilsocket.net/80/vmware-hacking.html' rel='bookmark' title='Permanent Link: VMWare Hacking'>VMWare Hacking</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Lo stack, questo sconosciuto ! <img src='http://www.evilsocket.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>In questo paper illustro alcuni aspetti basilari dello stack e altri non molto noti, o quantomeno non molto considerati che presentano riscontri pratici decisamente interessanti .</p>
<p><a href="http://www.evilsocket.net/papers/stack.pdf" target="_blank">Scarica</a></p>

                            <div id="aspdf">
                                <a href="http://www.evilsocket.net/wp-content/plugins/as-pdf/generate.php?post=76">
                                    <span> </span>
                                </a>
                            </div>
                        <img src="http://www.evilsocket.net/?ak_action=api_record_view&id=76&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.evilsocket.net/54/cc-function-pointers.html' rel='bookmark' title='Permanent Link: C/C++ Function Pointers'>C/C++ Function Pointers</a></li>
<li><a href='http://www.evilsocket.net/867/c-stack-inspection.html' rel='bookmark' title='Permanent Link: C Stack Inspection'>C Stack Inspection</a></li>
<li><a href='http://www.evilsocket.net/80/vmware-hacking.html' rel='bookmark' title='Permanent Link: VMWare Hacking'>VMWare Hacking</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.evilsocket.net/76/stackhack.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ELF32 Injector</title>
		<link>http://www.evilsocket.net/44/elf32-injector.html</link>
		<comments>http://www.evilsocket.net/44/elf32-injector.html#comments</comments>
		<pubDate>Wed, 13 May 2009 06:53:32 +0000</pubDate>
		<dc:creator>evilsocket</dc:creator>
				<category><![CDATA[Assemby]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[Exploiting]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[Sorgenti]]></category>
		<category><![CDATA[command injection]]></category>
		<category><![CDATA[elf32]]></category>
		<category><![CDATA[elf32 injector]]></category>
		<category><![CDATA[injection]]></category>
		<category><![CDATA[shellcode]]></category>

		<guid isPermaLink="false">http://www.evilsocket.net/?p=44</guid>
		<description><![CDATA[Applicazione che ho scritto insieme a BlackLight che, dato un comando bash arbitrario, manipola la struttura elf di un eseguibile *nix inserendo uno shellcode che forkerÃ  in parallelo il codice originale dell&#8217;eseguibile e il comando da noi iniettato . Scarica Related posts:Shellcode Generator


Related posts:<ol><li><a href='http://www.evilsocket.net/34/shellcode-generator.html' rel='bookmark' title='Permanent Link: Shellcode Generator'>Shellcode Generator</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Applicazione che ho scritto insieme a BlackLight che, dato un comando bash arbitrario, manipola la struttura elf di un eseguibile *nix inserendo uno shellcode che forkerÃ  in parallelo il codice originale dell&#8217;eseguibile e il comando da noi iniettato .</p>
<p><a href="http://www.evilsocket.net/sources/elfinj.c.txt" target="_blank">Scarica</a></p>

                            <div id="aspdf">
                                <a href="http://www.evilsocket.net/wp-content/plugins/as-pdf/generate.php?post=44">
                                    <span> </span>
                                </a>
                            </div>
                        <img src="http://www.evilsocket.net/?ak_action=api_record_view&id=44&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.evilsocket.net/34/shellcode-generator.html' rel='bookmark' title='Permanent Link: Shellcode Generator'>Shellcode Generator</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.evilsocket.net/44/elf32-injector.html/feed</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>VMWare Clipboard Grabber PoC</title>
		<link>http://www.evilsocket.net/42/vmware-clipboard-grabber-poc.html</link>
		<comments>http://www.evilsocket.net/42/vmware-clipboard-grabber-poc.html#comments</comments>
		<pubDate>Wed, 13 May 2009 06:50:54 +0000</pubDate>
		<dc:creator>evilsocket</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Exploiting]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[Sorgenti]]></category>
		<category><![CDATA[clipboard]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[grabber]]></category>
		<category><![CDATA[poc]]></category>
		<category><![CDATA[proof of concept]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vmware exploit]]></category>

		<guid isPermaLink="false">http://www.evilsocket.net/?p=42</guid>
		<description><![CDATA[Piccola utility/exploit che mostra come sia possibile, dall&#8217;interno di un sistema virtualizzato da vmware, &#8220;grabbare&#8221; i dati della clipboard (per intenderci ciÃ² che si copia-e-incolla) del sistema fisico che ospita l&#8217;immagine virtuale . Scarica Related posts:VMWare Hacking Shellcode Generator iScan


Related posts:<ol><li><a href='http://www.evilsocket.net/80/vmware-hacking.html' rel='bookmark' title='Permanent Link: VMWare Hacking'>VMWare Hacking</a></li>
<li><a href='http://www.evilsocket.net/34/shellcode-generator.html' rel='bookmark' title='Permanent Link: Shellcode Generator'>Shellcode Generator</a></li>
<li><a href='http://www.evilsocket.net/46/iscan.html' rel='bookmark' title='Permanent Link: iScan'>iScan</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Piccola utility/exploit che mostra come sia possibile, dall&#8217;interno di un sistema virtualizzato da vmware, &#8220;grabbare&#8221; i dati della clipboard (per intenderci ciÃ² che si copia-e-incolla) del sistema fisico che ospita l&#8217;immagine virtuale .</p>
<p><a href="http://www.evilsocket.net/sources/vmware.c.txt" target="_blank">Scarica</a></p>

                            <div id="aspdf">
                                <a href="http://www.evilsocket.net/wp-content/plugins/as-pdf/generate.php?post=42">
                                    <span> </span>
                                </a>
                            </div>
                        <img src="http://www.evilsocket.net/?ak_action=api_record_view&id=42&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.evilsocket.net/80/vmware-hacking.html' rel='bookmark' title='Permanent Link: VMWare Hacking'>VMWare Hacking</a></li>
<li><a href='http://www.evilsocket.net/34/shellcode-generator.html' rel='bookmark' title='Permanent Link: Shellcode Generator'>Shellcode Generator</a></li>
<li><a href='http://www.evilsocket.net/46/iscan.html' rel='bookmark' title='Permanent Link: iScan'>iScan</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.evilsocket.net/42/vmware-clipboard-grabber-poc.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
