{"id":1191,"date":"2009-12-01T22:37:56","date_gmt":"2009-12-01T14:37:56","guid":{"rendered":"http:\/\/www.janleow.com\/life\/?p=1191"},"modified":"2012-10-14T01:38:05","modified_gmt":"2012-10-13T17:38:05","slug":"hardening-wordpress-website-is-a-must","status":"publish","type":"post","link":"https:\/\/www.janleow.com\/life\/hardening-wordpress-website-is-a-must.html","title":{"rendered":"Hardening WordPress website is a must!"},"content":{"rendered":"<p>Earlier this year, one of my friends WordPress website and Drupal website was hacked. Both of them were running a travel website and their site was stuff full of web spam with links to dubious website selling dubious products. Appears this was no isolated incident and I have come across forums where some person websites was hack here and there. Security is an issue if ever you are maintaining a website using any of the software for making website.<!--more--><\/p>\n<p>Yes, CMS or Content Management System makes website creation a breeze. Allowing you to concentrate on content creation including collaborative publishing. But the downside is that you must always ensure that the free script installation is up to date and of course plug it up with any plugins or extension to doubly make sure that no damn hacker ever have an easy time hacking into your website and thus destroy rather quickly what you have taken months if not years to create.<\/p>\n<p>Hackers of today are no longer like the hacker of yesteryears. In the old days, they just want to carve up a name in cyberspace and show off. Sure they may deface a website here and a website there but they were more of a nuisance then a real threat. Nowadays they are much more malicious, and there is always the dollar sign flashing in front of their face as they gleefully attempt to hack into vulnerable websites.<\/p>\n<p>For the big corporations, they have a team of technicians and knowledgeable administrators and programmers to secure or contain such threats. But for us small fries, we are all-in-one jack of all trades master of none types from building a websites, maintaining it, researching and writing content, and various other bits and pieces of fiddling around with our website and hope that it will amount to something and perhaps if by any chance get a couple of bucks for the effort and hard work. Well even if we don&#8217;t get much out of it, it is still a labour of love, a hobby, a passion or whatever you call it that keeps you going at it.<\/p>\n<p>Then along came an itsy bitsy spider which did a little SQL injection here and there and before long your website which took you so long to build is now a mess, a mass of web spam with links to very, very bad sites.<\/p>\n<p>So the best way to protect your hard work is to prevent it from happening in the first place. Whether you are using Joomla, Drupal, WordPress, you must harden it.<\/p>\n<p>If you are running a WordPress website, this info provided by WordPress.org is a good guide in preventing potential hacks. <\/p>\n<p>http:\/\/codex.wordpress.org\/Hardening_WordPress<\/p>\n<p>Nothing is foolproof though having additional lines of defence is better than none at all. Though I was not able to implement all of it, but whatever than I managed to do however, was a great help nevertheless.<\/p>\n<p>Because I receive attempted hacks and SQL injection warning several times but so far it had been thwarted. The latest one, reversing the IP that was left behind in the log showed that it came from Ilsan, Ulsan-Gwangyoksi, South Korea. Whether this is the real origin or a masked IP, at least the WordPress hardening has done its job.<\/p>\n<p>With that warning, it means that my website is in the hacker&#8217;s radar and likely they may attempt again. If they are just script kiddies, well their tools are only as good as what they paid for in the hacker&#8217;s black market. Still you never know, they may get a good one that can get pass your website defenses. So always update your website installation that would hopefully have some measure against known vulnerabilities.<\/p>\n<p>I guess it is a never ending war. White hats against black hats. Thank goodness of good people.<\/p>\n<div align=\"center\"><script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"pub-5685769204706262\";\n\/* JanLeow Blog Content 336x280 *\/\ngoogle_ad_slot = \"0657399032\";\ngoogle_ad_width = 336;\ngoogle_ad_height = 280;\n\/\/-->\n<\/script><script type=\"text\/javascript\" src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\"><\/script><\/div>\n<p><br clear=\"all\"\n\n\n<hr style=\"border: dashed\">\n<p>[update 30\/12\/2009]<\/p>\n<p>Again somebody tried to do SQL injection. This time round from Ukraine with the IP 91.213.121.24<br \/>\nChecked online and found that this IP has been attempting to hack into several websites for several months already. One of his favourite website installation software target seems to be Moodle installation.<br \/>\nDoes this ever stop?<\/p>\n<hr style=\"border: dashed\">\n[update 25\/1\/2010]<\/p>\n<p>An yet again. This time somebody from Belarus with an IP of 188.72.213.44 via NetDirect ISP was trying to do SQL injection yet again. This guy tried 9 times before giving up. And where is Belarus? Quick check with Google map and it was one of those breakaway Russian country. Not familiar with this country, another quick check and found the capital city of Belarus is Minsk. Intriguing. Anyway whoever it was, he seems to be a repeat offender as many people online were pissed off from the repeated hacks from this IP. I think I will blacklist this IP.<\/p>\n<hr style=\"border: dashed\">\n[update 3\/3\/2010]<br \/>\nAnd yet again from IP address: 72.46.136.130<br \/>\nHost name: 72.46.136.130.svservers.com<br \/>\n72.46.136.130 is from United States(US) in region North America<\/p>\n<p>This time they testing Akismet plugin vulnerability. So make sure you got latest one, and of course hardened  up your WordPress installation. This time they target my current blog and another WordPress website of mine.<\/p>\n<hr style=\"border: dashed\">\n[update 26\/3\/2010]<br \/>\nAnd yet again from Belarus with IP 188.72.213.44!<\/p>\n<hr style=\"border: dashed\">\n[update 10\/6\/2010]<br \/>\nNo end to this!<br \/>\n207.224.205.10  \tDenver  \tColorado  \t80202  \tUnited States<br \/>\n67.160.165.72  \tPortland  \tOregon  \t97211  \tUnited States<\/p>\n<hr style=\"border: dashed\">\n[update 13\/6\/2010]<br \/>\n77.78.239.49\tSarajevo\tFederation of Bosnia and Herzegovina\tNA\tBosnia and Herzegovina<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Earlier this year, one of my friends WordPress website and Drupal website was hacked. Both of them were running a travel website and their site was stuff full of web spam with links to dubious website selling dubious products. Appears this was no isolated incident and I have come across forums where some person websites &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.janleow.com\/life\/hardening-wordpress-website-is-a-must.html\"> <span class=\"screen-reader-text\">Hardening WordPress website is a must!<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[12],"tags":[44,75,160,162,165],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1bS5F-jd","jetpack-related-posts":[{"id":734,"url":"https:\/\/www.janleow.com\/life\/make-your-own-wordpress-website.html","url_meta":{"origin":1191,"position":0},"title":"Make your websites using WordPress","author":"Jan","date":"13 August 2008","format":false,"excerpt":"Wordpress by far is the most popular software used for blogging. Almost every self-hosted website that was build for blogging uses Wordpress. It sheer versatility, ease of use, numerous themes and plugins available make it the choice script to install. In addition, if you decided to turn your Wordpress blog\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":668,"url":"https:\/\/www.janleow.com\/life\/free-web-site-design-layout-advice.html","url_meta":{"origin":1191,"position":1},"title":"Web site layout and design","author":"Jan","date":"3 January 2007","format":false,"excerpt":"If you are talented and creative, you can easily create your own website template for free. However not all of us are that creative or that talented. Website design and layout can be a stumbling block in making your very own first web site. We shall explore some of the\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":718,"url":"https:\/\/www.janleow.com\/life\/choosing-cms-content-management-system.html","url_meta":{"origin":1191,"position":2},"title":"Which CMS (Content Management System) to use for your website","author":"Jan","date":"28 June 2008","format":false,"excerpt":"There are so many CMS software around which you could use to make your website, from free to commercial versions. For corporate company, choosing a correct CMS should be carefully thought out as it involves the whole business process. For home users and small businesses, picking a CMS system shouldn't\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":701,"url":"https:\/\/www.janleow.com\/life\/free-website-builder.html","url_meta":{"origin":1191,"position":3},"title":"Deciding on a look and feel of your website","author":"Jan","date":"4 January 2007","format":false,"excerpt":"Website template Once you have decided on your website concept or theme and sign up with a web hosting provider, your next step is to decide on the look and feel of your website. From here you have to make your own website template to be used on every page\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":716,"url":"https:\/\/www.janleow.com\/life\/create-website-content-managment.html","url_meta":{"origin":1191,"position":4},"title":"Create a website using CMS","author":"Jan","date":"8 March 2007","format":false,"excerpt":"CMS or Content Management System is one of the exciting new way of administering a web site. Create a web site using CMS is such a breeze that once you have started using it you will not want to use the old method of creating a web page and uploading\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":731,"url":"https:\/\/www.janleow.com\/life\/make-joomla15-website-cms-content-management-software.html","url_meta":{"origin":1191,"position":5},"title":"Using Joomla 1.5 to make your website","author":"Jan","date":"11 August 2008","format":false,"excerpt":"The new Joomla version 1.5.x is a much improved version and recommendable for making your own website. It has overcome some of the limitations of the previous Joomla version 1.0. The interface is now much sleeker and easier to use and a couple of other improvements that make it easier\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/posts\/1191"}],"collection":[{"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/comments?post=1191"}],"version-history":[{"count":1,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/posts\/1191\/revisions"}],"predecessor-version":[{"id":3682,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/posts\/1191\/revisions\/3682"}],"wp:attachment":[{"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/media?parent=1191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/categories?post=1191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/tags?post=1191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}