Skip to contentSkip to conversation

RBAC with SELinux MCS

DISCUSSION Shaz 3 participants 7 messages Jul 1, 2009 SELinux security module

lore
Share & tools
lore

Shaz

author
#0 lore raw

Dear list,

I was studying some earlier work on RBAC and came across Kuhn98 [1], which says that RBAC can be implemented if some interface function is used to map privilege sets of RBAC with MCS. James Moris blog article on MCS [2] states that MCS is just dicretionary like DAC if hierarchies like of MLS levels are not used. It might be because of the implementation of current LSPP on Linux distros. So my question is that can RBAC be used with SELinux if the mapping function is provided?

Some further literature or existing work being pointed out will be appreciated.

Thank you.

[1]
http://csrc.nist.gov/groups/SNS/rbac/documents/design_implementation/kuhn-98.pdf
[2] http://james-morris.livejournal.com/5583.html

Signature · 1 line
Shaz
#1 lore raw
Quoted 14 lines · Shaz

Dear list,

I was studying some earlier work on RBAC and came across Kuhn98 [1], which says that RBAC can be implemented if some interface function is used to map privilege sets of RBAC with MCS. James Moris blog article on MCS [2] states that MCS is just dicretionary like DAC if hierarchies like of MLS levels are not used. It might be because of the implementation of current LSPP on Linux distros. So my question is that can RBAC be used with SELinux if the mapping function is provided?

Some further literature or existing work being pointed out will be appreciated.

Thank you.

[1] http://csrc.nist.gov/groups/SNS/rbac/documents/design_implementation/kuhn-98.pdf
[2] http://james-morris.livejournal.com/5583.html

Signature · 1 line
Shaz

Im guessing the mapping function is "newrole" right! if then yeah you should be able too i.g.
newrole -r *_r -- -c /usr/bin/* (or wherever/whatever your wanting to use in that role).
might get complicated with the sensitivity
levels and categories(that is if you really tweak them).

Justin P. Mattock

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

author
#2 lore raw
Quoted 24 lines · Justin P. Mattock
Quoted 22 lines · Shaz

Dear list,

I was studying some earlier work on RBAC and came across Kuhn98 [1], which says that RBAC can be implemented if some interface function is used to map privilege sets of RBAC with MCS. James Moris blog article on MCS [2] states that MCS is just dicretionary like DAC if hierarchies like of MLS levels are not used. It might be because of the implementation of current LSPP on Linux distros. So my question is that can RBAC be used with SELinux if the mapping function is provided?

Some further literature or existing work being pointed out will be appreciated.

Thank you.

[1]
http://csrc.nist.gov/groups/SNS/rbac/documents/design_implementation/kuhn-98.pdf
[2] http://james-morris.livejournal.com/5583.html

--
Shaz

Quoted 6 lines
Quoted 1 line

Im guessing the mapping function is "newrole" right!

if then yeah you should be able too i.g.
newrole -r *_r -- -c /usr/bin/* (or wherever/whatever your wanting to use in that role).
might get complicated with the sensitivity
levels and categories(that is if you really tweak them).

Is this consistent with NIST RBAC standard to a greater extent? Never use roles in SELinux because thought it was just grouping of users.

Quoted 5 lines

Justin P. Mattock

Signature · 1 line
Shaz
#3 lore raw
Quoted 37 lines · Shaz

On Wed, Jul 1, 2009 at 12:01 PM, Justin P. Mattock <[email protected] <mailto:[email protected]>> wrote:

Shaz wrote:

Dear list,

I was studying some earlier work on RBAC and came across Kuhn98 [1], which says that RBAC can be implemented if some interface function is used to map privilege sets of RBAC with MCS. James Moris blog article on MCS [2] states that MCS is just dicretionary like DAC if hierarchies like of MLS levels are not used. It might be because of the implementation of current LSPP on Linux distros. So my question is that can RBAC be used with SELinux if the mapping function is provided?

Some further literature or existing work being pointed out will be appreciated.

Thank you.

[1]
http://csrc.nist.gov/groups/SNS/rbac/documents/design_implementation/kuhn-98.pdf
[2] http://james-morris.livejournal.com/5583.html

--
Shaz

Im guessing the mapping function is "newrole" right! if then yeah you should be able too i.g.
newrole -r *_r -- -c /usr/bin/* (or wherever/whatever your wanting to use in that role).
might get complicated with the sensitivity
levels and categories(that is if you really tweak them).

Quoted 12 lines

Is this consistent with NIST RBAC standard to a greater extent? Never use roles in SELinux because thought it was just grouping of users.

Justin P. Mattock

Signature · 1 line
Shaz

It should be of standard to NIST(if not then they should fix that) I don't see it as grouping users(but could be wrong),
I see it as a way of confining the situation i.g.
if you run an application in certain role, it's confined to that role and only the privileges that role provides.

Justin P. Mattock

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

author
#4 lore raw
Quoted 50 lines · Justin P. Mattock
Quoted 47 lines · Shaz

On Wed, Jul 1, 2009 at 12:01 PM, Justin P. Mattock < [email protected] <mailto:[email protected]>> wrote:

Shaz wrote:

Dear list,

I was studying some earlier work on RBAC and came across Kuhn98 [1], which says that RBAC can be implemented if some interface function is used to map privilege sets of RBAC with MCS. James Moris blog article on MCS [2] states that MCS is just dicretionary like DAC if hierarchies like of MLS levels are not used. It might be because of the implementation of current LSPP on Linux distros. So my question is that can RBAC be used with SELinux if the mapping function is provided?

Some further literature or existing work being pointed out will be appreciated.

Thank you.

[1]

http://csrc.nist.gov/groups/SNS/rbac/documents/design_implementation/kuhn-98.pdf

       [2] http://james-morris.livejournal.com/5583.html

       --        Shaz

Im guessing the mapping function is "newrole" right! if then yeah you should be able too i.g.
newrole -r *_r -- -c /usr/bin/* (or wherever/whatever your wanting to use in that role).
might get complicated with the sensitivity
levels and categories(that is if you really tweak them).

Is this consistent with NIST RBAC standard to a greater extent? Never use roles in SELinux because thought it was just grouping of users.

Justin P. Mattock

Quoted 8 lines
Quoted 4 lines

--
Shaz

It should be of standard to NIST(if not then they should fix that)

I don't see it as grouping users(but could be wrong), I see it as a way of confining the situation i.g. if you run an application in certain role, it's confined to that role and only the privileges that role provides.

Those privileges depend on the kind of object defined by the "class" and enforced by the object manager. I think its making sense to my stupid mind now :) I will appreciate if someone can clear out if this is consistent with the NIST standards.

Thanks Justin.

Quoted 7 lines

Justin P. Mattock

Signature · 1 line
Shaz
#5 lore raw
Quoted 62 lines · Shaz

On Wed, Jul 1, 2009 at 12:40 PM, Justin P. Mattock <[email protected] <mailto:[email protected]>> wrote:

Shaz wrote:

On Wed, Jul 1, 2009 at 12:01 PM, Justin P. Mattock <[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> wrote:

Shaz wrote:

Dear list,

I was studying some earlier work on RBAC and came across Kuhn98 [1], which says that RBAC can be implemented if some interface function is used to map privilege sets of
RBAC with
MCS. James Moris blog article on MCS [2] states that MCS is just dicretionary like DAC if hierarchies like of MLS
levels
are not used. It might be because of the implementation of current LSPP on Linux distros. So my question is that
can RBAC
be used with SELinux if the mapping function is provided?

Some further literature or existing work being pointed out will be appreciated.

Thank you.

[1]
http://csrc.nist.gov/groups/SNS/rbac/documents/design_implementation/kuhn-98.pdf
[2] http://james-morris.livejournal.com/5583.html

-- Shaz

Im guessing the mapping function is "newrole" right! if then yeah you should be able too i.g.
newrole -r *_r -- -c /usr/bin/* (or wherever/whatever your wanting to use in that role).
might get complicated with the sensitivity levels and categories(that is if you really tweak them).

Is this consistent with NIST RBAC standard to a greater extent? Never use roles in SELinux because thought it was just grouping of users.

Justin P. Mattock

--
Shaz

Quoted 9 lines

It should be of standard to NIST(if not then they should fix that) I don't see it as grouping users(but could be wrong),
I see it as a way of confining the situation i.g.
if you run an application in certain role, it's confined to that role and only the privileges that role provides.

Those privileges depend on the kind of object defined by the "class" and enforced by the object manager. I think its making sense to my stupid mind now :) I will appreciate if someone can clear out if this is consistent with the NIST standards.

That's fine
I'll add a CC to someone who has better knowledge than I with SELinux,

Quoted 4 lines

Thanks Justin.

Quoted 10 lines

Justin P. Mattock

Signature · 1 line
Shaz

Stephen if you can, and have the time could you help this person out with this question:
Is this consistent with NIST RBAC standard to a greater extent? Never use roles in SELinux because thought it was just grouping of users.

Justin P. Mattock

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

#6 lore raw
In reply to Shaz
Quoted 11 lines · Shaz

Dear list,

I was studying some earlier work on RBAC and came across Kuhn98 [1], which says that RBAC can be implemented if some interface function is used to map privilege sets of RBAC with MCS. James Moris blog article on MCS [2] states that MCS is just dicretionary like DAC if hierarchies like of MLS levels are not used. It might be because of the implementation of current LSPP on Linux distros. So my question is that can RBAC be used with SELinux if the mapping function is provided?

Quoted 8 lines

Some further literature or existing work being pointed out will be appreciated.

Thank you.

[1]
http://csrc.nist.gov/groups/SNS/rbac/documents/design_implementation/kuhn-98.pdf
[2] http://james-morris.livejournal.com/5583.html

SELinux implements its own RBAC model, described here:
http://www.nsa.gov/research/_files/selinux/papers/policy2/x86.shtml

By coupling RBAC with TE (which is a mandatory scheme), we can directly bind roles to processes and enforce RBAC restrictions at the operating system level. We also address some of the limitations of traditional RBAC through TE.

RBAC and MCS don't have anything to do with each other.

Signature · 8 lines
Stephen Smalley
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.