1 |
On Sun, 16 Jul 2006 15:54:18 -0400, Dave S <gentoo@××××××××.net> wrote: |
2 |
|
3 |
> On Sunday 16 July 2006 19:54, Hemmann, Volker Armin wrote: |
4 |
>> On Sunday 16 July 2006 20:25, Dave S wrote: |
5 |
>> > HI, I have a potential security problem ... |
6 |
>> > |
7 |
>> > and err its not on gentoo, its on ubuntu but I am not getting any |
8 |
>> > response there & you guys are the most tech bunch I know - Thought I |
9 |
>> > would lay it on the table :) |
10 |
>> > |
11 |
>> > I just had an email from chkrootkit last night - |
12 |
>> > |
13 |
>> > --- |
14 |
>> > |
15 |
>> > The following suspicious files and directories were found: |
16 |
>> > |
17 |
>> > You have 3 process hidden for readdir command |
18 |
>> > You have 3 process hidden for ps command |
19 |
>> > chkproc: Warning: Possible LKM Trojan installed |
20 |
>> > |
21 |
>> > --- |
22 |
>> > |
23 |
>> > Running chkrootkit now and all is OK |
24 |
>> > |
25 |
>> > root@dave-comp:~# |
26 |
>> > root@dave-comp:~# chkrootkit | grep chkproc |
27 |
>> > Checking `lkm'... chkproc: nothing detected |
28 |
>> > root@dave-comp:~# |
29 |
>> > |
30 |
>> > I have even 'sudo install --reinstall chkrootkit' in case its binarys |
31 |
>> > have been modified (paranoid) |
32 |
>> |
33 |
>> if you installed using the tools of the system, it could be worthless, |
34 |
>> because compromised. Boot from a cd and check from the cd. |
35 |
> |
36 |
> I understand. Booted from knoppix 5.0.1, executed a |
37 |
> |
38 |
> 'chroot /mnt/hda1 chkrootkit' and a |
39 |
> 'chroot /mnt/hda1 rkhunter -c' |
40 |
> |
41 |
> - both scans brought back nothing. From what I have read the chkrootkit & |
42 |
> rkhunter binarys would have been from the CD and therefore untainted ? |
43 |
> Am I |
44 |
> correct ? |
45 |
> |
46 |
> Are there any other checks I can do - re-installing the system is not my |
47 |
> preferred option :) |
48 |
> |
49 |
> Dave |
50 |
|
51 |
I'm a newbie, so discount this appropriately. |
52 |
|
53 |
1. IIUC, running rkhunter/chkrootkit from knoppix simply checks the |
54 |
knoppix cd. |
55 |
2. You want second/third opinions. IIWU, |
56 |
i. I'd scan the box with a Trojan signature scanner - e.g. fprotect, |
57 |
AntiVir, etc. |
58 |
from Knoppix - first assuring that you have current signatures. |
59 |
ii. I'd reemerge/recompile the kernel WITHOUT modules or module |
60 |
support, and clear out your usr/lib/modules (though IIUC, this |
61 |
can be foiled). |
62 |
iii. I'd try zeppoo. |
63 |
3. Try to figure out how you got it. e.g. you installed software from an |
64 |
unreliable source; your privileges are screwed up; you have an unpatched |
65 |
server(s) running; etc. |
66 |
|
67 |
Maybe.... you could find the both the vector and the lkm - but |
68 |
understanding that the only real solution to a |
69 |
rootkit is restoring from a clean backup, or rebuilding :-( |
70 |
|
71 |
|
72 |
-- |
73 |
gentoo-user@g.o mailing list |