Re: sshd known_hosts query
- From: Nix <nix-razor-pit@xxxxxxxxxxxxx>
- Date: Mon, 16 Jan 2006 10:16:44 +0000
On Sun, 15 Jan 2006, Tony van der Hoff wrote:
> Nix <nix-razor-pit@xxxxxxxxxxxxx> wrote in message
> <87mzhxgync.fsf@xxxxxxxxxxxxxxxxxx>
>
>> I'd say turn PasswordAuthentication off, too. Stick with key-based
>> authentication only.
>>
> Depends on yhour requirements. Sometimes you can't set keys - I certainly
> wouldn't want to accidentally leave one on a Customer's box.
Make a temporary key and revoke it when you're done.
> Key-based
> authentication PLUS passwords (provided they're strong ones) works fine.
i.e., passphrased keys? Yes, that's fine, but that's not password-
authentication, it's still wholly public key-based :)
>> Jan 15 15:23:17 esperi info: sshd[11806]: Invalid user molly from
> 208.187.226.110
>> Jan 15 15:23:19 esperi info: sshd[11808]: Invalid user molly from
> 208.187.226.110
> [snip]
>
> No, he's not made it into my blocklist - yet.
I was assuming that the IP was from some machine in a botnet, but
perhaps not. I guess if it was botnetted I'd probably see requests from
all over the shop.
> Indeed; they first have to guess a username; then they have to guess a valid
> password :( It's a wonder they achieve anything, and can only be evidence of
> a preponderance of poorly-administered sites out there...
Oh boy yes. `cisco/cisco'... although random English names is a bit of a
sign of desperation, they also tried things like `root',
`administrator', even `postgres', which gave me a second's pause because
I have a user of that name, and they tried it about a second after I'd
sshed to `postgres' on one of my machines...
> Which is why I employ a blocklist script; I enjoy seeing this:
>
> Jan 15 12:09:52 tony-lx sshd[18346]: Failed password for invalid user brd
> from 207.36.86.64 port 49575 ssh2
> Jan 15 12:10:00 tony-lx sshd[18365]: Failed password for invalid user ap
> from 207.36.86.64 port 49762 ssh2
> Jan 15 12:10:01 tony-lx sshd: refused connect from
> 207-36-86-64.ptr.primarydns.com (207.36.86.64)
>
> Zap!
Ah, but if you let them keep battering on a wall they can't get through,
while they're wasting their time with you that's one less
potentially-vulnerable site they can attack. It's a tarpit.
--
`Logic and human nature don't seem to mix very well,
unfortunately.' --- Velvet Wood
.
- References:
- sshd known_hosts query
- From: Martin Gregorie
- Re: sshd known_hosts query
- From: Colin McKinnon
- Re: sshd known_hosts query
- From: Nix
- Re: sshd known_hosts query
- From: Tony van der Hoff
- sshd known_hosts query
- Prev by Date: Re: sshd known_hosts query
- Next by Date: Re: sshd known_hosts query
- Previous by thread: Re: sshd known_hosts query
- Next by thread: Re: sshd known_hosts query
- Index(es):
Relevant Pages
|
|