mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* security patch
@ 2005-09-22 19:44 breno
  2005-09-22 20:03 ` Valdis.Kletnieks
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: breno @ 2005-09-22 19:44 UTC (permalink / raw)
  To: linux-kernel

Hi people,

I'm doing a new feature for linux kernel 2.6 to protect against all kinds of buffer
overflow. It works with new sys_control() system call controling if a process can or can't
call a system call ie. sys_execve();

You can do it using /bin/sys_control <pid> <enable or not system call> <eax of system
call> <secret number>
for process that never call for example sys_execve(), setuid() ( you must need specify
each eax for each system call) and use some functions in sys_control.h like lock_execve(n)
and unlock_execve(n), where n is a secret number defined in sysctl. With this functions
you will use system calls only when you need. 
All shellcodes that use system calls like sys_execve() sys_setuid() will not work with
this feature.

I think it can be an option in linux kernel.

Questions .. suggestions.

Thanks

Breno at kalangolinux.org 


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

end of thread, other threads:[~2005-09-22 20:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-22 19:44 security patch breno
2005-09-22 20:03 ` Valdis.Kletnieks
2005-09-22 20:24   ` Zan Lynx
2005-09-22 20:32     ` Valdis.Kletnieks
2005-09-22 20:46     ` Chris Wright
2005-09-22 20:12 ` linux-os (Dick Johnson)
2005-09-22 20:47 ` Hagen Paul Pfeifer
2005-09-22 20:52 ` Chris Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®