From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Stephen Smalley <sds@epoch.ncsc.mil>
Cc: SE-Linux <selinux@tycho.nsa.gov>
Subject: Re: XP as a base for NetTop
Date: Tue, 1 Jun 2004 20:19:28 +0000 [thread overview]
Message-ID: <20040601201928.GQ5690@lkcl.net> (raw)
In-Reply-To: <1086111584.13325.111.camel@moss-spartans.epoch.ncsc.mil>
On Tue, Jun 01, 2004 at 01:39:44PM -0400, Stephen Smalley wrote:
> On Thu, 2004-05-27 at 19:52, Joshua Brindle wrote:
> > on the slide entitled seperation it says that ACL's are used to protect
> > the disk files so that rogue apps in a vm can't affect other vm's,
> > additionally each vm's disk file is encrypted so that only the 'level'
> > user can access it.
> >
> > Obviously both of these things can be done with (SE)Linux but it appears
> > they thought about this already.
>
> ACLs are a poor substitute for MAC, e.g. see
> http://marc.theaimsgroup.com/?l=selinux&m=104508693312829&w=2
NT Security Descriptors (which contain ACLs) were pinched pretty
much wholesale from VME / VMS, and they are a lot more comprehensive
than what is described at that reference.
NT security descriptors contain four ACLS:
- a system mandatory acl
- a system discretionary acl
- a [user?] mandatory acl
- a [user?] discretionary acl
bizarrely all of those are optional and the usual default behaviour
of an empty SD is "allow everything" which is about the only
stupidity of the NT security model.
NT ACLs themselves contain ACEs (access control entries) which
themselves contain a SID (security identifier) and an oh i forget
what call it a.. a... access permission set.
SIDs are up to 6 32-bit words in length and consist of a domain
prefix (long) and a suffix (only one, the last one, of the 32-bit
words).
access permissions are 32-bit - 16 of those bits are "generic"
and consist of things like generic read, generic write, generic
execute, then delete, access, etc. pretty much like capabilities,
and then there are 16-bits which are designated for "service-specific"
things.
so a service can create up to 16 separate "capabilities".
the only thing about the use of NT security descriptors is that they
are implemented pretty much exclusively in USER SPACE.
usually in those lovely DCE/RPC applications.
there is very little in the way of kernel-level support for NT
security descriptors, and what there is is self-contained and
uses the same API as the user-space applications e.g. the NT
SMB file server is all in kernel-space *gibber*.
so, what _most_ people think of in "ACLs" is user and group and
other read-write-execute lists, whereas in NT it's a lot more
comprehensive and pervasive.
and, due to the default of "allow everything if there's no SD"
it's a pretty moot issue, silly people.
as a developer, you make one mistake (add a new function and
forget to correct support the user-space SDs) and NT's toast.
l.
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2004-06-02 3:28 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-26 21:15 FW: XP as a base for NetTop Frank Mayer
2004-05-26 23:49 ` Chris Babcock
2004-05-27 8:07 ` Luke Kenneth Casson Leighton
2004-05-27 17:38 ` Dr. Eugene D. Myers
2004-05-27 17:43 ` Dr. Eugene D. Myers
2004-05-27 23:52 ` Joshua Brindle
2004-05-29 8:28 ` Luke Kenneth Casson Leighton
2004-05-29 10:12 ` kris carlier
2004-06-01 17:39 ` Stephen Smalley
2004-06-01 20:19 ` Luke Kenneth Casson Leighton [this message]
2004-06-02 6:27 ` Richard Sharpe
2004-06-02 11:09 ` Luke Kenneth Casson Leighton
2004-05-28 20:08 ` Luke Kenneth Casson Leighton
2004-05-27 18:04 ` FW: " Stephen Smalley
2004-05-29 15:26 ` Luke Kenneth Casson Leighton
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=20040601201928.GQ5690@lkcl.net \
--to=lkcl@lkcl.net \
--cc=sds@epoch.ncsc.mil \
--cc=selinux@tycho.nsa.gov \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.