<?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>therning.org/ magnus &#187; integrity control</title>
	<atom:link href="http://therning.org/magnus/archives/tag/integrity_control/feed" rel="self" type="application/rss+xml" />
	<link>http://therning.org/magnus</link>
	<description>Incoherent mumblings</description>
	<lastBuildDate>Thu, 12 Jan 2012 13:40:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>More on Vista&#8217;s &#8220;integrity control&#8221;</title>
		<link>http://therning.org/magnus/archives/261</link>
		<comments>http://therning.org/magnus/archives/261#comments</comments>
		<pubDate>Tue, 06 Mar 2007 15:48:29 +0000</pubDate>
		<dc:creator>Magnus</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[integrity control]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[windows vista]]></category>

		<guid isPermaLink="false">http://therning.org/magnus/archives/261</guid>
		<description><![CDATA[I just noticed a post by Joanna Rutkowska on a very handy little tool&#8212;chml. For the record I&#8217;d like to point out that this tool further highlights how confused the MIC is in Windows Vista. A no-read-up policy in integrity control? I rest my case.]]></description>
			<content:encoded><![CDATA[<p>I just noticed <a href="http://theinvisiblethings.blogspot.com/2007/03/handy-tool-to-play-with-windows.html">a post by Joanna Rutkowska</a> on a very handy little tool&#8212;<a href="http://www.minasi.com/vista/chml.htm">chml</a>.</p>

<p>For the record I&#8217;d like to point out that this tool further highlights how confused the MIC is in Windows Vista. A <em>no-read-up policy</em> in <em>integrity control</em>? I rest my case.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftherning.org%2Fmagnus%2Farchives%2F261&amp;title=More%20on%20Vista%26%238217%3Bs%20%26%238220%3Bintegrity%20control%26%238221%3B" id="wpa2a_2">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://therning.org/magnus/archives/261/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>M$ Vista security, &#8220;integrity control&#8221;</title>
		<link>http://therning.org/magnus/archives/259</link>
		<comments>http://therning.org/magnus/archives/259#comments</comments>
		<pubDate>Mon, 05 Mar 2007 23:10:00 +0000</pubDate>
		<dc:creator>Magnus</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[integrity control]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[windows vista]]></category>

		<guid isPermaLink="false">http://therning.org/magnus/archives/259</guid>
		<description><![CDATA[Lately I&#8217;ve spent some time looking at Windows Vista security. Basically just trying to catch up with some of the changes introduced and mostly done through reading whatever I come across. I&#8217;ve spent only a little time actually playing with Vista though, and I&#8217;ve not gotten to the nitty-gritty since I haven&#8217;t written any code [...]]]></description>
			<content:encoded><![CDATA[<p>Lately I&#8217;ve spent some time looking at Windows Vista security.  Basically just trying to catch up with some of the changes introduced and mostly done through reading whatever I come across.  I&#8217;ve spent only a little time actually playing with Vista though, and I&#8217;ve not gotten to the nitty-gritty since I haven&#8217;t written any code at all.</p>

<p>So, what is my impression so far?</p>

<p>Well, they&#8217;ve done a reasonable job given where they started.  Already on a very high level it&#8217;s clear that Microsoft still prefers to offer convenience over security in their UI.  I was shocked to see that the dialogue for creating a new user didn&#8217;t promote entering a password.  No, to do that you have to press the mouse a few extra times.  Since local escalation often is a walk in the park I had expected Microsoft to <em>strongly</em> encourage users of Vista to create accounts with passwords.
Then on to details.  First integrity levels, or MIC (mandatory integrity control).  <a href="http://blogs.technet.com/steriley/archive/2006/07/21/442870.aspx">Steve Riley says</a> they&#8217;ve based it on the Biba-model.  I think &#8220;based&#8221; in this context really only entails using some of the terminology.  A model of <em>read-any</em>, <em>write-down</em> already suggests a bastardisation of Biba and once you add the rules for process-execution integrity you really do take a huge step away from Biba.  This is what I&#8217;ve found so far:</p>

<table border="1">
<tr><th>User lvl</th><th colspan="3">Exe lvl</th></tr>
<tr><td> </td><td><i>Low</i></td><td><i>Medium</i></td><td><i>High</i></td></tr>
<tr><td><i>Medium</i></td><td>Low</td><td>Medium</td><td>Medium</td></tr>
<tr><td><i>High</i></td><td>High</td><td>High</td><td>High</td></tr>
</table>

<p>(I haven&#8217;t found a way to create a user on the low level so that line is missing.)</p>

<p>Spot the strange things in the bottom line?  Yes, they seem to have mixed up <em>min</em> and <em>max</em> <img src='http://therning.org/magnus/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />   I do see the point though, usability and convenience.  However, to still call this model &#8220;based on Biba&#8221; requires quite a lot of hallucinogens.</p>

<p>I also noticed that the integrity level of an executable doesn&#8217;t seem to be passed on to the files it&#8217;s creating.  At least not at all times.  I was running a high-level notepad and created medium-level files.  I should note that a low-level notepad creates low-level files though.  Not really insecure or anything, just a little unexpected.</p>

<p>So far my impression of MIC in Vista is that the people commenting on Steve Riley&#8217;s blog post are onto something.  Microsoft has taken MIC and in the implementation somehow got it mixed up with MAC.  I almost suspect they really wanted MAC but decided it was too intrusive and picked the closest thing, acronym-wise.  The conspiratorist in me finds evidence of that in the API <a href="http://msdn2.microsoft.com/en-us/library/aa965464.aspx">AddMandatoryAce</a> where ACE stands for Access Control Entity.</p>

<p>Based on what I&#8217;ve found so far, and also inspired by <a href="http://theinvisiblethings.blogspot.com/2007/02/running-vista-every-day.html">Rutkowska&#8217;s recent rant on UAC</a> I think Vista security is a classical case of <a href="http://www.schneier.com/blog/archives/2007/02/cya_security_1.html">CYA</a>.  Microsoft is blamed for all Windows problems and the security added in Vista makes it possible for Microsoft to deflect some of that blame and put it on applications, where it often belongs.</p>

<p>So, am I impressed?  Only mildly impressed so.  Five years and this is it?  As so often I get the feeling Microsoft is controlled by people who just don&#8217;t get it.  Recently I saw a presentation on <a href="http://video.google.com/videoplay?docid=-7398680103951126462&amp;q=zeroconf">ZeroConf</a> and the presenter had a quote (I paraphrase):</p>

<blockquote>
  <p>You are done, not when you can&#8217;t think of anything more to add but when you can&#8217;t think of anything more to remove.</p>
</blockquote>

<p>There are many companies in the software field who&#8217;d benefit from applying that.  Microsoft more than most!</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftherning.org%2Fmagnus%2Farchives%2F259&amp;title=M%24%20Vista%20security%2C%20%26%238220%3Bintegrity%20control%26%238221%3B" id="wpa2a_4">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://therning.org/magnus/archives/259/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

