<?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: More on the evil in the woodshed</title>
	<atom:link href="http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/feed/" rel="self" type="application/rss+xml" />
	<link>http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/</link>
	<description>bubbling enthusiasm for $arbitrary_topic</description>
	<lastBuildDate>Thu, 09 Feb 2012 03:57:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Suw</title>
		<link>http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/comment-page-1/#comment-31770</link>
		<dc:creator>Suw</dc:creator>
		<pubDate>Fri, 11 Sep 2009 16:36:42 +0000</pubDate>
		<guid isPermaLink="false">http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/#comment-31770</guid>
		<description>Carl, I&#039;ve signed up with Google&#039;s Webmaster tools and submitted CnV for reconsideration so hopefully that will do the trick. Will replace the footer.php file on CnV. It probably just got borked in my attempted clean up.</description>
		<content:encoded><![CDATA[<p>Carl, I&#8217;ve signed up with Google&#8217;s Webmaster tools and submitted CnV for reconsideration so hopefully that will do the trick. Will replace the footer.php file on CnV. It probably just got borked in my attempted clean up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carl Morris</title>
		<link>http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/comment-page-1/#comment-31769</link>
		<dc:creator>Carl Morris</dc:creator>
		<pubDate>Fri, 11 Sep 2009 14:56:03 +0000</pubDate>
		<guid isPermaLink="false">http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/#comment-31769</guid>
		<description>Suw, this &lt;a href=&quot;http://www.mattcutts.com/blog/reinclusion-request-howto/&quot; rel=&quot;nofollow&quot;&gt;Matt Cutts post&lt;/a&gt; about reconsideration on Google might help.

BTW, I&#039;m getting a PHP error in your footer.php now, it might be related to this problem or the fix.</description>
		<content:encoded><![CDATA[<p>Suw, this <a href="http://www.mattcutts.com/blog/reinclusion-request-howto/" rel="nofollow">Matt Cutts post</a> about reconsideration on Google might help.</p>
<p>BTW, I&#8217;m getting a PHP error in your footer.php now, it might be related to this problem or the fix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suw</title>
		<link>http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/comment-page-1/#comment-31579</link>
		<dc:creator>Suw</dc:creator>
		<pubDate>Mon, 07 Sep 2009 17:14:25 +0000</pubDate>
		<guid isPermaLink="false">http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/#comment-31579</guid>
		<description>I&#039;m pretty sure that the attack vector was Wordpress and that my upgrade to WP and Thesis and my cleaning-up attempts simply failed to remove all the malicious code. It then re-inserted it&#039;s spam again. 

Mike did an amazing job of cleaning things up. I have more details from him that I need to post, just to round up the story. But thanks for the offer of help! It&#039;s much appreciated. The only thing that&#039;s left to do now is to re-establish my non-spammy credentials with Google, which has dropped my blogs from its search results. :(</description>
		<content:encoded><![CDATA[<p>I&#8217;m pretty sure that the attack vector was WordPress and that my upgrade to WP and Thesis and my cleaning-up attempts simply failed to remove all the malicious code. It then re-inserted it&#8217;s spam again. </p>
<p>Mike did an amazing job of cleaning things up. I have more details from him that I need to post, just to round up the story. But thanks for the offer of help! It&#8217;s much appreciated. The only thing that&#8217;s left to do now is to re-establish my non-spammy credentials with Google, which has dropped my blogs from its search results. <img src='http://chocolateandvodka.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/comment-page-1/#comment-31578</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 07 Sep 2009 16:06:47 +0000</pubDate>
		<guid isPermaLink="false">http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/#comment-31578</guid>
		<description>It is painful to clean up after a hack, it sounds like their attack vector isn&#039;t WordPress anymore. (It could even be another user on the same server.) Sounds like you&#039;re in good hands with Mike Little (one of the top WP people in the world) but if you run into any more roadblocks don&#039;t be shy about dropping me a line and we&#039;ll try to help you.</description>
		<content:encoded><![CDATA[<p>It is painful to clean up after a hack, it sounds like their attack vector isn&#8217;t WordPress anymore. (It could even be another user on the same server.) Sounds like you&#8217;re in good hands with Mike Little (one of the top WP people in the world) but if you run into any more roadblocks don&#8217;t be shy about dropping me a line and we&#8217;ll try to help you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Wardman</title>
		<link>http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/comment-page-1/#comment-31539</link>
		<dc:creator>Matt Wardman</dc:creator>
		<pubDate>Tue, 01 Sep 2009 09:29:55 +0000</pubDate>
		<guid isPermaLink="false">http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/#comment-31539</guid>
		<description>Ouch.

I had a couple of exploits last year. I ended up starting for scratch in a new server account. That is now my standard approach. Create new account -&gt; reinstall -&gt; redirect domain. Painful but it does not need repeating.

Best of luck.

Matt</description>
		<content:encoded><![CDATA[<p>Ouch.</p>
<p>I had a couple of exploits last year. I ended up starting for scratch in a new server account. That is now my standard approach. Create new account -&gt; reinstall -&gt; redirect domain. Painful but it does not need repeating.</p>
<p>Best of luck.</p>
<p>Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nicholas butler</title>
		<link>http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/comment-page-1/#comment-31538</link>
		<dc:creator>nicholas butler</dc:creator>
		<pubDate>Tue, 01 Sep 2009 06:43:04 +0000</pubDate>
		<guid isPermaLink="false">http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/#comment-31538</guid>
		<description>Suw

I sorted this out for Mike last year. There will be a compromised theme file and very likely a compromised theme file in the wp-admin directory. The file contains a script that acts like an FTP server presenting the user with a form that allows them to send and recieve files from your site. In turn this gives them the access they are looking for. 

What I did was the following.

1. Get a clean copy of my theme, note I double checked the theme looking for the string of text called uuencode, or gzip or base_decode64 because the secret rubbish string for the file was hidden in that long strong of giberrish.

2. copy down the wp-config and wp-content files 

3. test wp-content directory for the above 

4. login to wp-admin and remove unwanted users, remove unwanted posts and unwanted pages and remove the user admin in favour of another user account. 

5. On my Webghost control panel set the path to your website to a new path and install wordpress there then copy up wp-config and wp-content 

6. Add some security plugins notably, admin IP Watch, wordpress-security

If your having any trouble with any of these steps then let me know. 


Nik</description>
		<content:encoded><![CDATA[<p>Suw</p>
<p>I sorted this out for Mike last year. There will be a compromised theme file and very likely a compromised theme file in the wp-admin directory. The file contains a script that acts like an FTP server presenting the user with a form that allows them to send and recieve files from your site. In turn this gives them the access they are looking for. </p>
<p>What I did was the following.</p>
<p>1. Get a clean copy of my theme, note I double checked the theme looking for the string of text called uuencode, or gzip or base_decode64 because the secret rubbish string for the file was hidden in that long strong of giberrish.</p>
<p>2. copy down the wp-config and wp-content files </p>
<p>3. test wp-content directory for the above </p>
<p>4. login to wp-admin and remove unwanted users, remove unwanted posts and unwanted pages and remove the user admin in favour of another user account. </p>
<p>5. On my Webghost control panel set the path to your website to a new path and install wordpress there then copy up wp-config and wp-content </p>
<p>6. Add some security plugins notably, admin IP Watch, wordpress-security</p>
<p>If your having any trouble with any of these steps then let me know. </p>
<p>Nik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ManxStef</title>
		<link>http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/comment-page-1/#comment-31534</link>
		<dc:creator>ManxStef</dc:creator>
		<pubDate>Mon, 31 Aug 2009 21:47:50 +0000</pubDate>
		<guid isPermaLink="false">http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/#comment-31534</guid>
		<description>Ah, gotcha. Yeah, good idea to nuke all the users that aren&#039;t yours, if only &#039;cause there were some privilege-escalation exploits previously that allowed a standard user to get admin access.

I&#039;d be happy to take a look through the DB if you can export it? (wp-db-backup may be the easiest way, though through a MySQL tool such as Sequel Pro or a web-based app like phpMyAdmin will do it, too.) Might also be an idea to diff it all against the latest WordPress source, though if you upgraded and overwrote everything then it should be fine.

It&#039;s somewhat reassuring that it happened to an older version of WordPress rather than the latest, as that would&#039;ve pointed at a potential new exploit – not that this helps with your cleanup! Perms shouldn&#039;t be too much of an issue if everything&#039;s read-only by default (with the exception of wp-content/cache and wp-content/uploads, I&#039;m guessing).

Oh yeah, if you can change the password of the MySQL database user (as per the Twitter mention) that&#039;d be an idea. If it&#039;s an automated hack it&#039;s possible they&#039;ve not got it, but they&#039;ll have had access to it so it&#039;s better to be safe.</description>
		<content:encoded><![CDATA[<p>Ah, gotcha. Yeah, good idea to nuke all the users that aren&#8217;t yours, if only &#8217;cause there were some privilege-escalation exploits previously that allowed a standard user to get admin access.</p>
<p>I&#8217;d be happy to take a look through the DB if you can export it? (wp-db-backup may be the easiest way, though through a MySQL tool such as Sequel Pro or a web-based app like phpMyAdmin will do it, too.) Might also be an idea to diff it all against the latest WordPress source, though if you upgraded and overwrote everything then it should be fine.</p>
<p>It&#8217;s somewhat reassuring that it happened to an older version of WordPress rather than the latest, as that would&#8217;ve pointed at a potential new exploit – not that this helps with your cleanup! Perms shouldn&#8217;t be too much of an issue if everything&#8217;s read-only by default (with the exception of wp-content/cache and wp-content/uploads, I&#8217;m guessing).</p>
<p>Oh yeah, if you can change the password of the MySQL database user (as per the Twitter mention) that&#8217;d be an idea. If it&#8217;s an automated hack it&#8217;s possible they&#8217;ve not got it, but they&#8217;ll have had access to it so it&#8217;s better to be safe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suw</title>
		<link>http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/comment-page-1/#comment-31532</link>
		<dc:creator>Suw</dc:creator>
		<pubDate>Mon, 31 Aug 2009 21:35:53 +0000</pubDate>
		<guid isPermaLink="false">http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/#comment-31532</guid>
		<description>Hi ManxStef! Thank you so much for the advice and the links. I did indeed have a compromised admin account on CnV, which is now gone, along with *all* subscribers. There was no compromised admin account on Blogiculum Vitae. 

Regarding the versions, the compromise of CnV was done before I upgraded it to the newest version, so after the upgrade I would imagine the continued compromises were just extensions of the first. 

The permissions thing was not that I couldn&#039;t access them, but that they didn&#039;t have the right permissions. I&#039;ve gone though every Wordpress folder and checked for suspicious looking stuff, but to be honest I&#039;m not familiar enough with Wordpress to know necessarily at a glance what I&#039;m looking for. 

And finally, I have no idea how to inspect the database, so if it comes to that I&#039;m going to have to export my content and do a fresh installation.</description>
		<content:encoded><![CDATA[<p>Hi ManxStef! Thank you so much for the advice and the links. I did indeed have a compromised admin account on CnV, which is now gone, along with *all* subscribers. There was no compromised admin account on Blogiculum Vitae. </p>
<p>Regarding the versions, the compromise of CnV was done before I upgraded it to the newest version, so after the upgrade I would imagine the continued compromises were just extensions of the first. </p>
<p>The permissions thing was not that I couldn&#8217;t access them, but that they didn&#8217;t have the right permissions. I&#8217;ve gone though every WordPress folder and checked for suspicious looking stuff, but to be honest I&#8217;m not familiar enough with WordPress to know necessarily at a glance what I&#8217;m looking for. </p>
<p>And finally, I have no idea how to inspect the database, so if it comes to that I&#8217;m going to have to export my content and do a fresh installation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ManxStef</title>
		<link>http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/comment-page-1/#comment-31531</link>
		<dc:creator>ManxStef</dc:creator>
		<pubDate>Mon, 31 Aug 2009 21:10:35 +0000</pubDate>
		<guid isPermaLink="false">http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/#comment-31531</guid>
		<description>Oh, forgot to mention, if you&#039;ve not signed up for the Google Webmaster Tools it&#039;s a good way of getting a warning that your site&#039;s been compromised:
https://www.google.com/webmasters/tools/

Make sure you add your e-mail address to the panel and it should notify you of anything untoward.</description>
		<content:encoded><![CDATA[<p>Oh, forgot to mention, if you&#8217;ve not signed up for the Google Webmaster Tools it&#8217;s a good way of getting a warning that your site&#8217;s been compromised:<br />
<a href="https://www.google.com/webmasters/tools/" rel="nofollow">https://www.google.com/webmasters/tools/</a></p>
<p>Make sure you add your e-mail address to the panel and it should notify you of anything untoward.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ManxStef</title>
		<link>http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/comment-page-1/#comment-31530</link>
		<dc:creator>ManxStef</dc:creator>
		<pubDate>Mon, 31 Aug 2009 21:08:11 +0000</pubDate>
		<guid isPermaLink="false">http://chocolateandvodka.com/2009/08/31/more-on-the-evil-in-the-woodshed/#comment-31530</guid>
		<description>I&#039;ve seen a few exploits like this before, though with earlier versions. (Wasn&#039;t Magic Include Shell, was it?) The attack vector can be multiple routes: WordPress itself (though if you were already on 2.8.4 this suggests otherwise), a vulnerable theme (usually functions.php) or plugin, another web app such as a forum, etc.

If they&#039;ve compromised things to the point of changing permissions of directories so you can no longer access them then you&#039;ll most-likely need root on the webserver to clean this up, otherwise they may have code in these directories to re-infect whatever you upload. If not, do make sure whatever you upload isn&#039;t world-writable, i.e. the &#039;other&#039; permissions, and ideally remove group write from all the files you don&#039;t need to edit, too.

It&#039;s also possible that they&#039;ve created entries in the database itself, so do go through that and check if you can – they may have at the very least created a new admin account to get back in.

There&#039;s some good advice on the WordPress Codex about hardening, once you&#039;ve secured it again:
http://codex.wordpress.org/Hardening_WordPress

and BlogSecurity.net:
http://blogsecurity.net/wordpress/wordpress-security-whitepaper</description>
		<content:encoded><![CDATA[<p>I&#8217;ve seen a few exploits like this before, though with earlier versions. (Wasn&#8217;t Magic Include Shell, was it?) The attack vector can be multiple routes: WordPress itself (though if you were already on 2.8.4 this suggests otherwise), a vulnerable theme (usually functions.php) or plugin, another web app such as a forum, etc.</p>
<p>If they&#8217;ve compromised things to the point of changing permissions of directories so you can no longer access them then you&#8217;ll most-likely need root on the webserver to clean this up, otherwise they may have code in these directories to re-infect whatever you upload. If not, do make sure whatever you upload isn&#8217;t world-writable, i.e. the &#8216;other&#8217; permissions, and ideally remove group write from all the files you don&#8217;t need to edit, too.</p>
<p>It&#8217;s also possible that they&#8217;ve created entries in the database itself, so do go through that and check if you can – they may have at the very least created a new admin account to get back in.</p>
<p>There&#8217;s some good advice on the WordPress Codex about hardening, once you&#8217;ve secured it again:<br />
<a href="http://codex.wordpress.org/Hardening_WordPress" rel="nofollow">http://codex.wordpress.org/Hardening_WordPress</a></p>
<p>and BlogSecurity.net:<br />
<a href="http://blogsecurity.net/wordpress/wordpress-security-whitepaper" rel="nofollow">http://blogsecurity.net/wordpress/wordpress-security-whitepaper</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

