public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: dnlt0hn5ntzhbqkv51 <dnlt0hn5ntzhbqkv51@safe-mail.net>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: chkrootkit LKM trojan ?
Date: Sun, 16 Jul 2006 16:52:40 -0400	[thread overview]
Message-ID: <op.tcsuxob1lbd8ez@you.and.your.horse> (raw)
In-Reply-To: 200607162054.18404.gentoo@pusspaws.net

On Sun, 16 Jul 2006 15:54:18 -0400, Dave S <gentoo@pusspaws.net> wrote:

> On Sunday 16 July 2006 19:54, Hemmann, Volker Armin wrote:
>> On Sunday 16 July 2006 20:25, Dave S wrote:
>> > HI, I have a potential security problem ...
>> >
>> > and err its not on gentoo, its on ubuntu but I am not getting any
>> > response there & you guys are the most tech bunch I know  - Thought I
>> > would lay it on the table :)
>> >
>> > I just had an email from chkrootkit last night -
>> >
>> > ---
>> >
>> > The following suspicious files and directories were found:
>> >
>> > You have     3 process hidden for readdir command
>> > You have     3 process hidden for ps command
>> > chkproc: Warning: Possible LKM Trojan installed
>> >
>> > ---
>> >
>> > Running chkrootkit now and all is OK
>> >
>> > root@dave-comp:~#
>> > root@dave-comp:~# chkrootkit | grep chkproc
>> > Checking `lkm'... chkproc: nothing detected
>> > root@dave-comp:~#
>> >
>> > I have even 'sudo install --reinstall chkrootkit' in case its binarys
>> > have been modified (paranoid)
>>
>> if you installed using the tools of the system, it could be worthless,
>> because compromised. Boot from a cd and check from the cd.
>
> I understand. Booted from knoppix 5.0.1, executed a
>
> 'chroot /mnt/hda1 chkrootkit' and a
> 'chroot /mnt/hda1 rkhunter -c'
>
> - both scans brought back nothing. From what I have read the chkrootkit &
> rkhunter binarys would have been from the CD and therefore untainted ?  
> Am I
> correct ?
>
> Are there any other checks I can do - re-installing the system is not my
> preferred option :)
>
> Dave

I'm a newbie, so discount this appropriately.

1. IIUC, running rkhunter/chkrootkit from knoppix simply checks the  
knoppix cd.
2. You want second/third opinions. IIWU,
       i. I'd scan the box with a Trojan signature scanner - e.g. fprotect,  
AntiVir, etc.
       from Knoppix - first assuring that you have current signatures.
       ii. I'd reemerge/recompile the kernel WITHOUT modules or module  
support, and clear out your usr/lib/modules         (though IIUC, this
        can be foiled).
       iii. I'd try zeppoo.
3. Try to figure out how you got it. e.g. you installed software from an  
unreliable source; your privileges are screwed up; you have an unpatched  
server(s) running; etc.

Maybe.... you could find the both the vector and the lkm  -  but  
understanding that the only real solution to a
rootkit is restoring from a clean backup, or rebuilding :-(


-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2006-07-16 21:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-16 18:25 [gentoo-user] chkrootkit LKM trojan ? Dave S
2006-07-16 18:54 ` Hemmann, Volker Armin
2006-07-16 19:54   ` Dave S
2006-07-16 20:33     ` Hemmann, Volker Armin
2006-07-16 20:36     ` Hemmann, Volker Armin
2006-07-16 20:49       ` Dave S
2006-07-16 21:12         ` Benno Schulenberg
2006-07-16 22:16           ` Dave S
2006-07-16 20:52     ` dnlt0hn5ntzhbqkv51 [this message]
2006-07-17 18:36       ` [gentoo-user] " Dave S
2006-07-17 20:35         ` Hans-Werner Hilse
2006-07-18  6:59           ` Dave S
2006-07-16 21:25     ` [gentoo-user] " Jerry McBride
2006-07-17 18:41       ` Dave S

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.tcsuxob1lbd8ez@you.and.your.horse \
    --to=dnlt0hn5ntzhbqkv51@safe-mail.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox