public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Stack smash protected daemons
@ 2004-09-22 15:54 John Richard Moser
  2004-09-22 16:04 ` Ciaran McCreesh
                   ` (6 more replies)
  0 siblings, 7 replies; 98+ messages in thread
From: John Richard Moser @ 2004-09-22 15:54 UTC (permalink / raw
  To: gentoo-security, gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It may be prudent to use extra protection on certain ebuilds in standard
Gentoo profiles where the changes would be significant in the case of a
security fault in the program.  Such programs as daemons and chmod()+s
programs would be major targets for this sort of thing.

The most immediately apparent route to take would be to have ebuilds
such as openssh, apache, and su stack smash protected.  This would
prevent common buffer overflow attacks from being used to compromise
security; such attacks would only cause the program attacked to abort,
which could still be used as a Denial of Service attack, but would not
allow successful intrusion.

Gentoo ships gcc with stack smash protection built in.  This is
activated by -fstack-protector or -fstack-protector-all.  It would be
feasible to add one of these flags to an ebuild based on a FEATURES or
USE setting.

I believe it would be a good idea to have such a FEATURES or USE flag on
by default in all profiles where SSP is supported.  In this manner, the
major targets of security attacks would automatically be protected;
while still allowing the user to disable the protection if the user
desires.  Users wanting more protection can simply add -fstack-protector
to CFLAGS, or use Hardened Gentoo.

Any comments?  Would this be more suitable as a USE or a FEATURES setting?

- --
All content of all messages exchanged herein are left in the
Public Domain, unless otherwise explicitly stated.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBUaBOhDd4aOud5P8RAv/sAKCGx+cy5D3U35jDvGEFV5fcInF2fwCfbvGM
QvF8iaV8fuNFVQcintwy+2o=
=4Gdc
-----END PGP SIGNATURE-----

--
gentoo-dev@gentoo.org mailing list


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

end of thread, other threads:[~2004-09-27  8:03 UTC | newest]

Thread overview: 98+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-22 15:54 [gentoo-dev] Stack smash protected daemons John Richard Moser
2004-09-22 16:04 ` Ciaran McCreesh
2004-09-22 17:06   ` Elfyn McBratney
2004-09-22 17:30   ` Marius Mauch
2004-09-22 21:13   ` John Richard Moser
2004-09-23  0:11     ` Ned Ludd
2004-09-23  0:27       ` Ciaran McCreesh
2004-09-23  0:38         ` Mike Frysinger
2004-09-23  0:42           ` Ciaran McCreesh
2004-09-23  2:40             ` Mike Frysinger
2004-09-23 14:47               ` Marius Mauch
2004-09-23 19:03                 ` Mike Frysinger
2004-09-23 20:28                   ` Ned Ludd
2004-09-23 20:35                     ` Ciaran McCreesh
2004-09-23 20:53                       ` Ned Ludd
2004-09-23 21:11                         ` Ciaran McCreesh
2004-09-23  1:40         ` John Richard Moser
2004-09-23  1:55           ` Ciaran McCreesh
2004-09-23  2:24             ` John Richard Moser
2004-09-23  1:48         ` Dave Monnier
2004-09-23  2:03         ` Ned Ludd
2004-09-23  2:08           ` Ciaran McCreesh
2004-09-23  2:25             ` John Richard Moser
2004-09-23  2:34             ` Ned Ludd
2004-09-23  3:12               ` Mike Frysinger
2004-09-23  2:41             ` Colin Kingsley
2004-09-23  2:47             ` Mike Frysinger
2004-09-23 23:29           ` Daniel Goller
2004-09-24  0:28           ` Jason Stubbs
2004-09-25 16:32             ` Bart Lauwers
2004-09-23  1:41       ` Christian Birchinger
2004-09-23 23:27   ` Daniel Goller
2004-09-23 23:27     ` Ciaran McCreesh
2004-09-22 16:48 ` Rumen Yotov
2004-09-22 17:59 ` Lance Albertson
2004-09-22 21:35   ` John Richard Moser
2004-09-22 21:53     ` Mike Frysinger
2004-09-22 23:49 ` Ned Ludd
2004-09-22 23:17   ` Donnie Berkholz
2004-09-23  0:26     ` Mike Frysinger
2004-09-23  0:37       ` Marius Mauch
2004-09-23  1:51         ` John Richard Moser
2004-09-23  2:44           ` Mike Frysinger
2004-09-23 14:55           ` Marius Mauch
2004-09-23 20:10             ` Paul de Vrieze
2004-09-24  0:41         ` Jason Stubbs
2004-09-24  0:46           ` Jason Stubbs
2004-09-24  0:52             ` John Richard Moser
2004-09-24  1:55               ` Marius Mauch
2004-09-23  4:01 ` John Richard Moser
2004-09-23  4:06   ` John Richard Moser
2004-09-23  5:26   ` Ned Ludd
2004-09-23  5:32     ` Mike Frysinger
2004-09-23  8:31     ` [gentoo-dev] " Thierry Carrez
2004-09-23 14:05       ` Thierry Carrez
2004-09-23 16:27         ` Ciaran McCreesh
2004-09-23 17:45           ` John Richard Moser
2004-09-24  3:21         ` John Richard Moser
2004-09-24  6:02           ` Ned Ludd
2004-09-24  6:34             ` Colin Kingsley
2004-09-24  6:34             ` John Richard Moser
2004-09-24  7:23               ` Colin Kingsley
2004-09-24 11:41                 ` Ciaran McCreesh
2004-09-24 12:42                 ` Spider
2004-09-24 13:03                   ` Colin Kingsley
2004-09-24 13:10                   ` Ciaran McCreesh
2004-09-24 15:48                   ` John Richard Moser
2004-09-24 19:00                     ` Paul de Vrieze
2004-09-25  1:19                     ` [gentoo-dev] " Duncan
2004-09-25  3:04                       ` John Richard Moser
2004-09-25 10:55                         ` [gentoo-dev] " Duncan
2004-09-23 17:27       ` [gentoo-dev] Re: [gentoo-security] " John Richard Moser
2004-09-25 17:26 ` [gentoo-dev] " Bart Lauwers
2004-09-25 17:35   ` Ciaran McCreesh
2004-09-25 21:42     ` Bart Lauwers
2004-09-25 22:29       ` Ciaran McCreesh
2004-09-25 23:46         ` Bart Lauwers
2004-09-25 23:54           ` Ciaran McCreesh
2004-09-27  8:02             ` Thierry Carrez
2004-09-26  0:18           ` Stephen P. Becker
2004-09-26  1:22       ` Jason Stubbs
2004-09-25 17:43   ` Rumen Yotov
2004-09-26  0:58   ` Jason Wever
2004-09-26  6:14     ` John Richard Moser
2004-09-26 13:04       ` Ciaran McCreesh
2004-09-26 16:22         ` John Richard Moser
2004-09-26 16:23           ` Ciaran McCreesh
2004-09-26 15:52       ` Stephen P. Becker
2004-09-26 16:18         ` John Richard Moser
2004-09-26 16:22           ` Ciaran McCreesh
2004-09-26 16:29           ` Stephen P. Becker
2004-09-26 16:11       ` Jason Wever
2004-09-26 16:41         ` John Richard Moser
2004-09-26 17:25           ` [gentoo-dev] Stack smash protected daemons [blah] Kumba
2004-09-26  6:39     ` [gentoo-dev] Stack smash protected daemons Rumen Yotov
2004-09-26 10:14       ` Colin Kingsley
2004-09-26 18:36         ` Jon Portnoy
2004-09-26 18:39 ` John Richard Moser

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