linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* syslog insmod please!
@ 2001-04-06  0:57 Andrew Daviel
  2001-04-06  1:46 ` Ion Badulescu
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Andrew Daviel @ 2001-04-06  0:57 UTC (permalink / raw)
  To: linux-kernel


Is there a good reason why insmod should not call syslog() to log
any module that gets installed ? I know things like bttv get very verbose
in the module itself, and I tried patching insmod to log the first
argument and it seemed to work for me.

I was looking at the knark LKM rootkit and wondering how to detect this
beast. Typically it seemss one does "insmod knark.o" then maybe "insmod
modhide.o" to prevent it showing in /proc/modules (seems to remove the
last loaded module from a linked list if I read it aright).  Adding a
syslog call to the insmod binary might get this logged on a remote host
with a bit of luck.

On a more esoteric note, how would one detect that this kind of module
has been installed (modhide) ? I presume one could dive into /dev/mem or
load another module to go look, but I've no idea where to start.

-- 
Andrew Daviel, TRIUMF, Canada
Tel. +1 (604) 222-7376
security@triumf.ca


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2001-04-07  8:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-06  0:57 syslog insmod please! Andrew Daviel
2001-04-06  1:46 ` Ion Badulescu
2001-04-06  4:42   ` Andreas Dilger
2001-04-06  4:51     ` Ion Badulescu
2001-04-06 11:36       ` Mr. James W. Laferriere
2001-04-06 14:03         ` Wichert Akkerman
2001-04-06 14:43           ` Mr. James W. Laferriere
2001-04-06 14:54             ` Artur Frysiak
2001-04-06 15:08               ` Mr. James W. Laferriere
2001-04-06 17:52         ` Andrew Daviel
2001-04-06 11:53 ` David Woodhouse
2001-04-06 12:50 ` Philip Blundell
2001-04-07  8:28   ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).