{"id":9048,"date":"2020-01-20T12:00:45","date_gmt":"2020-01-20T12:00:45","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=9048"},"modified":"2020-01-23T05:43:41","modified_gmt":"2020-01-23T05:43:41","slug":"how-to-stop-brute-force-attacks-on-wordpress","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/how-to-stop-brute-force-attacks-on-wordpress\/","title":{"rendered":"How to Stop Brute Force Attacks on WordPress?"},"content":{"rendered":"\n<p>if you want to protect your WordPress site from Brute force attack. Then you should follow the below step. before going to step that can protect our website we are going to discuss what is Brute Force Attack?<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Definition of Brute Force Attack<\/h4>\n\n\n\n<p>It is a process of hacking that uses trial and error system to compromise a network, a website, or a computer system. To perform these actions, Hackers uses automated software that sends huge number of requests against a specific system.<\/p>\n\n\n\n<p> Hackers can get your admin access by this process and after that they can install backdoor, malware, steal user information, and delete everything on your site. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step 1: WordPress Firewall Plugins<\/h4>\n\n\n\n<p>you can install a firewall plugin to stop unauthorized login to your WordPress site. With the help of these plugins, you can block their requests to your site. there are some firewall and security plugins links are:<\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/wordpress.org\/plugins\/bulletproof-security\/\" target=\"_blank\">BulletProof Security<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"501\" height=\"272\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/01\/bulletproof-security.jpg\" alt=\"\" class=\"wp-image-9056\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/01\/bulletproof-security.jpg 501w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/01\/bulletproof-security-300x163.jpg 300w\" sizes=\"auto, (max-width: 501px) 100vw, 501px\" \/><\/figure>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/wordpress.org\/plugins\/wordfence\/\" target=\"_blank\">Wordfence Security \u2013 Firewall &amp; Malware Scan<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"521\" height=\"313\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/01\/wordfence-security.jpg\" alt=\"\" class=\"wp-image-9057\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/01\/wordfence-security.jpg 521w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/01\/wordfence-security-300x180.jpg 300w\" sizes=\"auto, (max-width: 521px) 100vw, 521px\" \/><\/figure>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/wordpress.org\/plugins\/jetpack\/\" target=\"_blank\">Jetpack by WordPress.com<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"501\" height=\"275\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/01\/jetpack.jpg\" alt=\"\" class=\"wp-image-9058\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/01\/jetpack.jpg 501w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/01\/jetpack-300x165.jpg 300w\" sizes=\"auto, (max-width: 501px) 100vw, 501px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Step 2: Move WordPress Login Page<\/h4>\n\n\n\n<p>In this process you should hide your default login area that is:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\/wp-login.php<\/strong><\/li><li><strong>\/wp-admin.php<\/strong><\/li><li><strong>\/login<\/strong><\/li><li><strong>\/admin<\/strong><\/li><\/ul>\n\n\n\n<p>for the above process, you can check out many plugins for moving default location to any location but I am suggesting you the move login plugin.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"501\" height=\"272\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/01\/move-login-plugin.jpg\" alt=\"\" class=\"wp-image-9062\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/01\/move-login-plugin.jpg 501w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/01\/move-login-plugin-300x163.jpg 300w\" sizes=\"auto, (max-width: 501px) 100vw, 501px\" \/><figcaption><em><strong>Move Login by Gregory Viguier<\/strong><\/em><\/figcaption><\/figure>\n\n\n\n<p>after installtion you should go to setting &#8211;&gt; move login and change default login to another url (eg. developer-login).<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step 3: Install WordPress Updates<\/h4>\n\n\n\n<p>you should check your WordPress updates from time to time because of many times Hacker attacks on known vulnerabilities in older versions of WordPress. for this, you should log in to your <strong>Admin Dashboard<\/strong> and click on <strong>Updates<\/strong> tab.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step 4: Limit WordPress WP-Admin Access To Specific IPs<\/h4>\n\n\n\n<p>In this process you should follow below step: <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Login to your <strong>Cpanel<\/strong><\/li><li>Click on <strong>file manager<\/strong><\/li><li>go to document root for your site (eg. \/home\/sample\/)<\/li><li>click on <strong>wp-admin<\/strong> folder for change <strong>.htaccess<\/strong> file(if a file is not there then create one file name .htaccess)<\/li><li>copy and below code to <strong>.htaccess<\/strong> file<\/li><\/ul>\n\n\n\n<script src=\"https:\/\/gist.github.com\/cmschandan\/b2362ae53648eed7122c9896094c22a1.js\"><\/script>\n\n\n\n<ul class=\"wp-block-list\"><li>change <strong>Allow from<\/strong> IP addresses which one is you are using and if you know your constant IP then enter it. (<strong>Note<\/strong>: if you want to know your IP address just search &#8220;what is my IP address&#8221; in google)<\/li><\/ul>\n\n\n\n<p>we hope this article helped you to protect your WordPress site from Brute Force Attack. if you like this article then follow our blog and comment on us.<br> for more reference check out this URL:  <a rel=\"noreferrer noopener\" href=\"https:\/\/www.youtube.com\/watch?v=QAeGZMkdWHI\" target=\"_blank\">Youtube Video<\/a> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>if you want to protect your WordPress site from Brute force attack. Then you should follow the below step. before going to step that can protect our website we are going to discuss what is Brute Force Attack? Definition of Brute Force Attack It is a process of hacking that uses trial and error system&#8230;<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[5150],"tags":[5706,4702,5705,356,549,4759],"class_list":["post-9048","post","type-post","status-publish","format-standard","hentry","category-php","tag-admin","tag-firewall","tag-malware","tag-plugin","tag-security","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/9048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=9048"}],"version-history":[{"count":3,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/9048\/revisions"}],"predecessor-version":[{"id":9177,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/9048\/revisions\/9177"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=9048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=9048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=9048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}