<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: WordPress Question</title>
	<atom:link href="http://crookedtimber.org/2007/06/02/wordpress-question/feed/" rel="self" type="application/rss+xml" />
	<link>http://crookedtimber.org/2007/06/02/wordpress-question/</link>
	<description>Out of the crooked timber of humanity, no straight thing was ever made</description>
	<lastBuildDate>Sun, 21 Mar 2010 17:00:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Crooked Timber &#187; &#187; Spam Again</title>
		<link>http://crookedtimber.org/2007/06/02/wordpress-question/comment-page-1/#comment-199247</link>
		<dc:creator>Crooked Timber &#187; &#187; Spam Again</dc:creator>
		<pubDate>Wed, 06 Jun 2007 14:36:56 +0000</pubDate>
		<guid isPermaLink="false">http://crookedtimber.org/2007/06/02/wordpress-question/#comment-199247</guid>
		<description>[...] that weird spam we were recurrently getting in our index.php file? I spent several days looking for the source of [...]</description>
		<content:encoded><![CDATA[	<p>[...] that weird spam we were recurrently getting in our index.php file? I spent several days looking for the source of [...]</p>
 ]]></content:encoded>
	</item>
	<item>
		<title>By: bi</title>
		<link>http://crookedtimber.org/2007/06/02/wordpress-question/comment-page-1/#comment-198993</link>
		<dc:creator>bi</dc:creator>
		<pubDate>Tue, 05 Jun 2007 08:59:26 +0000</pubDate>
		<guid isPermaLink="false">http://crookedtimber.org/2007/06/02/wordpress-question/#comment-198993</guid>
		<description>And guess what, the spammage is back... _yet_ _again_! =sploosh=</description>
		<content:encoded><![CDATA[	<p>And guess what, the spammage is back&#8230; <em>yet</em> <em>again</em>! =sploosh=</p>
 ]]></content:encoded>
	</item>
	<item>
		<title>By: ben wolfson</title>
		<link>http://crookedtimber.org/2007/06/02/wordpress-question/comment-page-1/#comment-198929</link>
		<dc:creator>ben wolfson</dc:creator>
		<pubDate>Mon, 04 Jun 2007 16:11:02 +0000</pubDate>
		<guid isPermaLink="false">http://crookedtimber.org/2007/06/02/wordpress-question/#comment-198929</guid>
		<description>I bet it&#039;s actually just the way WP makes its money.</description>
		<content:encoded><![CDATA[	<p>I bet it&#8217;s actually just the way WP makes its money.</p>
 ]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart</title>
		<link>http://crookedtimber.org/2007/06/02/wordpress-question/comment-page-1/#comment-198897</link>
		<dc:creator>Stuart</dc:creator>
		<pubDate>Mon, 04 Jun 2007 10:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://crookedtimber.org/2007/06/02/wordpress-question/#comment-198897</guid>
		<description>&lt;i&gt;But what’s the point of all this nefariousness? just to drive traffic to a porn site? Doesn’t seem worth the effort…&lt;/i&gt;

Well its hidden, so its trying to get search rankings for their site up rather than directly trying to get traffic.</description>
		<content:encoded><![CDATA[	<p><i>But what&#8217;s the point of all this nefariousness? just to drive traffic to a porn site? Doesn&#8217;t seem worth the effort&#8230;</i></p>

	<p>Well its hidden, so its trying to get search rankings for their site up rather than directly trying to get traffic.</p>
 ]]></content:encoded>
	</item>
	<item>
		<title>By: Quo Vadis</title>
		<link>http://crookedtimber.org/2007/06/02/wordpress-question/comment-page-1/#comment-198846</link>
		<dc:creator>Quo Vadis</dc:creator>
		<pubDate>Sun, 03 Jun 2007 18:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://crookedtimber.org/2007/06/02/wordpress-question/#comment-198846</guid>
		<description>Kieran,

The root kits I&#039;ve seen send the commands in clear text.  You should be able to search your log files for text related to the spam insertion - bits of the URLs, shell commands etc. that can lead you to the page.  Once you find the file, you may want to search your PHP directories to find files that refer to it or files that were created at about the same time as there may be other files in the root kit.  There have undoubtedly been others who have dealt with this root kit, so once you have a file name, try Google.

As for the why of it - page rank is money especially in a market as crowded as online porn.  That&#039;s just one of the many uses that a botnet can be applied to.  A friend of mine realized one day that he couldn&#039;t account for several gigabytes of disk space.  He discovered that hidden on his drive two DVD images.  Someone had been using his machine and his DSL connection to distribute pirated software.</description>
		<content:encoded><![CDATA[	<p>Kieran,</p>

	<p>The root kits I&#8217;ve seen send the commands in clear text.  You should be able to search your log files for text related to the spam insertion &#8211; bits of the URLs, shell commands etc. that can lead you to the page.  Once you find the file, you may want to search your <span class="caps">PHP</span> directories to find files that refer to it or files that were created at about the same time as there may be other files in the root kit.  There have undoubtedly been others who have dealt with this root kit, so once you have a file name, try Google.</p>

	<p>As for the why of it &#8211; page rank is money especially in a market as crowded as online porn.  That&#8217;s just one of the many uses that a botnet can be applied to.  A friend of mine realized one day that he couldn&#8217;t account for several gigabytes of disk space.  He discovered that hidden on his drive two <span class="caps">DVD</span> images.  Someone had been using his machine and his <span class="caps">DSL</span> connection to distribute pirated software.</p>
 ]]></content:encoded>
	</item>
	<item>
		<title>By: bi</title>
		<link>http://crookedtimber.org/2007/06/02/wordpress-question/comment-page-1/#comment-198845</link>
		<dc:creator>bi</dc:creator>
		<pubDate>Sun, 03 Jun 2007 18:06:56 +0000</pubDate>
		<guid isPermaLink="false">http://crookedtimber.org/2007/06/02/wordpress-question/#comment-198845</guid>
		<description>Kieran Healy:

I don&#039;t know, maybe doing a comparison between the PHP code on your server and the pristine WordPress PHP code (using &quot;diff -r&quot;) may help? &quot;netstat&quot; to check for suspicious network services?

Anyway, in case you do find the code that&#039;s causing the nuisance, I&#039;d like to know what it looks like so that I can guard against it... I don&#039;t want to write vulnerabilities into my PHP scripts. :)</description>
		<content:encoded><![CDATA[	<p>Kieran Healy:</p>

	<p>I don&#8217;t know, maybe doing a comparison between the <span class="caps">PHP</span> code on your server and the pristine WordPress <span class="caps">PHP</span> code (using &#8220;diff -r&#8221;) may help? &#8220;netstat&#8221; to check for suspicious network services?</p>

	<p>Anyway, in case you do find the code that&#8217;s causing the nuisance, I&#8217;d like to know what it looks like so that I can guard against it&#8230; I don&#8217;t want to write vulnerabilities into my <span class="caps">PHP</span> scripts. :)</p>
 ]]></content:encoded>
	</item>
	<item>
		<title>By: lemuel pitkin</title>
		<link>http://crookedtimber.org/2007/06/02/wordpress-question/comment-page-1/#comment-198835</link>
		<dc:creator>lemuel pitkin</dc:creator>
		<pubDate>Sun, 03 Jun 2007 14:26:23 +0000</pubDate>
		<guid isPermaLink="false">http://crookedtimber.org/2007/06/02/wordpress-question/#comment-198835</guid>
		<description>But what&#039;s the &lt;b&gt;point&lt;/b&gt; of all this nefariousness? just to drive traffic to a porn site? Doesn&#039;t seem worth the effort...</description>
		<content:encoded><![CDATA[	<p>But what&#8217;s the <b>point</b> of all this nefariousness? just to drive traffic to a porn site? Doesn&#8217;t seem worth the effort&#8230;</p>
 ]]></content:encoded>
	</item>
	<item>
		<title>By: Kieran Healy</title>
		<link>http://crookedtimber.org/2007/06/02/wordpress-question/comment-page-1/#comment-198834</link>
		<dc:creator>Kieran Healy</dc:creator>
		<pubDate>Sun, 03 Jun 2007 14:22:02 +0000</pubDate>
		<guid isPermaLink="false">http://crookedtimber.org/2007/06/02/wordpress-question/#comment-198834</guid>
		<description>Crap. I&#039;m looking for the script that&#039;s doing this, but it&#039;s hard to find ...</description>
		<content:encoded><![CDATA[	<p>Crap. I&#8217;m looking for the script that&#8217;s doing this, but it&#8217;s hard to find &#8230;</p>
 ]]></content:encoded>
	</item>
	<item>
		<title>By: Quo Vadis</title>
		<link>http://crookedtimber.org/2007/06/02/wordpress-question/comment-page-1/#comment-198819</link>
		<dc:creator>Quo Vadis</dc:creator>
		<pubDate>Sun, 03 Jun 2007 10:09:27 +0000</pubDate>
		<guid isPermaLink="false">http://crookedtimber.org/2007/06/02/wordpress-question/#comment-198819</guid>
		<description>The hacker probably installed a root kit when they originally compromised the server.  Typically the kit includes a php file that allows the hacker (or an automated script) to execute shell commands from a web page.  The page might have a strange name or be in an odd directory to make it difficult to find on the file system.  Sometimes there are other hidden files that will reinstall the root kit if someone tries to remove it.

These hacks are usually completely automated and the compromised servers might be used for a variety of nefarious purposes like sending spam or participating in DOS attacks on other servers.  I get hundreds of probes a day on my servers looking for vulnerabilities.</description>
		<content:encoded><![CDATA[	<p>The hacker probably installed a root kit when they originally compromised the server.  Typically the kit includes a php file that allows the hacker (or an automated script) to execute shell commands from a web page.  The page might have a strange name or be in an odd directory to make it difficult to find on the file system.  Sometimes there are other hidden files that will reinstall the root kit if someone tries to remove it.</p>

	<p>These hacks are usually completely automated and the compromised servers might be used for a variety of nefarious purposes like sending spam or participating in <span class="caps">DOS</span> attacks on other servers.  I get hundreds of probes a day on my servers looking for vulnerabilities.</p>
 ]]></content:encoded>
	</item>
	<item>
		<title>By: bi</title>
		<link>http://crookedtimber.org/2007/06/02/wordpress-question/comment-page-1/#comment-198817</link>
		<dc:creator>bi</dc:creator>
		<pubDate>Sun, 03 Jun 2007 09:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://crookedtimber.org/2007/06/02/wordpress-question/#comment-198817</guid>
		<description>(Yes, it&#039;s back again... after you removed those links, someone (or something) came back and threw in another pile of spam links.)</description>
		<content:encoded><![CDATA[	<p>(Yes, it&#8217;s back again&#8230; after you removed those links, someone (or something) came back and threw in another pile of spam links.)</p>
 ]]></content:encoded>
	</item>
	<item>
		<title>By: bi</title>
		<link>http://crookedtimber.org/2007/06/02/wordpress-question/comment-page-1/#comment-198816</link>
		<dc:creator>bi</dc:creator>
		<pubDate>Sun, 03 Jun 2007 09:42:06 +0000</pubDate>
		<guid isPermaLink="false">http://crookedtimber.org/2007/06/02/wordpress-question/#comment-198816</guid>
		<description>The spammage is back again.

Do the server logs show any suspicious activity?</description>
		<content:encoded><![CDATA[	<p>The spammage is back again.</p>

	<p>Do the server logs show any suspicious activity?</p>
 ]]></content:encoded>
	</item>
	<item>
		<title>By: Quo Vadis</title>
		<link>http://crookedtimber.org/2007/06/02/wordpress-question/comment-page-1/#comment-198791</link>
		<dc:creator>Quo Vadis</dc:creator>
		<pubDate>Sat, 02 Jun 2007 21:41:44 +0000</pubDate>
		<guid isPermaLink="false">http://crookedtimber.org/2007/06/02/wordpress-question/#comment-198791</guid>
		<description>There are all kinds of exploits for PHP (and everything else) that rely not just on permissions problems, but on other seemingly innocuous pieces of code and system settings.  One of the most common PHP exploits allows the hacker to upload a PHP file they wrote to your machine and execute it with the permissions of the PHP process.  I suspect that if you look carefully in your log files and in your PHP directories you will find some unusual files.

In fact, a little searching yields:

http://wordpress.org/development/2007/01/wordpress-207/</description>
		<content:encoded><![CDATA[	<p>There are all kinds of exploits for <span class="caps">PHP </span>(and everything else) that rely not just on permissions problems, but on other seemingly innocuous pieces of code and system settings.  One of the most common <span class="caps">PHP</span> exploits allows the hacker to upload a <span class="caps">PHP</span> file they wrote to your machine and execute it with the permissions of the <span class="caps">PHP</span> process.  I suspect that if you look carefully in your log files and in your <span class="caps">PHP</span> directories you will find some unusual files.</p>

	<p>In fact, a little searching yields:</p>

	<p><a href="http://wordpress.org/development/2007/01/wordpress-207/" rel="nofollow">http://wordpress.org/development/2007/01/wordpress-207/</a></p>
 ]]></content:encoded>
	</item>
	<item>
		<title>By: Cranky Observer</title>
		<link>http://crookedtimber.org/2007/06/02/wordpress-question/comment-page-1/#comment-198786</link>
		<dc:creator>Cranky Observer</dc:creator>
		<pubDate>Sat, 02 Jun 2007 20:59:10 +0000</pubDate>
		<guid isPermaLink="false">http://crookedtimber.org/2007/06/02/wordpress-question/#comment-198786</guid>
		<description>I don&#039;t know what kind of tech support WordPress offers, but I would open a support case with them and also with your hosting ISP to let them know about this.  It could be a larger issue if it is affecting multiple sites.

Cranky</description>
		<content:encoded><![CDATA[	<p>I don&#8217;t know what kind of tech support WordPress offers, but I would open a support case with them and also with your hosting <span class="caps">ISP</span> to let them know about this.  It could be a larger issue if it is affecting multiple sites.</p>

	<p>Cranky</p>
 ]]></content:encoded>
	</item>
	<item>
		<title>By: Kieran Healy</title>
		<link>http://crookedtimber.org/2007/06/02/wordpress-question/comment-page-1/#comment-198771</link>
		<dc:creator>Kieran Healy</dc:creator>
		<pubDate>Sat, 02 Jun 2007 13:32:23 +0000</pubDate>
		<guid isPermaLink="false">http://crookedtimber.org/2007/06/02/wordpress-question/#comment-198771</guid>
		<description>I see ... the permissions are OK now, but WP has been through a bunch of point upgrades in the past couple of months, so something may have happened with file permissions during one of those that didn&#039;t get fixed till the next one.</description>
		<content:encoded><![CDATA[	<p>I see &#8230; the permissions are OK now, but WP has been through a bunch of point upgrades in the past couple of months, so something may have happened with file permissions during one of those that didn&#8217;t get fixed till the next one.</p>
 ]]></content:encoded>
	</item>
	<item>
		<title>By: stuart</title>
		<link>http://crookedtimber.org/2007/06/02/wordpress-question/comment-page-1/#comment-198769</link>
		<dc:creator>stuart</dc:creator>
		<pubDate>Sat, 02 Jun 2007 13:11:43 +0000</pubDate>
		<guid isPermaLink="false">http://crookedtimber.org/2007/06/02/wordpress-question/#comment-198769</guid>
		<description>I found another site with the same spam at the end of it, but it wasn&#039;t wordpress, so its something more generic than that. If it was the same links in yours most of them have been removed by the various academic institutions that it linked to, except for the bits hidden under the latvian course information section of washington.edu (the other washington.edu location has been removed). These only contain a load of text to boost its search rank and a link back to what I presume is the originator, which is (very nasty from the file names of the few pictures and the accompanying text) porn link page in the Ukraine .com 2LD.

From the locations the files are located in the various US websites (most .edu, some .org, .com and .gov) they have managed to get files onto, it looks like they have done it by finding directories on websites with the wrong permissions set and dumped a few link pages in each place, because although some are under user accounts (which would most often indicate a weak password account hacking bot), there are also plenty of other areas of various websites affected. Unfortunately currently the .com.ua whois server doesn&#039;t seem to be properly set up, including any mirrors I found, so haven&#039;t been able to track the source back very far in a short time, although it might be possible.

This would suggest that it is more likely that the links were added due to a permissions issue at some point - the degradation of the links gives the impression it could have been added quite a while ago, although it could also be a substandard bot or old zombies still adding links that have been killed long ago.</description>
		<content:encoded><![CDATA[	<p>I found another site with the same spam at the end of it, but it wasn&#8217;t wordpress, so its something more generic than that. If it was the same links in yours most of them have been removed by the various academic institutions that it linked to, except for the bits hidden under the latvian course information section of washington.edu (the other washington.edu location has been removed). These only contain a load of text to boost its search rank and a link back to what I presume is the originator, which is (very nasty from the file names of the few pictures and the accompanying text) porn link page in the Ukraine .com 2LD.</p>

	<p>From the locations the files are located in the various US websites (most .edu, some .org, .com and .gov) they have managed to get files onto, it looks like they have done it by finding directories on websites with the wrong permissions set and dumped a few link pages in each place, because although some are under user accounts (which would most often indicate a weak password account hacking bot), there are also plenty of other areas of various websites affected. Unfortunately currently the .com.ua whois server doesn&#8217;t seem to be properly set up, including any mirrors I found, so haven&#8217;t been able to track the source back very far in a short time, although it might be possible.</p>

	<p>This would suggest that it is more likely that the links were added due to a permissions issue at some point &#8211; the degradation of the links gives the impression it could have been added quite a while ago, although it could also be a substandard bot or old zombies still adding links that have been killed long ago.</p>
 ]]></content:encoded>
	</item>
</channel>
</rss>
