<?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>winJade &#187; exploit</title>
	<atom:link href="http://winjade.net/tag/exploit/feed/" rel="self" type="application/rss+xml" />
	<link>http://winjade.net</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 27 Jun 2010 23:47:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>UAC in 7: Exponential Silent Attack Vector Multiplier</title>
		<link>http://winjade.net/2009/02/the-real-issue-with-win7-uac/</link>
		<comments>http://winjade.net/2009/02/the-real-issue-with-win7-uac/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 19:51:25 +0000</pubDate>
		<dc:creator>Bryant Zadegan</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Tips/Tricks/Hacks]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[critical]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[PROTIP]]></category>
		<category><![CDATA[ridiculous]]></category>
		<category><![CDATA[stupid]]></category>
		<category><![CDATA[UAC]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.aeroxp.org/2009/02/the-real-issue-with-win7-uac/</guid>
		<description><![CDATA[
(Update: official statement appended to the end of the post)
I’m going to open this post by kindly asking you, the user, to go into the Windows 7 Action Center (Control Panel, System and Security, Action Center), clicking “Change User Account Control settings” and setting it to the maximum setting (“Always notify me when…”).
The reason for [...]]]></description>
			<content:encoded><![CDATA[<p><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 0px 20px 20px; display: inline; border-right-width: 0px" title="badUAC" src="http://winjade.net/wp-content/uploads/2009/02/baduac.png" border="0" alt="badUAC" width="189" height="229" align="right" /></p>
<p><em>(<strong>Update:</strong> official statement appended to the end of the post)</em></p>
<p>I’m going to open this post by kindly asking you, the user, to go into the Windows 7 Action Center (Control Panel, System and Security, Action Center), clicking “Change User Account Control settings” and setting it to the maximum setting (“Always notify me when…”).</p>
<p>The reason for why I’m asking you to do this shouldn’t be a surprise. You may have seen the UAC posts by <a href="http://www.withinwindows.com/2009/01/30/malware-can-turn-off-uac-in-windows-7-by-design-says-microsoft/" target="_blank">Rafael Rivera</a> and <a href="http://www.istartedsomething.com/20090131/microsoft-dismisses-windows-7-uac-security-flaw-insists-by-design/" target="_blank">Long Zheng</a> (I’m giving more of the credit to Rafael since he actually brewed the proof of concept code). People saw their posts and immediately assumed that this issue is only relevant for users who download malware. Thus, you hear lots of users saying out loud with no apparent fear of embarrassment:</p>
<blockquote><p>“La di da, so long as I’m not stupid with what I download, I should be fine!”</p></blockquote>
<p>Right. Well, Microsoft basically recommends for users to install an antivirus because they don’t actually consider User Account Control to be a security feature. Anyone who knows the purpose of privilege management knows that any system which actively manages privileges is a security feature.</p>
<p>With this in mind, let’s take a look at why the UAC security flaw actually <em>is</em> a security flaw.</p>
<p><strong>Update 2:</strong> Steven and Jon posted a second post about UAC today specifically addressing this flaw. Catch their response below the break.</p>
<p><span id="more-798"></span></p>
<p>The goal of security engineers is to minimize the number of attack vectors. That way, the likelihood of a path of attack opening up is slim. This also allows for security engineers to kill the attack vector until a patch is released for the vulnerable application or component.</p>
<p>So, before actually continuing this post, lets quickly answer this question: What’s a <em>silent</em> attack vector? Basically, if there exists a path for malicious code to quietly hijack a computer (to hijack a computer without the user’s knowledge), it’s a silent vector of attack.</p>
<p>In Windows Vista, attacking a user-mode app isn’t going to completely fry your system. At the most, that one user account might be roasted, and this is easily fixed by logging into the default Administrator account and creating a new account from there. Any attacks which try to slam kernel-mode resources trigger an immediate UAC prompt as a last minute defense, which a user can simply deny, thus blocking the attack.</p>
<p>Mind you, if a malicious bit is determined, it can keep spamming you with UAC prompts if you click No, and you’ll have a hard time bailing out of them to resume your work, but even then, it’s only isolated to one account so long as you keep denying it. Just kill the power to the computer, reboot into the default Administrator account and create a new account for yourself.</p>
<p>Now that we’ve discussed why UAC is actually useful in Windows Vista, here’s the problem with Windows 7’s default UAC setting:</p>
<p>If a security hole is found in <strong>any</strong> user-mode application, that application can be infected and used to silently attack the system through keystrokes used to disable UAC when the user is away from the computer. This is, of course, why I call this security flaw an Exponential Silent Attack Vector Multiplier.</p>
<p>No matter what the application is, since keystrokes can be faked on explorer due to its “medium integrity” level of trust, <strong>any</strong> attack vector available through <strong>any</strong> application, process, what have you, can now be used to deliver a malicious payload which can completely take over the entire computer as opposed to just one user account.</p>
<p>It’s not just about what a user clicks anymore. All of a sudden, Windows 7 is now at risk from drive-by downloads in any browser, buffer overflow bugs in any application, or any other way of seamlessly delivering and executing a simple script to emulate keystrokes. Quite literally, the number of attack vectors increases with the number of applications installed.</p>
<ul>
<li>Got a .psd file which takes advantage of a flaw in Photoshop? There goes Windows.</li>
<li>Got an .odf file which takes advantage of a flaw in WordPad? (Yes, WordPad, since it can also open ODF files) There goes Windows.</li>
<li>Got an IM client which renders jpegs improperly and someone’s display icon contains an exploit? There goes Windows.</li>
<li>Got a browser which is susceptible to drive-by downloads? There goes Windows.</li>
<li>Got an mp3 which exploits a hole in Windows Media Player? How about a stream with malicious content which exploits a hole in QuickTime? What about a malicious podcast feed which can bust through the Zune Software or iTunes? <strong>There goes Windows.</strong></li>
</ul>
<p>The list of examples isn’t limited to the list above. Prior to this new “non-invasive” UAC, the number of silent attack vectors was limited to any flaws in elevated Windows components. Thanks to this flaw in UAC, the number of attack vectors is now effectively limited only to the number of vulnerabilities in applications available for Windows. (read: way more than in Windows alone)</p>
<p>What’s the important thing to learn from this? <em>If it can be executed and has a exploitable hole, thanks to this flaw in UAC, it can serve as a vector of attack.</em></p>
<p>This flaw is so ridiculously and utterly <strong>bad</strong> that it brings us right back to the times that people used XP with an unprotected administrative account. This essentially negates any benefit that UAC gives to the user.</p>
<p>Solution for the end user? Well, like I stated when I opened this post, max out UAC on Windows 7 <em>the immediate second you finish installing it</em> and do not connect Windows 7 to the internet until you do. Yes, you should be that paranoid; this flaw needs to be resolved immediately. If this really is by design, Microsoft screwed up.</p>
<p>I can’t wait to hear the explanation for this one. I love Windows 7, but when a team closes a report on a critical <em>demonstrated </em>security bug as “by design,” I don’t know what to think.</p>
<p><strong>Update: </strong>For now, an official Microsoft spokesperson gave the following <em>exact</em> statement regarding the issue: “We&#8217;re investigating and continue to thank everyone who provides feedback on the Windows 7 beta.”<br />
Look out for an update to this issue… hopefully soon. I know Charles Torre of Channel 9 fame had a UAC interview planned, but I don’t know where that went.</p>
<p><strong>Update 2:</strong></p>
<blockquote><p>With this feedback and a lot more we are going to deliver <strong>two changes to the Release Candidate</strong> that we’ll all see. First, the <strong>UAC control panel will run in a <em>high integrity </em>process</strong>, which requires elevation. That was already in the works before this discussion and doing this prevents all the mechanics around SendKeys and the like from working. Second, <strong>changing the level of the UAC will also prompt for confirmation</strong>.</p></blockquote>
<p>Source: <a href="http://blogs.msdn.com/e7/archive/2009/02/05/uac-feedback-and-follow-up.aspx">E7</a></p>
]]></content:encoded>
			<wfw:commentRss>http://winjade.net/2009/02/the-real-issue-with-win7-uac/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
