Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

remove LKM rootkits on the fly

From: <misu200(at)yahoo.com>
Date: Fri May 02 2003 - 05:09:28 EDT
('binary' encoding is not supported, stored as-is)

 I 've write a program that can force LKM rootkits to uninstall.I had tested it on 2.4.20 with adore 0.42&stealthadore and it works just fine.It can be ported very easily on other kernel versions.

It is avaible at http://ss.pub.ro/~mirc/vmallocu.c

compile it with something like this:
gcc -c -I/usr/src/linux-2.4.20/include vmallocu.c insmod vmallocu.o

and the use dmesg(or watch in /var/log/messages) to view the results.

If you have kernel 2.4.x (x!=20) then you'll have to folllow the next steps to port the program on 2.4.x :

gdb -q vmlinux-2.4.x
print &__vmalloc
note with y this address
print &vmlist
note with t1 this address
print &vmlist_lock
note with t2 this address

offset1=t1-y;
offset2=t2-y;

Then insert something like these lines in vmallocu.c :

Do you need help?X

offset[2][0]=offsetul1;
offset[2][1]=offsetul2;

if (strcmp("2.4.x",UTS_RELEASE)==0) kernel_version=2;

Now should works on 2.4.x.

This program should manage to remove on the fly most of the LKM rootkits avaible at the moment. Received on Fri May 2 14:23:24 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:47 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library