Security Incidents mailing list archives

Re: chkrootkit and LKM?


From: Nathan Dornquast <nathan () aberon net>
Date: Mon, 16 Jun 2003 23:14:25 -0500


Doh! Sounds likely you have a rootkit. I recently had similar results on 2 of my servers (though each one only had 2 hidden procs).

I found some helpful hints at soohrt.org. Go to your /proc dir. Type: for i in `seq 1 33000`; do test -f $i/cmdline && (cat $i/cmdline; echo $i); done This will print a list of processes and their ID's. You can match this against what ps is giving you. Then ls the unlisted proc dirs. Check what commands are running, from where, and what kind of enviroment.

Good luck.

-Nate

Janus N. Tøndering wrote:

Hi

I using a RHL9 as my workstation. A few days ago I downloaded chkrootkit
and it consistently gives the same output (>20 hidden processes) when
checking for LKM rootkit:

Checking `lkm'... You have    38 process hidden for readdir command
Warning: Possible LKM Trojan installed

This is even after reboots. How can I check if this is actually the work
of the LKM? Or any other rootkit for that matter?

Regards,
Janus N. Tøndering



----------------------------------------------------------------------------
Attend the Black Hat Briefings & Training, July 28 - 31 in Las Vegas, the world's premier technical IT security event! 10 tracks, 15 training sessions, 1,800 delegates from 30 nations including all of the top experts, from CSO's to "underground" security specialists. See for yourself what the buzz is about! Early-bird registration ends July 3. This event will sell out. www.blackhat.com
----------------------------------------------------------------------------


Current thread: