Skip to contentSkip to conversation

IBM's Multics paper

DISCUSSION Trent Jaeger 1 participant 1 message Sep 10, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

My lovely mail client makes it hard for me to respond to all your points in one email, so I am going to try one at a time.

Quoted 4 lines · Trent Jaeger
Quoted 3 lines

The numbers for this paper are from the policy files, policy.conf (pre-processed), and ss_policy (compiled) and they are for the complete SELinux example policy as stated in the paper.

Russell replied:

Quoted 1 line

That is more numbers than seem to be expressed in the paper. Also as

Steve

Quoted 1 line

pointed out the complete policy should be compared to the size of part of

the

Quoted 1 line

file system meta-data that represents ACLs.

The point Paul is trying to make is that the mandatory policy implemented by Multics (was MLS) was represented by an simple algorithm executing in the kernel and its integrity depended on an ACL on one file. Therefore, it is not necessary to include all ACLs in the analysis.

Now I agree with Paul that this is a fair comparison, but I believe that a simple mandatory policy can be expressed for SELinux and verified against the current TE policy to achieve the same goal. We just haven't done it yet. Most of the rest of the note was about how I am starting to go about it.

Trent.
----------------------------------
Trent Jaeger
IBM T.J. Watson Research Center
19 Skyline Drive
Hawthorne, NY 10532
[email protected]
(914) 784-7225, FAX (914) 784-7595

Russell Coker <[email protected]> on 09/10/2002 01:46:03 PM

Please respond to Russell Coker <[email protected]>

To: Trent Jaeger/Watson/IBM@IBMUS
cc: Tracy R Reed <[email protected]>, SE Linux
<[email protected]>, Paul A Karger/Watson/IBM@IBMUS
Subject: Re: IBM's Multics paper

Quoted 3 lines

I agree that the policy can be cut-down (and should be based on your security target), but I am not aware of any principled approaches for cut-down. This is the interface that administrators see at present.

My latest Debian install scripts will prompt the administrator at install time
for the removal of unwanted policy files. However these are still a bit experimental and I have not published them here yet (and I don't think I wrote them before the paper in question was written).

Quoted 4 lines

Personally, I believe that access decisions must be made at the SELinux policy level, but I think that the point that Paul is trying to make is that strong security guarantees must be expressed in a way that average system administrators can maintain (many folks on this list are well

above

Quoted 1 line

average :->). I don't think that the strong system security guarantees

in

Quoted 2 lines

Multics were dependent on the fine-grained policy, so this should not be the case for SELinux either.

How can an average sysadmin be expected to determine the details of policy? We are working on ways of allowing them to easily manage things at a high level (including policy for certain services etc), and we can also use macros
for basic configuration of such services. But when it comes to issues such as whether a daemon should have an "allow" or an "dontaudit" rule concerning
access to the sysadm tty types it's something that none of us can agree on yet! So expecting a typical sysadmin to do the right thing is probably expecting too much.

Securing complex systems is inherantly complex and requires a great understanding.

Quoted 1 line

A number of folks are awarelooking into policy management, but let me

just

Quoted 1 line

update you on my recent efforts that are consistent with this discussion.

I

Quoted 1 line

am doing a simple Biba integrity verification on the Apache policy

relative

Quoted 4 lines

the rest of the SELinux example policy (assuming trusted system and authentication services). Interestingly, the only violations are: (1) shared files: /tmp, tmpfs_t, writeable_t; (2) a number of logging and system status files; (3) interactions with many services that would not

be

Quoted 2 lines

run with Apache (possible cut-downs). Shared /tmp is a well-known UNIX problem, but its solution is independent of SELinux (although it would be

a

Quoted 2 lines

significant benefit). Log files could be handled as exceptions, likely, although I am still looking at this.

Interesting, I look forward to when you publish this.

I think that the Apache policy needs to be changed regardless of these issues,
it's got a number of usability issues.

Quoted 3 lines

An issue that I am interested in is policy interactions with other services. For example, sendmail can edit files in /etc that Apache is permitted to read. This could be handled by editing the policy, but if

you

Quoted 2 lines

are running a highly secure Apache server do you really want to run sendmail too?

Use Postfix or Qmail and this problem should go away...

Quoted 6 lines

Rather than editing the policy to create your own
specialized, possibly ad hoc policy, might it be possible to create "conflicting subjects" that are not permitted to run together. Thus, the current SELinux policy would remain largely unchanged, but the security guarantees that this policy implements can be understood and verified against the SELinux policy.

I have been thinking of such things for usability issues. EG Sendmail and Postfix policies conflicting.

Quoted 8 lines

Then, the policy that the TCB depends on might include only a high-level Biba lattice, some verified exceptions, and some conflicting subjects. This would be much smaller than the entire SELinux policy (and Multics), but you would still have the fine-grained control that you really need to ensure the higher level requirements.

Does this seem like a reasonable direction? Does this interact with the other work on policy management for SELinux?

That sounds promising to me, but I'm not nearly as qualified as Steve et al to
comment on this...

Also in regard to Steve's comment on the Multics paper, I didn't interpret it
as needlessly criticising SE Linux and other similar projects. There are some valid criticisms of the approach we are taking. Designing a new OS from
scratch will give better security. Also I can understand that if someone writes an OS based on their ideas of the best way of doing things then naturally they will use it as an example of the way things should be done.

However I think that the mention of SE Linux did not contain enough detail for
a fair comparison. I think that given the nature of the paper it would make
more sense to just discuss the concept of adding security to an existing Unix
OS (which applies equally to Trusted Solaris, Trusted BSD, etc). A good supporting point for this is that Sun is apparently going to make Trusted Solaris the only Solaris (I am surprised that this was not mentioned in the paper). This could have been done without judging the implementation of Trusted Solaris, but just on the basis that the senior management of Sun have
become convinced of some of the views expressed in that paper and backed their opinion with some significant investments in technology.

Russell Coker

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.