Heavy xmlrp.php attack even after .htaccess "solution"
-
So for awhile now I’ve been getting hundreds of requests to my xmlrp file. The first solution my host offered was to tell me to block the IPs. My poor .httacces file became a 2 MB monster with 80784 lines of code.
It worked and stopped all countries except the few I wanted to keep.
That didn’t feel like the right solution and I did feel a slowdown of my site.
So contacting my host again they told me to add this:
<Files “xmlrpc.php”>
Order Allow,Deny
deny from all
</Files>Again, no real change, maybe a slight slowdown of requests.
Back to the host. Here is what they said:
I have properly blocked the xmlrpc requests and confirmed https://danielalao.com/xmlrpc.php no longer loads the xmlrpc file.
Great, so that doesn’t exist alas, I was still getting requests from bots, which I assume will still cause a strain on my site.
I sent them the pages from Wordfence:
https://s17.postimg.org/5ztxveklr/image.png
https://s17.postimg.org/sfq5isekv/image.png
https://s17.postimg.org/tgqe7wvkf/image.png
https://s17.postimg.org/x2w7kk1xr/image.png
https://s17.postimg.org/c265zmyfj/image.pngI also downloaded a plugin called ‘Disable XML-RPC’, which did nothing as far as I can see.
Then from the host:
Unfortunately, short of blocking their IP addresses there is little that you can do to prevent them from scanning the website. These are bots that scan the entire internet for files that they can compromise. However, in your case, the file xmlrpc.php has been disabled, if you try to visit it it shows a 404 error, meaning that even though they are still trying to reach that file, there is no way they will be able to use it maliciously. The plugin that you are using also confirms this, as it shows they are all trying to access a non-existent page.
He then asked if my site was still running slow, since it wasn’t I guess I’m suppose to ignore the constant requests ??
Any recommendations I haven’t tried?
I did see this code on a another thread but there was no follow up to see if it worked for anyone to stop requests:
RewriteRule ^xmlrpc\.php$ "http\:\/\/0\.0\.0\.0\/" [R=301,L]
- The topic ‘Heavy xmlrp.php attack even after .htaccess "solution"’ is closed to new replies.