PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.security.ssh > using PubkeyAuthentication, still getting dictionary attacks!
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.security.ssh SSH secure remote login and tunneling tools.

using PubkeyAuthentication, still getting dictionary attacks!

Réponse
 
LinkBack Outils de la discussion
Vieux 05/10/2006, 15h50   #1
Nomen Nescio
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut using PubkeyAuthentication, still getting dictionary attacks!

I used to run my ssh server on a high port no. to avoid the dictionary
attacks. It worked quite well but I've had to go back to good ol' port
22 because I've been plugging laptop into networks with *crazy*
restrictions like blocking huge ranges of client ports except for
specific services.

So I've changed the server config to allow PubkeyAuthentication only,
and that's working fine, BUT the dictionary attacks are still
coming. (See below for the sort of stuff I mean, in syslog.)

AIUI, dictionary attacks on PubkeyAuthentication are hopeless, and I'm
surprised the attacking "clients" try it. Am I right? Why do they keep
trying? Anything else I can/should do?

Thanks!



Invalid user webmaster from 24.148.29.250
Invalid user ftp from 24.148.29.250
Invalid user sales from 24.148.29.250
Invalid user admin from 24.148.29.250
Invalid user andrea from 24.148.29.250
Invalid user guest from 24.148.29.250
Invalid user guest1 from 24.148.29.250
Invalid user guest2 from 24.148.29.250
Invalid user guest3 from 24.148.29.250
Invalid user guest4 from 24.148.29.250
Invalid user guest5 from 24.148.29.250
Invalid user guest6 from 24.148.29.250
Invalid user guest7 from 24.148.29.250
Invalid user guest8 from 24.148.29.250
Invalid user guest9 from 24.148.29.250

  Réponse avec citation
Vieux 05/10/2006, 16h11   #2
Cezary Morga
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: using PubkeyAuthentication, still getting dictionary attacks!

Nomen Nescio wrote:

> I used to run my ssh server on a high port no. to avoid the dictionary
> attacks. It worked quite well but I've had to go back to good ol' port
> 22 because I've been plugging laptop into networks with *crazy*
> restrictions like blocking huge ranges of client ports except for
> specific services.
>
> So I've changed the server config to allow PubkeyAuthentication only,
> and that's working fine, BUT the dictionary attacks are still
> coming. (See below for the sort of stuff I mean, in syslog.)
>
> AIUI, dictionary attacks on PubkeyAuthentication are hopeless, and I'm
> surprised the attacking "clients" try it. Am I right? Why do they keep
> trying? Anything else I can/should do?


How should they know you have disabled password authetication? (you did,
didn't you?)
--
Cezary Morga
  Réponse avec citation
Vieux 05/10/2006, 16h13   #3
Darren Dunham
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: using PubkeyAuthentication, still getting dictionary attacks!

Nomen Nescio <nobody@dizum.com> wrote:
> I used to run my ssh server on a high port no. to avoid the dictionary
> attacks. It worked quite well but I've had to go back to good ol' port
> 22 because I've been plugging laptop into networks with *crazy*
> restrictions like blocking huge ranges of client ports except for
> specific services.


I've thought about a stupid simple web page (most sites would allow 80)
that I could type in an IP address and enable that address for port 22.
Even with *zero* authentication on the web page, I don't think it would
be a problem. A bot isn't going to do that kind of work for one host.

> AIUI, dictionary attacks on PubkeyAuthentication are hopeless, and I'm
> surprised the attacking "clients" try it. Am I right? Why do they keep
> trying?


Stupid bots don't care.

--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
  Réponse avec citation
Vieux 05/10/2006, 17h02   #4
Unruh
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: using PubkeyAuthentication, still getting dictionary attacks!

Nomen Nescio <nobody@dizum.com> writes:

>I used to run my ssh server on a high port no. to avoid the dictionary
>attacks. It worked quite well but I've had to go back to good ol' port
>22 because I've been plugging laptop into networks with *crazy*
>restrictions like blocking huge ranges of client ports except for
>specific services.


>So I've changed the server config to allow PubkeyAuthentication only,
>and that's working fine, BUT the dictionary attacks are still
>coming. (See below for the sort of stuff I mean, in syslog.)


>AIUI, dictionary attacks on PubkeyAuthentication are hopeless, and I'm
>surprised the attacking "clients" try it. Am I right? Why do they keep
>trying? Anything else I can/should do?


Do you thinkthat there is a human being behind those attacks, trying all
the passwords? It is a program. which is launched from someone else's
computer.

You could just put that IP address into /etc/hosts.allow with a deny tag
for ssh.
sshd: 24.148.29.250:deny


>Thanks!




>Invalid user webmaster from 24.148.29.250
>Invalid user ftp from 24.148.29.250
>Invalid user sales from 24.148.29.250
>Invalid user admin from 24.148.29.250
>Invalid user andrea from 24.148.29.250
>Invalid user guest from 24.148.29.250
>Invalid user guest1 from 24.148.29.250
>Invalid user guest2 from 24.148.29.250
>Invalid user guest3 from 24.148.29.250
>Invalid user guest4 from 24.148.29.250
>Invalid user guest5 from 24.148.29.250
>Invalid user guest6 from 24.148.29.250
>Invalid user guest7 from 24.148.29.250
>Invalid user guest8 from 24.148.29.250
>Invalid user guest9 from 24.148.29.250


  Réponse avec citation
Vieux 05/10/2006, 17h04   #5
Unruh
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: using PubkeyAuthentication, still getting dictionary attacks!

Darren Dunham <ddunham@redwood.taos.com> writes:

>Nomen Nescio <nobody@dizum.com> wrote:
>> I used to run my ssh server on a high port no. to avoid the dictionary
>> attacks. It worked quite well but I've had to go back to good ol' port
>> 22 because I've been plugging laptop into networks with *crazy*
>> restrictions like blocking huge ranges of client ports except for
>> specific services.


>I've thought about a stupid simple web page (most sites would allow 80)
>that I could type in an IP address and enable that address for port 22.
>Even with *zero* authentication on the web page, I don't think it would
>be a problem. A bot isn't going to do that kind of work for one host.


Or you could simply have your ssh respond to port 80. Unless you actually
have a web server running on that machine, that will be fine.

>> AIUI, dictionary attacks on PubkeyAuthentication are hopeless, and I'm
>> surprised the attacking "clients" try it. Am I right? Why do they keep
>> trying?


>Stupid bots don't care.


>--
>Darren Dunham ddunham@taos.com
>Senior Technical Consultant TAOS http://www.taos.com/
>Got some Dr Pepper? San Francisco, CA bay area
> < This line left intentionally blank to confuse you. >

  Réponse avec citation
Vieux 05/10/2006, 17h50   #6
Todd H.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: using PubkeyAuthentication, still getting dictionary attacks!

Nomen Nescio <nobody@dizum.com> writes:

> Why do they keep
> trying?


Because they're script kiddie attacks and will try no matter what your
config.

> Anything else I can/should do?


Just move sshd to listen on a non-standard port and the annoyance will
cease.

--
Todd H.
http://www.toddh.net/
  Réponse avec citation
Vieux 05/10/2006, 17h52   #7
Chuck
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: using PubkeyAuthentication, still getting dictionary attacks!

Todd H. wrote:
> Nomen Nescio <nobody@dizum.com> writes:
>
>> Why do they keep
>> trying?

>
> Because they're script kiddie attacks and will try no matter what your
> config.
>
>> Anything else I can/should do?

>
> Just move sshd to listen on a non-standard port and the annoyance will
> cease.
>


Or just don't worry about it if you've disabled password authentication.
That keeps them busy trying hopelessly to get into your server instead
of attacking one that's truly vulnerable.
  Réponse avec citation
Vieux 05/10/2006, 18h28   #8
Todd H.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: using PubkeyAuthentication, still getting dictionary attacks!

Chuck <skilover_nospam@bluebottle.com> writes:

> Todd H. wrote:
> > Nomen Nescio <nobody@dizum.com> writes:
> >
> >> Why do they keep
> >> trying?

> >
> > Because they're script kiddie attacks and will try no matter what your
> > config.
> >
> >> Anything else I can/should do?

> >
> > Just move sshd to listen on a non-standard port and the annoyance will
> > cease.
> >

>
> Or just don't worry about it if you've disabled password authentication.
> That keeps them busy trying hopelessly to get into your server instead
> of attacking one that's truly vulnerable.


If the sshd server isn't there to listen to an attack on port 22, sshd
won't cut a failed login attempt to a log. The host level port
filter will just quietly ignore the tcp connection request. Seems to
work a treat.



--
Todd H.
http://www.toddh.net/
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h17.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14157 seconds with 16 queries