Malicious attack on a website on cPanel
AnsweredHello,
Yesterday there was a malicious attack on our cPanel user.
Load was very high, CPU 99%...
There was many IP addresses in processes....
How can I block such IP addresses that are attacking the user?
Best regards,
Elizabeta
-
Hey hey! The severity of the attack will determine what options you have. For a smaller attack you could use a tool like mod_evasive to help handle that traffic:
https://support.cpanel.net/hc/en-us/articles/360053581353-How-to-install-mod-evasive
For larger attacks consuming a large amount of bandwidth it would be best to get your hosting provider or external services involved:
0 -
Hello,
cPRex thank you for your email!
I have just one question, If I install Apache module ea-apache24-mod_evasive
https://support.cpanel.net/hc/en-us/articles/360053581353-How-to-install-mod-evasive
"Mod_evasive keeps track of how many times an IP address requests a resource on your sites, if someone makes too many requests a 403 error will return."Will this possibly increase additionally the CPU, load when we return 403 error?
Best regards!0 -
No - what's is saying is that if you're doing testing or if there is a popular page that someone frequently refreshes for the newest data (as in, several times within a few seconds) that user could be presented with a temporary 403 error as mod_evasive blocks them.
0 -
Hello,
Thank you cPRex for your help!
Best regards,
Elizabeta0 -
Sure thing!
-1
Please sign in to leave a comment.
Comments
5 comments