Search: Home Bugtraq Vulnerabilities Mailing Lists Jobs Tools Beta Programs
Admins warned of brute-force SSH attacks
Robert Lemos, SecurityFocus 2008-05-14

Allowing secure shell access to a server tends to attract the occasional attempt to guess a valid username and password for the service. However, a spike in attacks this week has system administrators worried.

Comments Mode:
Admins warned of brute-force SSH attacks 2008-05-15
Justin
Why use password auth on publicly available systems? If a system is limited to password auth only, then make an intermediate ssh hop required first that does not allow password auth. ...

[ more ]  [ reply ]
Admins warned of brute-force SSH attacks 2008-05-15
DooMRunneR (1 replies)
I changed my SSH ports and now its quiet.......

[ more ]  [ reply ]
Re: Admins warned of brute-force SSH attacks 2008-05-16
Anonymous
They'll eventually start scanning on 2222/tcp, a popular replacement SSH port. I see no reason to run it on 22/tcp, changing it stops the scripts and a lot of noise from the public Internet.

If you change it to something really random and still get brute-force attacks, you know someone is really ...

[ more ]  [ reply ]
Admins warned of brute-force SSH attacks 2008-05-15
Anonymous (1 replies)
To protect my FreeBSD box I made this simple script:

http://milesich.com/2008/02/07/protect-your-freebsd-box/...

[ more ]  [ reply ]
Re: Admins warned of brute-force SSH attacks 2008-05-19
Anonymous
...and here's how to do it on OpenBSD with pf:

table scanners persist file "/etc/scanners"

[...]

block in quick log on $ext_if proto tcp from scanners to $ext_if port ssh

[...]

pass in on $ext_if proto tcp from any to $ext_if port ssh flags S/SA keep state (max-src-conn-rate 3/60, overload sc...

[ more ]  [ reply ]
Admins warned of brute-force SSH attacks 2008-05-15
Anonymous
If possible, use the AllowUsers directive in sshd_config to limit access to specific users, and/or the hosts.allow/deny files to permit certain users from specific network ranges or not at all from other ranges, etc; ssh is tcp_wrapper friendly). Of course the firewall is your friend also (but shou...

[ more ]  [ reply ]
Admins warned of brute-force SSH attacks 2008-05-15
Anonymous
For the past 2 years, I've used BFD (Brute Force Detection), available here http://www.rfxnetworks.com/downloads/bfd-current.tar.gz

In a nutshell, this is a shell script run via cron that parses log files to detect multiple login attempts within a short period of time that would indicate a brute ...

[ more ]  [ reply ]
Admins warned of brute-force SSH attacks 2008-05-15
Anonymous
If they can't guess your username(s), what's the point?

I'll eat my shoes if I see my username appear on one of those brute-force attacks....

[ more ]  [ reply ]
Admins warned of brute-force SSH attacks 2008-05-16
Jeff Sadowski
I started noticing such attacks from china and korea about a year ago I found sheller to be an excellent tool to help diminish the problem. Mostly I see root attempts and I have disabled the root account from being able to ssh in.

shellter can be found here.

http://shellter.sourceforge.net/...

[ more ]  [ reply ]
Admins warned of brute-force SSH attacks 2008-05-17
Anonymous
Use some of the IP blocking tools, a list a available at http://en.wikipedia.org/wiki/IP_blocking

Tools like BlockHosts and others for example can stop SSH kiddie-scripts after a few probes....

[ more ]  [ reply ]
Admins warned of brute-force SSH attacks 2008-05-27
Anonymous
Only a few of my users have SSH access to my servers and none of them have "common" usernames.

No remote root logins.. gotta su for access, only a few have access to the "su" command, which has itself been renamed.

SSH access is restricted to specific IP addresses by both the host level firewa...

[ more ]  [ reply ]
Admins warned of brute-force SSH attacks 2008-11-28
Anonymous
Most of the comments missed the point of these attacks being 'low and slow' and/or distributed. Blocking scripts will not catch such attacks (I'm experiencing them now and am having a hard time blocking them). About the only thing that will mitigate this threat is to turn off SSH, move the listeni...

[ more ]  [ reply ]







 

Privacy Statement
Copyright 2009, SecurityFocus