<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Security Is Simple: Only Use Perfect Software</title><subtitle type="html" /><id>http://blogs.msdn.com/crispincowan/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/crispincowan/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/crispincowan/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2008-04-28T10:32:00Z</updated><entry><title>ShmooCon and Interview</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/crispincowan/archive/2009/02/25/shmoocon-and-interview.aspx" /><id>http://blogs.msdn.com/crispincowan/archive/2009/02/25/shmoocon-and-interview.aspx</id><published>2009-02-26T00:54:00Z</published><updated>2009-02-26T00:54:00Z</updated><content type="html">&lt;P&gt;In early February, I gave a talk at &lt;A href="http://shmoocon.org/" mce_href="http://shmoocon.org/"&gt;ShmooCon&lt;/A&gt;.The &lt;A href="http://www.acm.uiuc.edu/conference/2008/video/UIUC-ACM-RP08-Cowan.wmv" mce_href="http://www.acm.uiuc.edu/conference/2008/video/UIUC-ACM-RP08-Cowan.wmv"&gt;content&lt;/A&gt; was the same as my talk &lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;at &lt;A href="http://www.acm.uiuc.edu/conference/2008/speakers#CrispinCowan" mce_href="http://www.acm.uiuc.edu/conference/2008/speakers#CrispinCowan"&gt;&lt;FONT color=#0000ff&gt;ACM Reflections&lt;/FONT&gt;&lt;/A&gt;, a student-run conference at the University of Illinois Champaign-Urbana. ShmooCon &lt;A href="http://www.nomoose.org/?p=57" mce_href="http://www.nomoose.org/?p=57"&gt;sells out&lt;/A&gt; anyway :) so I did not bother to blog about it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&amp;nbsp;While there, &lt;A href="http://elladodelmal.blogspot.com/" mce_href="http://elladodelmal.blogspot.com/"&gt;Chema&lt;/A&gt; (a Microsoft MVP, and another &lt;A href="http://shmoocon.org/presentations-all.html#blindsql" mce_href="http://shmoocon.org/presentations-all.html#blindsql"&gt;speaker&lt;/A&gt; at ShmooCon) asked me for a virtual interview, and it is now &lt;A href="http://elladodelmal.blogspot.com/2009/02/entrevsita-crispin-cowan-de-microsoft.html" mce_href="http://elladodelmal.blogspot.com/2009/02/entrevsita-crispin-cowan-de-microsoft.html"&gt;live&lt;/A&gt; on his blog.&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9444647" width="1" height="1"&gt;</content><author><name>crispincowan</name><uri>http://blogs.msdn.com/members/crispincowan.aspx</uri></author></entry><entry><title>Speaking at PDC</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/crispincowan/archive/2008/10/22/speaking-at-pdc.aspx" /><id>http://blogs.msdn.com/crispincowan/archive/2008/10/22/speaking-at-pdc.aspx</id><published>2008-10-22T20:31:00Z</published><updated>2008-10-22T20:31:00Z</updated><content type="html">Just a short note to let folks know that I will be at &lt;A title=PDC target=_blank href="http://www.microsoftpdc.com/" mce_href="http://www.microsoftpdc.com/"&gt;PDC&lt;/A&gt; next week, giving a &lt;A title="Windows 7: Best Practices for Developing for Windows Standard User" href="http://channel9.msdn.com/pdc2008/PC51/" mce_href="http://channel9.msdn.com/pdc2008/PC51/"&gt;talk on developing applications for standard user&lt;/A&gt;. Much of what I have to say will be familiar to fans of things like standard user and privilege levels. The new content this time is an architectural view of the &lt;EM&gt;right&lt;/EM&gt; way and the &lt;EM&gt;wrong&lt;/EM&gt; way for a software developer to use an elevated DCOM object to perform privileged operations. If you are going to be at PDC, please come to my talk, or feel free to just stop me if you see me around for a chat. I should be lurking around all of Tuesday and Wednesday, including the &lt;A title="'experts' you say? :-)" href="http://www.microsoftpdc.com/Agenda/UnSessions.aspx#ask-the-experts" mce_href="http://www.microsoftpdc.com/Agenda/UnSessions.aspx#ask-the-experts"&gt;"Ask the experts"&lt;/A&gt; session.&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9011437" width="1" height="1"&gt;</content><author><name>crispincowan</name><uri>http://blogs.msdn.com/members/crispincowan.aspx</uri></author><category term="PDC2008" scheme="http://blogs.msdn.com/crispincowan/archive/tags/PDC2008/default.aspx" /></entry><entry><title>Go Ahead, Make My Day</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/crispincowan/archive/2008/09/02/go-ahead-make-my-day.aspx" /><id>http://blogs.msdn.com/crispincowan/archive/2008/09/02/go-ahead-make-my-day.aspx</id><published>2008-09-03T09:16:00Z</published><updated>2008-09-03T09:16:00Z</updated><content type="html">&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;This blog is about my security work at Microsoft, not my past work in Linux. However, in a recent blog &lt;/FONT&gt;&lt;A href="http://etbe.coker.com.au/2008/08/23/apparmor-is-dead/" mce_href="http://etbe.coker.com.au/2008/08/23/apparmor-is-dead/"&gt;&lt;FONT color=#0000ff size=3 face=Calibri&gt;“AppArmor is Dead”&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3 face=Calibri&gt;, Russ Coker basically called me out by citing both this blog and AppArmor in the same post, so I am going to briefly go off topic and talk about Linux.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;Russ says that AppArmor is dead, because of the massive &lt;/FONT&gt;&lt;A href="http://news.cnet.com/8301-13580_3-9796140-39.html" mce_href="http://news.cnet.com/8301-13580_3-9796140-39.html"&gt;&lt;FONT color=#0000ff size=3 face=Calibri&gt;layoff&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3 face=Calibri&gt; from Novell of AppArmor workers in 2007, and SUSE’s recent decision to &lt;/FONT&gt;&lt;A href="http://news.opensuse.org/2008/08/20/opensuse-to-add-selinux-basic-enablement-in-111/" mce_href="http://news.opensuse.org/2008/08/20/opensuse-to-add-selinux-basic-enablement-in-111/"&gt;&lt;FONT color=#0000ff size=3 face=Calibri&gt;add SELinux as an option&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3 face=Calibri&gt;. He’s right that neither of these events is good for ApArmor, but I think he may be overstating things a little. AppArmor was added as the default security option in Ubuntu and Mandriva Linux, because of user demand for usable security.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;In contrast, I suspect that SELinux was added to SUSE Linux because Novell would like to sell more SUSE into US Federal Government accounts, where some of them have mandated SELinux as a requirement. This is actually reasonable, since SELinux is designed for Federal security requirements, and it shows in the &lt;/FONT&gt;&lt;A href="http://ars.userfriendly.org/cartoons/?id=20080831&amp;amp;mode=classic" mce_href="http://ars.userfriendly.org/cartoons/?id=20080831&amp;amp;mode=classic"&gt;&lt;FONT size=3 face=Calibri&gt;usability&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt; &lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;J&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;I am no longer involved in the AppArmor project, as I work for Microsoft now, and providing Windows with more usable security is where I put my creative energy. So maybe AppArmor is dying, maybe it isn’t. If AppArmor &lt;I style="mso-bidi-font-style: normal"&gt;does&lt;/I&gt; die, then in some sense it just makes my job here of enhancing the Windows security value proposition vs. Linux that much easier.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;So go ahead, make my day: ignore the popularity of AppArmor in the user community, keep blocking AppArmor from inclusion in Linus’ kernel. If all I have to do is make Windows security easier and more effective to deploy than SELinux, then my job is practically done for me &lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;J&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8921397" width="1" height="1"&gt;</content><author><name>crispincowan</name><uri>http://blogs.msdn.com/members/crispincowan.aspx</uri></author></entry><entry><title>UAC: Desert Topping, or Floor Wax?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/crispincowan/archive/2008/04/28/uac-desert-topping-or-floor-wax.aspx" /><id>http://blogs.msdn.com/crispincowan/archive/2008/04/28/uac-desert-topping-or-floor-wax.aspx</id><published>2008-04-28T20:32:00Z</published><updated>2008-04-28T20:32:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;Is UAC a convenience feature, or a security feature? &lt;/FONT&gt;&lt;A href="http://snltranscripts.jt.org/75/75ishimmer.phtml"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;Dessert topping or floor wax?&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt; How about both!&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Security can be a confusing black art, for both consumers and professionals alike. One reason is in the name of this blog, that insecurity results from imperfection, and we all know how difficult perfection is to achieve. Another reason is because reasoning about the consequences of &lt;I style="mso-bidi-font-style: normal"&gt;insecurity&lt;/I&gt; involves a great deal of reasoning about the unknown: what can happen to you as a result of a vulnerability? Well, that depends on who knows about it, when they know about it, when they know about it with respect to when some other people know about it, and so forth. Yet another reason is because &lt;I style="mso-bidi-font-style: normal"&gt;some&lt;/I&gt; security professionals (naming no names) find it to be in their interest to &lt;I style="mso-bidi-font-style: normal"&gt;keep&lt;/I&gt; security a black art &lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;J&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri&gt; I don’t hold with that: I am a cynic who, following the definition of Ambrose Bierce, prefers to see things as they are rather than as they ought be, and being an ill-mannered brute, I insist on calling a thing what it is, instead of what people wish it was.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Today’s entry will be about security &lt;B style="mso-bidi-font-weight: normal"&gt;values&lt;/B&gt;, which is to say what value can you really expect from a given technology, especially the access control technology I work on in Windows. Just to be clear, this blog is &lt;B style="mso-bidi-font-weight: normal"&gt;my opinion&lt;/B&gt; on what a technology is likely to do, and does not represent any kind of warranty by Microsoft.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;To start, we need to define some terms:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 1in; TEXT-INDENT: -0.5in"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;Security&lt;/B&gt; is the&lt;B style="mso-bidi-font-weight: normal"&gt; &lt;/B&gt;preservation of the three properties of confidentiality, integrity, and availability.&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 1.5in; TEXT-INDENT: -0.5in"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;Confidentiality&lt;/B&gt; means that your stuff is not disclosed unless you want it disclosed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 1.5in; TEXT-INDENT: -0.5in"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;Integrity&lt;/B&gt; means that your stuff is not changed unless you want it changed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 1.5in; TEXT-INDENT: -0.5in"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;Availability&lt;/B&gt; means that you, your users, customers, etc. can still use your stuff.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 1in; TEXT-INDENT: -0.5in"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;Security Feature: &lt;/B&gt;some kind of feature, widget, or thingie &lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;J&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri&gt; that makes it somewhat more likely that your security, as defined above, will be preserved.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 1in; TEXT-INDENT: -0.5in"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;Security Boundary:&lt;/B&gt; this is a special term to Microsoft. It means that if someone discloses a way to violate a Microsoft-defined security boundary, that Microsoft will release a security patch as soon as possible, so that the method to violate the boundary no longer works against patched systems.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Clearly, all security boundaries are security features, but not all security features are security boundaries. For an absurd example, hosting your web site on port 43392 instead of port 80 might be a security feature, because many attackers will not look there for a web server, but it is definitely not a security boundary, because an attacker can easily discover your web server running on port 43392 by just looking for it, and Microsoft is not going to issue any kind of patch to address this “problem”.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;Now let’s look at UAC (User Account Control) in this context, and see what security values it delivers. UNIX and Linux users have long known that you don’t read mail, surf the web, or IM as root (the UNIX equivalent of Administrator). You don’t do it because if there is a vulnerability in any of the software you are using to surf the Internet, then any malicious content you encounter could 0wn your entire machine. The &lt;/FONT&gt;&lt;A href="http://theinvisiblethings.blogspot.com/2007/02/running-vista-every-day.html"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;most important security&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt; “feature” that Vista brought to Windows users was the basic proposition that, perhaps, your default user login should not be an Administrator. Running as a non-administrator provides a lot of security value, but how secure it is, and whether it is a security &lt;I style="mso-bidi-font-style: normal"&gt;boundary&lt;/I&gt; is a complicated question, depending on what kind of account you are using. Pre-Vista, there were three kinds of accounts you would likely use:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 1in; TEXT-INDENT: -0.5in"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;I style="mso-bidi-font-style: normal"&gt;The&lt;/I&gt; Administrator:&lt;/B&gt; if you logged in with a user name of ‘administrator’ and then entered a password, you are &lt;I style="mso-bidi-font-style: normal"&gt;the&lt;/I&gt; administrator.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 1in; TEXT-INDENT: -0.5in"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;I style="mso-bidi-font-style: normal"&gt;An&lt;/I&gt; Administrator:&lt;/B&gt; if you logged in with just your own name, your account likely was &lt;I style="mso-bidi-font-style: normal"&gt;an&lt;/I&gt; administrator. This means you have your own identity, but you have (pretty much) all of the authority of &lt;I style="mso-bidi-font-style: normal"&gt;the&lt;/I&gt; Administrator. The good part was that you could do anything; install software, administer the firewall, add users, etc. The &lt;I style="mso-bidi-font-style: normal"&gt;bad&lt;/I&gt; news was that anyone who hacked your web browser, your mail client, etc. could “drive by” hack your machine and install malware, including fully powered &lt;/FONT&gt;&lt;/FONT&gt;&lt;A href="http://en.wikipedia.org/wiki/Rootkit"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;rootkits&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt;. It also meant that whenever you installed a program, perhaps something as harmless-seeming as some additional emoticons for your chat client, that it might also install some very difficult to remove &lt;/FONT&gt;&lt;A href="http://en.wikipedia.org/wiki/Spyware"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;spyware&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;, again possibly including a rootkit.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 1in; TEXT-INDENT: -0.5in"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;A Standard User:&lt;/B&gt; so called because it was &lt;I style="mso-bidi-font-style: normal"&gt;supposed&lt;/I&gt; to be the “standard” way to use Windows. A standard user may &lt;B style="mso-bidi-font-weight: normal"&gt;not&lt;/B&gt; install software, manipulate the firewall, or do other things that would compromise the security of Windows.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Of course, you &lt;I style="mso-bidi-font-style: normal"&gt;could&lt;/I&gt; run as a Standard User under Windows XP, but few people actually did. This is because it was inconvenient: if you wanted to install software or otherwise administer you machine, you had to &lt;I style="mso-bidi-font-style: normal"&gt;log out&lt;/I&gt;, exiting all your applications and losing all your state, log back in as An Administrator, do your configuration work, log out again, and finally log back in as a Standard User to finally get back to what you were doing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Vista sought to address this situation by introducing UAC (User Account Control) to give you control over which account you are using. Vista added a new kind of account:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 1in; TEXT-INDENT: -0.5in"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;Administrator running in Admin Approval Mode (AAM):&lt;/B&gt; this is kind of a hybrid between A&lt;I style="mso-bidi-font-style: normal"&gt;n&lt;/I&gt; Administrator and a Standard User. You get a &lt;I style="mso-bidi-font-style: normal"&gt;split token&lt;/I&gt;, which means you have the credentials of both a Standard User and an Administrator, and the right one is applied depending on what is going on.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;When people think of “UAC”, they often are only thinking of the UAC elevation prompt &lt;I style="mso-bidi-font-style: normal"&gt;per se&lt;/I&gt;. When you try to do something that requires Administrator privileges while running in AAM, then Vista presents you with a UAC prompting window that tells you what is being attempted, and asks you whether you would like to proceed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Vista also provides a UAC feature for Standard Users called the OTS (“Over The Shoulder”) elevation prompt. If you attempt something that requires Administrator privileges while running as a Standard User, then it presents you with a very similar elevation prompt, only this time it also asks for an Administrator’s password. “Over the shoulder” alludes to the idea that the Standard User does not have the Administrator password, and so you have to get your friend the Administrator to come enter it for you. However, in practice it may well be the case that the person using the Standard User account also has the Administrator password.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;Finally, Vista provides a &lt;/FONT&gt;&lt;A href="http://www.tweakuac.com/"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;Silent Mode&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt;. Silent Mode is not quite the same as completely disabling UAC. Instead, what it does is automatically approve all of the UAC prompts that would have been presented to you. However, Silent Mode still leaves in place some security features that completely disabling UAC would have removed, such as &lt;/FONT&gt;&lt;A href="http://www.microsoft.com/windows/products/windowsvista/features/details/ie7protectedmode.mspx"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;IE protected mode&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;It has been said that UAC’s features are &lt;B style="mso-bidi-font-weight: normal"&gt;convenience&lt;/B&gt; features rather than security features. What could that mean? Especially since UAC prompts can be quite annoying &lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;J&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;It is correct to say that UAC’s features are convenience features, in that it is &lt;B style="mso-bidi-font-weight: normal"&gt;much&lt;/B&gt; more convenient to respond to a UAC prompt than it is to have to switch to a separate desktop, log in as an administrator to do the administrative tasks, log out and then return to your standard user session. Whether one views a UAC prompt as a convenience or a nuisance depends on whether you compare it against running as a Standard User, or against running as a full Administrator: vs. running as Standard User UAC is a convenience feature that compromises security, but vs. running as an Administrator as was the default in XP UAC is a security enhancement.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;But does that mean that UAC is &lt;I style="mso-bidi-font-style: normal"&gt;not&lt;/I&gt; a security feature? No. UAC, in all of its forms, including Silent Mode, provides &lt;I style="mso-bidi-font-style: normal"&gt;some&lt;/I&gt; obstacles to attacks, and so so it is always a security feature. UAC in operation does nothing other than to say “no” to some access requests, and so it cannot be anything &lt;B style="mso-bidi-font-weight: normal"&gt;but&lt;/B&gt; a security feature.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;But how &lt;I style="mso-bidi-font-style: normal"&gt;much&lt;/I&gt; of a security feature is it? Does UAC provide a &lt;B style="mso-bidi-font-weight: normal"&gt;security boundary&lt;/B&gt;? That depends on which kind of user you are using, and how you use it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 1in; TEXT-INDENT: -0.5in"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;Standard User &lt;I style="mso-bidi-font-style: normal"&gt;Without&lt;/I&gt; OTS:&lt;/B&gt; this &lt;B style="mso-bidi-font-weight: normal"&gt;is&lt;/B&gt; a security boundary. There should not be any way for a non-privileged process to elevate to a privileged process, and if someone finds one, then Microsoft should issue a patch. Caveat: this is &lt;B style="mso-bidi-font-weight: normal"&gt;excluding&lt;/B&gt; mis-configurations such as 3&lt;SUP&gt;rd&lt;/SUP&gt; party software running with privilege or weak security settings.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 1in; TEXT-INDENT: -0.5in"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;Standard User &lt;I style="mso-bidi-font-style: normal"&gt;With&lt;/I&gt; OTS:&lt;/B&gt; this is questionable. There &lt;I style="mso-bidi-font-style: normal"&gt;should&lt;/I&gt; not be any way to elevate, but in practice the OTS elevation presents &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;potential area of attack. The attacker could inject malicious code into the user’s context, and it may trigger once the OTS elevation completes and the Administrator token is available.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 1in; TEXT-INDENT: -0.5in"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;Administrator in AAM:&lt;/B&gt; this is definitely &lt;B style="mso-bidi-font-weight: normal"&gt;not&lt;/B&gt; a security boundary. With the Administrator token available in the user’s space, it is too easy for malware to attack something in this very broad attack surface and gain elevation without the user’s approval. Microsoft could not patch this barrier without substantially breaking application compatibility.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 1in; TEXT-INDENT: -0.5in"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;Administrator in Silent Mode:&lt;/B&gt; Not even close to a security boundary. In silent mode, any malware in the user’s processes, such as an infection in the mail client, or in the web browser running at medium integrity, can ask for and &lt;B style="mso-bidi-font-weight: normal"&gt;get&lt;/B&gt; automatic elevation to Administrator.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Security is the business of saying “no” on occasion, and so it cannot help but compromise convenience. Thus there is a precisely inverse relationship between the security and the convenience offered by these 4 modes of operation in Vista. Users get to make the choice of which trade off they would like to make between security and convenience.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;I style="mso-bidi-font-style: normal"&gt;Intelligent&lt;/I&gt; security design is intuiting what users really need to do, and adapting the system so that it always says “no” to malicious acts, but also says “no” as little as possible, because it knows what the user is going to need to do. Vista/UAC says “no” far too often precisely because the idea of running lots of software without Administrator privileges is new to the Windows community, and so a lot of applications are using excessive privilege that they don’t need. We’re making a concerted effort to reduce the number of unnecessary UAC prompts in the future by improving the middleware and applications software to avoid performing privileged operations as much as possible. Making it possible for everyone to run as Standard User is the real long term security value.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8435769" width="1" height="1"&gt;</content><author><name>crispincowan</name><uri>http://blogs.msdn.com/members/crispincowan.aspx</uri></author><category term="uac security boundary vista" scheme="http://blogs.msdn.com/crispincowan/archive/tags/uac+security+boundary+vista/default.aspx" /></entry></feed>