Unwanted login attempts

Add any particular hints or tricks you have found to help with your ZoneMinder experience.
Post Reply
barbaq
Posts: 5
Joined: Mon Dec 19, 2005 10:42 pm

Unwanted login attempts

Post by barbaq »

Hi,

Recently I've discovered many attempts to login on my zoneminder server with brute force and dictionnary attacks. I've checked the /var/log/auth.log file just to copy all the unwanted hosts adresses to /etc/hosts.deny but there were way too many. On Google i've found that script: DenyHosts-1.1.4

Its a very effective python script that can configure how many failed login attempts are permitted before denying access to the specified service or services. It is very easy to install and configure, check its many features at: http://denyhosts.sourceforge.net/

Highly recommended.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Excellent, that looks like a pretty neat tool. I might give it a play on this box (apologies if everyone gets banned all of a sudden :lol:)

I always try and run my ssh (and sometimes http etc) services on unusual ports anyway, just to remove the sheer amount of random attacks. If you have ssh on port 3497 and someone is attacking you on that then you know they're after you and it's not just a sweep!
Phil
Flash_
Posts: 441
Joined: Wed Jan 11, 2006 12:19 pm

Post by Flash_ »

I'm quite lucky in that I'm the only remote user to my servers and I've got a fixed ip - for anything other than the public services I run, I can "block All but from one IP" on the adsl modem/router firewall.

I had one linux box compromised by the most embarassing way possible - an unsecured guest account, so I'm a tad paranoid now... :)
Post Reply