From: breno@kalangolinux.org
To: linux-kernel@vger.kernel.org
Subject: security patch
Date: 22 Sep 2005 19:44:33 -0000 [thread overview]
Message-ID: <20050922194433.13200.qmail@webmail2.locasite.com.br> (raw)
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
next reply other threads:[~2005-09-22 19:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-22 19:44 breno [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050922194433.13200.qmail@webmail2.locasite.com.br \
--to=breno@kalangolinux.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®