With the recent WannaCry ransomware cyber attacks, security is yet again at the top of the agenda. There seems to be an upward going trend here, so time to protect your web applications! In February 2017, Wordfence reported that the top 25 attacking IPs were responsible for more than 80 million different attacks on WordPress websites.
This massive figure reflects how WordPress is a key target for hackers. Let’s look at what can you do to protect your WordPress site.
First of all, WordPress is open source. This is what makes it so popular, however, its source code is visible for everyone. Think about it, if a hacker manages to break into a WordPress website by spotting a security hole in the theme code, it is likely that he will be easily able to strike again against other websites using the same theme as they have the same weakness. If the theme is popular, a smart hacker may take control of a huge number of websites.
Here we listed some common risks related to hacking:
- Having your hosting account suspended (especially if you benefit from a shared hosting solution, your host will want to prevent infection spreading to other websites on the same server)
- Seeing your website crash
- Losing control of your website
- Getting your data stolen (no joke, even the big ones are vulnerable!)
- Having your data deleted or edited
Locking the access to your data is the main problem for WordPress websites
The aftereffects can be terrible for your reputation. The relationship of trust that you have been building with your customers or readers can be wiped off within a matter of hours:
What are they going to think if they start receive uncontrolled spam messages on your behalf? Realize that your website has not been accessible for more than a week? Notice that you are now displaying popups to porn sites?!
Sure. We might be presenting you some of the most disastrous consequences. That said, never say never. Let us take a look at the main protection issues.
What common attacks you may face?
Brute-force attacks are among the most common attacks. As a matter of fact, Wordfence counted more than 63 millions of them coming from the top 25 attacking IPs during past February. They are basically login guessing attacks. Hackers have automated bots that will be constantly trying to guess your admin password by entering various username and password combinations on your WordPress login interface.
At some point, they may crack the right one and take control of your website. Do note that even if brute-force attacks turn out to be unsuccessful, your website can still undergo a slowdown as your server faces too many login requests.
Brute-force attacks are generally undertaken by botnets, powerful networks of computers, controlled by an attacker!
PHP code cracking
Those are more complex attacks but still very common ones. Wordfence reckons that more than 18 million of them were coming from the top 25 attacking IPs in February. They imply hackers spotting weaknesses in the PHP code of your website, including themes and plugins.
They are indeed likely to contain security holes in their conception. A report by wpscan.org estimates that 52% of the code vulnerabilities come from WordPress plugins against 37% from core WordPress code and 11% from WordPress themes.
To have your code broken may lead to file inclusion. Hackers will try to load specific code lines that will eventually give them control on your website.
Malware is the short name for malicious software. It consists of a piece of code injected into your website’s files enabling hackers to gain access to sensitive information such as your login credentials. Username and password are sometimes contained in temporary files that are created after editing the wp-config.php file (one of your core website files). And these are what malware would generally be looking for.
How can I protect my website?
You get it, WordPress is an easy victim. Protecting your website is not an option, it’s a must. WordPress websites are not necessarily insecure. Prevention is better than cure they say and as long as you conscientiously follow security best practices, you should be fine!
Stay aware & updated
WordPress, as well as theme and plugin editors, are constantly looking for security holes in their core code and learning from previous attacks. As a consequence, they regularly release patches in order to fill in the security gaps that they have detected. Therefore, it is crucial that you follow the update release pace. As soon as they are available, updates will appear in the dashboard. Outdated versions of WordPress, themes and plugins leave the door wide open for hackers.
Moreover, there is no point of keeping unused and unmaintained web applications on your website. They are acting as entry points for attacks. Finally, be aware of sensitive temporary files that could be created following a reconfiguration and delete them.
Protect your website’s access
With frequent brute-force attacks trying to guess usernames and passwords, your login credentials undergo a huge pressure. There are very simple actions you can take to maximize confidentiality. On the one hand, use a STRONG password.
We strongly suggest, using a mix of capital and lowercase letters as well as numbers and symbols. Additionally, it always recommended using a password containing more than eight characters. You may want to think about changing at least it twice a year. Also it helps to keep your password specific to your WordPress account and not use the same one you use elsewhere.
Protecting your credentials is crucial in order to prevent brute-force attacks
Make sure your website benefits from the best security plugins
You also require anti-intrusion programs. Plugins, such as iThemes Security, WordFence or Sucuri, are among the most popular and recognized security plugins. Malware detection and eliminations, brute-force attack blocking, PHP attack protection, etc. They are undoubtedly must-have prevention tools in order to keep control of your website as well as your data safe.
Pick secure hosting solutions
There are two things you should bear in mind when choosing a hosting solution. At first, check the reputation of the hosting provider: how many websites does it power compared to others? Is users’ feedback positive or negative? Secondly, if you decide to go for a shared hosting solution, make sure that websites are isolated from each other in order to avoid attacks spreading on the whole server.
Always download from trustworthy sources
With so many attractive downloadable themes and plugins, installing any of them can be very tempting. However, as stated previously, they are the main sources of security breaches if their code is poorly-written or outdated. As a result, make sure you only install them from trustworthy sources (WordPress Plugin Directory for instance) or from websites belonging to editors that have been in the industry for a while.
Save your data
Sometimes, despite all the prevention measures that you have been taking, data loss cannot be avoided. One way of recovering it is to regularly proceed to backups that you can easily upload to your website. Many plugins such as BackupBuddy or UpdraftPlus can take care of it.
Bear in mind that even though security is one of the biggest challenges that WordPress has to face right now, your website will remain insecure only if you do not take appropriate actions. Your website’s safety depends on you. Taking into account the pieces of advice mentioned above will give you a 99.99% protection against any ill-intentioned entity!
Here at Wiredelta®, we are very much aware of WordPress security issues and we take them quite at heart. In particular, we have developed a hosting solution providing you with optimal safety as it is managed by an AI. The latter is scanning your website 24/7 in order to spot malware, checking for security updates and blocking brute-force attacks. Not to mention that our coming-soon platform’s plugin directory will be giving you access to the best security plugins.