Jump to content

sshd root attempts


santner
 Share

Recommended Posts

I have only had DSL for two weeks, and because I finally have DSL I have set up a web server, ftp server and sshd server. Well I finally got around to looking at some log files, specifically /var/log/auth.log and I found a 768k 282 page file filled with this crap:

 

Sep 24 14:17:36 mandrake sshd(pam_unix)[6541]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=211.252.143.252  user=root

Sep 24 14:17:38 mandrake sshd[6541]: Failed password for root from ::ffff:211.252.143.252 port 39071 ssh2

Sep 24 14:17:40 mandrake sshd(pam_unix)[6543]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=211.252.143.252  user=root

Sep 24 14:17:42 mandrake sshd[6543]: Failed password for root from ::ffff:211.252.143.252 port 39166 ssh2

Sep 24 14:17:44 mandrake sshd(pam_unix)[6545]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=211.252.143.252  user=root

Sep 24 14:17:47 mandrake sshd[6545]: Failed password for root from ::ffff:211.252.143.252 port 39257 ssh2

Sep 24 14:17:48 mandrake sshd(pam_unix)[6547]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=211.252.143.252  user=root

 

As you can see there is a repeated pattern of sshd root login attempts about every two seconds. I don't think anyone has made it yet, but just the thought is ridiculous.

 

:angry::angry::angry:

Link to comment
Share on other sites

  • 2 months later...
This could be the common virus making root attempts. Regardless setup a APF & BFD. That way it'll ban the IP address.

 

what's APF and BFD?

 

There has been some kind of script out since late July that does the SSH scanning liike that. Changing the SSH port seems to take care of the problem.

 

arg i have the same problem should have read this thread first :P

 

anyways, so i have a nice fat list of hosts and ips who were trying to root login ... anyone have any experience in reporting abuse?

 

(I was looking throught the var/logs/messages file and this one fellow tried a bunch of usernames too :angry: don't think it's a virus :unsure:

Edited by n00i3
Link to comment
Share on other sites

I'd be changing the port sshd runs on if I were you

 

in /etc/sshd/sshd_config

 

or in you're firewall portward (some other port) to 22

 

for me it's /etc/ssh/sshd_config :P ... i know how to port forward to an ip but how would i portward? :unsure:

Edited by n00i3
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...