<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Security Is Simple: Only Use Perfect Software - All Comments</title><link>http://blogs.msdn.com/b/crispincowan/</link><description /><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: ShmooCon and Interview</title><link>http://blogs.msdn.com/b/crispincowan/archive/2009/02/25/shmoocon-and-interview.aspx#10241185</link><pubDate>Thu, 24 Nov 2011 05:44:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10241185</guid><dc:creator>mlm software noida</dc:creator><description>&lt;p&gt;Thank you &lt;/p&gt;
&lt;p&gt;The given information in blog is very usefull....&lt;/p&gt;
&lt;p&gt;&amp;lt;a herf=&amp;quot;www.ariestechsoft.net&amp;quot;&amp;gt;mlm software noida&amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10241185" width="1" height="1"&gt;</description></item><item><title>re: UAC: Desert Topping, or Floor Wax?</title><link>http://blogs.msdn.com/b/crispincowan/archive/2008/04/28/uac-desert-topping-or-floor-wax.aspx#10039367</link><pubDate>Sat, 17 Jul 2010 00:44:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10039367</guid><dc:creator>Alex Lunix</dc:creator><description>&lt;p&gt;Definitely floor wax, takes forever to use, and never works how you want it to.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10039367" width="1" height="1"&gt;</description></item><item><title>re: UAC: Desert Topping, or Floor Wax?</title><link>http://blogs.msdn.com/b/crispincowan/archive/2008/04/28/uac-desert-topping-or-floor-wax.aspx#8998549</link><pubDate>Mon, 13 Oct 2008 23:25:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8998549</guid><dc:creator>Alun Jones</dc:creator><description>&lt;p&gt;Describing Vista's UAC as a &amp;quot;convenience feature&amp;quot; underlies why it's loved by some, reviled by others.&lt;/p&gt;
&lt;p&gt;If your aim is to run as a restricted user as much as possible, and switch into administration mode only when you have to do an admin task, after which you remain restricted, then UAC is a convenience. It allows you to quickly switch from restricted to admin and back, far quicker and easier than a &amp;quot;Switch User&amp;quot; or logout/logon sequence that is your alternative.&lt;/p&gt;
&lt;p&gt;If your aim is to do administrative tasks along with other uses of your computer, UAC is an inconvenience.&lt;/p&gt;
&lt;p&gt;If all your software insists that you be an admin in order to run it, UAC is an inconvenience.&lt;/p&gt;
&lt;p&gt;Quite frankly, we should have been at a point a decade ago such that most users never/rarely have to be admin - games should not require you be an admin; office productivity tools shouldn't require it; it's embarrassing to me as a software developer to see that there are many popular programs out there that assume that we're still living in a Windows 98 world, where all users are the same user, and that user is an administrator.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8998549" width="1" height="1"&gt;</description></item><item><title>re: Go Ahead, Make My Day</title><link>http://blogs.msdn.com/b/crispincowan/archive/2008/09/02/go-ahead-make-my-day.aspx#8921952</link><pubDate>Wed, 03 Sep 2008 16:37:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8921952</guid><dc:creator>djcapelis</dc:creator><description>&lt;p&gt;I have a feeling the bar won't remain at SELinux's level for very long. &amp;nbsp;Usability and security are finally starting to sit down and have a chat.&lt;/p&gt;
&lt;p&gt;As for your job being practically done for you. &amp;nbsp;Never fear about that! &amp;nbsp;I'm sure you'll manage to figure out some sort of new system to work on. :)&lt;/p&gt;
&lt;p&gt;Just me know if you ever venture into the weird weird world of trusted computing. &amp;nbsp;There's good security features there, they're just hidden behind all the things that have nothing to do with good security and a few things that have to do with the opposite. :-\&lt;/p&gt;
&lt;p&gt;~D.J.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8921952" width="1" height="1"&gt;</description></item><item><title>re: UAC: Desert Topping, or Floor Wax?</title><link>http://blogs.msdn.com/b/crispincowan/archive/2008/04/28/uac-desert-topping-or-floor-wax.aspx#8883097</link><pubDate>Thu, 21 Aug 2008 05:21:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8883097</guid><dc:creator>VistaLover</dc:creator><description>&lt;p&gt;Alias33, why don't you read the whole article before jumping into kneejerk-attack-MS mode...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8883097" width="1" height="1"&gt;</description></item><item><title>re: UAC: Desert Topping, or Floor Wax?</title><link>http://blogs.msdn.com/b/crispincowan/archive/2008/04/28/uac-desert-topping-or-floor-wax.aspx#8871399</link><pubDate>Sat, 16 Aug 2008 09:24:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8871399</guid><dc:creator>alias33</dc:creator><description>&lt;p&gt;Did I just read UAC being referred to as a convenience feature?! You've used Vista for longer than 10 minutes at a time, right?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8871399" width="1" height="1"&gt;</description></item><item><title>re: UAC: Desert Topping, or Floor Wax?</title><link>http://blogs.msdn.com/b/crispincowan/archive/2008/04/28/uac-desert-topping-or-floor-wax.aspx#8464405</link><pubDate>Wed, 07 May 2008 03:56:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8464405</guid><dc:creator>crispincowan</dc:creator><description>&lt;p&gt;So your concern is about the attack surface security of the RPC protocol to trusted services. Lets consider the XP alternative: your trusted service was displaying an icon in the tray. This icon shares the desktop with the user, which means that any user process can send messages to your privileged service. This is what makes the attack surface for a privileged service with a desktop display icon rather large, and why Vista is an improvement.&lt;/p&gt;
&lt;p&gt;Note that if you wnat user interaction with a privileged service, then you inevitably are going to have *some* attack surface. The fussing is over what that surface looks like, and how to minimize and harden it.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8464405" width="1" height="1"&gt;</description></item><item><title>re: UAC: Desert Topping, or Floor Wax?</title><link>http://blogs.msdn.com/b/crispincowan/archive/2008/04/28/uac-desert-topping-or-floor-wax.aspx#8447461</link><pubDate>Thu, 01 May 2008 22:26:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8447461</guid><dc:creator>Nick42</dc:creator><description>&lt;p&gt;A specific example, to show what I mean.&lt;/p&gt;
&lt;p&gt;Say you have a simple app that does some admin task (eg: periodic virus scan). You have implemented it as a service, and expose a tray icon to allow the active user to pause the scan for some period of time. You have installed the service running as LocalSystem, with Interact with Desktop. Your TCB surface, in this case, is the Windows messages sent to your tray icon (assuming the user is not already in the TCB).&lt;/p&gt;
&lt;p&gt;In Vista, this needs to be changed. I need to have a user-mode app to interact with the Shell, and my TCB service. The TCB service needs a custom RPC which is not allowed to be Windows messages, or any other easily understood and well-tested RPC; I must make my own, using something like sockets, named pipes, shared memory, or the RPC support. Moreover, this RPC may be exposed to all users, not just the desktop user, and may be remotable if I'm not careful. There may also be timing issues, or other things I have not considered.&lt;/p&gt;
&lt;p&gt;Yes, my concern is primarily with the RPC protocols. It always seemed silly to me for MS to go through all the work reducing the RPC surface on built-in services, and then force ISV's to expand it with custom RPC's. Hope that helps clarify what I meant.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8447461" width="1" height="1"&gt;</description></item><item><title>re: UAC: Desert Topping, or Floor Wax?</title><link>http://blogs.msdn.com/b/crispincowan/archive/2008/04/28/uac-desert-topping-or-floor-wax.aspx#8447418</link><pubDate>Thu, 01 May 2008 21:53:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8447418</guid><dc:creator>crispincowan</dc:creator><description>&lt;p&gt;Nick; setting aside interpreting whatever the authors of i-Reboot meant, I'm not sure I understand your point.&lt;/p&gt;
&lt;p&gt;Any ISV that needs to deploy privileged software necessarily expands the TCB to include their privileged software. This is always the case, on Windows, Mac OSX, Linux, etc.: software that has administrative privilege must be considered part of the TCB. So we are not getting out of ISVs expanding the TCB.&lt;/p&gt;
&lt;p&gt;Perhaps your issue is with respect to the RPC protocols used to communicate with Administrator services in Windows? What is the issue here?&lt;/p&gt;
&lt;p&gt;With respect to the TCB attack surface exposed to users: it is true that AAM on Vista offers a larger attack surface than Standard User on XP. However, (I suspect) that the attack surface for a true Standard User in Vista is considerably smaller than for a Standard User in XP, just because a lot of attack surface analysis was done in Vista to minimize this.&lt;/p&gt;
&lt;p&gt;It is true that installing 3rd party trusted software in Vista does expand the TCB attack surface by providing exposed Administrator services, but I don't see this as a degredation vs. XP. For XP to do precisely the same thing, they would have to also install an Administrator Service. More likely, XP code would just assume that you are running the desktop application as Administrator and not do any privilege separation at all.&lt;/p&gt;
&lt;p&gt;Sorry if I've missed your point.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8447418" width="1" height="1"&gt;</description></item><item><title>re: UAC: Desert Topping, or Floor Wax?</title><link>http://blogs.msdn.com/b/crispincowan/archive/2008/04/28/uac-desert-topping-or-floor-wax.aspx#8447412</link><pubDate>Thu, 01 May 2008 21:45:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8447412</guid><dc:creator>crispincowan</dc:creator><description>&lt;p&gt;Morten; yes you could use TPM, and a whole chain of software up through the stack to the graphics card and the mouse, to prove that a user really did click &amp;quot;that&amp;quot;. The problem then becomes &amp;quot;what did you mean by 'that'?&amp;quot;&lt;/p&gt;
&lt;p&gt;Fundamentally, everything you do on your computer is a consequence of some kind of user action, which causesd a chain of software events to occur. It really is a very long chain of events; the only thing you directly cause to happen by clicking the mouse button is a circuit closes, some sensors go off, and an interrupt is raised to the CPU. Then some interrupt handling software goes off, queues an event that a mouse has been clicked, that goes into the .... you get the idea.&lt;/p&gt;
&lt;p&gt;My point being, even with a very direct click of a mouse on an install button, your &amp;quot;action&amp;quot; is quite indirect. In the case of malware, the path is only slightly more indirect. In fact, it may not be any more indirect than an actual deliberate user action, it is just unexpected.&lt;/p&gt;
&lt;p&gt;While it is theoretically possible to crypto sign the entire chain of software from the TPM through the boot device, the mouse the window system, the graphics card, everything between your finger and the silicon, the management of maintaining certificates for all of that is awful, and I'm not convinced that when you are done, it really means what you want it to mean.&lt;/p&gt;
&lt;p&gt;Instead, what UAC does is pop the the secure desktop (that grey-out look) which shuts out all other software, and asks you if you really meant to do this action that requires privilege. I really don't think there is any other way to do it.&lt;/p&gt;
&lt;p&gt;What we can improve on is to do it a lot less often. We do that by cleverly adapting to what users really do, automating some privileged stuff by putting more software inside the TCB, and changing other software so that it no longer has to trust the TCB.&lt;/p&gt;
&lt;p&gt;Meanwhile, if you really don't want to see the prompts, and you don't mind the implicit compromise in security, go ahead and use Administrator in Silent Mode.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8447412" width="1" height="1"&gt;</description></item></channel></rss>