1 |
On Thu, 19 Mar 2009 10:43:13 -0500 |
2 |
Paul Hartman <paul.hartman+gentoo@×××××.com> wrote: |
3 |
|
4 |
> On Thu, Mar 19, 2009 at 10:36 AM, Johan Blåbäck |
5 |
> <johan.bluecreek@×××××.com> wrote: |
6 |
> > I've always had usernames when it comes to sshd's log entries in |
7 |
> > auth.log, like the following: |
8 |
> > |
9 |
> > <time> <hostname> sshd[5926]: error: PAM: Authentication failure for |
10 |
> > <username> from <ip-adress> |
11 |
> |
12 |
> Well, I don't use PAM, just key-based authentication only, so I always |
13 |
> see only the IP getting rejected since it doesn't even give them a |
14 |
> place to try a user/password :) It's just weird that it is refusing a |
15 |
> connection from user@domain rather than simply the IP. I guess they |
16 |
> could be trying to ssh user@××××××.net or something. The one with |
17 |
> [U2FsdGVkX19g32YZVKMsQkl+mouWITILOicY4Iq9OQo=] as the username is |
18 |
> interesting. I wonder what that's all about. |
19 |
> |
20 |
|
21 |
My $.02: |
22 |
|
23 |
perl -MMIME::Base64 -e 'print decode_base64("U2FsdGVkX19g32YZVKMsQkl+mouWITILOicY4Iq9OQo=")' |
24 |
Salted__`�fT�,BI~���!2 |
25 |
:'���9 |
26 |
|
27 |
I'm not expert, so Google led me to OpenSSL's command-line "enc" utility: |
28 |
|
29 |
echo "U2FsdGVkX19g32YZVKMsQkl+mouWITILOicY4Iq9OQo=" | openssl enc -d -base64 -a -idea |
30 |
enter idea-cbc decryption password: |
31 |
|
32 |
... or like that. Seems like an attempt to send user and password together. |
33 |
|
34 |
I suppose if you know what are possible user/pass combos on your system, and can suss the crypt type from the signature (I've no idea if possible), you can see if it's a real hack attempt. |
35 |
|
36 |
It is interesting, I think... but I'm just guessing. ;-) |
37 |
|
38 |
Cheers, |
39 |
|
40 |
-- |
41 |
|\ /| | | ~ ~ |
42 |
| \/ | |---| `|` ? |
43 |
| |ichael | |iggins \^ / |
44 |
michael.higgins[at]evolone[dot]org |