<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mandatory Access Controls on RESEARCHUT</title><link>https://researchut.com/tags/mandatory-access-controls/</link><description>Recent content in Mandatory Access Controls on RESEARCHUT</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>rrs@researchut.com (Ritesh Raj Sarraf)</managingEditor><webMaster>rrs@researchut.com (Ritesh Raj Sarraf)</webMaster><lastBuildDate>Thu, 08 Jul 2010 18:08:00 -0400</lastBuildDate><atom:link href="https://researchut.com/tags/mandatory-access-controls/index.xml" rel="self" type="application/rss+xml"/><item><title>SystemTap in Debian</title><link>https://researchut.com/post/9/</link><pubDate>Thu, 08 Jul 2010 18:08:00 -0400</pubDate><author>rrs@researchut.com (Ritesh Raj Sarraf)</author><guid>https://researchut.com/post/9/</guid><description>&lt;p>The latest kernel upload (2.6.32-16) brings goodies to SystemTap in Debian.
This version has added support for kprobes, on which systemtap has a major
dependency, for many of its features.&lt;/p>
&lt;p>Most of the systemtap instrumentation should work now and all of this will be
part of the Squeeze release. Instrumenting the kernel modules still needs some
work (DBTS: #555549) but can be done.&lt;/p></description></item><item><title>tomoyo for debian</title><link>https://researchut.com/post/13/</link><pubDate>Tue, 11 May 2010 03:50:00 -0400</pubDate><author>rrs@researchut.com (Ritesh Raj Sarraf)</author><guid>https://researchut.com/post/13/</guid><description>&lt;p>Just uploaded tomoyo-tools and is waiting in the NEW queue.&lt;/p>
&lt;p>Thanks to Moritz Muehlenhoff, tomoyo kernel support should be available in
Debian with kernel 2.6.32-13 and above.&lt;/p>
&lt;p>What is Tomoyo ?&lt;/p>
&lt;p>Description: Lightweight and easy-use Mandatory Access Control for Linux&lt;/p>
&lt;p>TOMOYO Linux is Lightweight and Usable Mandatory Access Control with&lt;/p>
&lt;p>- &amp;ldquo;automatic policy configuring&amp;rdquo; feature by &amp;ldquo;LEARNING mode&amp;rdquo;&lt;/p>
&lt;p>- administrators friendly policy language&lt;/p>
&lt;p>- no need libselinux nor userland program modifications&lt;/p>
&lt;p>.&lt;/p>
&lt;p>TOMOYO Linux consists of patches to Linux kernel and administrative&lt;/p>
&lt;p>utilities, and this package contains its audit daemon and tools.&lt;/p>
&lt;p>Description: Lightweight and easy-use Mandatory Access Control for Linux&lt;/p>
&lt;p>TOMOYO Linux is Lightweight and Usable Mandatory Access Control with&lt;/p>
&lt;p>- &amp;ldquo;automatic policy configuring&amp;rdquo; feature by &amp;ldquo;LEARNING mode&amp;rdquo;&lt;/p>
&lt;p>- administrators friendly policy language&lt;/p>
&lt;p>- no need libselinux nor userland program modifications .&lt;/p>
&lt;p>TOMOYO Linux consists of patches to Linux kernel and administrative utilities,
and this package contains its audit daemon and tools.&lt;/p></description></item><item><title>SELinux in Debian</title><link>https://researchut.com/post/34/</link><pubDate>Thu, 11 Dec 2008 16:46:00 -0500</pubDate><author>rrs@researchut.com (Ritesh Raj Sarraf)</author><guid>https://researchut.com/post/34/</guid><description>&lt;p>Thanks to &lt;strong>Pierre Chifflier&lt;/strong> , Debian now has setroubleshoot packaged. The
good thing about setroubleshoot is that it gives you a very user friendly
message about the SELinux violations that occur on your box while you were
doing something.&lt;/p>
&lt;p>Now that something is very difficult to define (at least for Debian). My day
job requires me to work on the RHELdistribution which has very good SELinux
policy defined (Same is the case with Fedora). Here&amp;rsquo;s a list of things which
Debian&amp;rsquo;s SELinux policy lacks and that RHEL/Fedora&amp;rsquo;s doesn&amp;rsquo;t&lt;/p>
&lt;ul>
&lt;li>&lt;code>acpi -V&lt;/code> raises a violataion&lt;/li>
&lt;li>&lt;code>dmesg&lt;/code> raises a violation&lt;/li>
&lt;li>&lt;code>apt-get update&lt;/code> raises a violation&lt;/li>
&lt;li>You can&amp;rsquo;t suspend, that raises a violation&lt;/li>
&lt;li>nvidia module load raises a violation (Oh!! Well. That&amp;rsquo;s binary-only.&lt;/li>
&lt;/ul>
&lt;p>But the same doesn&amp;rsquo;t raise a violation in Fedora)&lt;/p>
&lt;p>So even though I&amp;rsquo;d love to use SELinux on Debian, I can&amp;rsquo;t. Basic tasks are
seen as violation by the Debian SELinux Policy. Try out enabling SELinux in
Permissive mode and install setroubleshoot. You&amp;rsquo;ll see setroubleshoot pop-up a
SELinux violation every 5 seconds. Turns out that Debian&amp;rsquo;s SELinux policy is
becoming just too too much secure and thus interfering with the user using the
OS.&lt;/p></description></item></channel></rss>