Skip to contentSkip to conversation

[Fwd: Re: trusted vs untrusted packages]

Fwd: Re: trusted vs untrusted packages Chris PeBenito 3 participants 3 messages Oct 14, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw

(resend)
-----Forwarded Message-----

Quoted 19 lines

Subject: Re: trusted vs untrusted packages
Date: Mon, 13 Oct 2003 21:36:13 -0500

Quoted 4 lines · Russell Coker

One idea is to have signed packages be installed by rpm running as rpm_t and unsigned packages be installed by rpm running as rpm_unsigned_t [1]. So for example we could allow rpm_unsigned_t to install files in /sbin as sbin_unsigned_t and in /bin as bin_unsigned_t [2]. Then a program installed

I would think that some sort of trusted-path execution setup would be better. I don't know much about TPE, but this sounds like one situation that it would be good for. Then you could set it to not do domain transitions on untrusted stuff, and also require that sysadm_t only execute trusted stuff. The status as trusted or untrusted could be handled by another xattr. Then it also would not get overridden by a relabel. But I'm getting ahead of myself, since there is no TPE in SELinux. </brainstorm>

Might there one day be TPE in SELinux, or is that beyond its scope?

Signature · 12 lines
Chris PeBenito
<[email protected]>
Developer, SELinux
Hardened Gentoo Linux
 
Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE6AF9243
Key fingerprint = B0E6 877A 883F A57A 8E6A  CB00 BC8E E42D E6AF 9243

--
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.
#1 lore raw
Quoted 10 lines · Chris PeBenito
Quoted 10 lines

I would think that some sort of trusted-path execution setup would be better. I don't know much about TPE, but this sounds like one situation that it would be good for. Then you could set it to not do domain transitions on untrusted stuff, and also require that sysadm_t only execute trusted stuff. The status as trusted or untrusted could be handled by another xattr. Then it also would not get overridden by a relabel. But I'm getting ahead of myself, since there is no TPE in SELinux. </brainstorm>

Might there one day be TPE in SELinux, or is that beyond its scope?

Use type enforcement instead.

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
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.
#2 lore raw

Trust Basics

I suggest we also consider using the concept of time for upgrading our "trust" of code. This is in addition to other methods of knowing the source. It is another line of defense.

Not all code has to be trusted immediately, or applied.

I think this is what all of us do anyway, as we have learned to wait and listen for problem reports before applying patches.

It is what many of us do when we rescan our download subdirectories with the latest anti-virus, worm and trojan sigs.

Rob

--
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.