Re: OpenSSH/PAM timing attack allows remote users identification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 30, 2003 at 04:34:27PM +0200, Marco Ivaldi wrote:
> root@voodoo:~# ssh [valid_user]@lab.mediaservice.net
> [valid_user]@lab.mediaservice.net's password:	<- arbitrary (non-null) string
> [2 secs delay]
> Permission denied, please try again.
> 
> root@voodoo:~# ssh [no_such_user]@lab.mediaservice.net
> [no_such_user]@lab.mediaservice.net's password:	<- arbitrary (non-null) string
> [no delay]
> Permission denied, please try again.

ive noticed something similar in its handling of PermitRootLogin, if
this option is set to `no' you get the following behavior:

$ ssh root@host
root@host's password: <- arbitrary (non-null) string
[2 secs delay]
Permission denied, please try again.a

$ ssh root@host
root@host's password:  <- correct root password
[no delay]
Permission denied, please try again.

i haven't checked the current version to see if this is still true. 

i think you also will get no delay if DenyUsers or so is in use for
accounts your testing.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgp00346.pgp
Description: PGP signature


[Index of Archives]     [Linux Security]     [Netfilter]     [PHP]     [Yosemite News]     [Linux Kernel]

  Powered by Linux