questions
Hi!
I am experimenting with selinux. My previous experiments included RSBAC with its RC model. It was (is) a system where there are multiple chrooted environments, and there is an RC emulation of Bell&LaPadula within them. Compared to that, the default selinux configuration is _way_ complicated. Now I am thinking about implementing either the above setup or a setup which is a combination of the above and the default policy. I just have to get in sync, and figure out how one can handle this complexity in a secure manner. (I guess that constraints will help, but the whole picture is far from clear.) This is why I have several questions.
-What tools and techniques exist for analysing the policy?
For example how can I list domains besides using grep and friends on the policy file?
I am also interested in techniques of analysing and designing MAC policies in general, and using TE and RBAC in particular. I presume that there is something newer than the Red and Aqua books on the issue, but where?
- Is polyinstantiation is put back to selinux yet? Having moldy directories based on subject domain would be nice. If not, what workarounds exist?
- What about networking? I see that there is nodecon and portcom, and someone has written that some networking functionality is out because of rejection of the corresponding LSM hooks. Do they work? Do we have an iptables context match module? Will we?
Thanx.
Signature · 7 lines
GNU GPL: csak tiszta forrásból -- 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.
Quoted 3 lines · Magosányi Árpád
- Is polyinstantiation is put back to selinux yet? Having moldy directories based on subject domain would be nice. If not, what workarounds exist?
There is no polyinstantiation (of e.g. directories, ports), and AFAIK, never has been.
Quoted 4 lines
- What about networking? I see that there is nodecon and portcom, and someone has written that some networking functionality is out because of rejection of the corresponding LSM hooks. Do they work?
Some of the missing networking functionality is in the process of being redesigned and added back in.
Quoted 1 line
Do we have an iptables context match module?
Not that I know of.
Quoted 1 line
Will we?
It is possible, if someone cares to do it.
- James
Signature · 9 lines
James Morris <[email protected]> -- 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.
Regarding your question:
-What tools and techniques exist for analysing the policy? -For example how can I list domains besides using grep and friends -on the policy file?
Tresys Technology is in ongoing development of a set of tools for analyzing policies. You can download the source from to following URL:
http://www.tresys.com/selinux_policy_tools.html. The current version has domain transfer analysis among other stuff. We will be releasing a newer version soon which will have some other great features.
-Kevin
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Magosányi Árpád
Sent: Saturday, August 23, 2003 5:12 PM
To: SELinux
Subject: questions
Hi!
I am experimenting with selinux. My previous experiments included RSBAC with its RC model. It was (is) a system where there are multiple chrooted environments, and there is an RC emulation of Bell&LaPadula within them. Compared to that, the default selinux configuration is _way_ complicated. Now I am thinking about implementing either the above setup or a setup which is a combination of the above and the default policy. I just have to get in sync, and figure out how one can handle this complexity in a secure manner. (I guess that constraints will help, but the whole picture is far from clear.) This is why I have several questions.
-What tools and techniques exist for analysing the policy?
For example how can I list domains besides using grep and friends on the policy file?
I am also interested in techniques of analysing and designing MAC policies in general, and using TE and RBAC in particular. I presume that there is something newer than the Red and Aqua books on the issue, but where?
- Is polyinstantiation is put back to selinux yet? Having moldy directories based on subject domain would be nice. If not, what workarounds exist?
- What about networking? I see that there is nodecon and portcom, and someone has written that some networking functionality is out because of rejection of the corresponding LSM hooks. Do they work? Do we have an iptables context match module? Will we?
Thanx.
Signature · 15 lines
GNU GPL: csak tiszta forrásból -- 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. -- 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.
Quoted 4 lines · Magosányi Árpád
-What tools and techniques exist for analysing the policy?
For example how can I list domains besides using grep and friends on the policy file?
You can check out our tools (http://www.tresys.com/setools), specifically apol for policy analysis. Apol has many features which can help you break down the policy components as well as search through the rules with filters on object types/classes/permissions/attributes/etc.
David
___________________________
David Caplan
Tresys Technology, LLC.
[email protected]
--
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.
Magosányi, Tresys has developed (and is continuing to develop) a number of tools for analyzing SELinux policy. These tools are included in the SELinux distribution, and are also available from www.tresys.com: apol is the primary policy analysis tool; sepcut allows
you to look at the various policy files and directories; seuser assists in managing users on an SELinux system.
Art
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Magosányi Árpád
Sent: Saturday, August 23, 2003 5:12 PM
To: SELinux
Subject: questions
Hi!
I am experimenting with selinux. My previous experiments included RSBAC with its RC model. It was (is) a system where there are multiple chrooted environments, and there is an RC emulation of Bell&LaPadula within them. Compared to that, the default selinux configuration is _way_ complicated. Now I am thinking about implementing either the above setup or a setup which is a combination of the above and the default policy. I just have to get in sync, and figure out how one can handle this complexity in a secure manner. (I guess that constraints will help, but the whole picture is far from clear.) This is why I have several questions.
-What tools and techniques exist for analysing the policy?
For example how can I list domains besides using grep and friends on the policy file?
I am also interested in techniques of analysing and designing MAC policies in general, and using TE and RBAC in particular. I presume that there is something newer than the Red and Aqua books on the issue, but where?
- Is polyinstantiation is put back to selinux yet? Having moldy directories based on subject domain would be nice. If not, what workarounds exist?
- What about networking? I see that there is nodecon and portcom, and someone has written that some networking functionality is out because of rejection of the corresponding LSM hooks. Do they work? Do we have an iptables context match module? Will we?
Thanx.
--
GNU GPL: csak tiszta forrásból
--
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.
--
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.
Quoted 6 lines · Art Wilson
Magosányi, Tresys has developed (and is continuing to develop) a number of tools for analyzing SELinux policy. These tools are included in the SELinux distribution, and are also available from www.tresys.com: apol is the primary policy analysis tool; sepcut allows
you to look at the various policy files and directories; seuser assists in managing users on an SELinux system.
Just as an aside, the Tresys setools aren't yet included in the new userland tree for the 2.6-based SELinux and the new 2.4-based SELinux (back port of the 2.6-based SELinux). They still need to be transferred over to the new tree and the Makefiles might need a little adjustment, since everything is now installed into standard locations rather than under /usr/local/selinux.
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.