DISCUSSION: Finding Rootkits, Infections, and Files
LinuxAnswers DiscussionThis forum is to discuss articles posted to LinuxAnswers.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
The offer for discussion seams interesting to me, as I support few servers in my town - all of them using debian.
One of those machines is set up with knoppix 3.2 from which I removed a lot of stuff that was not needed, so afterwards few months later I ran chkrootkit on it and it says there is probably LKM attack as 4 Processes are hidden from the ps command.
And really when I ps -A I don't see process numbers
1 ? 00:00:10 init
2 ? 00:00:00 keventd
0 ? 00:00:00 ksoftirqd_CPU0
0 ? 00:00:00 kswapd
0 ? 00:00:00 bdflush
0 ? 00:00:01 kupdated
I read about this, that it should be a problem with multithereading on debian in some cases, but honestly I haven't had this problem on other debian system.
I suppose it has to do something with knoppix but I don't have a machine like this.
After I spent hours of checking logs and so, I concluded that there isn't anything wrong
That's a bug in chkrootkit. With the latest glibc and 2.6 kernel, the
threading model has changed. Threads no longer show up as individual
processes. Chkrootkit should be updated to work with the latest glibc
and 2.6 kernel (i.e. it should check /proc/<pid>/task too)
I don't see a fix posted there though. What version of chkrootkit are you running?