<?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> &#187; Articles</title>
	<atom:link href="http://www.megapanzer.com/category/articles/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.megapanzer.com</link>
	<description></description>
	<lastBuildDate>Fri, 23 Dec 2011 13:02:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Report on 20min about MioStar (deutsch)</title>
		<link>http://www.megapanzer.com/2010/11/04/report-on-20min-about-miostar-deutsch/</link>
		<comments>http://www.megapanzer.com/2010/11/04/report-on-20min-about-miostar-deutsch/#comments</comments>
		<pubDate>Thu, 04 Nov 2010 18:58:48 +0000</pubDate>
		<dc:creator>carrumba</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Info]]></category>
		<category><![CDATA[News & media]]></category>

		<guid isPermaLink="false">http://www.megapanzer.com/?p=4345</guid>
		<description><![CDATA[Der Hacker surft mit von Manuel Bühlmann &#8211; Egal ob E-Mail oder E-Banking: Der Schweizer IT-Crack Ruben Unteregger hat einmal mehr zugeschlagen und veröffentlicht morgen den Quellcode für das Tool MioStar, mit dem sich Windows-Rechner überwachen und Passwörter auslesen lassen. Innerhalb von acht Tagen programmierte der Bündner Software-Ingenieur Ruben Unteregger ein Tool, mit dem sich [...]]]></description>
			<content:encoded><![CDATA[<glossarycode><p><img class="alignright size-thumbnail wp-image-2595" title="newspaper" src="http://www.megapanzer.com/wp-content/uploads/newspaper-150x150.jpg" alt="" width="75" height="75" /><H3>Der Hacker surft mit</H3><br />
<strong>von Manuel Bühlman</strong>n &#8211; Egal ob E-Mail oder E-Banking: Der Schweizer IT-Crack Ruben Unteregger hat einmal mehr zugeschlagen und veröffentlicht morgen den Quellcode für das Tool MioStar, mit dem sich Windows-Rechner überwachen und Passwörter auslesen lassen.</p>
<div id="attachment_4346" class="wp-caption alignright" style="width: 610px"><img src="http://www.megapanzer.com/wp-content/uploads/20Min_MioStar.jpg" alt="Der Hacker surft mit" title="20Min_MioStar" width="600" height="300" class="size-full wp-image-4346" /><p class="wp-caption-text">Ruben Unteregger wird morgen den Quellcode zu MioStar veröffentlichen.</p></div>
<p>Innerhalb von acht Tagen programmierte der Bündner Software-Ingenieur Ruben Unteregger ein Tool, mit dem sich Programme wie etwa Firefox, Windows Live oder Thunderbird auf Windows-7-Rechner komplett überwachen lassen. Dabei fängt MioStar nicht nur Passwörter ab, sondern zeichnet auch die Tastaturanschläge auf und leitet auf Wunsch den gesamten Internet-Verkehr auf den Rechner des Angreifers um. Zurzeit beschränkt sich dies noch auf die überwachte Anwendung. Die Funktion soll in den kommenden Wochen noch entsprechend ausgebaut werden.</p>
<p>Dadurch ermöglicht das Tool grundsätzlich das Mitschneiden aller Datenflüsse, so auch beim E-Banking. «Allerdings kommt dabei im Gegensatz zum Zugriff auf einen E-Mail-Account ein One-Time-Password zum Einsatz. Informationen zum Kontostand und dergleichen lassen sich trotzdem auslesen» erklärt Unteregger. Ein nachträgliches Einloggen ist allerdings nicht möglich.</p>
<p>Kriminelle Hacker fangen schon lange Passwörter mit Hilfe sogenannter Netzwerk-Sniffer ab. Sie versagen jedoch bei verschlüsselten Verbindungen. Untereggers Tool greift nicht auf Ebene der Netzwerkverbindung an, sondern platziert sich zwischen Browser und Betriebssystem und zapft den Datenfluss an. Ihn treiben keine kriminellen Absichten an. «Meine Motivation ist es, herauszufinden, ob sich gewollte Features in einem relativ sicheren Betriebssystem wie Windows 7 ausnutzen lassen. Die Arbeit ist für mich sehr spannend und lehrreich. Zu einem späteren Zeitpunkt plane ich eine Softwarelösung zur Verfügung zu stellen, die Rechner vor Tools wie MioStar schützt.» MioStar funktioniert aktuell nur auf Windows 7. Der Software-Ingenieur hat auch keine Pläne, es auf Vorgängerversionen des aktuellen Microsoft-Betriebssystems zum Laufen zu bringen.</p>
<p><strong>Ab Mittwoch offen für jeden</strong></p>
<p>Unteregger ist sich sicher, dass er nicht der Einzige ist, der ein solches Programm geschrieben hat. Im Gegensatz zu anderen wird er es jedoch nicht einsetzen. Vielmehr geht es ihm darum, PC-User darauf aufmerksam zu machen, dass sie sich teilweise in einer falschen Sicherheit wägen. Deshalb will er morgen um 13.00 Uhr auf seiner Webseite den Quellcode zu MioStar veröffentlichen. «Es war nie die Absicht, eine komplette Lösung anzubieten, die sich in einen Trojaner einbauen lässt. Es entsteht auch keine neue Bedrohung dadurch, da die angewandten Methoden nicht neu <a class="glossaryLink" href="http://www.megapanzer.com/" title="Glossary: SIN" target="_blank">sind</a> und bereits von Kriminellen eingesetzt wurden», erklärt er.</p>
<p><strong>Kein Unbekannter</strong></p>
<p>Bekanntheit erreichte er schon 2008 mit der <a href="http://www.megapanzer.com/2009/08/25/skype-trojan-sourcecode-available-for-download/">Veröffentlichung des Quellcodes für den sogenannten Bundestrojane</a>r. Dabei handelt es sich um eine Abhörsoftware für Skype. Sein ehemaliger Arbeitgeber, die Firma ERA IT, wurde von der «SonntagsZeitung» mit dem Trojan Federal (der Schweizer Bundestrojaner) in Verbindung gebracht, worauf ERA IT dies bestätigte.</p></glossarycode>]]></content:encoded>
			<wfw:commentRss>http://www.megapanzer.com/2010/11/04/report-on-20min-about-miostar-deutsch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The man in the middle</title>
		<link>http://www.megapanzer.com/2010/08/28/the-man-in-the-middle/</link>
		<comments>http://www.megapanzer.com/2010/08/28/the-man-in-the-middle/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 19:28:03 +0000</pubDate>
		<dc:creator>carrumba</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Stuff]]></category>
		<category><![CDATA[man in the middle]]></category>
		<category><![CDATA[MITM]]></category>
		<category><![CDATA[Open Proxy]]></category>
		<category><![CDATA[Proxy]]></category>

		<guid isPermaLink="false">http://www.megapanzer.com/?p=3804</guid>
		<description><![CDATA[The last weeks I was tinkering around on an old HTTP proxy skript I wrote about one year ago. This script doesn&#8217;t contain any rocket science skills and you have the same or probably even more functionality with any other HTTP proxy. Implementing the server in PERL allows me to extend, modify and adjust it [...]]]></description>
			<content:encoded><![CDATA[<p>The last weeks I was tinkering around on an old HTTP proxy skript I wrote about one year ago. This script doesn&#8217;t contain any rocket science skills and you have the same or probably even more functionality with any other HTTP proxy. Implementing the server in PERL allows me to extend, modify and adjust it according the required needs. I wanted to analyse the traffic caused by people who want to be anonymised and are sitting behind an identity obscuring proxy server, to find out what they are (bots, scripts, humans), what they do and why they want to obscure their identity.<br />
In this post you find an <strong>houerly updated statistic</strong> from the data collected during two days and some addintional info about what this statistic wants to tell us.<br />
<br/><br />
<br/></p>
<div style="max-width: 470px; border: 2px solid #dddddd; padding: 20px;">
<table border=0 width=460>
<tr>
<td width=200><strong>Generated on </strong></td>
<td colspan=2>October 13 2010 13:11:26</td>
</tr>
</table>
<p>
<table border=0 width=460>
<tr>
<td width=200><strong>Total requests</strong></td>
<td colspan=2>1115784</td>
</tr>
<tr>
<td colspan=2>&nbsp;</td>
</tr>
<tr>
<td><strong>Proxy port</strong></td>
<td><strong>Total requests</strong></td>
</tr>
<tr>
<td width=60>8000</td>
<td>277183</td>
</tr>
<tr>
<td width=60>8080</td>
<td>265029</td>
</tr>
<tr>
<td width=60>3128</td>
<td>573559</td>
</tr>
</table></div>
<p> <br />
    <strong>Basic HTTP authentication</strong> </p>
<div style="max-width: 470px;">
About 90% of the clients using the Basic HTTP method try to authenticate on servers with pornographic content. And most of these authentication requests belong to a login hacking attack and don&#8217;t contain valid user credentials.<br /> <br />
Among all these login hack requests we find also successful login attemps. Mostly these authentication requests were typed in by humans and not by scripts and they didn&#8217;t authenticate on a porn server. If we filter out all these login hacking attempts we get a hand full of valid user accounts.
</div>
<p> </p>
<div style="max-width: 470px; border: 2px solid #dddddd; padding: 20px;">
<table border=0 width=460>
<tr>
<td><strong>Requests</strong></td>
<td><strong>URL</strong></td>
</tr>
<tr>
<td width=60>1570</td>
<td>www.fetishliza.com</td>
</tr>
<tr>
<td width=60>1478</td>
<td>members.teamskeet.com</td>
</tr>
<tr>
<td width=60>1116</td>
<td>www.southern-charms3.com</td>
</tr>
<tr>
<td width=60>611</td>
<td>sexstationtv.com</td>
</tr>
<tr>
<td width=60>516</td>
<td>members.korny.adultbouncer.com</td>
</tr>
<tr>
<td width=60>509</td>
<td>southeastsoles.com</td>
</tr>
<tr>
<td width=60>449</td>
<td>nudesandnature.com</td>
</tr>
<tr>
<td width=60>449</td>
<td>strapon-hell.com</td>
</tr>
<tr>
<td width=60>388</td>
<td>www.humiliatrix.com</td>
</tr>
<tr>
<td width=60>339</td>
<td>www.young-goddess.com</td>
</tr>
<tr>
<td width=60>239</td>
<td>members.glamour.cz</td>
</tr>
</table></div>
<p> <br />
    <strong>HTML GET authentication</strong> </p>
<div style="max-width: 470px;">
With the GET login requests we encounter a similar situation as with the Basic HTTP authentication. Most of the requests belong to login hacking attempts. Many of these attempts are executed on yahoo servers as they probably don&#8217;t identify automated login atempts as Google does. If you browse through the logs and ignore the sites with more than 2 or 3 requests chances are good you find valid requests typed by a humans.
</div>
<p> </p>
<div style="max-width: 470px; border: 2px solid #dddddd; padding: 20px;">
<table border=0 width=460>
<tr>
<td><strong>Requests</strong></td>
<td><strong>URL</strong></td>
</tr>
<tr>
<td width=60>928</td>
<td>195.122.131.36</td>
</tr>
<tr>
<td width=60>178</td>
<td>one-cpm.fr.nf</td>
</tr>
<tr>
<td width=60>169</td>
<td>195.122.131.24</td>
</tr>
<tr>
<td width=60>158</td>
<td>n4.login.re3.yahoo.com</td>
</tr>
<tr>
<td width=60>132</td>
<td>login.korea.yahoo.com</td>
</tr>
<tr>
<td width=60>117</td>
<td>195.122.131.30</td>
</tr>
<tr>
<td width=60>102</td>
<td>l10.member.sp1.yahoo.com</td>
</tr>
<tr>
<td width=60>101</td>
<td>login.india.yahoo.com</td>
</tr>
<tr>
<td width=60>99</td>
<td>login.vip.kr3.yahoo.com</td>
</tr>
<tr>
<td width=60>97</td>
<td>l16.member.sg1.yahoo.com</td>
</tr>
<tr>
<td width=60>96</td>
<td>l09.member.tw1.yahoo.com</td>
</tr>
</table></div>
<p> <br />
    <strong>HTML POST authentication</strong> </p>
<div style="max-width: 470px;">
The POST requests don&#8217;t really differ from the GET login requests. Ignore the sites with many login atempts and focus on the others with only a few requests. Also here you will probably stumble on valid user account data.
</div>
<p> </p>
<div style="max-width: 470px; border: 2px solid #dddddd; padding: 20px;">
<table border=0 width=460>
<tr>
<td><strong>Requests</strong></td>
<td><strong>URL</strong></td>
</tr>
<tr>
<td width=60>2312</td>
<td>209.222.7.232</td>
</tr>
<tr>
<td width=60>1087</td>
<td>174.140.154.23</td>
</tr>
<tr>
<td width=60>718</td>
<td>209.222.7.235</td>
</tr>
<tr>
<td width=60>580</td>
<td>hotfile.com</td>
</tr>
<tr>
<td width=60>522</td>
<td>megaporn.com</td>
</tr>
<tr>
<td width=60>496</td>
<td>79.143.184.247</td>
</tr>
<tr>
<td width=60>372</td>
<td>209.222.148.141</td>
</tr>
<tr>
<td width=60>327</td>
<td>174.140.154.12</td>
</tr>
<tr>
<td width=60>165</td>
<td>174.140.154.18</td>
</tr>
<tr>
<td width=60>147</td>
<td>174.140.154.14</td>
</tr>
<tr>
<td width=60>106</td>
<td>m.upcoming.yahoo.com</td>
</tr>
</table></div>
<p> <br />
    <strong>Most active clients</strong> </p>
<div style="max-width: 470px;">
We have not yet linked the clients to the servers or URLs and a reverse lookup of a client is mostly not possible. With help of a WhoIs lookup we can at least find out the clients country code and determine which countries have the most actives clients.
</div>
<p> </p>
<div style="max-width: 470px; border: 2px solid #dddddd; padding: 20px;">
<table border=0 width=460>
<tr>
<td><strong>Requests</strong></td>
<td><strong>URL (Country code)</strong></td>
</tr>
<tr>
<td width=60>13228</td>
<td>216.245.196.122 (US)</td>
</tr>
<tr>
<td width=60>9507</td>
<td>109.87.45.228 ()</td>
</tr>
<tr>
<td width=60>8791</td>
<td>109.86.246.136 ()</td>
</tr>
<tr>
<td width=60>8349</td>
<td>208.115.219.10 (US)</td>
</tr>
<tr>
<td width=60>8278</td>
<td>74.63.192.66 (US)</td>
</tr>
<tr>
<td width=60>6032</td>
<td>173.203.240.43 ()</td>
</tr>
<tr>
<td width=60>5924</td>
<td>81.24.89.14 (ru)</td>
</tr>
<tr>
<td width=60>4247</td>
<td>89.250.157.196 (RU)</td>
</tr>
<tr>
<td width=60>3887</td>
<td>221.233.192.72 (CN)</td>
</tr>
<tr>
<td width=60>3783</td>
<td>86.62.248.210 (qa)</td>
</tr>
<tr>
<td width=60>3582</td>
<td>91.207.6.26 (UA)</td>
</tr>
</table></div>
<p> <br />
    <strong>Most requested servers</strong> </p>
<div style="max-width: 470px;">
Looking at the servers hostname we can estimate what function a server may has. Considering our top 10 list it is not the typical stuff like mail or news people want to get while sitting behind a anonymising proxy. Instead advertisement seems to be the main reason using an HTTP proxy. You can see as well that Google  even behind a proxy is a popular server. But after evaluating the passed search strings the users rather want to check if the proxy server works properly instead of searching stuff on the net. And the wired search strings tell us that the requests were executed automatically by a script and not by humans.
</div>
<p> </p>
<div style="max-width: 470px; border: 2px solid #dddddd; padding: 20px;">
<table border=0 width=460>
<tr>
<td><strong>Requests</strong></td>
<td><strong>URL</strong></td>
</tr>
<tr>
<td width=60>22276</td>
<td>login.icq.com</td>
</tr>
<tr>
<td width=60>17425</td>
<td><a href="http://www.google.com" target=_blank</a>www.google.com</a></td>
</tr>
<tr>
<td width=60>16060</td>
<td>ad.yieldmanager.com</td>
</tr>
<tr>
<td width=60>14892</td>
<td>content.yieldmanager.com</td>
</tr>
<tr>
<td width=60>10282</td>
<td>ad.reduxmedia.com</td>
</tr>
<tr>
<td width=60>3078</td>
<td><a href="http://home.uasar.org.ua" target=_blank</a>home.uasar.org.ua</a></td>
</tr>
<tr>
<td width=60>2835</td>
<td>ak1.abmr.net</td>
</tr>
<tr>
<td width=60>2220</td>
<td>ad.xtendmedia.com</td>
</tr>
<tr>
<td width=60>2176</td>
<td><a href="http://www.adparlor.com" target=_blank</a>www.adparlor.com</a></td>
</tr>
<tr>
<td width=60>1995</td>
<td>ad.spot200.com</td>
</tr>
<tr>
<td width=60>1972</td>
<td><a href="http://www.besthitsnow.com" target=_blank</a>www.besthitsnow.com</a></td>
</tr>
</table></div>
<p> <br />
    <strong>Most requested URLs by a system</strong> </p>
<div style="max-width: 470px;">
When this page was created the most requested URLs were WebBugs, login hack attempts and mainly URLs to ad-servers containing either banners or javascript code that requests banners. The big picture gets clearer and we see that advertisers seem to appreciate the obscuring services of anonymising proxy servers.
</div>
<p> </p>
<div style="max-width: 470px; border: 2px solid #dddddd; padding: 20px;">
<table border=0 width=460>
<tr>
<tr>
<td><strong>Requests</strong></td>
<td><strong>URL</strong></td>
</tr>
<tr>
<td width=60>22276</td>
<td>http://login.icq.com:443 &#8230;</td>
</tr>
<tr>
<td width=60>11911</td>
<td><a href="http://content.yieldmanager.com/ak/q.gif" target=_blank>http://content.yieldmanager.com/ak/q.gif &#8230;</a></td>
</tr>
<tr>
<td width=60>1901</td>
<td>http://snandart.com:443 &#8230;</td>
</tr>
<tr>
<td width=60>1836</td>
<td>http://proxylist.co:443 &#8230;</td>
</tr>
<tr>
<td width=60>1509</td>
<td><a href="http://www.google.com/intl/de/ads/" target=_blank>http://www.google.com/intl/de/ads/ &#8230;</a></td>
</tr>
<tr>
<td width=60>1476</td>
<td><a href="http://members.teamskeet.com/" target=_blank>http://members.teamskeet.com/ &#8230;</a></td>
</tr>
<tr>
<td width=60>1363</td>
<td><a href="http://www.google.de/about.html" target=_blank>http://www.google.de/about.html &#8230;</a></td>
</tr>
<tr>
<td width=60>1297</td>
<td>http://botmasternet.com/proxy/http/engine.php &#8230;</td>
</tr>
<tr>
<td width=60>1286</td>
<td><a href="http://www.google.com/accounts/TOS?loc=DE" target=_blank>http://www.google.com/accounts/TOS?loc=DE &#8230;</a></td>
</tr>
<tr>
<td width=60>1185</td>
<td>http://www.google.com:443 &#8230;</td>
</tr>
<tr>
<td width=60>910</td>
<td><a href="http://flashsexclips.com/proxy5/check.php" target=_blank>http://flashsexclips.com/proxy5/check.php &#8230;</a></td>
</tr>
</table></div>
<p> <br />
    <strong>Most comunicating systems</strong> </p>
<p> </p>
<div style="max-width: 470px;">
This overview shows which system likes which server and how often a request was sent from one to the other. The eye-catching thing here is that the source address is mostly located in China or in the USA and the requested server hosts advertisement&#8230; images, banners, scripts, etc.
</div>
<p> </p>
<div style="max-width: 470px; border: 2px solid #dddddd; padding: 20px;">
<table border=0 width=460>
<tr>
<td><strong>Requests</strong></td>
<td><strong>Source</strong></td>
<td><strong>Destination</strong></td>
</tr>
<tr>
<td width=60>5924</td>
<td>81.24.89.14</td>
<td>login.icq.com</td>
</tr>
<tr>
<td width=60>4247</td>
<td>89.250.157.196</td>
<td>login.icq.com</td>
</tr>
<tr>
<td width=60>3783</td>
<td>86.62.248.210</td>
<td>login.icq.com</td>
</tr>
<tr>
<td width=60>3478</td>
<td>81.4.136.2</td>
<td>login.icq.com</td>
</tr>
<tr>
<td width=60>3474</td>
<td>216.245.196.122</td>
<td>content.yieldmanager.com</td>
</tr>
<tr>
<td width=60>3078</td>
<td>93.126.101.119</td>
<td><a href="http://home.uasar.org.ua" target=_blank>home.uasar.org.ua</a></td>
</tr>
<tr>
<td width=60>3026</td>
<td>204.124.183.90</td>
<td><a href="http://www.google.com" target=_blank>www.google.com</a></td>
</tr>
<tr>
<td width=60>2917</td>
<td>216.245.196.122</td>
<td>ad.yieldmanager.com</td>
</tr>
<tr>
<td width=60>2726</td>
<td>62.228.153.82</td>
<td>login.icq.com</td>
</tr>
<tr>
<td width=60>2705</td>
<td>173.236.70.187</td>
<td><a href="http://www.google.com" target=_blank>www.google.com</a></td>
</tr>
<tr>
<td width=60>2636</td>
<td>74.63.192.66</td>
<td>ad.reduxmedia.com</td>
</tr>
</table></div>
<p> <br />
    <strong>Most called URLs by a system</strong> </p>
<div style="max-width: 470px;">
This overview shows which system likes which URL and how often a URL on a specific server was requested by a particular client system. The situation here is the same as in the paragraph above. The client sits somewhere in the USA or China and the destination server is involved in advertisement.
</div>
<p> </p>
<div style="max-width: 470px; border: 2px solid #dddddd; padding: 20px;">
<table border=0 width=460>
<tr>
<td colspan=3>&nbsp;</td>
</tr>
<tr>
<td><strong>Requests</strong></td>
<td><strong>Source</strong></td>
<td><strong>URL</strong></td>
</tr>
<tr>
<td width=60>5924</td>
<td>81.24.89.14</td>
<td>http://login.icq.com:443 &#8230;</td>
</tr>
<tr>
<td width=60>4247</td>
<td>89.250.157.196</td>
<td>http://login.icq.com:443 &#8230;</td>
</tr>
<tr>
<td width=60>3783</td>
<td>86.62.248.210</td>
<td>http://login.icq.com:443 &#8230;</td>
</tr>
<tr>
<td width=60>3478</td>
<td>81.4.136.2</td>
<td>http://login.icq.com:443 &#8230;</td>
</tr>
<tr>
<td width=60>2726</td>
<td>62.228.153.82</td>
<td>http://login.icq.com:443 &#8230;</td>
</tr>
<tr>
<td width=60>2672</td>
<td>216.245.196.122</td>
<td><a href="http://content.yieldmanager.com/ak/q.gif" target=_blank>http://content.yieldmanager.com/ak/q.gif &#8230;</a></td>
</tr>
<tr>
<td width=60>1836</td>
<td>173.234.51.29</td>
<td>http://proxylist.co:443 &#8230;</td>
</tr>
<tr>
<td width=60>1568</td>
<td>74.63.192.66</td>
<td><a href="http://content.yieldmanager.com/ak/q.gif" target=_blank>http://content.yieldmanager.com/ak/q.gif &#8230;</a></td>
</tr>
<tr>
<td width=60>1509</td>
<td>208.115.219.10</td>
<td><a href="http://content.yieldmanager.com/ak/q.gif" target=_blank>http://content.yieldmanager.com/ak/q.gif &#8230;</a></td>
</tr>
<tr>
<td width=60>1476</td>
<td>187.132.45.238</td>
<td><a href="http://members.teamskeet.com/" target=_blank>http://members.teamskeet.com/ &#8230;</a></td>
</tr>
<tr>
<td width=60>1238</td>
<td>84.19.161.108</td>
<td>http://snandart.com:443 &#8230;</td>
</tr>
</table></div>
<p>    <strong>Most called destination ports</strong> </p>
<div style="max-width: 470px;">
As the proxy server supports the CONNECT method clients are <strong>allowed to establish a TCP connection to any port</strong>. CONNECT is normally used to tunnel HTTPS through a proxy server. Spamers like to use it to SMTP servers and people + <strong>bots like this method to connect to IRC servers</strong>. This is the reason why beside port 80 and 443 also other, sometimes rather exocit ports, are listed.
</div>
<p> </p>
<div style="max-width: 470px; border: 2px solid #dddddd; padding: 20px;">
<table border=0 width=460>
<tr>
<td><strong>Requests</strong></td>
<td><strong>Dest. port</strong></td>
</tr>
<tr>
<td width=60>1072189</td>
<td>80 (www)</td>
</tr>
<tr>
<td width=60>39426</td>
<td>443 (https)</td>
</tr>
<tr>
<td width=60>2730</td>
<td>25 (smtp)</td>
</tr>
<tr>
<td width=60>485</td>
<td>6667 (ircd)</td>
</tr>
<tr>
<td width=60>153</td>
<td>6112 (starcraft)</td>
</tr>
<tr>
<td width=60>123</td>
<td>6668 (ircd)</td>
</tr>
<tr>
<td width=60>120</td>
<td>6666 (ircd)</td>
</tr>
<tr>
<td width=60>83</td>
<td>7000 (afs3-fileserver)</td>
</tr>
<tr>
<td width=60>70</td>
<td>8080 (webcache)</td>
</tr>
<tr>
<td width=60>58</td>
<td>33033 ()</td>
</tr>
<tr>
<td width=60>48</td>
<td>81 ()</td>
</tr>
<tr>
<td width=60>43</td>
<td>6669 (ircd)</td>
</tr>
<tr>
<td width=60>29</td>
<td>6665 (ircd)</td>
</tr>
<tr>
<td width=60>22</td>
<td>8018 ()</td>
</tr>
<tr>
<td width=60>16</td>
<td>12350 ()</td>
</tr>
<tr>
<td width=60>15</td>
<td>2866 ()</td>
</tr>
</table></div>
<p> <br />
<strong>The bottom line</strong> </p>
<div style="max-width: 470px;">
At the beginning I thought it would be easy fishing user accounts out of the data streams. But after some tests I noticed that the major part of the traffic was automated and related to advertisement in one or another way. There is not much sensitive data to catch. In a second step I tried to redirect all the clients to the Megapanzer web page to see how the traffic load changes and if some users will start browsing the page. But also this Plan didn&#8217;t work out as expected.<br /> <br />
So obviously humans don&#8217;t like to use HTTP proxys which they have to configure somewhere in the browser properties. Either it is to complicated or there is an easier way to use a proxy as web proxies for example. You can find real user traffic but in a very low quantity. Also the Automated traffic originates often from login hacking scripts. A proxy suppressing the clients real identity makes the the attackers feel safer. <br /> <br />
The heavy users are the advertisers. They are responsible for the major part of the requests passing the proxy and that sometimes let my inet link collapse. But for what reason actually? Why don&#8217;t they connect directly to the destination servers so they don&#8217;t rely on an instable and unreliable node in between? After pondering for a while and searching for a plausible answer the only reason I can imagine is to keep the click rate on their advertisements higher than it really is. An advertiser like xapads.com or defaultimg.com can ensure their customers a high amount of clicks and views per day what makes them as an advertisement partner more valuable. Or the customers pay these ads companies according the &#8220;Costs per impression&#8221; model. Then the clicks are generated by scripts running somewhere on a server in China or in the USA. For example if you have a list containing 1000 proxy servers and your customers pay you $20 CPM, the advertiser &#8220;could&#8221; earn this money in one day. 20$ * 30 makes 600$ a month. Serving ten customers for 30 days makes a nice amount at the end of the month.<br />
But this is only an assumption. Any better ideas? Suggestions?</p>
</div>
<p> </p>
</table>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.megapanzer.com/2010/08/28/the-man-in-the-middle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cloud-based WPA cracking is here</title>
		<link>http://www.megapanzer.com/2010/07/25/cloud-based-wpa-cracking-is-here/</link>
		<comments>http://www.megapanzer.com/2010/07/25/cloud-based-wpa-cracking-is-here/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 20:42:44 +0000</pubDate>
		<dc:creator>carrumba</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Stuff]]></category>

		<guid isPermaLink="false">http://www.megapanzer.com/?p=3614</guid>
		<description><![CDATA[Nice article found on TechRepublic. Welcome to the future: cloud-based WPA cracking is here In 2008, I speculated about the future of distributed security cracking. That future has arrived, in the form of a $17 “cloud” based service provided through the efforts of a security researcher known as Moxie Marlinspike. It is effective against pre-shared [...]]]></description>
			<content:encoded><![CDATA[<glossarycode><glossarycode><glossarycode><p><a href="http://www.megapanzer.com/wp-content/uploads/newspaper.jpg"><img src="http://www.megapanzer.com/wp-content/uploads/newspaper-150x150.jpg" alt="" title="newspaper" width="75" height="75" class="alignright size-thumbnail wp-image-2595" /></a>Nice article found on <a href="http://blogs.techrepublic.com.com/security/?p=4097" target="_blank">TechRepublic</a>.</p>
<p><strong>Welcome to the future: cloud-based <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1322" title="Glossary: WPA" target="_blank">WPA</a> cracking is here</strong></p>
<p>In 2008, I speculated about the future of distributed security cracking. That future has arrived, in the form of a $17 “cloud” based service provided through the efforts of a security researcher known as Moxie Marlinspike. It is effective against pre-shared key deployments of both <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1322" title="Glossary: WPA" target="_blank">WPA</a> and WPA2 wireless networks.</p>
<p>The mechanism used involves captured network traffic, which is uploaded to the <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1322" title="Glossary: WPA" target="_blank">WPA</a> Cracker service and subjected to an intensive brute force cracking effort. As advertised on the site, what would be a five-day task on a dual-core PC is reduced to a job of about twenty minutes on average. For the more “premium” price of $35, you can get the job done in about half the time. Because it is a <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1682" title="Glossary: Dictionary attack" target="_blank">dictionary attack</a> using a predefined 135-million-word list, there is no guarantee that you will crack the <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1322" title="Glossary: WPA" target="_blank">WPA</a> key, but such an extensive <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1682" title="Glossary: Dictionary attack" target="_blank">dictionary attack</a> should be sufficient for any but the most specialized <a class="glossaryLink" href="http://www.megapanzer.com/" title="Glossary: Penetration test" target="_blank">penetration testing</a> purposes.</p>
<p>If you opt to use the service, you will of course leave a money trail via Amazon Payments — which is probably a bad idea if you are attempting to gain unauthorized access to a secured network illegally. For the good guys testing the security of a client’s network, however, this is an incredibly handy tool to have at one’s disposal.</p>
<p>It gets even better. If you try the standard 135-million-word dictionary and do not crack the <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1322" title="Glossary: WPA" target="_blank">WPA</a> encryption on your target network, there is an extended dictionary that contains an additional 284 million words. In short, serious brute force wireless network encryption cracking has become a retail commodity. </p>
<p>&#8230;.</p></glossarycode></glossarycode></glossarycode>]]></content:encoded>
			<wfw:commentRss>http://www.megapanzer.com/2010/07/25/cloud-based-wpa-cracking-is-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Submit your documents and software</title>
		<link>http://www.megapanzer.com/2010/01/20/submit-your-documents-and-software/</link>
		<comments>http://www.megapanzer.com/2010/01/20/submit-your-documents-and-software/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 15:00:56 +0000</pubDate>
		<dc:creator>carrumba</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Off topic]]></category>
		<category><![CDATA[Stuff]]></category>
		<category><![CDATA[Document]]></category>
		<category><![CDATA[Sources]]></category>
		<category><![CDATA[Submission]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.megapanzer.com/?p=2382</guid>
		<description><![CDATA[From time to time the documents I&#8217;ve stumbled uppon in the Internet or people recommended me and I&#8217;ve considered as interesting were put on the server and announced afterwards in the blog. Things that seem interesting to me may also be of your interest. The same thing with the software from other places. On the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.megapanzer.com/wp-content/uploads/information-150x150.jpg" alt="" title="information" width="75" height="75" class="alignright size-thumbnail wp-image-2871" />From time to time the documents I&#8217;ve stumbled uppon in the Internet or people recommended me and I&#8217;ve considered as interesting were put on the server and announced afterwards in the blog. Things that seem interesting to me may also be of your interest. The same thing with the software from other places. On the <a href="http://www.megapanzer.com/external-code/" ><strong>External sources</strong></a> page I announce regularly tools and sources from other places which are of general interest.</p>
<p>If you know of <strong>security related tools </strong>or <strong>you&#8217;ve coded an application</strong> that fits just perfect to the core topic of this site and you want to publish it <strong>including the source code</strong> or <strong>you&#8217;ve found or written a document</strong> people have to know about don&#8217;t hesitate to send me a mail and tell me about your idea. Depending on the quality and the type of document/source it will be published the following days, with name of the author/submitter and backlinks to the authors page.</p>
<p>World wide fame and honour will be your reward :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.megapanzer.com/2010/01/20/submit-your-documents-and-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Crack WPA/WPA2</title>
		<link>http://www.megapanzer.com/2009/10/02/how-to-crack-wpawpa2/</link>
		<comments>http://www.megapanzer.com/2009/10/02/how-to-crack-wpawpa2/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 15:12:30 +0000</pubDate>
		<dc:creator>carrumba</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Reading material]]></category>
		<category><![CDATA[crack]]></category>
		<category><![CDATA[Cracking]]></category>
		<category><![CDATA[WLAN]]></category>
		<category><![CDATA[WPA]]></category>
		<category><![CDATA[WPA2]]></category>

		<guid isPermaLink="false">http://www.megapanzer.com/?p=2902</guid>
		<description><![CDATA[Introduction This tutorial walks you through cracking WPA/WPA2 networks which use pre-shared keys. I recommend you do some background reading to better understand what WPA/WPA2 is. The Wiki links page has a WPA/WPA2 section. The best document describing WPA is Wi-Fi Security &#8211; WEP, WPA and WPA2. This is the link to download the PDF [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.megapanzer.com/wp-content/uploads/books-150x150.jpg" alt="books" title="books" width="75" height="75" class="alignright size-thumbnail wp-image-2238" /><br />
<h2><a name="introduction" id="introduction">Introduction</a></h2>
<div class="level2">
<p>
This tutorial walks you through <span class="search_hit">cracking</span> <span class="search_hit">WPA</span>/<span class="search_hit">WPA</span>2 networks which use pre-shared keys.  I recommend you do some background reading to better understand what <span class="search_hit">WPA</span>/<span class="search_hit">WPA</span>2 is.  The <a href="http://aircrack-ng.org" class="urlextern" title="http://aircrack-ng.org"  rel="nofollow">Wiki</a> links page has a WPA/WPA2 section</a>.   The best document describing <span class="search_hit">WPA</span> is <a href="http://www.hsc.fr/ressources/articles/hakin9_wifi/index.html.en" class="urlextern" title="http://www.hsc.fr/ressources/articles/hakin9_wifi/index.html.en"  rel="nofollow">Wi-Fi Security &#8211; WEP, <span class="search_hit">WPA</span> and <span class="search_hit">WPA</span>2</a>.  This is the <a href="http://www.hsc.fr/ressources/articles/hakin9_wifi/hakin9_wifi_EN.pdf" class="urlextern" title="http://www.hsc.fr/ressources/articles/hakin9_wifi/hakin9_wifi_EN.pdf"  rel="nofollow">link</a> to download the <acronym title="Portable Document Format">PDF</acronym> directly.  The WPA Packet Capture Explained tutorial</a> is a companion to this tutorial.<br />
<span id="more-2902"></span>
</p>
<p>
<span class="search_hit">WPA</span>/<span class="search_hit">WPA</span>2 supports many types of authentication beyond pre-shared keys. aircrack-ng can ONLY crack pre-shared keys.  So make sure airodump-ng shows the network as having the authentication type of PSK, otherwise, don&#039;t bother trying to crack it.
</p>
<p>There is another important difference between <span class="search_hit">cracking</span> <span class="search_hit">WPA</span>/<span class="search_hit">WPA</span>2 and WEP.  This is the approach used to crack the <span class="search_hit">WPA</span>/<span class="search_hit">WPA</span>2 pre-shared key.  Unlike WEP, where statistical methods can be used to speed up the <span class="search_hit">cracking</span> process, only plain brute force techniques can be used against <span class="search_hit">WPA</span>/<span class="search_hit">WPA</span>2.  That is, because the key is not static, so collecting IVs like when <span class="search_hit">cracking</span> WEP encryption, does not speed up the attack. The only thing that does give the information to start an attack is the handshake between client and AP. Handshaking is done when the client connects to the network.<br />
Although not absolutely true, for the purposes of this tutorial, consider it true.  Since the pre-shared key can be from 8 to 63 characters in length, it effectively becomes impossible to crack the pre-shared key.</p>
<p>
The only time you can crack the pre-shared key is if it is a dictionary word or relatively short in length.  Conversely, if you want to have an unbreakable wireless network at home, use <span class="search_hit">WPA</span>/<span class="search_hit">WPA</span>2 and a 63 character password composed of random characters including special symbols.
</p>
<p>
The impact of having to use a brute force approach is substantial.  Because it is very compute intensive, a computer can only test 50 to 300 possible keys per second depending on the computer CPU.  It can take hours, if not days, to crunch through a large dictionary.  If you are thinking about generating your own password list to cover all the permutations and combinations of characters and special symbols, check out this <a href="http://lastbit.com/pswcalc.asp" class="urlextern" title="http://lastbit.com/pswcalc.asp"  rel="nofollow">brute force time calculator</a> first.  You will be very surprised at how much time is required.
</p>
<p>
<strong>IMPORTANT</strong> This means that the passphrase must be contained in the dictionary you are using to break <span class="search_hit">WPA</span>/<span class="search_hit">WPA</span>2.  If it is not in the dictionary then aircrack-ng will be unable to determine the key.
</p>
<p>
There is no difference between <span class="search_hit">cracking</span> <span class="search_hit">WPA</span> or <span class="search_hit">WPA</span>2 networks.  The authentication methodology is basically the same between them.  So the techniques you use are identical.</p>
<p>
It is recommended that you experiment with your home wireless access point to get familiar with these ideas and techniques. If you do not own a particular access point, please remember to get permission from the owner prior to playing with it.
</p>
<p>
I would like to acknowledge and thank the <a href="http://trac.aircrack-ng.org/wiki/Team" class="urlextern" title="http://trac.aircrack-ng.org/wiki/Team"  rel="nofollow">Aircrack-ng team</a> for producing such a great robust tool.
</p>
<p>
Please send me any constructive feedback, positive or negative. Additional troubleshooting ideas and tips are especially welcome.
</p>
</div>
<h2><a name="assumptions" id="assumptions">Assumptions</a></h2>
<div class="level2">
<p>First, this solution assumes:
</p>
<ul>
<li class="level1">
<div class="li"> You are using drivers patched for injection.</div>
</li>
<li class="level1">
<div class="li"> You are physically close enough to send and receive access point and wireless client packets.  Remember that just because you can receive packets from them does not mean you may will be able to transmit packets to them.  The wireless card strength is typically less then the AP strength.  So you have to be physically close enough for your transmitted packets to reach and be received by both the AP and the wireless client. </div>
</li>
<li class="level1">
<div class="li"> You are using v0.9.1 or above of aircrack-ng. If you use a different version then some of the command options may have to be changed.</div>
</li>
</ul>
<p>Ensure all of the above assumptions are true, otherwise the advice that follows will not work.  In the examples below, you will need to change “ath0” to the interface name which is specific to your wireless card.
</p>
</div>
<h2><a name="equipment_used" id="equipment_used">Equipment used</a></h2>
<div class="level2">
<p>To follow this tutorial at home, you must have two wireless cards.
</p>
<p>
In this tutorial, here is what was used:</p>
<ul>
<li class="level1">
<div class="li">MAC address of PC running aircrack-ng suite: 00:0F:B5:88:AC:82</div>
</li>
<li class="level1">
<div class="li">MAC address of the wireless client using <span class="search_hit">WPA</span>2: 00:0F:B5:FD:FB:C2</div>
</li>
<li class="level1">
<div class="li">BSSID (MAC address of access point): 00:14:6C:7E:40:80</div>
</li>
<li class="level1">
<div class="li">ESSID (Wireless network name): teddy</div>
</li>
<li class="level1">
<div class="li">Access point channel: 9</div>
</li>
<li class="level1">
<div class="li">Wireless interface: ath0</div>
</li>
</ul>
<p>You should gather the equivalent information for the network you will be working on.  Then just change the values in the examples below to the specific network.
</p>
</div>
<h2><a name="solution" id="solution">Solution</a></h2>
<div class="level2">
</div>
<h3><a name="solution_overview" id="solution_overview">Solution Overview</a></h3>
<div class="level3">
<p>The objective is to capture the <span class="search_hit">WPA</span>/<span class="search_hit">WPA</span>2 authentication handshake and then use aircrack-ng to crack the pre-shared key.
</p>
<p>
This can be done either actively or passively.  “Actively” means you will accelerate the process by deauthenticating an existing wireless client.  “Passively” means you simply wait for a wireless client to authenticate to the <span class="search_hit">WPA</span>/<span class="search_hit">WPA</span>2 network.  The advantage of passive is that you don&#039;t actually need injection capability and thus the Windows version of aircrack-ng can be used.</p>
<p>
Here are the basic steps we will be going through:</p>
<ol>
<li class="level1">
<div class="li"> Start the wireless interface in monitor mode on the specific AP channel</div>
</li>
<li class="level1">
<div class="li"> Start airodump-ng on AP channel with filter for bssid to collect authentication handshake</div>
</li>
<li class="level1">
<div class="li"> Use aireplay-ng to deauthenticate the wireless client</div>
</li>
<li class="level1">
<div class="li"> Run aircrack-ng to crack the pre-shared key using the authentication handshake</div>
</li>
</ol>
</div>
<h3><a name="step_1_-_start_the_wireless_interface_in_monitor_mode" id="step_1_-_start_the_wireless_interface_in_monitor_mode">Step 1 &#8211; Start the wireless interface in monitor mode</a></h3>
<div class="level3">
<p>The purpose of this step is to put your card into what is called monitor mode.  Monitor mode is the mode whereby your card can listen to every packet in the air.  Normally your card will only “hear” packets addressed to you.  By hearing every packet, we can later capture the <span class="search_hit">WPA</span>/<span class="search_hit">WPA</span>2 4-way handshake.  As well, it will allow us to optionally deauthenticate a wireless client in a later step. These steps are mostly specific to the madwifi-ng driver &#8211; for other drivers, this procedure varies. (Most commonly, running the command “airmon-ng start &lt;interface&gt;” is used to set up monitor mode.)</p>
<p>First stop ath0 by entering:</p>
<pre class="code"> airmon-ng stop ath0   </pre>
<p>The system responds:</p>
<pre class="code"> Interface       Chipset         Driver

 wifi0           Atheros         madwifi-ng
 ath0            Atheros         madwifi-ng VAP (parent: wifi0) (VAP destroyed)</pre>
<p>Enter “iwconfig” to ensure there are no other athX interfaces.  It should look similar to this:</p>
<pre class="code"> lo        no wireless extensions.

 eth0      no wireless extensions.

 wifi0     no wireless extensions.</pre>
<p>If there are any remaining athX interfaces,  then stop each one.  When you are finished, run “iwconfig” to ensure there are none left.
</p>
<p>
Now, enter the following command to start the wireless card on channel 9 in monitor mode:</p>
<pre class="code"> airmon-ng start wifi0 9</pre>
<p>Note: In this command we use “wifi0” instead of our wireless interface of “ath0”.  This is because the madwifi-ng drivers are being used.
</p>
<p>
The system will respond:</p>
<pre class="code"> Interface       Chipset         Driver

 wifi0           Atheros         madwifi-ng
 ath0            Atheros         madwifi-ng VAP (parent: wifi0) (monitor mode enabled)</pre>
<p>You will notice that “ath0” is reported above as being put into monitor mode.
</p>
<p>
To confirm the interface is properly setup, enter “iwconfig”.
</p>
<p>
The system will respond:</p>
<pre class="code"> lo        no wireless extensions.

 wifi0     no wireless extensions.

 eth0      no wireless extensions.

 ath0      IEEE 802.11g  ESSID:&quot;&quot;  Nickname:&quot;&quot;
        Mode:Monitor  Frequency:2.452 GHz  Access Point: 00:0F:B5:88:AC:82
        Bit Rate:0 kb/s   Tx-Power:18 dBm   Sensitivity=0/3
        Retry:off   RTS thr:off   Fragment thr:off
        Encryption key:off
        Power Management:off
        Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
        Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
        Tx excessive retries:0  Invalid misc:0   Missed beacon:0</pre>
<p>In the response above, you can see that ath0 is in monitor mode, on the 2.452GHz frequency which is channel 9 and the Access Point shows the MAC address of your wireless card.  Only the madwifi-ng drivers show the card MAC address in the AP field, other drivers do not.  So everything is good.   It is important to confirm all this information prior to proceeding, otherwise the following steps will not work properly.
</p>
<p>
To match the frequency to the channel, check out:<br />
<a href="http://www.rflinx.com/help/calculations/#2.4ghz_wifi_channels" class="urlextern" title="http://www.rflinx.com/help/calculations/#2.4ghz_wifi_channels"  rel="nofollow">http://www.rflinx.com/help/calculations/#2.4ghz_wifi_channels</a> then select the “Wifi Channel Selection and Channel Overlap” tab.  This will give you the frequency for each channel.
</p>
</div>
<h3><a name="step_2_-_start_airodump-ng_to_collect_authentication_handshake" id="step_2_-_start_airodump-ng_to_collect_authentication_handshake">Step 2 &#8211; Start airodump-ng to collect authentication handshake</a></h3>
<div class="level3">
<p>The purpose of this step is to run airodump-ng to capture the 4-way authentication handshake for the AP we are interested in.
</p>
<p>
Enter:</p>
<pre class="code"> airodump-ng -c 9 --bssid 00:14:6C:7E:40:80 -w psk ath0</pre>
<p>Where:</p>
<ul>
<li class="level1">
<div class="li">-c 9 is the channel for the wireless network</div>
</li>
<li class="level1">
<div class="li">-<code></code>-bssid 00:14:6C:7E:40:80 is the access point MAC address.  This eliminates extraneous traffic.</div>
</li>
<li class="level1">
<div class="li">-w psk is the file name prefix for the file which will contain the IVs.</div>
</li>
<li class="level1">
<div class="li">ath0 is the interface name.</div>
</li>
</ul>
<p>Important: Do NOT use the ”-<code></code>-ivs” option.  You must capture the full packets.
</p>
<p>
Here what it looks like if a wireless client is connected to the network:</p>
<pre class="code">  CH  9 ][ Elapsed: 4 s ][ 2007-03-24 16:58 ][ <span class="search_hit">WPA</span> handshake: 00:14:6C:7E:40:80

  BSSID              PWR RXQ  Beacons    #Data, #/s  CH  MB  ENC  CIPHER AUTH ESSID

  00:14:6C:7E:40:80   39 100       51      116   14   9  54  <span class="search_hit">WPA</span>2 CCMP   PSK  teddy                           

  BSSID              STATION            PWR  Lost  Packets  Probes                                             

  00:14:6C:7E:40:80  00:0F:B5:FD:FB:C2   35     0      116  </pre>
<p>In the screen above, notice the “<span class="search_hit">WPA</span> handshake: 00:14:6C:7E:40:80” in the top right-hand corner.  This means airodump-ng has successfully captured the four-way handshake.
</p>
<p>
Here it is with no connected wireless clients:</p>
<pre class="code">  CH  9 ][ Elapsed: 4 s ][ 2007-03-24 17:51 

  BSSID              PWR RXQ  Beacons    #Data, #/s  CH  MB  ENC  CIPHER AUTH ESSID

  00:14:6C:7E:40:80   39 100       51        0    0   9  54  <span class="search_hit">WPA</span>2 CCMP   PSK  teddy                           

  BSSID              STATION            PWR  Lost  Packets  Probes                                             </pre>
</div>
<h4><a name="troubleshooting_tip" id="troubleshooting_tip">Troubleshooting Tip</a></h4>
<div class="level4">
<p>See the Troubleshooting Tips section below for ideas.
</p>
<p>
To see if you captured any handshake packets, there are two ways.  Watch the airodump-ng screen for ” <span class="search_hit">WPA</span> handshake: 00:14:6C:7E:40:80” in the top right-hand corner.  This means a four-way handshake was successfully captured.  See just above for an example screenshot.</p>
<p>
use Wireshark and apply a filter of “eapol”.  This displays only eapol packets you are interested in.  Thus you can see if capture contains 0,1,2,3 or 4 eapol packets.
</p>
</div>
<h3><a name="step_3_-_use_aireplay-ng_to_deauthenticate_the_wireless_client" id="step_3_-_use_aireplay-ng_to_deauthenticate_the_wireless_client">Step 3 - Use aireplay-ng to deauthenticate the wireless client</a></h3>
<div class="level3">
<p>This step is optional.  You only perform this step if you opted to actively speed up the process.  The other constraint is that there must be a wireless client currently associated with the AP.  If there is no wireless client currently associated with the AP, then move onto the next step and be patient.  Needless to say, if a wireless client shows up later, you can backtrack and perform this step.
</p>
<p>
This step sends a message to the wireless client saying that that it is no longer associated with the AP.  The wireless client will then hopefully reauthenticate with the AP.  The reauthentication is what generates the 4-way authentication handshake we are interested in collecting.  This is what we use to break the <span class="search_hit">WPA</span>/<span class="search_hit">WPA</span>2 pre-shared key.
</p>
<p>
Based on the output of airodump-ng in the previous step, you determine a client which is currently connected.  You need the MAC address for the following.  Open another console session and enter:</p>
<pre class="code"> aireplay-ng -0 1 -a 00:14:6C:7E:40:80 -c 00:0F:B5:FD:FB:C2 ath0</pre>
<p>Where:
</p>
<ul>
<li class="level1">
<div class="li"> -0 means deauthentication</div>
</li>
<li class="level1">
<div class="li"> 1 is the number of deauths to send (you can send multiple if you wish)</div>
</li>
<li class="level1">
<div class="li"> -a 00:14:6C:7E:40:80 is the MAC address of the access point</div>
</li>
<li class="level1">
<div class="li"> -c 00:0F:B5:FD:FB:C2 is the MAC address of the client you are deauthing</div>
</li>
<li class="level1">
<div class="li">ath0 is the interface name</div>
</li>
</ul>
<p>Here is what the output looks like:</p>
<pre class="code"> 11:09:28  Sending DeAuth to station   -- STMAC: [00:0F:B5:34:30:30]</pre>
<p>With luck this causes the client to reauthenticate and yield the 4-way handshake.</p>
</div>
<h4><a name="troubleshooting_tips" id="troubleshooting_tips">Troubleshooting Tips</a></h4>
<div class="level4">
<ul>
<li class="level1">
<div class="li">  The deauthentication packets are sent directly from your PC to the clients. So you must be physically close enough to the clients for your wireless card transmissions to reach them.  To confirm the client received the deauthentication packets, use tcpdump or similar to look for ACK packets back from the client.  If you did not get an ACK packet back, then the client did not “hear” the deauthentication packet.</div>
</li>
</ul>
</div>
<h3><a name="step_4_-_run_aircrack-ng_to_crack_the_pre-shared_key" id="step_4_-_run_aircrack-ng_to_crack_the_pre-shared_key">Step 4 &#8211; Run aircrack-ng to crack the pre-shared key</a></h3>
<div class="level3">
<p>The purpose of this step is to actually crack the <span class="search_hit">WPA</span>/<span class="search_hit">WPA</span>2 pre-shared key.  To do this, you need a dictionary of words as input.  Basically, aircrack-ng takes each word and tests to see if this is in fact the pre-shared key.
</p>
<p>
There is a small dictionary that comes with aircrack-ng &#8211; “password.lst”.  This file can be found in the “test” directory of the aircrack-ng source code.  The Wiki FAQ has an extensive list of dictionary sources.  You can use <a href="http://www.openwall.com/john/" class="urlextern" title="http://www.openwall.com/john/"  rel="nofollow">John the Ripper</a> (JTR) to generate your own list and pipe them into aircrack-ng.  Using JTR in conjunction with aircrack-ng is beyond the scope of this tutorial.</p>
<p>
Open another console session and enter:</p>
<pre class="code">aircrack-ng -w password.lst -b 00:14:6C:7E:40:80 psk*.cap</pre>
<p>Where:
</p>
<ul>
<li class="level1">
<div class="li">-w password.lst is the name of the dictionary file.  Remember to specify the full path if the file is not located in the same directory.</div>
</li>
<li class="level1">
<div class="li">*.cap is name of group of files containing the captured packets.  Notice in this case that we used the wildcard * to include multiple files.</div>
</li>
</ul>
<p>Here is typical output when there are no handshakes found:</p>
<pre class="code"> Opening psk-01.cap
 Opening psk-02.cap
 Opening psk-03.cap
 Opening psk-04.cap
 Read 1827 packets.

 No valid <span class="search_hit">WPA</span> handshakes found.</pre>
<p>When this happens you either have to redo step 3 (deauthenticating the wireless client) or wait longer if you are using the passive approach.  When using the passive approach, you have to wait until a wireless client authenticates to the AP.</p>
<p>
Here is typical output when handshakes are found:</p>
<pre class="code"> Opening psk-01.cap
 Opening psk-02.cap
 Opening psk-03.cap
 Opening psk-04.cap
 Read 1827 packets.

 #  BSSID              ESSID                     Encryption

 1  00:14:6C:7E:40:80  teddy                     <span class="search_hit">WPA</span> (1 handshake)

 Choosing first network as target.</pre>
<p>Now at this point, aircrack-ng will start attempting to crack the pre-shared key.  Depending on the speed of your CPU and the size of the dictionary, this could take a long time, even days.
</p>
<p>
Here is what successfully <span class="search_hit">cracking</span> the pre-shared key looks like:</p>
<pre class="code">                               Aircrack-ng 0.8

                 [00:00:00] 2 keys tested (37.20 k/s)

                         KEY FOUND! [ 12345678 ]

    Master Key     : CD 69 0D 11 8E AC AA C5 C5 EC BB 59 85 7D 49 3E
                     B8 A6 13 C5 4A 72 82 38 ED C3 7E 2C 59 5E AB FD 

    Transcient Key : 06 F8 BB F3 B1 55 AE EE 1F 66 AE 51 1F F8 12 98
                     CE 8A 9D A0 FC ED A6 DE 70 84 BA 90 83 7E CD 40
                     FF 1D 41 E1 65 17 93 0E 64 32 BF 25 50 D5 4A 5E
                     2B 20 90 8C EA 32 15 A6 26 62 93 27 66 66 E0 71 

    EAPOL HMAC     : 4E 27 D9 5B 00 91 53 57 88 9C 66 C8 B1 29 D1 CB </pre>
</div>
<h2><a name="troubleshooting_tips1" id="troubleshooting_tips1">Troubleshooting Tips</a></h2>
<div class="level2">
</div>
<h3><a name="i_cannot_capture_the_four-way_handshake" id="i_cannot_capture_the_four-way_handshake">I Cannot Capture the Four-way Handshake!</a></h3>
<div class="level3">
<p>It can sometimes be tricky to capture the four-way handshake.  Here are some troubleshooting tips to address this:</p>
<ul>
<li class="level1">
<div class="li"> Your monitor card must be in the same mode as the both the client and Access Point.  So, for example, if your card was in “B” mode and the client/AP were using “G” mode, then you would not capture the handshake.  This is especially important for new APs and clients which may be “turbo” mode and/or other new standards.  Some drivers allow you to specify the mode.  Also, iwconfig has an option “modulation” that can sometimes be used.  Do “man iwconfig” to see the options for “modulation”. For information, 1, 2, 5.5 and 11Mbit are &#039;b&#039;, 6, 9, 12, 18, 24, 36, 48, 54Mbit are &#039;g&#039;.</div>
</li>
<li class="level1">
<div class="li"> Sometimes you also need to set the monitor-mode card to the same speed.  <acronym title="Internet Explorer">IE</acronym> auto, 1MB, 2MB, 11MB, 54MB, etc.</div>
</li>
<li class="level1">
<div class="li"> Be sure that your capture card is locked to the same channel as the AP.  You can do this by specifying ”-c &lt;channel of AP&gt;” when you start airodump-ng.</div>
</li>
<li class="level1">
<div class="li"> Be sure there are no connection managers running on your system.  This can change channels and/or change mode without your knowledge.</div>
</li>
<li class="level1">
<div class="li"> You are physically close enough to receive both access point and wireless client packets.  The wireless card strength is typically less then the AP strength.</div>
</li>
<li class="level1">
<div class="li"> Conversely, if you are too close then the received packets can be corrupted and discarded.  So you cannot be too close.</div>
</li>
<li class="level1">
<div class="li"> Make sure to use the drivers specified on the wiki.  Depending on the driver, some old versions do not capture all packets.</div>
</li>
<li class="level1">
<div class="li"> Ideally, connect and disconnect a wireless client normally to generate the handshake.</div>
</li>
<li class="level1">
<div class="li"> If you use the deauth technique, send the absolute minimum of packets to cause the client to reauthenticate.  Normally this is a single deauth packet.  Sending an excessive number of deauth packets may cause the client to fail to reconnect and thus it will not generate the four-way handshake.   As well, use directed deauths, not broadcast.  To confirm the client received the deauthentication packets, use tcpdump or similar to look for ACK packets back from the client.  If you did not get an ACK packet back, then the client did not “hear” the deauthentication packet.</div>
</li>
<li class="level1">
<div class="li"> Try stopping the radio on the client station then restarting it.</div>
</li>
<li class="level1">
<div class="li"> Make sure you are not running any other program/process that could interfere such as connection managers, Kismet, etc.</div>
</li>
<li class="level1">
<div class="li"> Review your captured data using the WPA Packet Capture Explained tutorial to see if you can identify the problem.  Such as missing AP packets, missing client packets, etc.</div>
</li>
</ul>
<p>Unfortunately, sometimes you need to experiment a bit to get your card to properly capture the four-way handshake.  The point is, if you don&#039;t get it the first time, have patience and experiment a bit.  It can be done!
</p>
<p>
Another approach is to use Wireshark to review and analyze your packet capture.  This can sometimes give you clues as to what is wrong and thus some ideas on how to correct it.  The WPA Packet Capture Explained tutorial is a companion to this tutorial and walks you through what a “normal” <span class="search_hit">WPA</span> connection looks like.  As well, see the FAQ for detailed information on how to use Wireshark.</p>
<p>
In an ideal world, you should use a wireless device dedicated to capturing the packets.  This is because some drivers such as the RTL8187L driver do not capture packets the card itself sends.  Also, always use the driver versions specified on the wiki.  This is because some older versions of the drivers such as the RT73 driver did not capture client packets.
</p>
<p>
When using Wireshark, the filter “eapol” will quickly display only the EAPOL packets.  Based on what EAPOL packets are actually in the capture, determine your correction plan. For example, if you are missing the client packets then try to determine why and how to collect client packets.
</p>
<p>
To dig deep into the packet analysis, you must start airodump-ng without a BSSID filter and specify the capture of the full packet, not just  IVs.  Needless to say, it must be locked to the AP channel.  The reason for eliminating the BSSID filter is to ensure all packets including acknowledgments are captured.  With a BSSID filter, certain packets are dropped from the capture.
</p>
<p>
Every packet sent by client or AP must be acknowledged.  This is done with an “acknowledgment” packet which has a destination MAC of the device which sent the original packet.  If you are trying to deauthenticate a client, one thing to check is that you receive the “ack” packet.  This confirms the client received the deauth packet.  Failure to receive the “ack” packet likely means that the client is out of transmission range.  Thus failure.
</p>
<p>
When it comes to analyzing packet captures, it is impossible to provide detailed instructions.  I have touched on some techniques and areas to look at.  This is an area which requires effort to build your skills on both <span class="search_hit">WPA</span>/<span class="search_hit">WPA</span>2 plus how to use Wireshark.
</p>
</div>
<h3><a name="aircrack-ng_says_0_handshakes" id="aircrack-ng_says_0_handshakes">aircrack-ng says &quot;0 handshakes&quot;</a></h3>
<div class="level3">
<p>Check the “I Cannot Capture the Four-way Handshake!” troubleshooting tip.
</p>
</div>
<h3><a name="aircrack-ng_says_no_valid_wpa_handshakes_found" id="aircrack-ng_says_no_valid_wpa_handshakes_found">aircrack-ng says &quot;No valid <span class="search_hit">WPA</span> handshakes found&quot;</a></h3>
<div class="level3">
<p>
Check the “I Cannot Capture the Four-way Handshake!” troubleshooting tip.
</p>
<p>
Original article on http://www.aircrack-ng.org/doku.php?id=cracking_wpa<br/><br />
Version: 1.18 September 25, 2009<br/><br />
By: darkAudax</p>
]]></content:encoded>
			<wfw:commentRss>http://www.megapanzer.com/2009/10/02/how-to-crack-wpawpa2/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Megapanzer forum online now.</title>
		<link>http://www.megapanzer.com/2009/09/29/megapanzer-forum-online-now/</link>
		<comments>http://www.megapanzer.com/2009/09/29/megapanzer-forum-online-now/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 15:38:15 +0000</pubDate>
		<dc:creator>carrumba</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Stuff]]></category>
		<category><![CDATA[Forum]]></category>

		<guid isPermaLink="false">http://www.megapanzer.com/?p=2865</guid>
		<description><![CDATA[It&#8217;s about time the steady monologues are finally over and visitors can participate or start discussions themselves. I have to move away from my self-centered position where the topics are given to you. To do so I decided lately to install a forum software and offering you a place where we can talk about computer [...]]]></description>
			<content:encoded><![CDATA[<glossarycode><p><img class="alignright size-thumbnail wp-image-2871" title="information" src="http://www.megapanzer.com/wp-content/uploads/information-150x150.jpg" alt="information" width="75" height="75" />It&#8217;s about time the steady monologues are finally over and visitors can participate or start discussions themselves. I have to move away from my self-centered position where the topics are given to you. To do so I decided lately to install a forum software and offering you a place where we can talk about computer related things together. I think this is in everyone&#8217;s interest.</p>
<p>It was actually never planned to have a forum here because it was not predictable how well and in what direction the project will develop. After six months of blogging and looking back on more than one hundred posts, a dozen tools, pictures and videos a lot of material is piling up and an there seems to be no end so far. It developed well. Emails and messages regularly come in where people ask questions about this and that, <strong>problems with the Panzer configuration or a source that doesn&#8217;t compile</strong>, book, software or page recommendations, networking. This is the <strong>right place to discuss </strong>such things from now on.</p>
<p>But as in the comment section also in the forum are some rules everybody should respect. <strong>Criticism has to be constructive</strong> in some way. If you&#8217;re rude, I have to delete your post. Stay in the legal zone and <strong>don&#8217;t start trading accounts or <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1210" title="Glossary: Malware" target="_blank">malware</a></strong>. Two simple rules, very easy to memorize.</p>
<p>Here the link <strong><a href="http://www.megapanzer.com/bbpress/">to the forum</a></strong>. Register your account, participate and have fun.</p></glossarycode>]]></content:encoded>
			<wfw:commentRss>http://www.megapanzer.com/2009/09/29/megapanzer-forum-online-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nine ways how hackers propagate malware (2 of 2)</title>
		<link>http://www.megapanzer.com/2009/05/06/nine_ways_how_hackers_propagate_malware_one/</link>
		<comments>http://www.megapanzer.com/2009/05/06/nine_ways_how_hackers_propagate_malware_one/#comments</comments>
		<pubDate>Wed, 06 May 2009 23:44:05 +0000</pubDate>
		<dc:creator>carrumba</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Injection]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[MITM]]></category>
		<category><![CDATA[Proxy server]]></category>

		<guid isPermaLink="false">http://www.megapanzer.com/?p=942</guid>
		<description><![CDATA[In the first part of this series I wrote about the different ways how attackers propagate malware by sending an infectious executable file or an USB memory stick to their victims or let them pick up an infected file in a file sharing network like emule or bittorrent. In this article, as promised in the [...]]]></description>
			<content:encoded><![CDATA[<glossarycode><glossarycode><glossarycode><glossarycode><glossarycode><glossarycode><p><img src="http://www.megapanzer.com/wp-content/uploads/injection-150x150.jpg" alt="injection" title="injection" width="150" height="150" class="alignright size-thumbnail wp-image-1728" />In the <a href="http://www.megapanzer.com/2009/03/24/nine_ways_how_hackers_propagate_malware_one-2/">first part</a> of this series I wrote about the different ways how attackers propagate <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1210" title="Glossary: Malware" target="_blank">malware</a> by sending an infectious executable file or an USB memory stick to their victims or let them pick up an infected file in a file sharing network like emule or bittorrent.<br />
In this article, as promised in the first part,  I want to explain how to propagate and inject <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1210" title="Glossary: Malware" target="_blank">malware</a> by taking over a victims data stream.<br />
<span id="more-942"></span><br />
There are two ways how to take over a data stream. From the inside of the victims network (LAN) or from the outside (the Internet). Both of these tactics have their advantages, disadvantages and methods how to proceed which I will explain in the following paragraphs. I wont go too deep into details and technical aspects. Otherwise I had to split this article again in a second and a third part because it would blow it up overly. I will explain the technical aspects in an other article independent from this series and will add example tools and source code where possible.</p>
<p><strong>Attacking the victims home LAN</strong></p>
<p>Beside the fact that home Internet routers are generally weaker protected than corporate Internet access appliances one of the weak links in home routers is often the integrated wireless access point. Sometimes the Internet routers are delivered with the WLAN module activated and only protected by the default settings. Other times the owner activates the WLAN himself and chooses an insecure password or an insecure protection standard like <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1319" title="Glossary: WEP" target="_blank">WEP</a> or nowadays also <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1322" title="Glossary: WPA" target="_blank">WPA</a> has its weakness. If one of these preconditions is the case chances are good an attacker will overcome the protection mechanisms. Once he is connected with the victims local network over the WLAN several not too complicated scenarios exists to take over the data stream.</p>
<p><strong>Method 5 : Taking over the DNS</strong></p>
<p>The Internet doesn&#8217;t understand host names like www.megapanzer.com. Instead it uses IP addresses like 194.208.66.33. And because we are to lazy to remember these irritating IP addresses and prefer the significant hostnames instead the DNS maps between this addressing conventions. Everytime you want to connect to the megapanzer server www.megapanzer.com your computer has to ask a DNS server under which IP address this server is reachable. It doesn&#8217;t take too much imagination taking over the DNS service in a victims LAN is the key to the power. Once an attacker controls the DNS, for example by injecting faked DNS response, he controls where the data stream is directed. Traffic destined for ebanking.ubs.com can easily be redirected to an attackers server.</p>
<p><strong>Method 6 : Acting as default gateway</strong></p>
<p>The computers in an ethernet based LAN don&#8217;t communicate by IP their addresses. IP addresses are used in the Internet but not inside a small, ethernet based home LAN. Ethernet is using MAC addresses. So every network adapter connected to a computer was assigned once a unique MAC address by its manufacturer. The computers in a LAN constantly tell each other what MAC address and what IP address they have and they keep this information in their memory for a while. Also WLAN adapters support the ethernet standard and have therefore MAC addresses. The only difference between wired and wireless network adapters is the medium (air and copper) they are using, the first layer in the OSI model. From layer 2 on they work exactly the same way.<br />
This situation allows an attacker to spread wrong information inside a LAN and telling every computer HIS computer is the router that leads to the Internet. Afterwards every computer sends its data packets to the attacker instead to the real Internet router. The attacker takes over the data stream and can do with it whatever he wants. Relaying, modifying, blocking &#8230;</p>
<p>To give you an idea how this two examples lead to a successful data injection just imagine you as a victim want to download an executable file via your browser. You click on a specific link and are expecting the browser will download this file. An attacker can intercept your request and instead of sending back the real executable the <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1214" title="Glossary: Trojan horse" target="_blank">trojan horse</a> will be injected and disguised to make it look unsuspicious. Even if sceptics think you could check the <a class="glossaryLink" href="http://www.megapanzer.com/" title="Glossary: Hash" target="_blank">hash</a> checksum also them know only a small percentage really does it and the check sums are not provided everytime.</p>
<p><strong>Method 7 : Intruding the victims Internet router</strong></p>
<p>As you saw in the previous examples the Internet access router is the central point. These attacks were conducted from the internal part of the network. There is also an external part of the network which attackers can reach and attack over the Internet.<br />
Still a big number of home Internet routers are accessible over the Internet and offer a user interface for administration purposes. Often over HTTP/HTTPS and also Telnet and SSH. But private users are not known for having a IT security policy they have to respect. So you can think of several situations you encounter when connecting to a home router:</p>
<ul>
<li>The admin interface acces is blocked</li>
<li>The admin interface access is open but unprotected</li>
<li>The admin interface access is open and protected with the default account settings</li>
<li>The admin interface access is  open and protected with a new password</li>
</ul>
<p>These sittuations invite an attacker to invest some time and trying to crack the password by a bruteforce or <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1682" title="Glossary: Dictionary attack" target="_blank">dictionary attack</a>.<br />
Once this obstacle was overcome by an attacker he has the control over the appliance, the place where all the data passes to and from the Internet. As an example how the stream can be controled by the attacker think of the DNS service from the two previous examples. The attacker can configure the Internet router that way to redirect all the DNS requests to a DNS server that is controlled by the attacker.</p>
<p><strong>Method 8 : Anonymizing proxy server data injection</strong></p>
<p>TOR and I2P, to mention the most famous amongst them, are quite popular anonymizing services. You install the proxy software on your computer, customize your browser a little and you surf the net anonymously. But the anonymizing services have the problem when the data stream reenters the regular Internet again you don&#8217;t know if and who is reading or maybe even manipulating your data stream.<br />
At least in the open and anonymizing proxy chains it is an easy game to infiltrate other peoples data stream, to read it, to manipulate it and to inject data they never requested (read <a href="http://www.megapanzer.com/2009/04/09/one-week-with-the-spammers-and-hackers-day-three/">here</a>).</p>
<p><strong>Method 9 : DNS cache poisoning</strong></p>
<p>I would consider DNS cache poisoning as a rather esotherical method that maybe worked one day. But then I remember just too good when Dan Kaminsky discovered and published the DNS poisoning vulnerability. But as with TCP/IP spoofing, the Sendmail Debug or CGI/PHF vulnerabilities, it just doesn&#8217;t happen anymore.</p>
<p>DNS cache poisoning is a technique to convince for example a big ISPs DNS server, like the one from Bluewin (the biggest access provider in Switzerland), a hostname outside of their domain like ebanking.ubs.com is reachable under the IP address 192.168.1.1. Of course this is the wrong IP address but all the Bluewin users who ask this DNS server for the IP address of ebanking.ubs.com will see this answer. by using DNS cache poisoning an attacker could redirect the data packets from the Bluewin users to a destination of his choice. He controls the stream.</p></glossarycode></glossarycode></glossarycode></glossarycode></glossarycode></glossarycode>]]></content:encoded>
			<wfw:commentRss>http://www.megapanzer.com/2009/05/06/nine_ways_how_hackers_propagate_malware_one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Six ways how hackers protect themselves when unleashing malware (2 of 2)</title>
		<link>http://www.megapanzer.com/2009/04/21/six-ways-how-hackers-protect-themselves-when-unleashing-malware-2-of-2/</link>
		<comments>http://www.megapanzer.com/2009/04/21/six-ways-how-hackers-protect-themselves-when-unleashing-malware-2-of-2/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 11:49:52 +0000</pubDate>
		<dc:creator>carrumba</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Anonymity]]></category>
		<category><![CDATA[Hacker]]></category>

		<guid isPermaLink="false">http://www.megapanzer.com/?p=1138</guid>
		<description><![CDATA[In the first part of this series we had a closer look at the basic precondition how an attacker prepares his own computer to eliminate telltale traces when surfing the Internet. In this second part we will go into the details how they connect to the Internet anonymously without leaving a betraying IP address which [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-thumbnail wp-image-1349" title="Anonymity" src="http://www.megapanzer.com/wp-content/uploads/mask-150x150.jpg" alt="Anonymity" width="100" height="100" />In the <a href="http://www.megapanzer.com/2009/04/07/six-ways-how-hackers-protect-themselves-when-unleashing-malware-1/" target="_blank">first part</a> of this series we had a closer look at the basic precondition how an attacker prepares his own computer to eliminate telltale traces when surfing the Internet. In this second part we will go into the details how they connect to the Internet anonymously without leaving a betraying IP address which would reveal their identity.<span id="more-1138"></span></p>
<p><strong>1. Anonymizing proxies</strong></p>
<p>Reasons why attackers  work from home is laziness and the desire for comfort. The means that offer the regular Internet  user anonymity and privacy are also quite convenient for people with malicious  intentions. Anonymizing services like <a href="http://en.wikipedia.org/wiki/Tor_(anonymity_network)" target="_blank">TOR </a>or <a href="http://en.wikipedia.org/wiki/I2P" target="_blank">I2P</a> are popular among people who want to protect their privacy. And so do the hackers. They profit from these anonymizing services too which allows them doing their business from home with low risk being traced back.</p>
<p><strong>2. The phone booth</strong></p>
<p>There were times, many years ago at about 1993, where acoustic couplers were still in use and often found as a part in the  service technicians equipment box.When connecting to the Internet or an other dial-up computer from home the home modem was the first choice. They replaced the acoustic couplers from the home offices and urged them into their niche. An acoustic coupler allows to connect to the Internet by putting it to a regular telephone jack and establishing a  modem connection to an ISP (Internet Service Provider). By using an acoustic coupler from a phone booth, a place where the phone number is not related with the caller, the identity of the user can not be determined. This is an ideal way for an attacker to protect his identity.</p>
<p>But public phone booths are everything else but anonymous. At least concerning the physical presence and when other people are watching someone with half his home computer equipment installation inside the booth people get curious what is going on inside. This method requires some previous precautions to ensure none takes note of the attackers presence and his activities what makes it to a rather uncomfortable method.</p>
<p><strong>3. Accessible telephone switch box</strong></p>
<p>When walking through the neighbourhood and having a closer look at  the buildings you can see the boxes from the telcos  electric installations fixed on the outside wall or just somewhere close to the building. If you open these boxes you find the telephone  copper wire pairs. One pair for each apartment. When connecting the internal laptop modem to these wire pairs an attacker gets a carrier signal that is ready to use.  But as with the the phone booth the physical presence poses a big obstacle to an attacker  that he has to overcome first. A person standing with a laptop on a switch box is quite suspicious and will attract peoples attention. Exactly the opposite of his planned goal, to stay anonymous.</p>
<p><strong>4. Neighbouring wireless LANs</strong></p>
<p>Internet access is available in almost every household in industrialized countries and if one is not living in a remote place somewhere up in the mountains, at least one of the neighbours has an Internet access and a <img class="alignleft size-full wp-image-1346" title="acousticcoupler" src="http://www.megapanzer.com/wp-content/uploads/acousticcoupler.gif" alt="acousticcoupler" width="181" height="137" /> router with the wireless access point activated. In the small village where I live when walking around my house and searching for WLANs there are at least 10 of them. So availability shouldn&#8217;t be a problem nowadays but rather whether the access points have activated protection mechanisms.  But even if these mechanisms are activated the days where WEP stopped people from using other persons WLAN  actually never existed. And also using  WPA or WPA2 can&#8217;t protect from every attack and with more or less effort also these obstacles can be overcome. For further information how to crack WEP/WPA have a look at <a href="http://www.scribd.com/doc/10049619/Aircrack-23-WEP-WPAPSK-Creck" target="_blank">this </a>document.</p>
<p>Using a neighbours wireless LAN alone to access the Internet is not really effective to hide ones identity. If a notorious hacker is living next to a person with no previous conviction and he is now blamed for unleashing malware because his IP address was found in the log files  it is more likely the hacker is a suspect  considering the neighbour has a weakly protected access point at home. Using a neighbours open wireless LAN is a weak layer of protection when attacking a system and probably preferred by people that don&#8217;t want to pay for Internet access but want to use it anyway.</p>
<p><strong>5. Using wireless LANs</strong></p>
<p>Instead of using the neighbours WLAN access point it is safer to use a WLAN outside the own town. Sitting in the car, driving through the quarters and scanning for open or weakly protected wireless LANs is a promising tactic to get anonymous access to the Internet.  And it eliminates the drawback from the previous example not attracting the attention to the area where the attacker is living.</p>
<p><strong>6. Public Internet access</strong></p>
<p>As a last possibility how to access the Internet anonymously is via publicly accessible Internet spots. The time where Internet access was available in the typical Internet Cafes or in shops where they offered their access to the public are actually over. Mainly tourists who want to write the friends in their countries how life is  abroad are ready to pay that money. Internet cafes are rare but still exist and in towns at train stations or airports phone booths with integrated Internet surf stations are available.<br />
Depending on the goal an attacker wants to achieve, a Internet phone booth is safe and comfortable enough to surf and hack via the web browser. To unleash malware a computer is required that allows to read your portable data storage. The attacker copies the malware on the computer and spreads it from there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.megapanzer.com/2009/04/21/six-ways-how-hackers-protect-themselves-when-unleashing-malware-2-of-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The inner structure of a trojan horse</title>
		<link>http://www.megapanzer.com/2009/04/15/the-inner-structure-of-a-trojan-horse/</link>
		<comments>http://www.megapanzer.com/2009/04/15/the-inner-structure-of-a-trojan-horse/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 16:13:57 +0000</pubDate>
		<dc:creator>carrumba</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[trojan]]></category>

		<guid isPermaLink="false">http://www.megapanzer.com/?p=1154</guid>
		<description><![CDATA[When analyzing the code of a Trojan horse it often contains  methods  and functions that can be assigned to typical function groups and modules.  Even if the code and inner organisation seems to be chaotic and hard to understand because of  its structureless appearance you can assign a function to at least one of these [...]]]></description>
			<content:encoded><![CDATA[<glossarycode><glossarycode><glossarycode><glossarycode><glossarycode><glossarycode><glossarycode><div id="attachment_1119" class="wp-caption alignright" style="width: 257px"><a href="http://www.megapanzer.com/wp-content/uploads/malware_structure.png"><img class="size-medium wp-image-1119" title="malware_structure.png" src="http://www.megapanzer.com/wp-content/uploads/malware_structure-300x252.png" alt="The inner structure of a trojan horse" width="247" height="207" /></a><p class="wp-caption-text">The inner structure of a trojan horse</p></div>
<p>When analyzing the code of a Trojan horse it often contains  methods  and functions that can be assigned to typical function groups and modules.  Even if the code and inner organisation seems to be chaotic and hard to understand because of  its structureless appearance you can assign a function to at least one of these groups. I want to give you the big picture, an overview about the inner structure of a Trojan horse and taking the confusion a little.<br />
<span id="more-1154"></span><br />
<br/><br />
<strong><a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1245" title="Glossary: Dropper" target="_blank">Dropper</a></strong></p>
<p>The Trojan horse is wrapped by its <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1245" title="Glossary: Dropper" target="_blank">dropper</a> which is not a core component in the proper sense. But because it plays an important role in propagation and the installation of  the Trojans it is worth mentioning it.</p>
<p>The <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1245" title="Glossary: Dropper" target="_blank">dropper</a>, wrapped around the Trojan, on one side determines the Trojans optical appearance, whether it looks like a regular Windows application, a JPEG picture, a PDF file or any other file type. But its main purpose is in the installation of its <a class="glossaryLink" href="http://www.megapanzer.com/" title="Glossary: Payload" target="_blank">payload</a>. Once the <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1245" title="Glossary: Dropper" target="_blank">dropper</a> is executed it examines the new system to see if the place is good to drop its <a class="glossaryLink" href="http://www.megapanzer.com/" title="Glossary: Payload" target="_blank">payload</a>. Depending on the decision weather to install it or not it sends back a notification message to the Trojan client.<br />
<br/><br />
<strong>The start routine</strong></p>
<p>The start routine was created by the <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1245" title="Glossary: Dropper" target="_blank">dropper</a> as a part of the installation process and makes sure the Trojan is started after the system was rebooted. There are several ways to do it by either creating an according registry entry, creating a service and also other methods that come into question.<br />
<br/><br />
<strong>Three main modules</strong></p>
<p>A typical Trojan horse is divided into three main modules: A security module, a damage module and a networking module. They can be compiled to one <a class="glossaryLink" href="http://www.megapanzer.com/" title="Glossary: SIN" target="_blank">single</a> binary file or the modules can also exist as external components like DLLs that are loaded after the main program starts.  Even if the modules are (logically) separated  from each other they are able to communicate among them and offering its capabilities to each other via an interface. For a better understanding have a look at the picture  on the top which visualizes the components team play.<br />
<br/><br />
<strong>1 Security module</strong></p>
<p>The security modules purpose is to protect the Trojan from being detected, stopped and analyzed and anything that makes the alert bells ring. There are three typical features inside the security module: Disabling installed security software, self protection mechanism and the update mechanism.</p>
<p>Deactivating the security software concerns mainly desktop <a class="glossaryLink" href="http://www.megapanzer.com/" title="Glossary: Firewall" target="_blank">firewalls</a> and antivirus solutions. It detects the installed security software, determines its type, name and version and knows exactly which buttons it has to push to disarm it.</p>
<p>The self protection mechanisms are necessary to protect the <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1210" title="Glossary: Malware" target="_blank">malware</a> from being analyzed and reverse engineered. The binary itself is encrypted and is decrypted during runtime to make a file analyzation impossible. During runtime checks are done to detect  debuggers and virtual machines that are trying to observe and analyze the <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1210" title="Glossary: Malware" target="_blank">malware</a> binary.</p>
<p>To supply the Trojan new plug-ins to extend its capabilities or delivering updates to fix flaws inside the software  the update mechanism is also a vital part of the security module. The Trojan client indicates the server new updates are available and ready for which the server will download and install/execute afterwards.<br />
<br/><br />
<strong>2 Damage module</strong></p>
<p>The damage module is the part of the <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1210" title="Glossary: Malware" target="_blank">malware</a> where the malicious code resides. It is in charge of the tasks executed locally on the computer itself and also of the tasks that go beyond the local system over the network. Therefore we divide the damage functions in two groups :</p>
<ul>
<li>Data gathering module</li>
<li>Networking module</li>
</ul>
<p>The <strong>Data gathering module</strong> executes tasks like password recovery, collecting browser history data, etc. It collects data from the local system and makes them ready for other modules which will transfer this data to the <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1272" title="Glossary: Dropzone" target="_blank">dropzone</a>.<br />
The <strong>Networking module</strong> executes malicious networking tasks. Good illustrative examples are spam  and click bots or <a class="glossaryLink" href="http://www.megapanzer.com/" title="Glossary: DDoS" target="_blank">DDos</a> attacks.<br />
<br/><br />
<strong>3 Communication module</strong></p>
<p>Any data that has to be transmitted over the network, no matter if the destination host is inside the intranet or in the Internet, has to pass the communication module. It&#8217;s the module that knows the network environment like proxy and  <a class="glossaryLink" href="http://www.megapanzer.com/" title="Glossary: Firewall" target="_blank">firewall</a>  servers, it knows what way to take to communicate with servers in the Internet and it knows how to circumvent the desktop <a class="glossaryLink" href="http://www.megapanzer.com/" title="Glossary: Firewall" target="_blank">firewall</a> to avoid triggering the alert bells.</p>
<p>The module also offers encryption functionality to encrypt the data that will be transferred over the network. As for example data that is sent to the <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1272" title="Glossary: Dropzone" target="_blank">dropzone</a> or the Trojan client it is normally encrypted symmetrically or asymmetrically if the attacker is doing his job well.</p></glossarycode></glossarycode></glossarycode></glossarycode></glossarycode></glossarycode></glossarycode>]]></content:encoded>
			<wfw:commentRss>http://www.megapanzer.com/2009/04/15/the-inner-structure-of-a-trojan-horse/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>One week with spammers and hackers, day three.</title>
		<link>http://www.megapanzer.com/2009/04/09/one-week-with-the-spammers-and-hackers-day-three/</link>
		<comments>http://www.megapanzer.com/2009/04/09/one-week-with-the-spammers-and-hackers-day-three/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 14:22:51 +0000</pubDate>
		<dc:creator>carrumba</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Hackers]]></category>
		<category><![CDATA[Proxy]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://www.megapanzer.com/?p=1168</guid>
		<description><![CDATA[As already mentioned in a previous posting I stumbled upon an old proxy server code that attracted my attention again. Driven by the same idea as at the first time, out of curiosity how the spammers and hackers do their  job and who else is using this anonymizing srvices I modified and installed the script [...]]]></description>
			<content:encoded><![CDATA[<glossarycode><p><img class="alignright size-full wp-image-1185" title="Anonymity" src="http://www.megapanzer.com/wp-content/uploads/anonymity2.jpg" alt="Anonymity" width="124" height="89" />As already mentioned in a previous posting I stumbled upon an old proxy server code that attracted my attention again. Driven by the same idea as at the first time, out of curiosity how the spammers and <a class="glossaryLink" href="http://www.megapanzer.com/?page_id=1220" title="Glossary: Hacker" target="_blank">hackers</a> do their  job and who else is using this anonymizing srvices I modified and installed the script on my computers again. To avoid the  situation supporting &#8220;them&#8221;  doing their business and being a piece in their chain I incorporated new filter mechanisms. I remember the anonymizng proxy users from these days had the nasty habit to bruteforce email accounts and HTTP authentication.  Allowing this would cause troubles if affected system administrator see my IP address. They would contact my Internet provider which will cut my connection or evn  go one step further and inform the law enforcement.  To control these peoples  bad attitude I customized the black and white listing feature inside the script that way abuse is restricted at its maximum.<span id="more-1168"></span></p>
<p>Before explaining what tasks were to do to lead the desired traffic to my server and how to process it, here a short overview about the actors involved into the communication chain and what role they play:</p>
<p><strong>Proxy server user</strong> : The person that is ready  to pay money for anonymity, for what reason ever.</p>
<p><strong>Proxy server provider</strong> : The service provider that searches freely usable proxy servers in the Internet and also the one who is offering people access to &#8220;his&#8221; anonymizing proxy servers.</p>
<p><strong>Proxy server owners</strong> : The real owner  of  the anonymizing proxy servers.</p>
<p><strong>Peer system</strong> : The peer system the proxy server user wants to reach anonymously.</p>
<p>I started the  script and registered my IP address as a new proxy server at some &#8220;Anonymizing proxy server&#8221; providers homepages. Finding them is fairly easy. By searching them with google I&#8217;ve found their links within the first searching results and visited their homepage. I was looking for the input box to type in there my IP address and they can do the checks for that system to recognize its proxy server capabilities. If such tests passed successfully the IP address is added to their proxy server list and distributed among their customers. Simple and strightforward. I was registered.</p>
<p>After a short time the first requests came in from control servers that contacted the registered proxies again to check its availability and analyzed what proxy server ports are open (HTTP, HTTPS, Socks4, Socks5). And after the first assessment also the first real requests dropped in. Fresh data to analyze.</p>
<p>At the moment it is not enough data yet and it takes some further days to find out what kind of data is passing these anonymizing proxy chains.  I keep the script running for the next days to have better results to determine the meaning of the traffic, its origin, destination and if there are further ways how to profit in good and bad sense from that traffic.</p></glossarycode>]]></content:encoded>
			<wfw:commentRss>http://www.megapanzer.com/2009/04/09/one-week-with-the-spammers-and-hackers-day-three/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

