 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Irregular Expressions &#187; freebsd</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/Irregular-Expressions/tag/freebsd/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/Irregular-Expressions</link>
	<description>Insight into current security related events and exploits, including virtualization security and tips.</description>
	<lastBuildDate>Sun, 28 Apr 2013 08:00:32 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Building a FreeBSD MAC Kernel &#8211; Part 2</title>
		<link>http://itknowledgeexchange.techtarget.com/Irregular-Expressions/building-a-freebsd-mac-kernel-part-2/</link>
		<comments>http://itknowledgeexchange.techtarget.com/Irregular-Expressions/building-a-freebsd-mac-kernel-part-2/#comments</comments>
		<pubDate>Fri, 21 May 2010 14:46:35 +0000</pubDate>
		<dc:creator>Dan O'Connor</dc:creator>
				<category><![CDATA[biba]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[freebsd kernel mac]]></category>
		<category><![CDATA[kernel freebsd]]></category>
		<category><![CDATA[mac biba]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/Irregular-Expressions/?p=251</guid>
		<description><![CDATA[Once the sync is completed go to /usr/src cd /usr/src/ There is a sys/ dir in under src/ in sys/ there is a listing of possible architectures you can build a kernel for, inside the one you select there is a conf/ dir. If you do a &#8216;ls&#8217; in the conf/ dir you will see [...]]]></description>
				<content:encoded><![CDATA[<p>Once the sync is completed go to /usr/src</p>
<pre>cd /usr/src/</pre>
<p>There is a sys/ dir in under src/ in sys/ there is a listing of possible architectures you can build a kernel for, inside the one you select there is a conf/ dir.</p>
<p>If you do a &#8216;ls&#8217; in the conf/ dir you will see the possible pre-built kernel configs you can select from. In the MAC config you will see a few options to uncomment.  Remove the # from infront of &#8216;options MAC_BIBA&#8217;.</p>
<pre>options        MAC
options        MAC_BIBA                # BIBA data integrity policy</pre>
<p>Once you are done that go back to /usr/src/ and you can start to make the kernel.</p>
<pre>make buildkernel KERNCONF=MAC
make installkernel KERNCONF=MAC</pre>
<p>That&#8217;s the build completed but there is a few more steps to configuring biba on your system to come.</p>
<pre></pre>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/Irregular-Expressions/building-a-freebsd-mac-kernel-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a FreeBSD MAC Kernel &#8211; Part 1</title>
		<link>http://itknowledgeexchange.techtarget.com/Irregular-Expressions/building-a-freebsd-mac-kernel-part-1/</link>
		<comments>http://itknowledgeexchange.techtarget.com/Irregular-Expressions/building-a-freebsd-mac-kernel-part-1/#comments</comments>
		<pubDate>Tue, 18 May 2010 18:42:39 +0000</pubDate>
		<dc:creator>Dan O'Connor</dc:creator>
				<category><![CDATA[biba]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[freebsd kernel mac]]></category>
		<category><![CDATA[kernel freebsd]]></category>
		<category><![CDATA[mac biba]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/Irregular-Expressions/?p=248</guid>
		<description><![CDATA[No not a Mac as in Apple, a MAC as in mandatory access control kernel with biba! To build your own MAC kernel or any FreeBSD kernel you will need to get the source tree, you can do this by using cvsup and a config file. Mine is called supfile, and it looks like this. [...]]]></description>
				<content:encoded><![CDATA[<p>No not a Mac as in Apple, a MAC as in mandatory access control kernel with biba!</p>
<p>To build your own MAC kernel or any FreeBSD kernel you will need to get the source tree, you can do this by using cvsup and a config file.</p>
<p>Mine is called supfile, and it looks like this.</p>
<pre>*default tag=RELENG_7_2_0_RELEASE
*default host=cvsup3.jp.FreeBSD.org
*default prefix=/usr
*default base=/var/db
*default release=cvs delete use-rel-suffix compress

src-all</pre>
<p>You will have to change the release as needed and you may want to pick another host. Once you have the file install cvsup.</p>
<pre>pkg_add -rv cvsup-without-gui</pre>
<p>Or you can use the ports tree if you want to, its under /usr/ports/devel/</p>
<p>Now run cvsup to download the tree.</p>
<pre>cvsup /usr/supfile</pre>
<p>And wait.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/Irregular-Expressions/building-a-freebsd-mac-kernel-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Verifying System Integrity</title>
		<link>http://itknowledgeexchange.techtarget.com/Irregular-Expressions/verifying-system-integrity/</link>
		<comments>http://itknowledgeexchange.techtarget.com/Irregular-Expressions/verifying-system-integrity/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 03:28:48 +0000</pubDate>
		<dc:creator>Dan O'Connor</dc:creator>
				<category><![CDATA[barnyard freebsd]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[hash]]></category>
		<category><![CDATA[integrity]]></category>
		<category><![CDATA[knoppix]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[sha1]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/Irregular-Expressions/?p=60</guid>
		<description><![CDATA[The team at isc.sans.org has an BETA version of hash checking application. http://isc.sans.org/tools/hashsearch.html I tired a few files from a FreeBSD machine I have, but it was not able to locate a match.  I am sure there would have been more success if files from a Windows based system had been tried. This will be [...]]]></description>
				<content:encoded><![CDATA[<p>The team at isc.sans.org has an BETA version of hash checking application. http://isc.sans.org/tools/hashsearch.html</p>
<p>I tired a few files from a FreeBSD machine I have, but it was not able to locate a match.  I am sure there would have been more success if files from a Windows based system had been tried.</p>
<p>This will be an excellent tool to verify the integrity of files on systems, more then once I have been in a situation where I needed to validate the integrity of a file with out a know good sample available.</p>
<p>If the status of a machine is in question I would not even collect the has off the system while it is running, booting into a liveCD like Knoppix ( http://www.knoppix.org/ ) or my favorite FreeBSD ( http://www.freebsd.org/where.html ) is the best way to ensure the integrity of the hash.</p>
<p>On freebsd you can use the md5 or sha1 command.</p>
<p>&gt; md5 /lib/libc.so.7<br />
MD5 (/lib/libc.so.7) = e16f4e5c137bd7f445b32733f45ac268</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/Irregular-Expressions/verifying-system-integrity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
