<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>「朱72」　shu72.com &#187; website crack</title>
	<atom:link href="http://shu72.com/tag/website-crack/feed/" rel="self" type="application/rss+xml" />
	<link>http://shu72.com</link>
	<description>the personal website of Sonya C. Wheeler</description>
	<lastBuildDate>Mon, 17 May 2010 04:43:42 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Website bombardment and crack of 2009</title>
		<link>http://shu72.com/2010/02/10/website-bombardment-and-crack-of-2009/</link>
		<comments>http://shu72.com/2010/02/10/website-bombardment-and-crack-of-2009/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 19:50:49 +0000</pubDate>
		<dc:creator>Sonya</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[DreamHost]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[internet security]]></category>
		<category><![CDATA[website crack]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://shu72.com/?p=292</guid>
		<description><![CDATA[A now time for a seriously long-winded story my little kitties. It has it&#8217;s beginnings, middles, and endings. It&#8217;s about how I realized my decrepit WordPress install was not so secure.

This may or may not have anything to do with my website getting cracked into and it may or may not have been a precursor [...]]]></description>
			<content:encoded><![CDATA[<p>A now time for a seriously long-winded story my little kitties. It has it&#8217;s beginnings, middles, and endings. It&#8217;s about how I realized my decrepit WordPress install was not so secure.</p>
<p><img src="http://shu72.com/mainsite/wp-content/uploads/2010/01/akismet_stats0908-0909.png" alt="Akismet Stats 2008-2009" title="akismet_stats 0908-0909" width="198" height="293" class="alignleft size-full wp-image-301" /><br />
This may or may not have anything to do with my website getting cracked into and it may or may not have been a precursor to what followed: 23 July was the last post of last year. Months after that my WordPress/Akismet install received and caught a good amount of spam with a good chunk of them being from September 2009. More than 1½ times the amount recorded from previous years combined. A massive flood in failed spam comments.</p>
<p>I paid no real attention since this was probably due to the July post that helped spam bots know the weblog was alive and kicking, but then again this was happening about two months after the post.</p>
<p>So&#8230;come 31 October 2009, I try to SFTP to my server and I couldn&#8217;t even log into my server. I forgot what error the WinSCP keep giving me after a while. I think it was something about a timeout but it wasn&#8217;t the usual timeout error. I kept getting it so I updated WinSCP just to make sure and it still kept happening. I even tried the Firefox extension FireFTP&#8230;no dice. I could get into WordPress and phpMyAdmin fine through my browser but that was not what I was looking to do. Luckily, DreamHost offers a WebFTP login which can be found in the DH panel. It can be used to edit your site pages via a web browser. I guess I should have tried to access my site via command line/shell to see if I could get in that way, but I didn&#8217;t feel like it. Decided to try to WebFTP for the time being to do some minor editing.</p>
<p>When I clicked to edit the source of one of my files I noticed that an extra line of code at the top of the pages I brought up. First I thought this was something the web based editor adds onto the files. I <em>don&#8217;t</em> want something adding stuff to my code. I have to find a way back into my server that I know works. Further research into what the code added actually was had revealed that I was a victim of the <code>eval(base64_decode()</code>&#8230; crack that starts off like<br />
<code>&lt;?php /**/<br />
eval(base64_decode("aWYoZnVuY3R...<br />
 ....<br />
?&gt;</code> </p>
<p><span id="more-292"></span></p>
<p>Oh, crap. That&#8217;s when I put my site into maintenance mode until I figured out the extent of the damage and how it happened. As far as not being able to log in, it suddenly came to me what might have been the cause. Not the hack crack but the fact that I changed my router&#8217;s firewall setting to test out a more secure setting and left it that way. This turned out to be too much and far more restrictive than what I needed. Since the router&#8217;s firewall was boosted up to restrict programs and traffic allowed, I ended up blocking myself out of my server. Aackk! I switched the setting so the information could be sent and received properly with out being partially blocked or ignored. It worked! So folks, if you keep getting timeouts or whatever, try to think back and remember if you changed a setting here or there.</p>
<p>Finally, I checked some more files via WinSCP I found more of the same junk added through out my .php files. It nested itself throughout my WordPress directories. Some files altered, others were not. The files affected were all modified around the 26th and 28th of October 2009.</p>
<p>Decoding the bulk of the crap to make it atleast somewhat human readable showed an &#8220;if file exists&#8221; clause:<br />
<code>if(function_exists('ob_start')&#038;&#038;!isset($GLOBALS['sh_no'])){$GLOBALS['sh_no']=1</code> I have no idea what the global variable &#8220;sh_no&#8221; is. Elsewhere in the code it had a few <code>gzdecode()</code>s, a bunch of gibberish and something that look like it was to alter something in the <code>&lt;body&gt;</code> tag:</p>
<pre>
if(preg_match('/\&lt;body/si', ...
</pre>
<p>Strangely, the function <code>gzdecode()</code> is not introduced until PHP 6. Many servers out there are at PHP 5.x and there are even a few still using PHP 4.x. DreamHost currently has both 4 and 5. Very, very few servers are running the bleeding edge 6 and maybe even less than that for people on shared hosting plans. I wonder if this was to be a platform to a future larger crack once more servers start to switch over to PHP 6?</p>
<p>Anyway, it was the &#8220;&#8230;wp-includes/js/tinymce/themes/advanced/images/xp/style.css.php&#8230;&#8221; section in the decryption might be where an old security flaw in the TinyMCE editor cause my site to be exploited. Regular .htm/.html files elsewhere in other directories were fine along with some other .php files. I never use the visual editor to post. Oh, yeah and&#8230;  holy crap! My WordPress version was ancient! I seriously didn&#8217;t realized how old the install really was, version 2.0.4?</p>
<p>I download my theme and other non-WP directories then scanned all my files for viruses. Saved a copy of the database to see exactly how much damage was actually done. Checking the files on my site and my MySQL DB didn&#8217;t show any altered links in posts or registered extra users from what I skimmed through. Code was just added and nothing else? I didn&#8217;t find any iframes with ads added when I viewed my website then again I didn&#8217;t check the source code at the time. Should have saved the WP install directories as well for a closer look.</p>
<p>My site stats show some referring URLs with &#8220;&#8230;translate.googleusercontent.com/translate_c?hl=<em>zh</em>&amp;ie=&#8230;&#8221; in it. The &#8220;zh&#8221; means Chinese. It may be the Google robots indexing (and translating?) my site. Is it related to the crack? Who knows, but 66 requests for only 3 pages? Maybe something was causing the bot to get caught in loop.<br />
<div id="attachment_302" class="wp-caption aligncenter" style="width: 310px"><img src="http://shu72.com/mainsite/wp-content/uploads/2010/01/referrerreport_20091031-300x217.png" alt="Server log" title="referrerreport_20091031" width="300" height="217" class="size-medium wp-image-302" /><p class="wp-caption-text">Server log showing increased hits from translate.googleusercontent.com</p></div><br />
 I decided to check my server stats and <a href="http://www2.clustrmaps.com/counter/maps.php?url=http://shu72.com">my Clustrmaps page</a> and then noticed an increase in visits to my site from China, maybe a googlebot in China? A better robots.txt file should handle some of these bots. <div id="attachment_305" class="wp-caption aligncenter" style="width: 555px"><img src="http://shu72.com/mainsite/wp-content/uploads/2010/02/shu72com-2006-10-18_to_2009-10-201.jpg" alt="ClustrMaps 2006-2009 archive for this site." title="shu72com-2006-10-18_to_2009-10-20" width="545" height="132" class="size-full wp-image-305" /><p class="wp-caption-text">ClustrMaps 2006-2009 archive for this site.</p></div></p>
<p>These events along with my attempts to reboot my site have been piling up on my to-do list. At least, finally I got my butt into gear and got my site rebooted despite minor troubles with the fact that around 31 Jan &#8211; 1 Feb 2010 somehow the DreamHost server I&#8217;m on was about 12 minutes off when accounting for time zone difference (about -3 hours 12 minutes without adjustments to my time zone, they&#8217;re PST, I&#8217;m EST). Now it&#8217;s finally been corrected on their end. Still there are other minor things that I still have to have done like add a page here and there but it&#8217;s 99.98% ready. Yippee!</p>
<p>Coming soon: The details on my 2010 design reboot later and what happened to my original &#8220;steampunk&#8221; look idea that I previously tweeted about. Of which, you can see, is not currently gracing the face of my site.</p>
]]></content:encoded>
			<wfw:commentRss>http://shu72.com/2010/02/10/website-bombardment-and-crack-of-2009/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Crappy (All) Consuming crack</title>
		<link>http://shu72.com/2005/04/09/crappy-all-consuming-crack/</link>
		<comments>http://shu72.com/2005/04/09/crappy-all-consuming-crack/#comments</comments>
		<pubDate>Sat, 09 Apr 2005 22:06:54 +0000</pubDate>
		<dc:creator>Sonya</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[internet security]]></category>
		<category><![CDATA[website crack]]></category>

		<guid isPermaLink="false">http://shu72.com/2005/04/09/crappy-all-consuming-crack/</guid>
		<description><![CDATA[Dang it&#33; The All Consuming site has been hacked by someone. I was going to login to my account to get the full list of books that I&#8217;ve read and update it now I can&#8217;t. I haven&#8217;t place the javaScript for my books code on my weblog in awhile, but still I wanted to update [...]]]></description>
			<content:encoded><![CDATA[<p>Dang it&#33; The <a href="http://allconsuming.net/">All Consuming</a> site has been hacked by someone. I was going to login to my account to get the full list of books that I&#8217;ve read and update it now I can&#8217;t. I haven&#8217;t place the javaScript for my books code on my weblog in awhile, but still I wanted to update my list and add a few more books. Looks like I&#8217;&#8217;ll have to try to find my backup list of the books.</p>
<p>Actually this was more of a <em>crack</em> than a <em>hack</em> since it fudged up the creator Erik Benson&#8217;s servers. Thus mucking up other peoples&#8217; sites and I&#8217;m not talking about just a handful of people here.</p>
]]></content:encoded>
			<wfw:commentRss>http://shu72.com/2005/04/09/crappy-all-consuming-crack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Attack of the Amazon trolls</title>
		<link>http://shu72.com/2002/11/30/attack-of-the-amazon-trolls/</link>
		<comments>http://shu72.com/2002/11/30/attack-of-the-amazon-trolls/#comments</comments>
		<pubDate>Sat, 30 Nov 2002 23:34:54 +0000</pubDate>
		<dc:creator>Sonya</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[internet security]]></category>
		<category><![CDATA[website crack]]></category>

		<guid isPermaLink="false">http://shu72.com/2002/11/30/attack-of-the-amazon-trolls/</guid>
		<description><![CDATA[Strange. I wonder if my Amazon.com wishlist has been hacked? For some reason it was showing my birthday as October 8th! That&#8217;s stupid. Really stupid. Last time I looked it was correct. Good thing I checked back. I changed it back to December 23rd.
]]></description>
			<content:encoded><![CDATA[<p>Strange. I wonder if my Amazon.com wishlist has been hacked? For some reason it was showing my birthday as October 8th! <em>That&#8217;s stupid.</em> <i>Really stupid.</i> Last time I looked it was correct. Good thing I checked back. I changed it back to December 23rd.</p>
]]></content:encoded>
			<wfw:commentRss>http://shu72.com/2002/11/30/attack-of-the-amazon-trolls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
