Full Disclosure mailing list archives

Re: Security Updates Without Rebooting


From: Joachim Schipper <j.schipper () math uu nl>
Date: Wed, 9 Nov 2005 11:01:43 +0100

On Mon, Nov 07, 2005 at 10:42:11PM +0000, Carlos Silva aka|Danger_Man| wrote:
Hello all,

Can someone explain how to apply security patches on the system without 
rebooting the machine?

I guess that I cant patch the kernel without compiling and rebooting the 
machine, so the only way is with iptables and keeping the daemons "fresh"?

Regards,

Carlos Silva,

If we are talking some *nix, just stop the vulnerable daemon, update,
and start it again. Not very difficult...

Patching the kernel while running is be possible, but hardly practical -
unless you are very, very good. I've never seen it done, but it does
happen in rootkits and is said to be possible in many cases.

(What seems, to me, to be more practical is just to build a modular
Linux kernel and update only the vulnerable module with the most minimal
patch you can find - however, this only works with very modular kernels,
OpenBSD wouldn't be helped much by this. Then again, patching the
OpenBSD kernel isn't required too often...)

                Joachim
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


Current thread: