CodeIgniter Forums
Joomla and WP hackers - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Joomla and WP hackers (/showthread.php?tid=64292)



Joomla and WP hackers - glennm - 02-04-2016

I am not sure if I am posting this in the correct section, so sorry if it needs to be moved to somewhere else.

I am getting a lot of 404 errors in my logs from vulnerabilty hackers, but these are all for different CMS systems. I would like to know how people handle these. I would like a clean logs file with errors only important to my website.

Is there an easy way to filter out all these 404 errors?

Thanks


RE: Joomla and WP hackers - RobertSF - 02-04-2016

Hey... not sure what you mean. Are you talking about your visitors' log? It should only show errors about your website, though I realize not every error is actually important. On my own website, I have cPanel, and I get a lot of stuff I don't care about in my visitors log.

[Image: 2016_02_04_10_59_25_c_Panel_X.gif]

All those requests for /wp-login.php are hack attempts, and cPanel does not give me a way to eliminate them. I can't type -/wp-login.php in the search box. Well, I can, but it doesn't work. So the only way I can filter them out is to download the logs and use Excel.

Seriously, these hack attempts add a good 500 MB a month of traffic, and my host says there's no way they can reject the connection requests before they hit my site. The above picture is actually not very representative. I've had people using some sort of bot to hit my site 200 times per minute for hours, and the support people tell me that no, they have no way of blocking someone on the fly who's clearly using software to attack a site. So I'm moving hosts.


RE: Joomla and WP hackers - glennm - 02-04-2016

(02-04-2016, 12:12 PM)RobertSF Wrote: Hey... not sure what you mean. Are you talking about your visitors' log? It should only show errors about your website, though I realize not every error is actually important. On my own website, I have cPanel, and I get a lot of stuff I don't care about in my visitors log.

[Image: 2016_02_04_10_59_25_c_Panel_X.gif]

All those requests for /wp-login.php are hack attempts, and cPanel does not give me a way to eliminate them. I can't type -/wp-login.php in the search box. Well, I can, but it doesn't work. So the only way I can filter them out is to download the logs and use Excel.

Seriously, these hack attempts add a good 500 MB a month of traffic, and my host says there's no way they can reject the connection requests before they hit my site. The above picture is actually not very representative. I've had people using some sort of bot to hit my site 200 times per minute for hours, and the support people tell me that no, they have no way of blocking someone on the fly who's clearly using software to attack a site. So I'm moving hosts.

I have cPanel too, but I am talking about log files in Codeigniter. I have logging enabled to track possible errors or 404 errors that do apply to my website.
But I am also getting 100's of 404 errors from hack attempts. I would like to see only real errors and 404 errors that do apply to my website.


RE: Joomla and WP hackers - Diederik - 02-04-2016

If you block access to those non existing files from within your .htaccess file they wont reach your Codeigniter application and your logs will stay clean:

Code:
<Files wp-login.php>
Order Allow,Deny
Deny from all
</Files>