<?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>onHacks &#187; Malware</title>
	<atom:link href="http://onhacks.org/lang/en/category/malware/feed/" rel="self" type="application/rss+xml" />
	<link>http://onhacks.org</link>
	<description>On Hacking Across Boundaries</description>
	<lastBuildDate>Wed, 02 Jun 2010 05:48:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Caveats of MD5 Naming</title>
		<link>http://onhacks.org/lang/en/2010/01/18/caveats-of-md5-naming</link>
		<comments>http://onhacks.org/lang/en/2010/01/18/caveats-of-md5-naming#comments</comments>
		<pubDate>Mon, 18 Jan 2010 15:04:44 +0000</pubDate>
		<dc:creator>log0</dc:creator>
				<category><![CDATA[Malware]]></category>

		<guid isPermaLink="false">http://onhacks.org/?p=781</guid>
		<description><![CDATA[Brief note&#8230; You might have noticed that I used md5 as filenames in the previous (old!) post. In most cases, it is fine. However, what if the malware depends on a file called hgz.dll? You can calculate hgz.dll as md5, then find the filename out, now put that in the VM again &#8211; fine. But [...]]]></description>
			<content:encoded><![CDATA[<p><span lang="en">Brief note&#8230; </span></p>
<p><span lang="en">You might have noticed that I used md5 as filenames in the previous (old!) post. In most cases, it is fine.</span></p>
<p><span lang="en">However, what if the malware depends on a file called hgz.dll? You can calculate hgz.dll as md5, then find the filename out, now put that in the VM again &#8211; fine. But you see it is a troublesome process&#8230; that you can&#8217;t easily automate. There are other cases&#8230; of course.<br />
</span></p>
<p><span lang="en">Well, you get the point!</span></p>
]]></content:encoded>
			<wfw:commentRss>http://onhacks.org/lang/en/2010/01/18/caveats-of-md5-naming/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grouping Malware</title>
		<link>http://onhacks.org/lang/en/2009/12/11/grouping-malware</link>
		<comments>http://onhacks.org/lang/en/2009/12/11/grouping-malware#comments</comments>
		<pubDate>Fri, 11 Dec 2009 04:00:49 +0000</pubDate>
		<dc:creator>log0</dc:creator>
				<category><![CDATA[Malware]]></category>

		<guid isPermaLink="false">http://onhacks.org/?p=764</guid>
		<description><![CDATA[Grouping malware with similar binary structure saves time and effort. As a standalone part-time researcher, such productivity again is invaluable. When you collect malware, in time you will accumulate malware samples &#8211; many of them. Perhaps 2000 samples of malware. Processing all of them could be a costly operation. To save time and effort, we [...]]]></description>
			<content:encoded><![CDATA[<p><span lang="en">Grouping malware with similar binary structure saves time and effort. As a standalone part-time researcher, such productivity again is invaluable. When you collect malware, in time you will accumulate malware samples &#8211; many of them. Perhaps 2000 samples of malware. Processing all of them could be a costly operation. To save time and effort, we want to remove similar or duplicates of the same family. What can one do?</span></p>
<p><span lang="en">For this problem, we assume all the files are malicious as honeypots do not collect innocent software.</span></p>
<p><span lang="en">One way is to use virus scanners to scan and classify the files. After a scan, group together all the files that are detected as &#8220;Conficker.B&#8221; for example. As Conficker family is quite prevalent, such duplication identification can save a lot of time and effort. This way, just analyzing one or two of them is sufficient. However, the drawback is that all the undetected samples will be left as a big group which you must analyze one-by-one.</span></p>
<blockquote><p><span lang="en">Extract of a clamscan result&#8230;</span></p>
<p><span lang="en">/tmp/4c71b97435a24ffb8fd7fedd1b1790e1: OK<br />
/tmp/82dd3a3d386d4ea09870dcee4a75a531: OK<br />
/tmp/72bdd3bd37a0b5d1dd5f1be80cb29639.bin: OK<br />
/tmp/24bd1722b994f7daa193458348108bfc.bin: OK<br />
/tmp/39960c5ff1922466ded71a4a2799c295: Trojan.VanBot-366 FOUND<br />
/tmp/33f5f14c33bf2f71556204705407a885: W32.Virut-54 FOUND<br />
/tmp/880ce6df69aaeb1d3c57e756f53dd158.bin: Trojan.Delf-911 FOUND<br />
/tmp/7e0ce66bb299370010016f4522152969: Trojan.VanBot-366 FOUND<br />
/tmp/4f2d9f8129e7d7fd9b37f700aacdc9aa.bin: Trojan.Hupigon-25647 FOUND<br />
/tmp/5b69ff6f331ece36558516f66306f969: Trojan.Small-4287 FOUND<br />
/tmp/078aedb8630339487cf39d028b0156bd.bin: OK<br />
/tmp/417bdef0688996a845701da9dcf1b145: Trojan.VanBot-366 FOUND<br />
/tmp/eda3b7766c23dfffc0b85d0ba546b0c1: W32.Virut-54 FOUND<br />
/tmp/86f22ff53382dbb54e2c22560a3db373: Trojan.VanBot-366 FOUND<br />
/tmp/a4a41d2122c4d3552e3d59315f42d4e3: W32.Virut-54 FOUND</span></p></blockquote>
<p><span lang="en">In the above, without signatures, how can you tell if 4c71b97435a24ffb8fd7fedd1b1790e1 and 82dd3a3d386d4ea09870dcee4a75a531 is not the same family? How can you tell which malware is unique? You have to analyze them. Now scale the problem to perhaps 600, for yourself only.</span></p>
<p><span lang="en">The other way is to use ssdeep, a fuzzy hashing tool. It is used to match inputs that are similar, perhaps only some bytes and length. It will produce a hash signature like md5 but unlike md5, a single change of byte will not create a wildly different signature. The concept of ssdeep is to chop the files into many sections, and calculate the hash for each section.</span></p>
<p><span lang="en">Below I take a sample of an exe file (&#8220;file1.exe&#8221;). I copied the file and concatenates a byte after it (&#8220;file2.exe&#8221;), and computes the md5 sum of the two files.</span></p>
<blockquote><p><span lang="en">$ cp file1.exe file2.exe<br />
$ echo 1 &#62;&#62; file2.exe</span></p>
<p><span lang="en">$ md5sum file1.exe file2.exe<br />
72bdd3bd37a0b5d1dd5f1be80cb29639  file1.exe<br />
a626b78fa6ba13fdd9cfddb9f55ee7c6  file2.exe</span></p></blockquote>
<p><span lang="en">Just a difference in one byte, and the md5 hash is completely different. Let us do the ssdeep sum of the two files.</span></p>
<blockquote><p><span lang="en">(broken into lines for clarity)</span></p>
<p><span lang="en">$ ssdeep -b file1.exe file2.exe<br />
ssdeep,1.0&#8211;blocksize:hash:hash,filename<br />
</span><span style="color: #000000;" lang="en">768:<strong>my+qxlsz7yiV0+7YUaFhLFAtVI0xbM<br />
LvzEg1B1Ki8nJ78</strong>:<strong>R+qxlsHvGhLFyI0l8tC5J78</strong>,&#8221;file1.exe&#8221;<br />
768:<strong>my+qxlsz7yiV0+7YUaFhLFAtVI0xbM<br />
LvzEg1B1Ki8nJ7V</strong>:<strong>R+qxlsHvGhLFyI0l8tC5J7V</strong>,&#8221;file2.exe&#8221;</span></p></blockquote>
<p><span lang="en">Separated by colon, the first (768) is the blocksize, then two ssdeep hashes (my+qxlsz7yiV0+7YUaFhLFAtVI0xbMLvzEg1B1Ki8nJ7V and R+qxlsHvGhLFyI0l8tC5J7V) , then the last is the file path name (&#8220;file2.exe&#8221;). The main point are the two hashes &#8211; the signatures of the file. Both file hashes of the two files are really alike except for the last byte ( &#8220;8&#8243; vs &#8220;V&#8221; ).</span></p>
<p><span lang="en">If you have a large number of unidentified malware, antivirus scanners will not help to classify, but ssdeep can try. Below is extracted output of file matching with ssdeep. Each file name is the md5 of the file itself.</span></p>
<blockquote><p><span lang="en">$ ssdeep -dr .</span></p>
<p><span lang="en">&#8230;<br />
/tmp/72bdd3bd37a0b5d1dd5f1be80cb29639.bin matches /tmp/fa7c91b738e763eccf69676bd393925e.bin (88)<br />
/tmp/72bdd3bd37a0b5d1dd5f1be80cb29639.bin matches /tmp/ae142ce3b35cc04f5648a0c17c37ea30.bin (82)<br />
/tmp/72bdd3bd37a0b5d1dd5f1be80cb29639.bin matches /tmp/794b74fc4e833d245eb005e078dc21da.bin (82)<br />
/tmp/72bdd3bd37a0b5d1dd5f1be80cb29639.bin matches /tmp/46fb9678675df8dc83d38761a76c7950.bin (99)<br />
/tmp/72bdd3bd37a0b5d1dd5f1be80cb29639.bin matches /tmp/f412d41aacb4b16ded7b158b89fd3552.bin (90)<br />
/tmp/72bdd3bd37a0b5d1dd5f1be80cb29639.bin matches /tmp/4bfba885ed3dc4ba800446df49051af0.bin (82)<br />
/tmp/72bdd3bd37a0b5d1dd5f1be80cb29639.bin matches /tmp/13776c2b604290906305a56c4e7c61e5.bin (99)<br />
/tmp/72bdd3bd37a0b5d1dd5f1be80cb29639.bin matches /tmp/5a8424f4e1504b5823ca8742e2b1ce8d.bin (82)<br />
&#8230;</span></p></blockquote>
<p><span lang="en">In the above, all of them are undetected malware and gives wildly different md5 signature. Yet, ssdeep can relate them. For malware that does not match any other files, it can be assumed to be a unique malware in your collection, and you should pay more attention to it. Moreover, even packed executables (tested on UPX) still can be matched since packers are just compressors &#8211; the similar code will be compressed into a similar binary pattern.</span></p>
<p><span lang="en">There are a few culprits. First, remembering that ssdeep just does mini-hashes, if some bytes vary a little throughout the file ( by some obfuscation, etc, every 1 byte change at 100 byte intervals, i.e. no-ops) will cause the ssdeep to fail to identify matches. Then, for botnets credentials identification, similar files could contain very different login credentials and wrongly discarded due to highly similar binary structure. However, you can analyze the access control logic through such duplicated samples, then you can generalize the login credentials.</span></p>
<p><span lang="en">With ssdeep, you can now group duplicated undetected malware into groups for more efficient analysis.</span></p>
































<p>===</p>
<p>ssdeep &#8211; http://ssdeep.sourceforge.net/</p>
<p>UPX &#8211; http://upx.sourceforge.net/</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 3394px; width: 1px; height: 1px;">(为了清楚一点，分为数行)(为了清楚一点，分为数行)</div>
]]></content:encoded>
			<wfw:commentRss>http://onhacks.org/lang/en/2009/12/11/grouping-malware/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Security Intelligence Report 7th</title>
		<link>http://onhacks.org/lang/en/2009/11/06/microsoft-security-intelligence-report-7th</link>
		<comments>http://onhacks.org/lang/en/2009/11/06/microsoft-security-intelligence-report-7th#comments</comments>
		<pubDate>Fri, 06 Nov 2009 15:44:10 +0000</pubDate>
		<dc:creator>log0</dc:creator>
				<category><![CDATA[Botnet]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[Report]]></category>
		<category><![CDATA[SIR]]></category>

		<guid isPermaLink="false">http://onhacks.org/?p=724</guid>
		<description><![CDATA[Microsoft Security Intelligence Report 7th is out! Interested individuals should check it out. =) http://www.microsoft.com/security/portal/Threat/SIR.aspxhttp://www.microsoft.com/security/portal/Threat/SIR.aspx]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.microsoft.com/security/portal/Threat/SIR.aspx" target="_blank">Microsoft Security Intelligence Report 7th</a> is out! Interested individuals should check it out. =)</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">http://www.microsoft.com/security/portal/Threat/SIR.aspxhttp://www.microsoft.com/security/portal/Threat/SIR.aspx</div>
]]></content:encoded>
			<wfw:commentRss>http://onhacks.org/lang/en/2009/11/06/microsoft-security-intelligence-report-7th/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Avert Labs Research Paper &#8211; Inside the Password-Stealing Business: the Who and How of Identity Theft</title>
		<link>http://onhacks.org/lang/en/2009/09/25/avert-labs-research-paper-inside-the-password-stealing-business-the-who-and-how-of-identity-theft</link>
		<comments>http://onhacks.org/lang/en/2009/09/25/avert-labs-research-paper-inside-the-password-stealing-business-the-who-and-how-of-identity-theft#comments</comments>
		<pubDate>Fri, 25 Sep 2009 15:41:04 +0000</pubDate>
		<dc:creator>log0</dc:creator>
				<category><![CDATA[Malware]]></category>
		<category><![CDATA[Paper]]></category>

		<guid isPermaLink="false">http://onhacks.org/?p=680</guid>
		<description><![CDATA[Avert Labs got a new research paper out : “Inside the Password-Stealing Business: the Who and How of Identity Theft.” . For those interested in the underground economics, you should take a look! Multi-lingual report link doesn&#8217;t seem to work : http://www.avertlabs.com/research/blog/index.php/2009/09/24/inside-the-password-stealing-business/ . Games have always been a big business, just that it&#8217;s the same [...]]]></description>
			<content:encoded><![CDATA[<p><span lang="en">Avert Labs got a new research paper out : <a href="http://www.mcafee.com/us/local_content/reports/6622rpt_password_stealers_0709_en.pdf">“Inside the Password-Stealing Business: the Who and How of Identity Theft.”</a> . For those interested in the underground economics, you should take a look! Multi-lingual report link doesn&#8217;t seem to work : http://www.avertlabs.com/research/blog/index.php/2009/09/24/inside-the-password-stealing-business/ .<br />
</span></p>
<p><span lang="en">Games have always been a big business, just that it&#8217;s the same for the underground, too. A lot of money, even if you&#8217;re the good guys. On the other hand, you haven&#8217;t heard people pirating &#8220;Microsoft High Performance Computing Cluster&#8221; CDs, right? =) Oh, and hey, they sell OK, and in China. There&#8217;s really money there. Yada yada&#8230;</span></p>
<p><span lang="en">Another thing though, as if getting infected is not enough, malware (Zbot here) could put you into legally trouble. It is no news that victims are being used as stepping stone for futher crime, and you really need proof that you are not. Zbot goes further by rendering your computertotally unusable by wiping out the registry HKEY root keys. This is enough to force a user to immediately formatting, thus killing all chances for forensics. Behind bars anyone?</span></p>






<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">http://www.mcafee.com/us/local_content/reports/6622rpt_password_stealers_0709_en.pdf</div>
]]></content:encoded>
			<wfw:commentRss>http://onhacks.org/lang/en/2009/09/25/avert-labs-research-paper-inside-the-password-stealing-business-the-who-and-how-of-identity-theft/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Need PCAP or Binaries for HTTP bots</title>
		<link>http://onhacks.org/lang/en/2009/09/10/need-pcap-or-binaries-for-http-bots</link>
		<comments>http://onhacks.org/lang/en/2009/09/10/need-pcap-or-binaries-for-http-bots#comments</comments>
		<pubDate>Thu, 10 Sep 2009 01:09:35 +0000</pubDate>
		<dc:creator>log0</dc:creator>
				<category><![CDATA[Malware]]></category>
		<category><![CDATA[Dataset]]></category>

		<guid isPermaLink="false">http://onhacks.org/?p=652</guid>
		<description><![CDATA[As mentioned earlier, I am working to build a fully automated botnet tracking tool (hopefully, I can start wrapping up all my tools useful for the public, and some data feeds later.). I need a large sample of different varieties of HTTP bots. I have not captured many life working samples of HTTP bots. Could [...]]]></description>
			<content:encoded><![CDATA[<p><span lang="en">As mentioned earlier, I am working to build a fully automated botnet tracking tool (hopefully, I can start wrapping up all my tools useful for the public, and some data feeds later.).</span></p>
<p><span lang="en">I need a large sample of different varieties of HTTP bots. I have not captured many life working samples of HTTP bots.</span></p>
<p><span lang="en">Could someone share me PCAPs/Binaries of HTTP Bot? ( Or also the MD5sum ? ). Please kindly send to log0 [ at ] onhacks [ dot ] org . Thanks!</span></p>






]]></content:encoded>
			<wfw:commentRss>http://onhacks.org/lang/en/2009/09/10/need-pcap-or-binaries-for-http-bots/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automated Script for VirusTotal</title>
		<link>http://onhacks.org/lang/en/2009/08/09/automated-script-for-virustotal</link>
		<comments>http://onhacks.org/lang/en/2009/08/09/automated-script-for-virustotal#comments</comments>
		<pubDate>Sun, 09 Aug 2009 06:20:55 +0000</pubDate>
		<dc:creator>log0</dc:creator>
				<category><![CDATA[Malware]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://onhacks.org/?p=542</guid>
		<description><![CDATA[Here is a script that uses ClamAV to scan (optional, in Linux), a gmail account to send, and parse results from VirusTotal. This should handle most of the manual steps. I hope it&#8217;s beneficial to save some time. Feel free to modify and best if you can share the improvements. Should work with Windows.]]></description>
			<content:encoded><![CDATA[<p><span lang="en">Here is a <a href="http://onhacks.org/get/virustotal.zip" target="_self">script</a> that uses ClamAV to scan (optional, in Linux), a gmail account to send, and parse results from VirusTotal. This should handle most of the manual steps. I hope it&#8217;s beneficial to save some time. Feel free to modify and best if you can share the improvements. Should work with Windows.</span></p>


]]></content:encoded>
			<wfw:commentRss>http://onhacks.org/lang/en/2009/08/09/automated-script-for-virustotal/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gmail Antivirus Engine is ClamAV</title>
		<link>http://onhacks.org/lang/en/2009/07/30/gmail-antivirus-engine-is-clamav</link>
		<comments>http://onhacks.org/lang/en/2009/07/30/gmail-antivirus-engine-is-clamav#comments</comments>
		<pubDate>Thu, 30 Jul 2009 13:27:27 +0000</pubDate>
		<dc:creator>log0</dc:creator>
				<category><![CDATA[Malware]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[Gmail]]></category>

		<guid isPermaLink="false">http://onhacks.org/?p=511</guid>
		<description><![CDATA[I know that Gmail Antivirus is powered by Sophos, as some has tested in 2005. It&#8217;s 2009 now. When I was writing &#8220;Who is Hacking Me? ~&#8217;Who Will Care&#8217; is Wrong~&#8220;, I used local ClamAV to check how many can ClamAV detect, then sent the 53 binaries through Gmail to VirusTotal. Since Gmail is powered [...]]]></description>
			<content:encoded><![CDATA[<p><span lang="en">I know that <a href="http://digg.com/security/GMail_Anti-Virus_-_Powered_by_Sophos" target="_blank">Gmail Antivirus is powered by Sophos</a>, as <a href="http://www.thebillygoatcurse.com/gmailresults2.html" target="_blank">some has tested in 2005</a>.</span></p>
<p><span lang="en">It&#8217;s 2009 now. When I was writing &#8220;<a href="http://onhacks.org/lang/en/2009/07/26/who-is-hacking-me-who-cares-is-wrong" target="_self">Who is Hacking Me? ~&#8217;Who Will Care&#8217; is Wrong~</a>&#8220;, I used local ClamAV to check how many can ClamAV detect, then sent the 53 binaries through Gmail to VirusTotal. Since Gmail is powered by Sophos, malware that went through Gmail should not be detected by VirusTotal.</span></p>
<p><span lang="en">I sent all the 53 binaries to Gmail, and scanned the binaries locally with ClamAV.<br />
</span></p>
<table border="1">
<tbody>
<tr>
<td><span lang="en"> </span></td>
<td><span lang="en">ClamAV @ Localhost</span></td>
<td><span lang="en">Unknown Scanner @ Gmail</span></td>
</tr>
<tr>
<td><span lang="en">Detected</span></td>
<td><span lang="en">41</span></td>
<td><span lang="en">41</span></td>
</tr>
<tr>
<td><span lang="en">Undetected</span></td>
<td><span lang="en">12</span></td>
<td><span lang="en">12</span></td>
</tr>
</tbody>
</table>
<p><span lang="en">Then, I sent these 12 undetected binaries to VirusTotal.</span></p>
<table style="height: 61px;" border="1" width="427">
<tbody>
<tr>
<td><span lang="en"> </span></td>
<td><span lang="en">ClamAV @ VirusTotal</span></td>
<td><span lang="en">Sophos @ VirusTotal</span></td>
</tr>
<tr>
<td><span lang="en">Detected</span></td>
<td><span lang="en">0</span></td>
<td><span lang="en">10</span></td>
</tr>
<tr>
<td><span lang="en">Undetected</span></td>
<td><span lang="en">12</span></td>
<td><span lang="en">2</span></td>
</tr>
</tbody>
</table>
<p><span lang="en">All undetected by ClamAV, but Sophos detected 10 of them! It looks to me Gmail has switched AV vendor from Sophos to ClamAV!</span></p>














]]></content:encoded>
			<wfw:commentRss>http://onhacks.org/lang/en/2009/07/30/gmail-antivirus-engine-is-clamav/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>A Short Note on IP Spoofing</title>
		<link>http://onhacks.org/lang/en/2009/07/17/a-short-note-on-ip-spoofing</link>
		<comments>http://onhacks.org/lang/en/2009/07/17/a-short-note-on-ip-spoofing#comments</comments>
		<pubDate>Fri, 17 Jul 2009 05:20:05 +0000</pubDate>
		<dc:creator>log0</dc:creator>
				<category><![CDATA[Malware]]></category>
		<category><![CDATA[IP Spoofing]]></category>
		<category><![CDATA[IP Traceback]]></category>

		<guid isPermaLink="false">http://onhacks.org/?p=445</guid>
		<description><![CDATA[After you read &#8220;Who is Hacking Me? ~A Glance into The Log~&#8220;, the observant will notice that I base upon my findings from IP address, which immediately brings upon the topic of IP Spoofing. What if people are deliberately messing with my honeypot with spoofed IP addresses? Will my results be unreliable? True, IP can [...]]]></description>
			<content:encoded><![CDATA[<p><span lang="en">After you read &#8220;<a href="http://onhacks.org/lang/en/2009/07/15/who-is-hacking-me-a-glance-into-the-log" target="_blank">Who is Hacking Me? ~A Glance into The Log~</a>&#8220;, the observant will notice that I base upon my findings from IP address, which immediately brings upon the topic of IP Spoofing.</span></p>
<p><span lang="en">What if people are deliberately messing with my honeypot with spoofed IP addresses? Will my results be unreliable?</span></p>
<p><span lang="en">True, IP can be spoofed. However, with respect to extranet, if communication is required, a connection is expecting packets forward and back and thus it is not feasible to spoof the IP ( remember IP packets need to know where to route back. ). Now, think even about TCP sequence randomization, etc. The case is different in intranet however, where you can cause the routers to route the whole address space (e.g. 192.168.0.0/16) to yourself.</span></p>
<p><span lang="en">A lot of the automated attacks onto your computers expect you to reconnect back to the host that hosts the payload.<br />
</span></p>
<p><span lang="en">A seasoned hacker would use a few compromised hosts as hops &#8211; much more realistic. For botnets, it is the same. Unless it is an organized targeted attack, the abundance of IP makes it less necessary to have IP spoofing. Why spoof?<br />
</span></p>










<p>===</p>
<p>Reference / 參考 / 参考 / さんこう / Referencia / Referenz / Справка  :</p>
<p><a href="http://www.securityfocus.com/infocus/1674" target="_blank">IP Spoofing : An Introduction</a> &#8211; http://www.securityfocus.com/infocus/1674</p>
<p><a href="www.fbi.gov/pressrel/pressrel07/botnet061307.htm" target="_blank">Over 1 Million Potential Victims of Botnet Cyber Crime</a> &#8211; http://www.fbi.gov/pressrel/pressrel07/botnet061307.htm</p>
]]></content:encoded>
			<wfw:commentRss>http://onhacks.org/lang/en/2009/07/17/a-short-note-on-ip-spoofing/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Who is hacking me? ~A Glance into The Log~</title>
		<link>http://onhacks.org/lang/en/2009/07/15/who-is-hacking-me-a-glance-into-the-log</link>
		<comments>http://onhacks.org/lang/en/2009/07/15/who-is-hacking-me-a-glance-into-the-log#comments</comments>
		<pubDate>Wed, 15 Jul 2009 14:48:48 +0000</pubDate>
		<dc:creator>log0</dc:creator>
				<category><![CDATA[Honeypot]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[Nepenthes]]></category>

		<guid isPermaLink="false">http://onhacks.org/?p=408</guid>
		<description><![CDATA[Nepenthes has been collecting data these few days, and I&#8217;d like to share some of the rough data now. Since it is just a single server, do not generalize it over the banks&#8217;, corporates&#8217;, significantly valued servers&#8217; situation, but this is what YOUR computer can see. Remember, I never exposed the honeypot, so ALL connections [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://onhacks.org/wp-content/uploads/2009/07/poohhoney.jpg"><img class="aligncenter size-full wp-image-423" title="poohhoney" src="http://onhacks.org/wp-content/uploads/2009/07/poohhoney.jpg" alt="poohhoney" width="350" height="350" /></a></p>
<p><span><br />
</span></p>
<p><span lang="en">Nepenthes has been collecting data these few days, and I&#8217;d like to share some of the rough data now. Since it is just a single server, do not generalize it over the banks&#8217;, corporates&#8217;, significantly valued servers&#8217; situation, but this is what YOUR computer can see. Remember, I never exposed the honeypot, so ALL connections are malicious.<br />
</span></p>


<pre>** Most Attacks Region **
[       Russian Federation] has 57 attacks on you.
[                   Taiwan] has 36 attacks on you.
[                   Brazil] has 32 attacks on you.
[                  Germany] has 21 attacks on you.
[            United States] has 20 attacks on you.
[                    Italy] has 16 attacks on you.
[                  Romania] has 15 attacks on you.
[           United Kingdom] has 14 attacks on you.
[       Korea, Republic of] has 13 attacks on you.
[                    India] has 11 attacks on you.
[                   Poland] has 10 attacks on you.
[              Philippines] has 10 attacks on you.
[                    Japan] has 10 attacks on you.
[                   Canada] has 9 attacks on you.
[                 Bulgaria] has 9 attacks on you.
[                  Hungary] has 8 attacks on you.
[                 Malaysia] has 8 attacks on you.
[                   France] has 6 attacks on you.
[                Argentina] has 6 attacks on you.
[                    China] has 6 attacks on you.</pre>
<p><span lang="en">This is 12 July 2009.<br />
</span></p>
<p><span lang="en">Apparently, Russian seems to be the largest supplier of zombies (much like Resident Evil!), being steadily the first ( I have a week of data ). Next, surprisingly (to me), comes Taiwan. The next one is easy, Brazil, as Microsoft SIR 5th report geolocation section has suggested. The next one is Germany, which is not like what I&#8217;ve seen on Microsoft SIR 5th. Afterall, this is just too weak to generalize, but you can check it out.</span></p>
<p><span lang="en">Remember, IP address has no national boundaries. </span></p>






<pre>** Most Visited Ports **
[  445] : 385
[  135] : 39
[  139] : 7
[   25] : 1</pre>
<p><span lang="en">Port 445 and Port 135 score highest. Very likely to be :</span></p>
<p><span lang="en">Port 445 &#8211; MS04-011 at http://www.microsoft.com/technet/security/bulletin/ms04-011.mspx</span></p>
<p><span lang="en">Port 135 -MS03-026, a.k.a W32 Blaster at http://www.microsoft.com/technet/security/bulletin/MS03-026.mspx</span></p>
<p><span lang="en">I am still in the middle of making sense of all the data, but the above is something you may glimpse from the mess.</span></p>
<p><span lang="en">(Yes, I think I should write an English version for the previous &#8220;Who is hacking me?&#8221; post.)</span></p>
<p><span lang="en">(7/16/2009 Updated title, and read <a href="http://onhacks.org/lang/en/2009/07/12/%e8%aa%b0%e5%9c%a8%e5%85%a5%e4%be%b5%e6%88%91%e7%9a%84%e7%b3%bb%e7%b5%b1" target="_blank">here</a> for the first story.)<br />
</span></p>










<p>===</p>
<p>Reference / 參考 / 参考 / さんこう / Referencia / Referenz / Справка  :</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=B2984562-47A2-48FF-890C-EDBEB8A0764C&#38;displaylang=en" target="_blank">Microsoft Security Intelligence Report volume 5</a><br />
<a href="http://en.wikipedia.org/wiki/Zombie_computer" target="_blank">Zombie Computer &#8211; Wikipedia</a><br />
<a href="http://zh.wikipedia.org/wiki/%E6%AE%AD%E5%B1%8D%E9%9B%BB%E8%85%A6" target="_blank">殭屍電腦 &#8211; 維基百科</a></p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 214px; width: 1px; height: 1px;">
<pre>** Most Visited Ports **
[  445] : 385
[  135] : 39
[  139] : 7
[   25] : 1</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://onhacks.org/lang/en/2009/07/15/who-is-hacking-me-a-glance-into-the-log/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>China Mandates Spying Software &#8211; Green Dam</title>
		<link>http://onhacks.org/lang/en/2009/06/16/china-mandates-spying-software-green-dam</link>
		<comments>http://onhacks.org/lang/en/2009/06/16/china-mandates-spying-software-green-dam#comments</comments>
		<pubDate>Tue, 16 Jun 2009 11:56:07 +0000</pubDate>
		<dc:creator>log0</dc:creator>
				<category><![CDATA[Malware]]></category>
		<category><![CDATA[China]]></category>
		<category><![CDATA[Filtering]]></category>

		<guid isPermaLink="false">http://onhacks.org/?p=366</guid>
		<description><![CDATA[China now mandates all PCs sold on July 1st 2009 to have a content-control software called Green Dam (緣壩) installed. Not sure how wildly reported outside of China, but here I should bring to your attention. The protests, of course, are present. Chinese people are not stupid, but&#8230; On 10 June, amidst massive criticism circling [...]]]></description>
			<content:encoded><![CDATA[<p><strong>China now mandates all PCs sold on July 1st 2009 to have a <a href="http://en.wikipedia.org/wiki/Content-control_software" target="_blank">content-control software</a> called <a href="http://en.wikipedia.org/wiki/Green_Dam" target="_blank">Green Dam</a> (緣壩) installed.</strong></p>
<p>Not sure how wildly reported outside of China, but here I should bring to your attention.</p>
<p>The protests, of course, are present. Chinese people are not stupid, but&#8230;</p>
<blockquote><p>On 10 June, amidst massive criticism circling within the internet about the software and the MIIT&#8217;s directive, the <a title="Publicity Department of the Communist Party of China Central Committee" href="http://en.wikipedia.org/wiki/Publicity_Department_of_the_Communist_Party_of_China_Central_Committee">Publicity Department of the Communist Party of China Central Committee</a>, the agency responsible for censorship, issued an instruction attributed to &#8220;central leaders&#8221; requiring the Chinese media to stop publishing questioning or critical opinions. Reports in defense of the official stand appeared subsequently, with a commentary by the state-run <a class="mw-redirect" title="Xinhua" href="http://en.wikipedia.org/wiki/Xinhua">Xinhua</a> news agency saying &#8220;support largely stems from end users, opposing opinions primarily come from a minority of media outlets and businesses&#8221;.<sup id="cite_ref-19" class="reference"><a href="http://en.wikipedia.org/wiki/Green_Dam#cite_note-19"><span>[</span>20<span>]</span></a></sup><sup id="cite_ref-20" class="reference"><a href="http://en.wikipedia.org/wiki/Green_Dam#cite_note-20"><span>[</span>21<span>]</span></a></sup> The instruction also required online forums to block and remove &#8220;offensive speech evolved from the topic&#8221; promptly.<sup id="cite_ref-21" class="reference"><a href="http://en.wikipedia.org/wiki/Green_Dam#cite_note-21"><span>[</span>22<span>]</span></a></sup> Zhang attacked the Wolchok <em>et al</em> report as irresponsible action and breach of his company&#8217;s copyright, and said that Jinhui had been ordered to patch the weaknesses.<sup id="cite_ref-22" class="reference"><a href="http://en.wikipedia.org/wiki/Green_Dam#cite_note-22"><span>[</span>23<span>]</span></a></sup></p></blockquote>
<p>So, there goes the end of newspaper. What is left? I heard a term called propaganda. =)</p>
<p>I will not discuss the political implications since it is <strong>so painfully obvious</strong>. If you do not, go do a search and study, then you will see how ridiculous is to believe in the benevolence.</p>
<p>On the other hand, this software is buggy. Despite the development company JinHui claims &#8220;all software has a bug&#8221;, it seems he means it is OK to have bugs that can root the whole China. I guess that is good news to the cybercriminals. I could hear them giggling ready to pwn n00bies!</p>
<p>Anyway, here is <a href="http://www.cse.umich.edu/~jhalderm/pub/gd/" target="_blank">an interesting security analysis from The University of Michigan</a>.</p>
<div style="border: 1pt solid #888888; margin: 2em 4em; padding: 0pt 1em;">
<p><big><strong>Summary</strong></big> We have discovered remotely-exploitable vulnerabilities in Green Dam, the censorship software reportedly mandated by the Chinese government. Any web site a Green Dam user visits can take control of the PC.</p>
<p>According to press reports, China will soon require all PCs sold in the country to include Green Dam.  This software monitors web sites visited and other activity on the computer and blocks adult content as well as politically sensitive material.</p>
<p>We examined the Green Dam software and found that it contains serious security vulnerabilities due to programming errors.  Once Green Dam is installed, any web site the user visits can exploit these problems to take control of the computer.  This could allow malicious sites to steal private data, send spam, or enlist the computer in a botnet.  In addition, we found vulnerabilities in the way Green Dam processes blacklist updates that could allow the software makers or others to install malicious code during the update process.</p>
<p>We found these problems with less than 12 hours of testing, and we believe they may be only the tip of the iceberg.  Green Dam makes frequent use of unsafe and outdated programming practices that likely introduce numerous other vulnerabilities.  Correcting these problems will require extensive changes to the software and careful retesting. In the meantime, we recommend that users protect themselves by uninstalling Green Dam immediately.</p></div>
<p>You see, the problems will just continue to arise. Workarounds will be distributed. Well. What&#8217;s next? Hardware rootkits? Let&#8217;s look forward to <a href="http://en.wikipedia.org/wiki/Nineteen_Eighty-Four" target="_blank">1984</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://onhacks.org/lang/en/2009/06/16/china-mandates-spying-software-green-dam/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
