Security Incidents mailing list archives

Re: chkrootkit and LKM?


From: Guille -bisho- <bisho () onirica com>
Date: 17 Jun 2003 07:15:34 +0200

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?

You should reinstall. init is usually reemplaced with a infected one
that inserts the rootkit module in the kernel, and the same with many
other programs.

If you have the same OS version in another machine you could check the
md5sum of all the binaries, and reemplace them from the clean machine,
booting from an uninfected source like a CD or in another machine
installing without booting from it the infected hard disc.

Anyway, I would never trust that machine anymore. I recomend to backup
only the data and reinstall the OS.

-- 
bisho!  _        -=] 17/06/2003 [=-
    _ ^(   )       _
   (  (   )  )     \ \___,,,
  (        )        / _____ >-
    ( :: )       >==-
  '. |::| ,  >==-
    \\:://  [ PAZ SI, GUERRA NO ]



----------------------------------------------------------------------------
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: