Grant wrote:
> On Wed, 30 Sep 2009 17:41:28 -0700, Marty <(E-Mail Removed)> wrote:
>
>> Some clown (on my subnet, I would guess) thinks he's exceedingly clever
>> and is sending repeated SSH login attempts to my machine using spoofed
>> IP addresses (making the consolidated attack appear to be coming from
>> all over the world). I'm scrutinizing his packets, but I'm not sure how
>> to find the "fingerprints" I need to filter them out.
>
> Do you need to?
My line of thinking was, if he's attacking this port, I don't want any
of his network traffic, because he's probably making other break-in
attempts through other means as well.
>> I thought that the MAC address might be a good place to start looking,
>> but all of the packets I see are coming from the MAC address of my cable
>> modem.
>
> There's no MAC addr for Internet packets, you may be able to correlate
> TTL, but I don't see the point. I get SSH attempts quite frequently
> from all over, but there's nothing listening on port 22 here.
I use SSH for myself, and I haven't move the port. Maybe it's time to
consider doing so, but I might have to contend with corporate firewalls
then.
>> I'm not concerned about him getting in because he's attempting
>> root logins and I disabled root logins through ssh, but I want to drop
>> his nonsense traffic if I can, and also avoid any other attacks that
>> might be coming from him which may have escaped my notice.
>
> Do you need to allow _any_ SSH logins? If so why not bump them to
> another port? That way you can leave 22 closed.
That sounds like the only viable option.
>> Any ideas how I can dig deeper to find a common thread that I can use to
>> filter his traffic?
>
> I don't see the point in assuming it's just one clown out there
Big assumption on my part, and after reading the responses here I'm
starting to see that it probably doesn't hold water.
The strange thing is that I never saw ANY of these attempts before
today! Sure I've seen ssh login attempts, but for other user names.
This one was consistently root, every time, every minute of the day,
using a non-interactive login. That's what made me think it was a
single person, possibly in close vicinity. Same MO on every attack,
which was unlike all previous attacks I had seen.
--
Reverse the parts of the e-mail address to reply by mail.