<?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>The Four-eyed Journal &#187; Hack attacks</title>
	<atom:link href="http://jrocas.com.ph/archives/tag/hack-attacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://jrocas.com.ph</link>
	<description>A geek&#039;s musings on technology, politics, the web &#38; life</description>
	<lastBuildDate>Thu, 05 Jan 2012 01:54:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Plugins to beef up blog security</title>
		<link>http://jrocas.com.ph/archives/plugins-to-beef-up-blog-security/</link>
		<comments>http://jrocas.com.ph/archives/plugins-to-beef-up-blog-security/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 04:44:35 +0000</pubDate>
		<dc:creator>jhay</dc:creator>
				<category><![CDATA[WordPress & Blogging]]></category>
		<category><![CDATA[Hack attacks]]></category>
		<category><![CDATA[WordPress security]]></category>
		<category><![CDATA[WP plugins]]></category>

		<guid isPermaLink="false">http://jrocas.com.ph/?p=1487</guid>
		<description><![CDATA[Okay, as I&#8217;ve promised earlier, here&#8217;s a quick run down of how I have beefed up the security of this blog in response to the horrendous episode of hack attacks that screwed up my blog, the database and wiped out 6 month&#8217;s worth of posts. Hard to crack passwords for Cpanel and Dashboard. It&#8217;s a [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><center><a href="http://www.zooomr.com/photos/jhayrocas/8422928/" title="Photo Sharing"><img src="http://static.zooomr.com/images/8422928_5eab11c397_o.jpg" width="500" height="375" alt="blog-security" /></a></center></p>
<p>Okay, as I&#8217;ve promised earlier, here&#8217;s a quick run down of how I have beefed up the security of this blog in response to the horrendous episode of hack attacks that screwed up my blog, the database and wiped out 6 month&#8217;s worth of posts.</p>
<p><strong>Hard to crack passwords for Cpanel and Dashboard.</strong></p>
<p>It&#8217;s a good thing I&#8217;ve developed the habit of creating passwords that are completely unrelated to my person such as name, date of birth, place where I live, the schools I&#8217;ve attended, etc. and manage to remember them. Passwords based on such information could easily be guessed by anyone whose bent on doing me harm even without the use of password-cracking techniques and software because those basic information about me could be easily culled from the web via the various social networking sites I use. Just Google my name and you&#8217;d know what I mean.</p>
<p>So on top of that, I&#8217;ve also become used to using passwords that are alpha-numeric and containing special characters. Finally, I&#8217;ve decided to change my blog&#8217;s and my hosting account&#8217;s Cpanel password every 6-months to keep hackers and other evil-doers guessing.</p>
<h3>Plugins that add layers of security to my blog</h3>
<p>Creating hard to crack passwords is just one step in blog security. The next logical step is to install plugins that add more security to your blog. It does not only prevent hackers from gaining entry and using your blog for their evil deeds, it also helps in the prevention of spam.</p>
<p><a href="http://www.bad-neighborhood.com/">Login LockDown</a> by By Michael VanDeMar, it adds some extra security to WordPress by restricting the rate at which failed logins can be re-attempted from a given IP range. I&#8217;ve customized mine to limit login attempts to 3 retries within 3 minutes. Offending IP ranges are blocked for two full hours. It&#8217;s so effective, it even blocked me when I failed to enter my correct password due to clumsy fingers.</p>
<p><a href="http://builtbackwards.com/projects/tac/">Theme Authenticity Checker (TAC)</a> by builtBackwards. It scans all of your theme files for potentially malicious or unwanted code. Had I known about this plugin earlier, the first hack attack could&#8217;ve have been prevented because the hacker injected my theme files with their spam codes. Do check out <a href="http://jaypeeonline.net/wordpress-plugins/wp-plugin-review-theme-authenticity-checker/">Jaypee&#8217;s review of this  great plugin</a>. We highly recommend it.</p>
<p><a href="http://www.seoegghead.com/software/wordpress-firewall.seo">WordPress Firewall</a> by SEO Egghead, Inc. just like what it&#8217;s name says, it blocks suspicious-looking requests to WordPress and provides for a way to white-list certain requests made by us admins and the plugins we use. It&#8217;s so powerful because it&#8217;s customizable.</p>
<p>Besides from this security plugins, it&#8217;s best to always upgrade your WordPress to the latest version because these releases contain bug fixes and security improvements. And never forget to keep backups and more backups of your blog&#8217;s database and make sure they&#8217;re in working condition.</p>
<p>Has you blog been hacked? How did you secure it and steps did you take to deal with the damage? Do share your tips and stories. Stay safe!</p>
<p>Image by <a href="http://www.flickr.com/photos/ianlloyd/274749599/">lloydi</a>.</p>
<img src="http://jrocas.com.ph/0838b5e6/266bb3f2/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" /><ul class="related_post"><li><a href="http://jrocas.com.ph/archives/wp-2-7-compatible-plugins/" title="WP 2.7 and compatible plugins I use">WP 2.7 and compatible plugins I use</a> (7)</li><li><a href="http://jrocas.com.ph/archives/now-powered-by-wordpress-25/" title="Now powered by WordPress 2.5">Now powered by WordPress 2.5</a> (9)</li><li><a href="http://jrocas.com.ph/archives/comments-luv-commentsluv/" title="Comments + Luv = CommentsLuv">Comments + Luv = CommentsLuv</a> (17)</li><li><a href="http://jrocas.com.ph/archives/plugin-compatibilties-with-wordpress-release-23-candidate-1/" title="Plugin Compatibilities with WordPress 2.3 Release Candidate 1">Plugin Compatibilities with WordPress 2.3 Release Candidate 1</a> (8)</li><li><a href="http://jrocas.com.ph/archives/how-to-monitor-plugin-updates/" title="How to monitor plugin updates">How to monitor plugin updates</a> (5)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jrocas.com.ph/archives/plugins-to-beef-up-blog-security/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Recovering from another blog hack attack</title>
		<link>http://jrocas.com.ph/archives/recovering-from-another-blog-hack-attack/</link>
		<comments>http://jrocas.com.ph/archives/recovering-from-another-blog-hack-attack/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 00:27:54 +0000</pubDate>
		<dc:creator>jhay</dc:creator>
				<category><![CDATA[WordPress & Blogging]]></category>
		<category><![CDATA[Blog security]]></category>
		<category><![CDATA[Hack attacks]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://jrocas.com.ph/?p=1469</guid>
		<description><![CDATA[Things may be a bit quirky and strange around here, the most obvious would be a 6-month gap between this post and the rest of the posts in this blog. That&#8217;s the casualty of another episode of hackers taking over and screwing with my blog. It was a total nightmare! I thought my theme were [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img alt="" src="http://img14.imageshack.us/img14/2136/hackerbygutter.jpg" title="Hackers" class="alignright" width="350" height="263" />Things may be a bit quirky and strange around here, the most obvious would be a 6-month gap between this post and the rest of the posts in this blog. That&#8217;s the casualty of another episode of hackers taking over and screwing with my blog.</p>
<p>It was a total nightmare! I thought my theme were injected with malicious code again and once it&#8217;s removed the problem would be fixed. However, the problem was more serious than I thought. No matter which theme I use, the problem was still there; my pages and posts would only be displayed up to the title and the rest of the post/page just vanished.</p>
<p>The strange thing is, only the Archives page displayed as it should. However, I cannot make sense why this was so. I checked and re-checked the theme files of every theme in my blog and found no malicious code. This was something more complicated for my meager PHP/CSS programming skills could handle. For I found a folder in my root directory containing codes that inserted spam into my blog&#8217;s posts and pages. Since the hackers have already set a foothold in my blog, drastic measures had to be taken.</p>
<p>So with frustration and sleep deprivation settling in, I had no choice but to resort to deleting my old blog and starting again from a clean install. Everything went fine until it turned out that the latest copy of my blog&#8217;s database was damaged. So I had to revert to an older copy which I made six months ago. Meaning 6 months&#8217;s worth of posts went down the drain. Curse those damned hackers!</p>
<p>So now I beefed up the security of this blog, installing additional plugins like the <a href="http://builtbackwards.com/projects/tac/">Theme Authenticity Checker </a>which scans each theme for malicious code as advised by my good friend <a href="http://jaypeeonline.net">Jaypee</a>. I&#8217;ve also changed the password to a longer more secure one and I&#8217;ve also disabled user registration.</p>
<p>Another lesson in blogging learned the hard and painful way. Hopefully, this would be enough to protect my blog from hackers and spammers. Stay safe everyone!</p>
<p>*Image by <a href="http://www.flickr.com/photos/somemixedstuff/">gutter</a>, licensed under the <a href="http://creativecommons.org/licenses/by-sa/2.0/deed.en">CC Attribution-Share Alike license</a>.</p>
<img src="http://jrocas.com.ph/0838b5e6/266bb3f2/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" /><ul class="related_post"><li><a href="http://jrocas.com.ph/archives/surviving-a-blog-hacking-attack/" title="Surviving a blog hacking attack">Surviving a blog hacking attack</a> (0)</li><li><a href="http://jrocas.com.ph/archives/thesis-1-8-2-jetpack-and-few-other-updates/" title="Thesis 1.8.2, Jetpack and few other updates">Thesis 1.8.2, Jetpack and few other updates</a> (2)</li><li><a href="http://jrocas.com.ph/archives/finally-integrated-facebook-twitter-login-to-wordpress-comments/" title="Finally, integrated Facebook &#038; Twitter Login to WordPress comments">Finally, integrated Facebook &#038; Twitter Login to WordPress comments</a> (0)</li><li><a href="http://jrocas.com.ph/archives/moved-to-a-new-web-host/" title="Moved to a new web host">Moved to a new web host</a> (2)</li><li><a href="http://jrocas.com.ph/archives/recover-lost-blog-posts-with-feedblitz-google-reader/" title="Recover lost blog posts with Feedblitz &#038; Google Reader">Recover lost blog posts with Feedblitz &#038; Google Reader</a> (4)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jrocas.com.ph/archives/recovering-from-another-blog-hack-attack/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Surviving a blog hacking attack</title>
		<link>http://jrocas.com.ph/archives/surviving-a-blog-hacking-attack/</link>
		<comments>http://jrocas.com.ph/archives/surviving-a-blog-hacking-attack/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 00:44:55 +0000</pubDate>
		<dc:creator>jhay</dc:creator>
				<category><![CDATA[WordPress & Blogging]]></category>
		<category><![CDATA[Blog security]]></category>
		<category><![CDATA[Hack attacks]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://jrocas.com.ph/?p=1660</guid>
		<description><![CDATA[There’s a serious security concern for WordPress users as a worm has been lurking the Internet wreaking havoc on unpatched versions of WordPress. The warning comes from no less than WP creator Matt Mullenweg himself in a recent post on the WordPress Dev Blog: Right now there is a worm making its way around old, [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>There’s a serious <a href="http://wordpress.org/development/2009/09/keep-wordpress-secure/">security concern for WordPress users</a> as a worm has been lurking the Internet wreaking havoc on unpatched versions of WordPress.</p>
<p>The warning comes from no less than WP creator <a href="http://ma.tt/">Matt Mullenweg</a> himself in a recent post on the WordPress Dev Blog:</p>
<blockquote><p>Right now there is a worm making its way around old, unpatched versions of WordPress. This particular worm, like many before it, is clever: it registers a user, uses a security bug (fixed earlier in the year) to allow evaluated code to be executed through the permalink structure, makes itself an admin, then uses JavaScript to hide itself when you look at users page, attempts to clean up after itself, then goes quiet so you never notice while it inserts hidden spam and malware into your old posts.</p>
<p>The tactics are new, but the strategy is not. Where this particular worm messes up is in the “clean up” phase: it doesn’t hide itself well and the blogger notices that all his links are broken, which causes him to dig deeper and notice the extent of the damage. Where worms of old would do childish things like defacing your site, the new ones are silent and invisible, so you only notice them when they screw up (as this one did) or your site gets removed from Google for having spam and malware on it.</p></blockquote>
<p>Though I’ve read and heard of blog attacks before, I’ve never really encountered one on my own blog. Well, that was until the last week of July and the whole month of August that is. This blog had been a victim a hack attack. Probably from that worm mentioned in Matt’s post, but I still haven’t found a solid piece of evidence to prove this. Yet there were plenty of other signs that indeed the worm had attacked my blog.</p>
<p><strong>It required me to change my password</strong></p>
<p>Never in my entire four years of blogging have I ever encountered a need to recover my own password because I’ve been careful with it and I’ve never forgotten it. So I found it bizarre one morning on the closing weeks of July that my original password was not being accepted by my blog. Thinking it was part of a routine WordPress update I installed, I simply opted to reset my password and replaced it with a stronger one. How naive of me as WordPress has never done something like this before.</p>
<p><strong>Sudden decline in blog traffic</strong><br />
<div id="attachment_1661" class="wp-caption aligncenter" style="width: 596px">
	<img src="http://turbo2.jrocas.com.ph/wp-content/uploads/2009/11/webtrafficdown.jpg" alt="My web traffic went down to almost nothing" title="webtrafficdown" width="596" height="140" class="size-full wp-image-1661" />
	<p class="wp-caption-text">My web traffic went down to almost nothing</p>
</div></p>
<p>Shortly a few days after that ‘mandatory’ password change, I noticed a sharp decline in my blog’s traffic. Thinking it was another round of punishment from Google for the paid link ads on my blog, I said to my self that it will return to normal after a few weeks. Unfortunately, those weeks lasted for the whole month of August and the early days of September. From a daily average of 1000+ visitors, blog traffic plummeted to an average of 5 a day! Something else was wrong with my blog and I began to look around for things out of the ordinary. A broken plugin perhaps or a theme element gone wrong.</p>
<p><strong>My theme was acting weird</strong></p>
<p>Though at that I haven’t updated the Vigilance theme I was using, I noticed that whenever I’d view the front page of my blog, something would stick out of just below the footer and brake the width of the theme. Thinking it was just some stray CSS elements or some code from the buttons on my blog I paid little attention to it. Then it dawned upon me that this first occurred days after my “mandatory password reset” took place.</p>
<p><strong>Then my blog screwed every browser it encountered</strong></p>
<p>Shortly after writing my post on August 25,<strong> Chrome would crash after spewing out lots of new tabs every time I’d view my blog’s front page</strong>. Thought it was just Chrome shooting its own foot, I tried viewing my blog with Firefox and the same thing happened. It was at this moment that I decided to have a second look at my theme files.</p>
<p>Codes for spam in the form of iframes that were redirecting traffic from my blog to a website about greeting cards and stuff were inserted into my theme header and footer files! This is what has been causing my blog to break its margins, this is what has been stealing my blog traffic and this is what has been screwing up with my browsers.</p>
<p><strong>Things were fixed with a minor surgery</strong></p>
<p>So immediately, I downloaded all the themes in my blog’s theme folder via FTP and had each and every single theme file checked and re-checked for any spam codes inserted by that worm. I also removed most of the plugins that have been inactive for so long and I also checked the WordPress files for malicious codes.</p>
<p>Digging a little deeper, I once more combed my MySQL database for any injected code and alien user accounts. Fortunately, the only part of my blog that was compromised by the worm was the theme currently in use. So after cleaning up the theme files and re-uploading them, the ordeal quickly ended.</p>
<p>Blog traffic quickly recovered to normal levels and my blog behaves normally now when viewed in all the web browsers I use.</p>
<p><strong>Beefing up the security</strong></p>
<p>To prevent another future attack, I’ve beefed up the security of my blog. I once more changed my password to a more secure one. I’ve deleted all the plugins that I’m not using. User registration has also been disabled and for a new layer of protection, I’ve installed the <a href="http://www.seoegghead.com/software/wordpress-firewall.seo">WordPress Firewall plugin</a> as recommended to me by Ade when I checked his blog for a possible attack last month.</p>
<p>Just recently, I followed some of the steps mentioned by <a href="http://jaypeeonline.net/wordpress/wordpress-blogs-under-attack/">Jaypee</a>, <a href="http://ocaoimh.ie/did-your-wordpress-site-get-hacked/">Donncha O Caoimh</a> and the <a href="http://codex.wordpress.org/FAQ_My_site_was_hacked">WP team</a>.</p>
<p>For now, I rest more easily at night knowing that despite suffering a blog hacking attack, my WordPress-powered blog is more secure than ever thanks to this learning experience and the expertise of the WordPress community.</p>
<p>However, vigilance, diligence and being a smart blogger would be my edge in keeping my blog safe from those nasty evil-doing hackers.</p>
<img src="http://jrocas.com.ph/0838b5e6/266bb3f2/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" /><ul class="related_post"><li><a href="http://jrocas.com.ph/archives/recovering-from-another-blog-hack-attack/" title="Recovering from another blog hack attack">Recovering from another blog hack attack</a> (6)</li><li><a href="http://jrocas.com.ph/archives/thesis-1-8-2-jetpack-and-few-other-updates/" title="Thesis 1.8.2, Jetpack and few other updates">Thesis 1.8.2, Jetpack and few other updates</a> (2)</li><li><a href="http://jrocas.com.ph/archives/finally-integrated-facebook-twitter-login-to-wordpress-comments/" title="Finally, integrated Facebook &#038; Twitter Login to WordPress comments">Finally, integrated Facebook &#038; Twitter Login to WordPress comments</a> (0)</li><li><a href="http://jrocas.com.ph/archives/moved-to-a-new-web-host/" title="Moved to a new web host">Moved to a new web host</a> (2)</li><li><a href="http://jrocas.com.ph/archives/recover-lost-blog-posts-with-feedblitz-google-reader/" title="Recover lost blog posts with Feedblitz &#038; Google Reader">Recover lost blog posts with Feedblitz &#038; Google Reader</a> (4)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://jrocas.com.ph/archives/surviving-a-blog-hacking-attack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 34/69 queries in 0.078 seconds using disk: basic
Content Delivery Network via Amazon Web Services: CloudFront: turbo.jrocas.com.ph

Served from: jrocas.com.ph @ 2012-02-12 10:55:29 -->
