From: Zan Lynx <zlynx@acm.org>
To: Valdis.Kletnieks@vt.edu
Cc: breno@kalangolinux.org, linux-kernel@vger.kernel.org
Subject: Re: security patch
Date: Thu, 22 Sep 2005 14:24:48 -0600 [thread overview]
Message-ID: <1127420688.10462.9.camel@localhost> (raw)
In-Reply-To: <200509222003.j8MK3i8E010365@turing-police.cc.vt.edu>
[-- Attachment #1: Type: text/plain, Size: 1257 bytes --]
On Thu, 2005-09-22 at 16:03 -0400, Valdis.Kletnieks@vt.edu wrote:
> On Thu, 22 Sep 2005 19:44:33 -0000, breno@kalangolinux.org said:
>
> > 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();
>
> This has been done before. ;)
>
> Also, note *VERY* carefully that this does *NOT* protect against buffer overflow
> the way ExecShield and PAX and similar do - this merely tries to mitigate the
> damage.
>
> Note that you probably don't *DARE* remove open()/read()/write()/close() from
> the "permitted syscall" list - and an attacker can have plenty of fun just with
> those 4 syscalls.
>
> (That's also why SELinux was designed to give better granularity to syscalls - it
> can restrict a program to "write only to files it *should* be able to write").
An interesting thing that I don't think has been done before is to
create a map linking stack call chains to syscalls. If the call stack
doesn't match then it isn't a valid call.
Although that might already be part of execution fingerprinting, now
that I think about it...
--
Zan Lynx <zlynx@acm.org>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-09-22 20:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-22 19:44 breno
2005-09-22 20:03 ` Valdis.Kletnieks
2005-09-22 20:24 ` Zan Lynx [this message]
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=1127420688.10462.9.camel@localhost \
--to=zlynx@acm.org \
--cc=Valdis.Kletnieks@vt.edu \
--cc=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®