SlideShare a Scribd company logo
stuartjdavidson.com http://stuartjdavidson.com/wordpress-security/ 
WordPress Security: How To Avoid Being Hacked 
Website security is serious business. Knowing how to maximise your WordPress security can be the difference in 
losing your business or ruining your reputation. The rise in compromised websites has (and in my opinion will 
always) increase due to the nature of the Internet’s popularity and the demand from consumerism. 
Since 2009, the number of WordPress security hacks has increased over twofold. In 2012, the number was 
reported to be over 170,000 sites. 
If you work in online marketing, the odds are that 
you would have worked on, or will at some point 
work on a WordPress site. Thousands of malware 
types and infections are active on the Internet but 
fortunately, not all apply to WordPress. What 
makes WordPress security vulnerable? Here’s the 
most common exploits you will come across to 
WordPress security: 
Out-of-date software 
Poor servers 
Poor credential management 
Poor system administration 
Lack of technical knowledge 
Cutting corners 
Being knowledgeable of the reasons why your WordPress security may be compromisable is half the battle. 
Knowing the typical types of attack could also be of great benefit. Here is a breakdown of the most common 
WordPress security issues you should be aware of.
Back-doors 
A back-door allows an attacker to gain access to your website via what you would consider to be abnormal 
methods (i.e. FTP, WordPress admin etc). Back-doors are exceptionally dangerous and if left unchecked, can 
cause havoc on your server. 
Drive-by downloads 
A drive-by download is usually embedded on your website via some type of script injection. The point of a drive-by 
download is often to download something onto your user’s local machine. One of the most common downloads 
informs the user that their website has been infected with some sort of virus and that the user needs to install an 
anti-virus product to fix it. 
Pharma hacks 
A pharma hack is one of the most prevalent exploits. It is actually categorized as SPAM (stupid-pointless-annoying- 
messages) and if you are found to be distributing SPAM, you run the risk of being flagged by Google 
with various alerts to deter visitors, such as “This site may be compromised”. 
Malicious redirects 
Quite simply, a malicious redirect sends a user to a malicious website. If a visitor is redirected to a website other 
than the main one, the website may contain infectious software, advertisements or what might appear to be 
random or foreign sites. 
Brute force attacks 
Brute force attacks occur when someone tries to gain access to your site by attempting an enormous number of 
different username and password combinations, until the right one is found. Password guessing is very fast when 
used to check all short passwords but for longer passwords, other methods can still be used to the same effect. 
Zero-day Attacks 
A zero-day attack exploits a previously unknown vulnerability on your site and occurs prior to awareness of the 
vulnerability. It is sometimes difficult for you to prevent this, as these attacks occur before developers have time to 
realise and address the vulnerability and thus, find a secure solution or update to provide you with. 
Armed with this knowledge, here are my top 10 security tips to ensure your WordPress site is and remains 
secure: 
1. Make contact with your web host 
Its reported that 41% of hacks occur as a result of hosting. You should contact your web host and ask them 
what they have put in place to establish WordPress security on their servers. Your hosts will be able to 
delete any generic accounts, so you should always know who is accessing your website. Avoid any 
unnecessary credentials or access points, including FTP, wp-admin and SSH. Stay clear of cheap hosting 
providers without solid customer service and high WordPress security measures in place. 
2. Undertake regular backups 
Prevention is one thing, but if all else fails then you should have a backup plan. You should never rely only 
on your web host for your site backups. Some hosts do periodic backups, but either way it should be 
standard practice to routinely backup your whole site and database in case your WordPress security is
compromised. 
3. Default site information 
Brute force attacks on WordPress security are mostly attempting to compromise the websites administrator 
panels by exploiting hosts with default credentials (i.e. “admin” as a username). If your site’s username is 
still admin, you need to change this immediately. 
Have very secure passwords, that uses a good mix of capital and non-capital letters, numbers and 
characters and is at last 8+ characters long is advised. Try to avoid common phrases and password 
variations like stuart123. Instead, use 9St1u3a!rt~? (remember to make a note in a secure place, as 
guessing these types of passwords is next to impossible). 
WordPress databases are like the brain for your entire WordPress site – every single piece of information 
is stored in there and thus, makes it every hacker’s favourite target. The smartest way you can protect your 
database and increase the WordPress security is by changing the database prefix from wp_ to anything 
else – perhaps something like wp_st6u3a88r0t. 
4. Directory hardening 
Many web hosts often provide the ability to browse a site’s directories as a default configuration. 
Unfortunately, this also allows a hacker to see the contents of these directories. Updating your .htaccess 
file can disable this (read here for more information). 
Your “uploads” folder stores all the media that gets uploaded to your WordPress site. By default, this folder 
is also visible to anyone online. Updating your .htaccess file will prevent online users from viewing this 
folder too (read here for more information). 
Lastly, updating your file permissions enables your core files to be secured against various other attacks. 
For a full list of recommended file permissions, read this article. 
5. Default WordPress files 
You should rename or delete your install.php, upgrade.php and readme.html files as these are completely 
unnecessary after installation and actually serve as WordPress security vulnerabilities. If you don’t want to 
delete these files for any reason, then you can just rename them. 
You should also remove any mentions of WordPress, so that your not providing hackers with useful 
information that might lead to potential exploits. Remove the “Powered by WordPress” tag, the WordPress 
version meta data from your theme and any links back to WordPress from your website. 
6. Keep everything up-to-date 
Hackers will look for vulnerabilities that they can exploit in older versions of WordPress, including outdated 
versions of WordPress plugins and themes. Ensure that all of your WordPress files, plugins, themes etc 
are always up-to-date to maintain strong levels of WordPress security. 
Consider a situation where a security flaw is found in a older version of WordPress. If you don’t keep 
current with WordPress updates and don’t remove the unnecessary WordPress mentions, it is easy for 
people to know how best to exploit your WordPress security. Its essential to update everything as soon as 
new versions become available. 
7. Security plugins 
Using additional security measures can be effective in preventing your WordPress site from being hacked. 
There are a number of free WordPress security plugins available that address many of the common 
security issues that most WordPress website owners face. Here is a list of the better security plugins I have 
come across:
Better WP Security 
Bullet Proof Security 
WP Login Security 2 
All In One WP Security & Firewall 
Wordfence 
Sucuri WordPress Security Plugin (paid plug-in) 
8. Universal registration 
If your website is currently set up so that anyone can register 
as a user, then this can be a potential method for hackers to access your website. This option should only 
be necessary if you are running a community site where signing up is encouraged. So if don’t run this type 
of website, then you should prevent anyone from having the opportunity to register. Simply go to Settings - 
> General in your WordPress dashboard. 
9. Do your research 
Plug-ins and themes are great. They make life easier and allow those without coding knowledge or the 
time needed to build a site from scratch to have a site ready in a short space of time. But beware. Many 
free themes are potential security risks. And out-of-date plugins can be good places for hackers to find 
holes in your security. Do your research and make sure only to install plugins that are tested with the latest 
version of WordPress and have solid reviews. 
10. Fire-power! 
Deploying a web application firewall (WAF) on your server helps protect your site against vulnerabilities 
found in plug-ins, out-of-date software and zero-day attacks. You should ask your hosting provider if they 
offer web application security as a service. If they don’t, then it may be a good indicator of the overall level 
of security they can offer. 
WordPress Security: Conclusion 
I am of course just scratching the surface here. The knowledge and tips above should allow you to begin 
optimising your WordPress security. The aim of my article was not to frighten you, or point out various 
vulnerabilities in the WordPress platform. The reality is that any website can be hacked. But there are significant 
measures you can take to avoid common hacking practices from threatening your website. 
Has your WordPress site been hacked before? Feel free to share your horror stories. 
Website by TheSocialShark © 2014. All rights reserved. 
Privacy Policy Cookie Policy Terms & Conditions Sitemap 
↑ Back to top

More Related Content

What's hot

Lockdown WordPress
Lockdown WordPressLockdown WordPress
Lockdown WordPress
Dre Armeda
 

What's hot (20)

WordPress Security Essential Tips & Tricks
WordPress Security Essential Tips & TricksWordPress Security Essential Tips & Tricks
WordPress Security Essential Tips & Tricks
 
Locking down word press
Locking down word pressLocking down word press
Locking down word press
 
How to Secure your WordPress Website - WordCamp UK 2014
How to Secure your WordPress Website - WordCamp UK 2014How to Secure your WordPress Website - WordCamp UK 2014
How to Secure your WordPress Website - WordCamp UK 2014
 
Securing Your WordPress Website - WordCamp GC 2011
Securing Your WordPress Website - WordCamp GC 2011Securing Your WordPress Website - WordCamp GC 2011
Securing Your WordPress Website - WordCamp GC 2011
 
WordPress Security Presentation
WordPress Security PresentationWordPress Security Presentation
WordPress Security Presentation
 
WordPress and the Enterprise
WordPress and the EnterpriseWordPress and the Enterprise
WordPress and the Enterprise
 
Is your Wordpress safe enough?
Is your Wordpress safe enough? Is your Wordpress safe enough?
Is your Wordpress safe enough?
 
WordPress Security WordCamp OC 2013
WordPress Security WordCamp OC 2013WordPress Security WordCamp OC 2013
WordPress Security WordCamp OC 2013
 
Introduction to WordPress Security
Introduction to WordPress SecurityIntroduction to WordPress Security
Introduction to WordPress Security
 
Website security
Website securityWebsite security
Website security
 
WordPress Security
WordPress SecurityWordPress Security
WordPress Security
 
Beating Spam On Your WordPress Website - WordCamp Melbourne 2013
Beating Spam On Your WordPress Website - WordCamp Melbourne 2013Beating Spam On Your WordPress Website - WordCamp Melbourne 2013
Beating Spam On Your WordPress Website - WordCamp Melbourne 2013
 
WPSecurity best practices of securing a word press website
WPSecurity best practices of securing a word press websiteWPSecurity best practices of securing a word press website
WPSecurity best practices of securing a word press website
 
Securing your WordPress website - New Port Richey WP Meetup
Securing your WordPress website - New Port Richey WP MeetupSecuring your WordPress website - New Port Richey WP Meetup
Securing your WordPress website - New Port Richey WP Meetup
 
Lockdown WordPress
Lockdown WordPressLockdown WordPress
Lockdown WordPress
 
Building Secure WordPress Sites
Building Secure WordPress Sites Building Secure WordPress Sites
Building Secure WordPress Sites
 
WordPress End-User Security - WordCamp Las Vegas 2011
WordPress End-User Security - WordCamp Las Vegas 2011WordPress End-User Security - WordCamp Las Vegas 2011
WordPress End-User Security - WordCamp Las Vegas 2011
 
Locking Down Your WordPress Site
Locking Down Your WordPress SiteLocking Down Your WordPress Site
Locking Down Your WordPress Site
 
WordPress Security - Kulpreet Singh
WordPress Security - Kulpreet SinghWordPress Security - Kulpreet Singh
WordPress Security - Kulpreet Singh
 
WordPress Security is like a HHAM Sandwich
WordPress Security is like a HHAM SandwichWordPress Security is like a HHAM Sandwich
WordPress Security is like a HHAM Sandwich
 

Similar to WORDPRESS SECURITY: HOW TO AVOID BEING HACKED

WordPress Security Essentials WordCamp Denver 2012
WordPress Security Essentials WordCamp Denver 2012WordPress Security Essentials WordCamp Denver 2012
WordPress Security Essentials WordCamp Denver 2012
Angela Bowman
 

Similar to WORDPRESS SECURITY: HOW TO AVOID BEING HACKED (20)

A Guide To Secure WordPress Website – A Complete Guide.pdf
A Guide To Secure WordPress Website – A Complete Guide.pdfA Guide To Secure WordPress Website – A Complete Guide.pdf
A Guide To Secure WordPress Website – A Complete Guide.pdf
 
WordPress Hardening: Strategies to Secure & Protect Your Website
WordPress Hardening: Strategies to Secure & Protect Your WebsiteWordPress Hardening: Strategies to Secure & Protect Your Website
WordPress Hardening: Strategies to Secure & Protect Your Website
 
WordPress security
WordPress securityWordPress security
WordPress security
 
How to Resolve Recurring WordPress Problems?
How to Resolve Recurring WordPress Problems?How to Resolve Recurring WordPress Problems?
How to Resolve Recurring WordPress Problems?
 
Secure wordpress site
Secure wordpress siteSecure wordpress site
Secure wordpress site
 
How To Improve WooCommerce Security? Complete Security Checklist for 2023
How To Improve WooCommerce Security? Complete Security Checklist for 2023How To Improve WooCommerce Security? Complete Security Checklist for 2023
How To Improve WooCommerce Security? Complete Security Checklist for 2023
 
Types of Security Threats WordPress Websites Face: Part-1
Types of Security Threats WordPress Websites Face: Part-1Types of Security Threats WordPress Websites Face: Part-1
Types of Security Threats WordPress Websites Face: Part-1
 
Securing Your WordPress Website by Vlad Lasky
Securing Your WordPress Website by Vlad LaskySecuring Your WordPress Website by Vlad Lasky
Securing Your WordPress Website by Vlad Lasky
 
Types of Security Threats WordPress Websites Face - Part 2
Types of Security Threats WordPress Websites Face - Part 2Types of Security Threats WordPress Websites Face - Part 2
Types of Security Threats WordPress Websites Face - Part 2
 
WordPress Security Guide
WordPress Security GuideWordPress Security Guide
WordPress Security Guide
 
8 Easy Ways to Secure Your WordPress Website
8 Easy Ways to Secure Your WordPress Website8 Easy Ways to Secure Your WordPress Website
8 Easy Ways to Secure Your WordPress Website
 
Higher Order WordPress Security
Higher Order WordPress SecurityHigher Order WordPress Security
Higher Order WordPress Security
 
Simple word press security tricks to keep your website secure
Simple word press security tricks to keep your website secureSimple word press security tricks to keep your website secure
Simple word press security tricks to keep your website secure
 
WordPress Security Essentials WordCamp Denver 2012
WordPress Security Essentials WordCamp Denver 2012WordPress Security Essentials WordCamp Denver 2012
WordPress Security Essentials WordCamp Denver 2012
 
Secure All The Things!
Secure All The Things!Secure All The Things!
Secure All The Things!
 
Security, more important than ever!
Security, more important than ever!Security, more important than ever!
Security, more important than ever!
 
Introduction to WordPress Security
Introduction to WordPress SecurityIntroduction to WordPress Security
Introduction to WordPress Security
 
WordPress End-User Security
WordPress End-User SecurityWordPress End-User Security
WordPress End-User Security
 
Protect Your Website in Minutes with WP Defense: Malware, Virus & Cyber Attac...
Protect Your Website in Minutes with WP Defense: Malware, Virus & Cyber Attac...Protect Your Website in Minutes with WP Defense: Malware, Virus & Cyber Attac...
Protect Your Website in Minutes with WP Defense: Malware, Virus & Cyber Attac...
 
Learn How to Detect Malware On WordPress Websites.docx
Learn How to Detect Malware On WordPress Websites.docxLearn How to Detect Malware On WordPress Websites.docx
Learn How to Detect Malware On WordPress Websites.docx
 

More from StuartJDavidson.com

More from StuartJDavidson.com (20)

HOW TO BUILD STRONG TARGETED AUDIENCES IN SOCIAL MEDIA
HOW TO BUILD STRONG TARGETED AUDIENCES IN SOCIAL MEDIAHOW TO BUILD STRONG TARGETED AUDIENCES IN SOCIAL MEDIA
HOW TO BUILD STRONG TARGETED AUDIENCES IN SOCIAL MEDIA
 
THE BENEFITS OF SOCIAL MEDIA TO BUSINESSES
THE BENEFITS OF SOCIAL MEDIA TO BUSINESSESTHE BENEFITS OF SOCIAL MEDIA TO BUSINESSES
THE BENEFITS OF SOCIAL MEDIA TO BUSINESSES
 
WHY BUSINESSES GET SOCIAL MEDIA CAMPAIGNS WRONG
WHY BUSINESSES GET SOCIAL MEDIA CAMPAIGNS WRONGWHY BUSINESSES GET SOCIAL MEDIA CAMPAIGNS WRONG
WHY BUSINESSES GET SOCIAL MEDIA CAMPAIGNS WRONG
 
IS SOCIAL PRIVACY POSSIBLE?
IS SOCIAL PRIVACY POSSIBLE?IS SOCIAL PRIVACY POSSIBLE?
IS SOCIAL PRIVACY POSSIBLE?
 
5 WAYS YOU CAN ATTRACT MORE FACEBOOK LIKES TODAY
5 WAYS YOU CAN ATTRACT MORE FACEBOOK LIKES TODAY5 WAYS YOU CAN ATTRACT MORE FACEBOOK LIKES TODAY
5 WAYS YOU CAN ATTRACT MORE FACEBOOK LIKES TODAY
 
SOCIAL MEDIA IN PRIMARY SCHOOLS
SOCIAL MEDIA IN PRIMARY SCHOOLSSOCIAL MEDIA IN PRIMARY SCHOOLS
SOCIAL MEDIA IN PRIMARY SCHOOLS
 
TOP 30 MOST POWERFUL TWITTER TIPS FOR STARTUPS
TOP 30 MOST POWERFUL TWITTER TIPS FOR STARTUPSTOP 30 MOST POWERFUL TWITTER TIPS FOR STARTUPS
TOP 30 MOST POWERFUL TWITTER TIPS FOR STARTUPS
 
HIRING A SOCIAL MEDIA MANAGER: 21 QUESTIONS TO ASK
HIRING A SOCIAL MEDIA MANAGER: 21 QUESTIONS TO ASKHIRING A SOCIAL MEDIA MANAGER: 21 QUESTIONS TO ASK
HIRING A SOCIAL MEDIA MANAGER: 21 QUESTIONS TO ASK
 
SETTING UP YOUR GOOGLE ANALYTICS DASHBOARD
SETTING UP YOUR GOOGLE ANALYTICS DASHBOARDSETTING UP YOUR GOOGLE ANALYTICS DASHBOARD
SETTING UP YOUR GOOGLE ANALYTICS DASHBOARD
 
100 LINKEDIN TIPS TO REACH YOUR MAXIMUM MARKETING POTENTIAL
100 LINKEDIN TIPS TO REACH YOUR MAXIMUM MARKETING POTENTIAL100 LINKEDIN TIPS TO REACH YOUR MAXIMUM MARKETING POTENTIAL
100 LINKEDIN TIPS TO REACH YOUR MAXIMUM MARKETING POTENTIAL
 
HOW TO PROMOTE NEW BLOG POSTS FOR MASS EXPOSURE
HOW TO PROMOTE NEW BLOG POSTS FOR MASS EXPOSUREHOW TO PROMOTE NEW BLOG POSTS FOR MASS EXPOSURE
HOW TO PROMOTE NEW BLOG POSTS FOR MASS EXPOSURE
 
SOCIAL MEDIA CAMPAIGN LAUNCH: CHECKLIST
SOCIAL MEDIA CAMPAIGN LAUNCH: CHECKLISTSOCIAL MEDIA CAMPAIGN LAUNCH: CHECKLIST
SOCIAL MEDIA CAMPAIGN LAUNCH: CHECKLIST
 
8 REASONS WHY BLOGGERS AVOID LINKEDIN
8 REASONS WHY BLOGGERS AVOID LINKEDIN8 REASONS WHY BLOGGERS AVOID LINKEDIN
8 REASONS WHY BLOGGERS AVOID LINKEDIN
 
IS IT ALL ABOUT VISUAL SOCIAL MEDIA NOW? [INFOGRAPHIC]
IS IT ALL ABOUT VISUAL SOCIAL MEDIA NOW? [INFOGRAPHIC]IS IT ALL ABOUT VISUAL SOCIAL MEDIA NOW? [INFOGRAPHIC]
IS IT ALL ABOUT VISUAL SOCIAL MEDIA NOW? [INFOGRAPHIC]
 
A BUSINESS IS ONLY AS GOOD AS ITS SOCIAL MEDIA MANAGER
A BUSINESS IS ONLY AS GOOD AS ITS SOCIAL MEDIA MANAGERA BUSINESS IS ONLY AS GOOD AS ITS SOCIAL MEDIA MANAGER
A BUSINESS IS ONLY AS GOOD AS ITS SOCIAL MEDIA MANAGER
 
SOCIAL MEDIA STRATEGY SERIES: SETTING UP
SOCIAL MEDIA STRATEGY SERIES: SETTING UPSOCIAL MEDIA STRATEGY SERIES: SETTING UP
SOCIAL MEDIA STRATEGY SERIES: SETTING UP
 
SOCIAL MEDIA MARKETING CAMPAIGNS: VISUAL PLANNING
SOCIAL MEDIA MARKETING CAMPAIGNS: VISUAL PLANNINGSOCIAL MEDIA MARKETING CAMPAIGNS: VISUAL PLANNING
SOCIAL MEDIA MARKETING CAMPAIGNS: VISUAL PLANNING
 
LINKEDIN MANAGERS CHOICE: HOW TO MANAGE THIS NIGHTMARE
LINKEDIN MANAGERS CHOICE: HOW TO MANAGE THIS NIGHTMARELINKEDIN MANAGERS CHOICE: HOW TO MANAGE THIS NIGHTMARE
LINKEDIN MANAGERS CHOICE: HOW TO MANAGE THIS NIGHTMARE
 
DOES YOUR BUSINESS CONTENT SUCK? LET’S FIND OUT!
DOES YOUR BUSINESS CONTENT SUCK? LET’S FIND OUT!DOES YOUR BUSINESS CONTENT SUCK? LET’S FIND OUT!
DOES YOUR BUSINESS CONTENT SUCK? LET’S FIND OUT!
 
HOW TO GET YOUR BUSINESS SET UP ON FACEBOOK
HOW TO GET YOUR BUSINESS SET UP ON FACEBOOKHOW TO GET YOUR BUSINESS SET UP ON FACEBOOK
HOW TO GET YOUR BUSINESS SET UP ON FACEBOOK
 

Recently uploaded

Article about KI Content Creator Pro.pdf
Article about KI Content Creator Pro.pdfArticle about KI Content Creator Pro.pdf
Article about KI Content Creator Pro.pdf
FatimaMary4
 

Recently uploaded (6)

Article about KI Content Creator Pro.pdf
Article about KI Content Creator Pro.pdfArticle about KI Content Creator Pro.pdf
Article about KI Content Creator Pro.pdf
 
Office Furniture | Furniture Store in Sarasota, Florida | Sarasota Collection
Office Furniture | Furniture Store in Sarasota, Florida | Sarasota CollectionOffice Furniture | Furniture Store in Sarasota, Florida | Sarasota Collection
Office Furniture | Furniture Store in Sarasota, Florida | Sarasota Collection
 
Codes and Conventions for music videos .
Codes and Conventions for music videos .Codes and Conventions for music videos .
Codes and Conventions for music videos .
 
Web Technology LAB MANUAL for Undergraduate Programs
Web Technology  LAB MANUAL for Undergraduate ProgramsWeb Technology  LAB MANUAL for Undergraduate Programs
Web Technology LAB MANUAL for Undergraduate Programs
 
Dining Tables and Chairs | Furniture Store in Sarasota, Florida
Dining Tables and Chairs | Furniture Store in Sarasota, FloridaDining Tables and Chairs | Furniture Store in Sarasota, Florida
Dining Tables and Chairs | Furniture Store in Sarasota, Florida
 
Strategic Analysis of Starbucks Coffee Company - MBA.docx
Strategic Analysis of Starbucks Coffee Company - MBA.docxStrategic Analysis of Starbucks Coffee Company - MBA.docx
Strategic Analysis of Starbucks Coffee Company - MBA.docx
 

WORDPRESS SECURITY: HOW TO AVOID BEING HACKED

  • 1. stuartjdavidson.com http://stuartjdavidson.com/wordpress-security/ WordPress Security: How To Avoid Being Hacked Website security is serious business. Knowing how to maximise your WordPress security can be the difference in losing your business or ruining your reputation. The rise in compromised websites has (and in my opinion will always) increase due to the nature of the Internet’s popularity and the demand from consumerism. Since 2009, the number of WordPress security hacks has increased over twofold. In 2012, the number was reported to be over 170,000 sites. If you work in online marketing, the odds are that you would have worked on, or will at some point work on a WordPress site. Thousands of malware types and infections are active on the Internet but fortunately, not all apply to WordPress. What makes WordPress security vulnerable? Here’s the most common exploits you will come across to WordPress security: Out-of-date software Poor servers Poor credential management Poor system administration Lack of technical knowledge Cutting corners Being knowledgeable of the reasons why your WordPress security may be compromisable is half the battle. Knowing the typical types of attack could also be of great benefit. Here is a breakdown of the most common WordPress security issues you should be aware of.
  • 2. Back-doors A back-door allows an attacker to gain access to your website via what you would consider to be abnormal methods (i.e. FTP, WordPress admin etc). Back-doors are exceptionally dangerous and if left unchecked, can cause havoc on your server. Drive-by downloads A drive-by download is usually embedded on your website via some type of script injection. The point of a drive-by download is often to download something onto your user’s local machine. One of the most common downloads informs the user that their website has been infected with some sort of virus and that the user needs to install an anti-virus product to fix it. Pharma hacks A pharma hack is one of the most prevalent exploits. It is actually categorized as SPAM (stupid-pointless-annoying- messages) and if you are found to be distributing SPAM, you run the risk of being flagged by Google with various alerts to deter visitors, such as “This site may be compromised”. Malicious redirects Quite simply, a malicious redirect sends a user to a malicious website. If a visitor is redirected to a website other than the main one, the website may contain infectious software, advertisements or what might appear to be random or foreign sites. Brute force attacks Brute force attacks occur when someone tries to gain access to your site by attempting an enormous number of different username and password combinations, until the right one is found. Password guessing is very fast when used to check all short passwords but for longer passwords, other methods can still be used to the same effect. Zero-day Attacks A zero-day attack exploits a previously unknown vulnerability on your site and occurs prior to awareness of the vulnerability. It is sometimes difficult for you to prevent this, as these attacks occur before developers have time to realise and address the vulnerability and thus, find a secure solution or update to provide you with. Armed with this knowledge, here are my top 10 security tips to ensure your WordPress site is and remains secure: 1. Make contact with your web host Its reported that 41% of hacks occur as a result of hosting. You should contact your web host and ask them what they have put in place to establish WordPress security on their servers. Your hosts will be able to delete any generic accounts, so you should always know who is accessing your website. Avoid any unnecessary credentials or access points, including FTP, wp-admin and SSH. Stay clear of cheap hosting providers without solid customer service and high WordPress security measures in place. 2. Undertake regular backups Prevention is one thing, but if all else fails then you should have a backup plan. You should never rely only on your web host for your site backups. Some hosts do periodic backups, but either way it should be standard practice to routinely backup your whole site and database in case your WordPress security is
  • 3. compromised. 3. Default site information Brute force attacks on WordPress security are mostly attempting to compromise the websites administrator panels by exploiting hosts with default credentials (i.e. “admin” as a username). If your site’s username is still admin, you need to change this immediately. Have very secure passwords, that uses a good mix of capital and non-capital letters, numbers and characters and is at last 8+ characters long is advised. Try to avoid common phrases and password variations like stuart123. Instead, use 9St1u3a!rt~? (remember to make a note in a secure place, as guessing these types of passwords is next to impossible). WordPress databases are like the brain for your entire WordPress site – every single piece of information is stored in there and thus, makes it every hacker’s favourite target. The smartest way you can protect your database and increase the WordPress security is by changing the database prefix from wp_ to anything else – perhaps something like wp_st6u3a88r0t. 4. Directory hardening Many web hosts often provide the ability to browse a site’s directories as a default configuration. Unfortunately, this also allows a hacker to see the contents of these directories. Updating your .htaccess file can disable this (read here for more information). Your “uploads” folder stores all the media that gets uploaded to your WordPress site. By default, this folder is also visible to anyone online. Updating your .htaccess file will prevent online users from viewing this folder too (read here for more information). Lastly, updating your file permissions enables your core files to be secured against various other attacks. For a full list of recommended file permissions, read this article. 5. Default WordPress files You should rename or delete your install.php, upgrade.php and readme.html files as these are completely unnecessary after installation and actually serve as WordPress security vulnerabilities. If you don’t want to delete these files for any reason, then you can just rename them. You should also remove any mentions of WordPress, so that your not providing hackers with useful information that might lead to potential exploits. Remove the “Powered by WordPress” tag, the WordPress version meta data from your theme and any links back to WordPress from your website. 6. Keep everything up-to-date Hackers will look for vulnerabilities that they can exploit in older versions of WordPress, including outdated versions of WordPress plugins and themes. Ensure that all of your WordPress files, plugins, themes etc are always up-to-date to maintain strong levels of WordPress security. Consider a situation where a security flaw is found in a older version of WordPress. If you don’t keep current with WordPress updates and don’t remove the unnecessary WordPress mentions, it is easy for people to know how best to exploit your WordPress security. Its essential to update everything as soon as new versions become available. 7. Security plugins Using additional security measures can be effective in preventing your WordPress site from being hacked. There are a number of free WordPress security plugins available that address many of the common security issues that most WordPress website owners face. Here is a list of the better security plugins I have come across:
  • 4. Better WP Security Bullet Proof Security WP Login Security 2 All In One WP Security & Firewall Wordfence Sucuri WordPress Security Plugin (paid plug-in) 8. Universal registration If your website is currently set up so that anyone can register as a user, then this can be a potential method for hackers to access your website. This option should only be necessary if you are running a community site where signing up is encouraged. So if don’t run this type of website, then you should prevent anyone from having the opportunity to register. Simply go to Settings - > General in your WordPress dashboard. 9. Do your research Plug-ins and themes are great. They make life easier and allow those without coding knowledge or the time needed to build a site from scratch to have a site ready in a short space of time. But beware. Many free themes are potential security risks. And out-of-date plugins can be good places for hackers to find holes in your security. Do your research and make sure only to install plugins that are tested with the latest version of WordPress and have solid reviews. 10. Fire-power! Deploying a web application firewall (WAF) on your server helps protect your site against vulnerabilities found in plug-ins, out-of-date software and zero-day attacks. You should ask your hosting provider if they offer web application security as a service. If they don’t, then it may be a good indicator of the overall level of security they can offer. WordPress Security: Conclusion I am of course just scratching the surface here. The knowledge and tips above should allow you to begin optimising your WordPress security. The aim of my article was not to frighten you, or point out various vulnerabilities in the WordPress platform. The reality is that any website can be hacked. But there are significant measures you can take to avoid common hacking practices from threatening your website. Has your WordPress site been hacked before? Feel free to share your horror stories. Website by TheSocialShark © 2014. All rights reserved. Privacy Policy Cookie Policy Terms & Conditions Sitemap ↑ Back to top