Re: How could this account have been cracked?
- From: Nathanael Hoyle <nhoyle@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 26 Sep 2006 17:49:22 GMT
"robb@xxxxxxx" <robb@xxxxxxx> wrote in
news:1159213301.256959.273420@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:
Thanks for the replies -
Ian Kilgore wrote:
Can you clarify on the meaning of 'console'? Do you mean you logged
in to the compromised machine remotely from a box in your office, or
do you mean that you logged into the compromised machine via /its/
console (ie not remotely)?
Yes - from the Machine's console.
So the account's existence was probably not revealed by the login (if
there were already a keylogger on the system, you were flat screwed from
the start). Don't rule out the possibility that the account was
discovered through one of several well-known user-enumeration attack
techniques (i.e. apache returning 404 not found for x.x.x.x/~bogus_user
and 403 forbidden for x.x.x.x/~valid_user, and therefore allowing
straightforward enumeration of accounts).
Also don't rule out that the original compromise was not made via this
account, but via some other remote hole. Once having access to the
system, listing /etc/passwd (not the shadow, but that's irrelevant for
usernames) is easy as pretty much any user. If the password was weak,
then it could have been subsequently compromised after discovery of the
account name (and it was probably an account worth noting, i.e. in the
wheel group, etc).
I never connected remotely to the box as that user.
process, etc.
Arguably, that sounds like there was no 'person' involved, just an
ssh bot.
Interesting.
I realized that my security scheme had lagged behind my lifestyle: I
only now ever connect remotely from one location, and so I now deny
all ssh connections by default and allow just the one.
Does anyone know - is there a rootkit that can circumvent hosts.deny
as I described above?
Irrelevant really, hosts.allow/deny will be in force before your system
is compromised. After it is compromised, you don't have control of the
system anyhow, and it won't really matter. They could have a shell
connected back OUT to themself as easily as open an incoming port.
-Nathanael
.
- Follow-Ups:
- Re: How could this account have been cracked?
- From: robb@xxxxxxx
- Re: How could this account have been cracked?
- References:
- How could this account have been cracked?
- From: robb@xxxxxxx
- Re: How could this account have been cracked?
- From: Ian Kilgore
- Re: How could this account have been cracked?
- From: robb@xxxxxxx
- How could this account have been cracked?
- Prev by Date: Re: Are capabilities worthwhile?
- Next by Date: Re: How could this account have been cracked?
- Previous by thread: Re: How could this account have been cracked?
- Next by thread: Re: How could this account have been cracked?
- Index(es):
Relevant Pages
|