free articles
Please Enter A Question or Phrase...
login | create account  

  

   Article Niche |  article feeds |  submit articles |  terms of service |  privacy |  publishers |  login |  contact us |  niche blog


article submission



How To Detect And Prevent A WordPress Spam Injection Attack


Chris London's posts by  ,   published:  
syndicated:  1 | total views:  13014 |  word count:  1456
laesbarhedsindex readability score:  Difficult Readability
on the net:  http://www.pixelproductionsinc.com

UNITED STATES, Oct 02 — Last month my WordPress blog was the victim of a spam injection attack. I am the art director for a highly rated graphic design and website design company. I have years of experience in website design, WordPress Blog Design and I am security minded in my approach to web development — I was still a victim of clever hacking. I love the functionality of WordPress, but unfortunately, this experience has left me so cautious that my company no longer uses a WordPress Blog along with our corporate website

This Web Design Article has been currently rated as:  [1 vote(s) cast]

Please Rate this Web Design Article :   

PDF version | Printable version | Publisher HTML version | Discussions (0) | Email Article


How To Detect And Prevent A WordPress Spam Injection Attack
  Image may be subject to copyright.
L ast month my WordPress blog was the victim of a spam injection attack. I am the art director for a highly rated graphic design and website design company. I have years of experience in website design, WordPress Blog Design and I am security minded in my approach to web development — I was still a victim of clever hacking. It can happen to anyone and it is happening at an increasingly alarming rate. The worst part about this experience was that not only my WordPress blog was attacked - my entire corporate website was removed from Google SERPS. We were ranked in the Google Top 10 for several coveted spots such as; graphic design company, packaging design companies, brand identity company, and many more. Our site was completely out of Google search results for two weeks in which time we lost countless leads. This experience absolutely sickened me! It also created way too many hours of work dedicated to repairing the hackers damage and recovering our website’s Google Rankings. During my research into fixing the spam injection hackers damage I discovered that this is a widespread problem with WordPress blogs. It’s happening to thousands of people and it is not limited to people using older versions of WordPress.

Recovering from a WordPress spam injection attack is not fun, but you can regain your Google Search Results after being hacked by a spam injection attack. If you’ve been compromised, hopefully you have your website and WordPress blog backed up. It can be a pretty tedious process to go through every file and folder on your server locating and deleting spam files. I recommend backing up your WordPress posts and completely removing all files and databases from your server. Then do a complete fresh upload of your website and a complete reinstall of WordPress. 

If you have already been removed from Google Search Results then you will want to notify Google immediately of what has happened. The best policy with Google is to be specific in your explanations. You will need to make sure that you have removed all bad files from your server and then contact Google again explaining what actions you have taken to resolve the situation and submit your "request for reconsideration". In most cases where a valid site has been hacked Google will restore their sites rankings within two weeks. However, don’t expect any notifications from Google on their progress of reevaluating your website or WordPress blog. I am writing this article in hopes that it will help anyone from having to go through that processs.


What should you look for if you suspect a WordPress Spam Injection Attack?
The first thing you should look for is a list of spammy keywords showing up in your list of keywords located in your Google Webmasters Tools. If you aren’t using Google Webmaster Tools then you should definitely look into this. When your site starts showing up in weird looking search results, which can also be seen in Google Webmaster Tools under search results for your site, you need to act fast because at this point Google will act fast to remove your site from SERPS in order to protect others who may be at risk from visiting your website.

The key to detection is awareness. Be vigilant in monitoring your website and your website’s stats. Spam injections are a clever, effective form of hacking and show no outward signs of infection. However, If you do a Google Site Search for spammy key words like; {site:yoursite.com viagra} you will be able to see if your site is referencing spam keywords. You will not be able to see spam showing up on your site. In order to physically see spam tags in your site you must go to the "cached" version of your web pages and view them in "text mode". If you’ve been infected you will now be able to see spam keywords, usually appearing as a footer.

What does a Spam Injection Do?
Spam Injection software hides spam keyword links in code that is usually encoded with a PHP function that effectively scrambles html to be decoded once safely embedded on your server, database, etc. You won’t see these files decoded, but the Google Bot and other bots will when crawling your site! Once the Bots access the code the spam injection software has done it’s work, effectively stealing your search index to improve their own pagerank.

These spam injection hacks are very hard to detect software injections inserted into your site, usually on a database level, via templates or plugins. This is part of the reason WordPress is such a target for these attacks. Plugins are what make WordPress so dynamic and cool, but they are an open doorway for spam injection software. For obvious reasons we should all focus our attention on prevention so that you don’t have to deal with detection.

What can I do to prevent a WordPress Spam Injection Attack?
I’ll start with the simplest things you can do to protect your WordPress blog or site from spam attacks first. . .

First:  Update WordPress
Updating WordPress is the easiest thing to do, so why not do it? I usually wait a short period of time after a new release to make sure the bug fixes have been worked out. Please be aware that simply updating WordPress is NOT enough!

Second: Pick a good password
Pick a good password. Don’t use the same password on every site. If you’re really diligent  you can also change your password regularly.

Third: Change the admin user name
The default WordPress user name is "admin". This is just a guess, but I suspect that the majority of people never change this. Don’t give any information away. Hackers are clever, but like burglars they would rather move on to the easy score. You can change your admin by creating a new user and then deleting the admin user. You’ll be given the option to migrate posts to another user.

Fourth: Hide your WordPress Version Number
David Kierznowski of blogsecurity.net lately released a simple plugin to hide your wordpress installation version number.
The no version plugin is a simple plugin that will replace the version number with blanks, so anyone doing a view “page source” from the browser on your site will not be able to see your wordpress version.

Fifth: Protect your plugins
Plugins are the easy gateway way for hackers to access your blog. All WordPress files begin with (wp-) by default so, hackers can quickly discover which plugins you’re using by going to /wp-content/plugins/, if you haven’t renamed your database files. A quick remedy to block  a blank index.html file in the wp-content/plugins/ folder.

More Complex Procedures:

First: Protecting your WP-Config file.
This file contains your database name, database username and database password. Obviously, you don’t want anyone to have access to something this valuable. If you don’t feel comfortable making changes to your config you may want to contact your hosting company for help otherwise you can add the following code to your .htaccess file:

PHP:
   1. # protect wpconfig.php
   2. <files wp-config.php>
   3. order allow,deny
   4. deny from all
   5. </files>

Second: Change your database names
Note: do not attempt this unless you are comfortable with PHPMyAdmin and making changes to MySQL. If you are not comfortable with this you should hire a professional to assist you.

Begin by backing up your database!

Many people have problems with the database table name prefix changing functionality of WP Security Scan. You can manually change your database names following the instructions below.

1. BACKUP your WordPress database to a sql file - you can do this in "phpmyadmin".
2. You should Deactivate your plugins as a precaution before proceeding. You can reactivate them after you have finished.
3. Make a copy of the .sql file you created, then you can open the .sql file and use a text editor to find and replace all “wp_” prefix to “rename_”.
4. Now, drop all tables of your WordPress databases, but DO NOT drop the database.
5. import the (.sql) file that you have just edited into your wordpress databases.
6. Finish by editing your wp-config.php file and change the $table_prefix = ‘wp_’; to $table_prefix = ’something_’;

I hope that this article will help someone avoid the fallout associated with a spam injection hack. I love the functionality of WordPress, but unfortunately, this experience has left me so cautious that my company no longer uses a WordPress Blog along with our corporate website. Maybe someday.

Copyright © 2012 Chris London - All Rights Reserved. Hyperlinked material remains the property of its respective owners.

Author Resource
Chris London is a stressed out graphic designer fueled by way too much coffee, an obsessive compulsion for checking web stats and the burning desire to someday catch up on all of his projects. He is also one of the owners of Pixel Productions Inc., a thriving eCommerce Website Design Company where you can find more articles, tips, and rants at their graphic design blog.

View all Chris London's posts



Tags/(Keyword Density):   WordPress blog/(0.5%),   spam injection attack/(0.4%),   spam injection/(0.9%),   WordPress spam injection/(0.3%),   WordPress plugins/(0.0%),  


Visitors found this page by searching for these keywords:   brochure design,   Speak Marketing,   spam,   Layout Marketing,   spam,   director,   web design and development contract,  

Community Discussion: Free Article Feed  RSS Discussion Feed

Discussion Policies
There are currently 0 comments to display.

Get the discussion going, be the first to express your opinion about How To Detect And Prevent A WordPress Spam Injection Attack

We post your name and a link to your site as a way to thank you for joining the discussion.

Post New Comment

Email (will not be published):

*

Your Name:

*

Website:


Image verification:

*
image verification

Comment
*required

Permanent Link:  
RSS Topic Feed:  http://article-niche.com/xml/xml.php?cat=56 Free Article Feed
  Google Feed


Contact This Author
Communicate directly with Chris London, the author of this article.
Ask questions, send suggestions, comments, engage in conversation, or perhaps you would like to submit a project.

Click Here to ask a question, send a comment, or proposal.



Recent Web Design Posts


New Joomla Development Framework Officially Launched
Web Design Article
Joomla 1.6 is out for the masses, bringing with it a host of new features that make our developers very happy.



These include but are not limited to:

Think Of Your Website As A High Street Shop
Web Design Article You don’t have to be a genius to work out why all the major retailing chains pay extra to lease a store in the High Street. So why  do so many companies think that to make money online all you have to do is build a website and sit back and
» Click Here to Read the Entire Article...
Cameron Backs Nhs South West Online Initiative In Response To Dementia
Web Design Article "Prime Minister David Cameron gave his backing to the NHS Our Health website in the launch of the PM’s Challenge on Dementia."
The web platform ’Our Health’ will support the PM’s challenge on dementia and the
» Click Here to Read the Entire Article...
Tips For Creating An Attractive Web Design
Web Design Article Websites are becoming an important part of your business and to run a successful entity you need to have a good online presence with an attractive website. An attractive website draws the attention of the visitors towards it and plays a dominant role
» Click Here to Read the Entire Article...
Components And Aspects Of E-commerce Web Design
Web Design Article Generally e-Commerce websites are given higher priority than the normal websites as these websites are trusted to make instantaneous leads and augment the sales as well. Shopping cart websites can be successful and serve its purpose only when it look
» Click Here to Read the Entire Article...

Most Active Web Design Posts


How To Detect And Prevent A WordPress Spam Injection Attack
Web Design Article Last month my WordPress blog was the victim of a spam injection attack. I am the art director for a highly rated graphic design and website design company. I have years of experience in website design, WordPress Blog Design and I am security minded i
» Click Here to Read the Entire Article...
How Web Design Quote Works?
Web Design Article Web Design:

The web design is an essential element of every website, the layout of a page, typography, color schemes, usability are some critical aspects that a designer or developer keeps in mind while making a website. A sloppy website may n
» Click Here to Read the Entire Article...
How To Use A Website Design And Development Contract To Keep On Track And On Budget
How To Use A Website Design And Development Contract To Keep On Track And On Budget As Art Director and part owner of a successful and well established graphic design and web design company, I've learned a lot about how to keep a project on track and on budget. If you're running a business there are plenty of opportunities to make m
» Click Here to Read the Entire Article...
Future Scopes Of Search Engine Optimization
Future Scopes Of Search Engine Optimization Search Engine Optimization (SEO) has acquired a great position today. To get higher visibility of a website on Google, DMOZ, Yahoo, AltaVista, Dogpile and other search engines, it is necessary to implement better SEO techniques. Google acquired the b
» Click Here to Read the Entire Article...
Monitoring Search Engine Positions
Web Design Article Since search engines are the first stop for people on the Internet looking for goods or services, the position your website appears in search results is an important factor. If your URL shows up far down the results list, the chances of the consumer
» Click Here to Read the Entire Article...

Chris London's Articles


Stress, Lack Of Sleep And The Misfortune Of One Jehovahs Witness Got My House Blacklisted
Humor Article I usually write about design tips, branding, website marketing and related topics. Today, I’m writing about the misfortune of one Jehovah’s Witness who visited my door. This is a deviation from the norm for me, but is directly related to
» Click Here to Read the Entire Article...
A Look At How Google Panda Has Impacted Seo For Newer Businesses With Smaller Budgets
Marketing Article I’m sure most seo’s have already read several articles about how to recover from the Google Panda or Farmer updates. Many of which seem to be the same generic "10 SEO facts" everyone should know moving forward. For those who rem
» Click Here to Read the Entire Article...
Are You Really Saving Time With Your Content Management System?
Web Design Article Should I manage my own website?

Working for a leading website design company I see several requests every week for quotes on websites with integrated content management systems (CMS for short). There is some really coo
» Click Here to Read the Entire Article...
Is The Bigcommerce Platform Good For Seo And Website Marketing?
ECommerce Article Big Commerce is one of the fastest growing E-commerce platforms in the world for a reason. Actually, there are a number of factors that contribute to the rapid rise of this platform, like the fact that it’s well supported, easy to use and flexi
» Click Here to Read the Entire Article...
Why Choose Big Commerce As Your Ecommerce Platform?
ECommerce Article When you compare E-commerce platforms for price, service and functionality, the real question is; why would’t you choose Big Commerce? Keep in mind, I am not saying that this cart system is superior in every single way to every shopping cart sy
» Click Here to Read the Entire Article...


  >>More Web Design posts

content for webmasters
Alternative Energy categoryAlternative Energy categoryAlternative Energy categoryAlternative Energy categoryAlternative Energy categoryAlternative Energy categoryReal Estate categoryReal Estate category

Contact Us |  Terms of Service |  Privacy |  Article Feeds |  Publishers

follow us at facebook twitter youtube rss feed email

 © 2000-2012 The Article Niche Project | Content Provider. All Rights Reserved.
185 Madison Avenue • New York • New York • 10016