{"id":150,"date":"2016-04-15T09:48:43","date_gmt":"2016-04-15T09:48:43","guid":{"rendered":"http:\/\/www.lgdhosting.co.uk\/support\/?p=150"},"modified":"2023-01-11T15:04:09","modified_gmt":"2023-01-11T15:04:09","slug":"wordfence","status":"publish","type":"post","link":"https:\/\/www.lgdhosting.co.uk\/support\/plugins\/wordfence\/","title":{"rendered":"Wordfence"},"content":{"rendered":"<p>The Wordfence plugin provides significant additional security to a WordPress website.<\/p>\n<p>It is highly configurable (at <strong>Wordfence &gt; Options<\/strong>) so it is important that it is set up to your needs &#8211; in most cases leaving it at the default settings is adequate, but you have to add your email address to receive notifications.<\/p>\n<p>What Wordfence can do:<\/p>\n<ul>\n<li>scan your site for a wide range of potential security issues<\/li>\n<li>check for out of date versions of WordPress and plugins<\/li>\n<\/ul>\n<p>On the free version, theses scans take place once every few days, and can also be run manually.<\/p>\n<p>If you have set an email address, the results of the automated scan will be emailed to you if there are any warnings or notifications, and we recommend that you use this.<\/p>\n<p>Other &#8216;Alerts&#8217;, if enabled, will happen as they occur, eg, notifications whenever any admin logs in or a password renewal is requested. Depending on your site usage, enabling these alerts could add valuable protection or swamp you with unnecessary emails.<\/p>\n<p>Often, warnings from Wordfence do not require any action and can sound more alarming than they are, or be false positives.<\/p>\n<h2>What to scan for<\/h2>\n<p>In most cases, it is advisable to scan for almost all the available options.<\/p>\n<p>The options you might want to disable are:<\/p>\n<ul>\n<li>Scan for out of date plugins, themes and WordPress version (see below)<\/li>\n<li>Scan files outside your WordPress installation &#8211; disabled by default, depending on how your site is set up this could add significantly to your scans, possibly even causing noticable slowdown of your website or scans failing to complete<\/li>\n<li>Scan images and binary files as if they were executable &#8211; this checks for malware hidden within files, but adds significantly to scan time \/ server load<\/li>\n<li>Enable HIGH SENSITIVITY scanning. May give false positives &#8211; again this adds significantly to scan time \/ server load and will likely generate false positives. In general, this should only be enabled if you are concerned your site may have been hacked.<\/li>\n<\/ul>\n<h3>Malware<\/h3>\n<p>As well as reporting malware on your site &#8211; which should be dealt with urgently &#8211; Wordfence reports if your site contains links to other sites which have malware.<\/p>\n<p>In some cases, you may want to remove your links to the affected site (as you could be directing your visitors to a site which may infect their computer, and could also see your site&#8217;s reputation damaged or even added to malware blacklists). Depending on the affected site, you may want to notify them as they might not be aware their site is carrying malware (in my experience this has most often been the result of sites running syndicated adverts which have contained malware). What you shouldn&#8217;t do is go to the affected site. Wordfence will give you a link to Google&#8217;s malware reports which will give details of the affected site&#8217;s blacklisting.<\/p>\n<h3>Modified files<\/h3>\n<p>This sounds alarming and needs checked out, but in most cases is not a problem.<\/p>\n<p>What Wordfence does is check your files against those held by WordPress (from where your site updates are delivered).<\/p>\n<p>Sometimes files have not been modified and Wordfence has got its wires crossed.<\/p>\n<p>Some modfications are legitimate &#8211; eg, if your site is localised to GB rather than US English.<\/p>\n<p>Sometimes plugin authors make minor modifications without registering these as a version change, so your files are flagged as modified.<\/p>\n<p>Wordfence allows you to compare the changes side by side, to check if there are malicious changes, or to &#8216;revert&#8217; to the &#8216;original&#8217; version held by WordPress.<\/p>\n<p>In our experience, the most frequent modified files are readme.txt files, these are files which carry details about plugins, without providing any functionality, and are the ones most often edited by authors without any version change.<\/p>\n<h3>Vulnerabilities<\/h3>\n<p>Sometimes these require action but relate to a variety of files, like logs, which may contain data which could be useful to a hacker.<\/p>\n<p>Your site may have security in place to protect these files, the files may not (or ever) contain data that could be exploited or it may be that action should be taken. These need assessed case by case, and are often fairly technical assessments.<\/p>\n<h3>Out of date WordPress and plugins<\/h3>\n<p>WordPress rolls out security and minor updates automatically over a period of time (usually 24 hours I think).<\/p>\n<p>If your scan happens after an update is released but before your site has been auto updated, this will trigger a notification.<\/p>\n<p>If you regularly (at least monthly) update WordPress and plugins, you might want to switch off the option to scan for out of date WordPress and plugins, but we would caution against this.<\/p>\n<p>If enabled, Wordfence will send an email notification if it detects any updates are available. This may include details about the update containing security fixes (rated high or critical).<\/p>\n<p>Wordfence will also warn about plugins with known security vulnerabilities but with no available update. These can be difficult to deal with:<\/p>\n<ul>\n<li>look at the vulnerability information, if provided, and assess if it is something that requires urgent action (often security vulnerabilities can only be exploited by logged in users of a certain level, so may not present any real risk on your site);<\/li>\n<li>visting the WordPress support pages for the plugin may provide information on whether the plugin authors are working on a fix;<\/li>\n<li>if the risk is real and serious, you may need to didsable \/ delete the plugin and find an alternative plugin to replace the functions the old plugin provided (if possible).<\/li>\n<\/ul>\n<h2>Login Security<\/h2>\n<p>Your site can be subjected to brute force login attempts, with thousands of login attempts in a matter of minutes. Wordfence can protect your site from hacked \/ forced logins in various ways.<\/p>\n<ul>\n<li>ensure admins \/ editors only use strong passwords<\/li>\n<li>limit the number of login attempts from a single IP address (computer)<\/li>\n<li>limit the number of password renewal requests for a user<\/li>\n<li>block access which might help hackers, eg, by gathering the names of &#8216;authors&#8217; which can reveal usernames of editors and admins<\/li>\n<\/ul>\n<h3>Strong passwords<\/h3>\n<p>It is essential that you only use strong passwords for editors and admins, so enabling this feature is highly recommended<\/p>\n<h3>Limit login attempts<\/h3>\n<p>By default, Wordfence will only block an IP after 20 failed logins in a 5 minute period, and only lock out the IP for 5 minutes. we&#8217;d recommend reducing this to 5 failed logins and at least a 30 minute lock out.<\/p>\n<p>While this does provide some protection, most brute force attacks are &#8216;distributed&#8217; coming from a network of computers with different IP addresses, and IP addresses can also be spoofed.<\/p>\n<p>So while the protection has limitations, better to use it than not.<\/p>\n<h3>Limit password renewal requests<\/h3>\n<p>Similar to limiting login attempts.<\/p>\n<p>We&#8217;d recommend you enable this, it provides some protection without affecting genuine visitors to your site.<\/p>\n<h2>Email Summary<\/h2>\n<p>By default, if you have given an email address, Wordfence emails you a summary every 2 weeks. If you have other alerts enabled, this summary is fairly redundant. And you certainly shouldn&#8217;t disable other alerts and just rely on a 2-weekly summary.<\/p>\n<h2>Firewall<\/h2>\n<p>Since April 2016, Wordfence has included a Web Application Firewall (WAF). This requires some user input to fully set up. This needs little more than accepting the suggested settings and clicking buttons to back up some critical files which may need to be reinstated if Wordfence Firewall changes don&#8217;t play well with your server setup.<\/p>\n<p>By default, the Firewall goes through a 7 day learning period, where it whitelists requests that it would otherwise be blocking. However, this whitelisting can include malicious server requests as well as genuine ones. You should, therefore, look to delete malicious whitelisted requests. These can often be identified as being from a single IP address, other than your server or your own IP. They are often scanning for vulnerable download \/ upload scripts within themes &#8211; so you may see url requests for theme files in themes other than your current theme, and likely not even installed on your site.<\/p>\n<h2>In conclusion<\/h2>\n<p>Apart from the possible changes mentioned above for Alerts, Email Summary, Scans to include and Login security Options, you should probably leave settings at their defaults.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Wordfence plugin provides significant additional security to a WordPress website. It is highly configurable (at Wordfence &gt; Options) so it is important that it is set up to your needs &#8211; in most cases leaving it at the default settings is adequate, but you have to add your email address to receive notifications. What &hellip; <a class=\"read-more\" href=\"https:\/\/www.lgdhosting.co.uk\/support\/plugins\/wordfence\/\">[continue reading]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[8],"tags":[],"class_list":["post-150","post","type-post","status-publish","format-standard","category-plugins","entry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.lgdhosting.co.uk\/support\/wp-json\/wp\/v2\/posts\/150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lgdhosting.co.uk\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lgdhosting.co.uk\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lgdhosting.co.uk\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lgdhosting.co.uk\/support\/wp-json\/wp\/v2\/comments?post=150"}],"version-history":[{"count":9,"href":"https:\/\/www.lgdhosting.co.uk\/support\/wp-json\/wp\/v2\/posts\/150\/revisions"}],"predecessor-version":[{"id":619,"href":"https:\/\/www.lgdhosting.co.uk\/support\/wp-json\/wp\/v2\/posts\/150\/revisions\/619"}],"wp:attachment":[{"href":"https:\/\/www.lgdhosting.co.uk\/support\/wp-json\/wp\/v2\/media?parent=150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lgdhosting.co.uk\/support\/wp-json\/wp\/v2\/categories?post=150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lgdhosting.co.uk\/support\/wp-json\/wp\/v2\/tags?post=150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}