From owner-freebsd-security Wed Jun 24 08:01:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA17706 for freebsd-security-outgoing; Wed, 24 Jun 1998 08:01:36 -0700 (PDT) (envelope-from owner-freebsd-security@FreeBSD.ORG) Received: from ccssu.crimea.ua (root@mordor.ccssu.crimea.ua [62.244.11.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA17675 for ; Wed, 24 Jun 1998 08:01:00 -0700 (PDT) (envelope-from stas@ssu.ccssu.crimea.ua) Received: from ssu.ccssu.crimea.ua (ssu.ccssu.crimea.ua [195.5.61.131] (may be forged)) by ccssu.crimea.ua (8.8.8/8.8.5) with ESMTP id RAA20379; Wed, 24 Jun 1998 17:59:37 +0400 Received: (from stas@localhost) by ssu.ccssu.crimea.ua (8.8.5/8.8.5) id SAA11520; Wed, 24 Jun 1998 18:02:19 +0400 (MSD) Date: Wed, 24 Jun 1998 18:02:19 +0400 (MSD) From: Stas Kisel Message-Id: <199806241402.SAA11520@ssu.ccssu.crimea.ua> To: ncb05@uow.edu.au, njs3@doc.ic.ac.uk, security@FreeBSD.ORG Subject: Re: non-executable stack? Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > From: njs3@doc.ic.ac.uk (Niall Smart) > Date: Wed, 24 Jun 1998 15:09:30 +0100 > It would be nice to have a filesystem non-executable-stack flag so that > it could be enabled/disabled on a per file basis. Another option would > be to only turn it on for set[ug]id executables. There are a number This option seems not so useful - many buffer overruns are(and will be) written for exploiting via network non-suid daemons, run as root or ever as nobody. E.g. overruns in CGI-scripts. > of other "features" like this that would be useful, for example the > ability to specify that only printable ascii characters can appear in > the arguments or environment of a process before it can exec another. > I haven't checked if its possible to write shellcode using just plain > ascii characters, if you can then this is obviously worthless, but I'd > be surprised if it's possible. \bye Stas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe security" in the body of the message