tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* stopping C2 security account lockout on root via SSH
@ 2005-01-27  1:40 Mike Broderick
  2005-02-09 16:18 ` SUMMARY: " Mike Broderick
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Broderick @ 2005-01-27  1:40 UTC (permalink / raw)


I have a couple Tru64 boxes (4.0f and 5.1b) both using C2 security
that get occasional root login attacks via SSH. These attacks (3000
hits on root last time) cause the root account to get locked. I tried
disabling root logins from SSH with "PerminRootLogins no" (in
sshd_config) but I still see failed attempts logged in the auth db
(u_numunsuclog for root user increments). I then tried adding
"DenyUsers root" too which seems to work on the 4.0f system but not on
5.1b. I do get an "invalid user" error in the auth.log in both but on
5.1b u_numunsuclog still increments.

The Tru64 delivered ssh is not beig used, but rather a version of
OpenSSH manually downloaded/built. (4.0f has OpenSSH 3.1p1 and 5.1b
has 3.7.1p2) The 5.1b system was just upgraded from 5.1a to 5.1b.

                                                                      
             _Mike


^ permalink raw reply	[flat|nested] 2+ messages in thread

* SUMMARY: stopping C2 security account lockout on root via SSH
  2005-01-27  1:40 stopping C2 security account lockout on root via SSH Mike Broderick
@ 2005-02-09 16:18 ` Mike Broderick
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Broderick @ 2005-02-09 16:18 UTC (permalink / raw)


Based on responses I received here and in an OpenSSH forum it seems
for security reasons the sshd was modified to always pass all login
attempts to the underlying auth mechanism first, regardless of
sshd_config settings and only after that override the results if sshd
settings (PermitRootLogin, DenyUser) apply.  So the only way to block
these lockouts is with firewalling (tcp_wrappers, ipfilter, etc).

                                                                      
          _Mike


On Wed, 26 Jan 2005 20:40:29 -0500, Mike Broderick
<mikebroderick@gmail.com> wrote:
> I have a couple Tru64 boxes (4.0f and 5.1b) both using C2 security
> that get occasional root login attacks via SSH. These attacks (3000
> hits on root last time) cause the root account to get locked. I tried
> disabling root logins from SSH with "PerminRootLogins no" (in
> sshd_config) but I still see failed attempts logged in the auth db
> (u_numunsuclog for root user increments). I then tried adding
> "DenyUsers root" too which seems to work on the 4.0f system but not on
> 5.1b. I do get an "invalid user" error in the auth.log in both but on
> 5.1b u_numunsuclog still increments.
> 
> The Tru64 delivered ssh is not beig used, but rather a version of
> OpenSSH manually downloaded/built. (4.0f has OpenSSH 3.1p1 and 5.1b
> has 3.7.1p2) The 5.1b system was just upgraded from 5.1a to 5.1b.
> 
> 
>              _Mike
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-09 16:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-27  1:40 stopping C2 security account lockout on root via SSH Mike Broderick
2005-02-09 16:18 ` SUMMARY: " Mike Broderick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox