<?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; stupid</title>
	<atom:link href="http://winjade.net/tag/stupid/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>Microsoft lists UAC hack as malware</title>
		<link>http://winjade.net/2009/07/microsoft-lists-uac-hack-as-malware/</link>
		<comments>http://winjade.net/2009/07/microsoft-lists-uac-hack-as-malware/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 19:30:21 +0000</pubDate>
		<dc:creator>Maurice</dc:creator>
				<category><![CDATA[!Important]]></category>
		<category><![CDATA[AeroXP]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Tips/Tricks/Hacks]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[lol wut]]></category>
		<category><![CDATA[stupid]]></category>
		<category><![CDATA[The left arm doesn't quite know what the right arm is doing]]></category>
		<category><![CDATA[UAC]]></category>
		<category><![CDATA[What went wrong?]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.aeroxp.org/?p=1107</guid>
		<description><![CDATA[As those involved in the Windows 7 community may know, Microsoft has failed to fix a crucial flaw in the User Account Control feature of the operating system which allows a specific whitelist of applications to inject code that can allow any application to silently elevate. The code was released about a month ago as [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://winjade.net/wp-content/uploads/2009/07/mseuac.png"><img class="alignright size-medium wp-image-1111" src="http://www.aeroxp.org/wp-content/uploads/2009/07/mseuac_thumb-300x168.png" alt="" width="300" height="168" /></a>As those involved in the <a href="http://www.aeroxp.org/tag/windows-7">Windows 7</a> community may know, Microsoft has failed to fix a <a href="http://www.aeroxp.org/2009/06/uac-in-7-exponential-silent-attack-vector-multiplier-redux/">crucial flaw</a> in the User Account Control feature of the operating system which allows a specific whitelist of applications to inject code that can allow any application to silently elevate. The code was released about a month ago as a <a href="http://www.pretentiousname.com/misc/win7_uac_whitelist2.html">proof-of-concept by Leo Davidson</a> showcasing the flaw elevating a command prompt window using the whitelisted explorer.exe process.</p>
<p>The company stands by UAC in its final form, but they&#8217;re taking it a step further by blocking the program that causes the exploit using their own security software.</p>
<p>Today, I just happened to download the zip file that causes the exploit when Microsoft Security Essentials greeted me with a nice dialog telling me that what I just downloaded is malware, specifically <em>HackTool.Win32/Welevate.A</em> and <em>HackTool.Win64/Welevate.A</em> (depending on architecture). While I&#8217;d agree that this <em>can </em>be considered a form of malware, it&#8217;s just a very bad way of dealing with the situation. However, Leo noted that Windows Defender in Vista did <em>not</em> detect this exploit, and Bryant confirmed that the same is true for Windows 7 (where the trick would actually work), so this seems to be exclusive to Microsoft Security Essentials.</p>
<p>It&#8217;s not clear what method the signatures take to detect it, but I promptly recompiled the source code under the Visual C++ 10.0 toolkit using VS 2010 Beta and the application ran undetected. Not a very good solution if it actually hash checks for the specific applications.</p>
<p>Leo, and I (or Bryant) will update our respective pages accordingly as we discover more. Bryant is seeking official word from Microsoft on what&#8217;s going on. Meanwhile, you can see the VirusTotal report <a href="http://www.virustotal.com/analisis/626a289478b51c3f60bf7f8543646caab42a565bcba2e441889c9336c575c410-1247209025" target="_blank">here</a> and grab the exploit <a href="http://www.pretentiousname.com/misc/Win7ElevateV2.zip">here</a>.</p>
<p><strong>Update (~Bryant): </strong>let&#8217;s take a look at what&#8217;s going on here from a different approach. Microsoft says that the vulnerability here is not actually a vulnerability and is, in fact, by design. However, they&#8217;ve also classified Leo&#8217;s proof-of-concept as malware. Logically speaking, if a process whose sole purpose is to exploit a perceived vulnerability is marked as malware, then it&#8217;s reasonable to assume that the perceived vulnerability is indeed a significant problem. Basically, Microsoft contradicted themselves by listing the proof-of-concept as malware.</p>
<p><strong>Update 2 (~Bryant): </strong> A friend of mine proposed one particular argument as a potential explanation to this issue, whereby this is a bug within Microsoft Security Essentials. The reasons I don&#8217;t believe this to be the case are:</p>
<ul>
<li>This exploit was specifically named as <code>HackTool:Win32/Welevate.A</code> (A quick googling shows only three links; one is to the aforementioned virustotal link, the second and third to a Microsoft <a href="http://www.microsoft.com/security/portal/Threat/Encyclopedia/Entry.aspx?Name=HackTool%3AWin32%2FWelevate.A&#038;ThreatID=-2147341101" target="_blank">encyclopedia entry</a>.</li>
<li>This particular label only applies to this specific proof-of-concept</li>
<li>A reasonable vulnerability assessment (&#8221;Medium&#8221;) was applied to this particular proof-of-concept, which makes sense given that this security vulnerability in UAC is only really an issue if either a user runs a malicious application or if some other internet-facing application were to be compromised. I covered the latter in an older post of mine where I explain how this flaw essentially <a href="http://www.aeroxp.org/2009/02/the-real-issue-with-win7-uac/" target="_blank">raises the vectors of attack</a> many-fold.</li>
</ul>
<p><em>Leo and <a href="http://twitter.com/conhopper">Bryant</a> contributed to this post.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://winjade.net/2009/07/microsoft-lists-uac-hack-as-malware/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<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>
		<item>
		<title>Why Windows 7&#8217;s CEIP bug shouldn&#8217;t have happened</title>
		<link>http://winjade.net/2009/01/why-the-ceip-bug-in-windows-7-should-never-have-happened/</link>
		<comments>http://winjade.net/2009/01/why-the-ceip-bug-in-windows-7-should-never-have-happened/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 16:59:08 +0000</pubDate>
		<dc:creator>Bryant Zadegan</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[CEIP]]></category>
		<category><![CDATA[D'oh]]></category>
		<category><![CDATA[not awesome]]></category>
		<category><![CDATA[stupid]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.aeroxp.org/2009/01/why-the-ceip-bug-in-windows-7-should-never-have-happened/</guid>
		<description><![CDATA[When an application or operating system in beta crashes, it’s expected. Typical beta testers don’t throw a fit about failing beta applications; instead, they file bugs to the appropriate teams handling the parts of the program(s) which failed. This is standard procedure (at least with those used to Quality Assurance).
On the other hand, the systems [...]]]></description>
			<content:encoded><![CDATA[<p>When an application or operating system in beta crashes, it’s expected. Typical beta testers don’t throw a fit about failing beta applications; instead, they file bugs to the appropriate teams handling the parts of the program(s) which failed. This is standard procedure (at least with those used to Quality Assurance).</p>
<p>On the other hand, the systems which are <em>not</em> supposed to crash are the ones which are associated with bug reporting, user experience improvement, et cetera. So, when said utilities crash, what do you do?</p>
<p>Chris Holmes, a mutual friend of mine and <a href="http://www.withinwindows.com/" target="_blank">Rafael</a>, recently discovered (along with Rafael) <a href="http://chris123nt.com/2009/01/18/sqm-client-causing-crashing-in-windows-7/" target="_blank">the source of a round of interesting crashes</a> in Windows 7 Beta 1. The bug itself is uninteresting and typical; besides crashing <em>virtually anything</em> running on top of a Windows service which calls the SQM client (a part of the CEIP), it’s nothing big. What interests me the most is that this bug is triggered when the Customer Experience Improvement Program is running.</p>
<p>Catch my abnormally detailed reasoning after the break.</p>
<p><strong>Update:</strong> The Windows Team pushed a nicer solution to the Action Center. The solution may need to be re-used every once in a while as disabled sessions accumulate, but it&#8217;s better than killing the CEIP outright. Catch more at the end of the post.</p>
<p><span id="more-784"></span></p>
<p>Quite possibly one of the most important things to check prior to releasing any beta, minus the critical bugs, are the reporting mechanisms. When those don’t work, a number of issues arise:</p>
<ol>
<li>One or more <em>massive</em> avenues for feedback are now out of The Game, which means less feedback for Microsoft. Jensen Harris <a href="http://www.vimeo.com/797329" target="_blank">discussed with me</a> a while back how critical the Customer Experience Improvement Program was to the success of the Office Ribbon, so losing such an avenue in a milestone build can only be seen as a dramatic loss of resources.</li>
<li>Confidence in the build begins to drop. Sure, <strong>this is a beta</strong>, and as such, it’s acceptable for just about anything to be slightly unstable. However, as I noted earlier, stability is expected if not <em>demanded</em> in the reporting tools. When those fail, what’s to say other elements critical to testing the beta won’t fail as well? Beta means “there could be bugs” but it doesn’t mean “there could be bugs with the tools you’ll need to report the bugs!” Confidence in the “testability” of the build could tank as a result.</li>
<li>Once word spreads, the more dedicated beta testers will have to disable the CEIP module in order to proceed with testing other critical components. This means that any user experience quirks may have to be reported manually as opposed to CEIP data being intuitively interpreted to determine where said UX quirks lie. This eats valuable tester resources, though I guess it doesn’t matter given that the beta program itself is being devoured from the inside out by the arrogance of the testers within it. (Paul Adare, I’m looking at you)</li>
</ol>
<p>The fix? Well, Chris already published one, but Microsoft needs to get CEIP in Windows 7 back up and running <em>as soon as humanly possible</em>. The more people disable the CEIP for the sake of avoiding this bug, the less feedback Microsoft will get and the less potential Windows 7 will have to be the best that it can be upon launch. Sure, it should be fixed just to resolve the MSIExec issues, but that’s not the biggest reason to fix the crashes. After all, the definition of irony is when something designed to avoid a particular outcome actually causes the same outcome. In this case, no tool designed to improve user experience should ever serve to ruin it. Otherwise, the end result will show on your consumers’ faces:</p>
<p><img style="border-right: 0px; border-top: 0px; float: none; margin-left: auto; border-left: 0px; margin-right: auto; border-bottom: 0px; display: block" title="not awesome" src="http://winjade.net/wp-content/uploads/2009/01/notawesome.png" border="0" alt="not awesome" width="500" height="500" /></p>
<p>He’s not a happy camper, but then again, it’s not as if <a href="http://i42.tinypic.com/2ylqm9x.png" target="_blank">other platforms are immune</a> from stupid usability bugs. Thanks goes to our codemonkey <a href="http://www.aeroxp.org/board/index.php?showuser=2137" target="_blank">Sam</a> for taking this screenshot from Leopard while trying to access the link to Chris’s fix for the SQM client bug on Windows 7.</p>
<p><span style="text-decoration: line-through;">Until this is all resolved, if you’re a beta tester (<strong>edit:</strong> and you&#8217;re seeing this bug occur), please kill the CEIP in Windows 7 and proceed to</span> report any UX quirks you run into through the submit feedback tool next to the minimize button in the titlebar of every major window. Do <strong>NOT</strong> use the Windows 7 taskforce. Both <a href="http://www.windows7taskforce.com/view/980#comment-6730" target="_blank">Larry Osterman</a> and <a href="http://www.windows7taskforce.com/view/980#comment-6778" target="_blank">Brandon Paddock</a> agree that the Windows 7 Taskforce is NOT the appropriate way to submit bugs!</p>
<p><strong>Update:</strong> Chris <a href="http://chris123nt.com/2009/01/20/microsoft-posts-ceip-fix-to-action-center/">updated his blog</a> with another post that notes the presence of the fix to the problem in the Windows 7 Action Center (the solutions page you reach when you have a crash that Windows can look up and find a solution for). The Action Center simply has the user kill the DisabledSessions key without killing the customer experience improvement program, so disabling the CEIP is no longer a necessity it seems.<br />
Unfortunately, I suspect that this is only a temporary fix, given that the problem originally appeared after some time had already passed with Windows 7 running on a number of end users&#8217; boxes. With this in mind, this process will still likely need to be repeated any time the key is created and filled with any values in order to avoid MSI-based installers from failing yet again.</p>
]]></content:encoded>
			<wfw:commentRss>http://winjade.net/2009/01/why-the-ceip-bug-in-windows-7-should-never-have-happened/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
