DOS Attack – PLEASE READ – Wordfence alerted but did not seem to block IP
-
Good Morning,
Last night we were hit with what I think was a DOS attack. We have Wordfence installed, but I had to manually block the IP in our .htaccess file to stop the attack. Here is the order of events that occurred.
- We received a warning notification from our host that 80% of our DB connections were being used.
- A few minutes later I received an email from Wordfence with the following:
The Wordfence administrative URL for this site is: https://www.[sitename].com/wp-admin/admin.php?page=Wordfence (This is not our administrative URL, btw.) This notification was very helpful since it provided the IP of the source of the attack.
A user with IP address 107.23.120.140 has been locked out from signing in or using the password recovery form for the following reason: Exceeded the maximum number of login failures which is: 20. The last username they tried to sign in with was: ‘root’.
The duration of the lockout is 4 hours.
User IP: 107.23.120.140
User hostname: ec2-107-23-120-140.compute-1.amazonaws.com
User location: Ashburn, Virginia, United States - I continued to monitor the database connections. I tried to kill the connections but they re-appeared. I was unable to log into the back end of the site.
- On the server I was able to see the logs and see that that IP was repeatedly hitting our site, specifically looking for the readme.txt file in different plugin folders, such as:
plugins/woo-order-product-codes/readme.txt and plugins/nifty-desk/readme.txt – these are plugins we do not have installed. But regardless, our database and server were getting hammered. - Since this was coming from a single IP, I was able to do a block in the .htaccess file. This stopped the attack.
So my question is, what can I do to prevent this from happening again? The Wordfence notification said it blocked the IP, but it did not. Is there anyway I can further secure our site to prevent this from happening again? If this had been a more sophisticated attack from multiple IPs, how would we stop it?
Any thoughts on this would be greatly appreciated.
Thank you
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘DOS Attack – PLEASE READ – Wordfence alerted but did not seem to block IP’ is closed to new replies.