<?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>Passionate about Information Security &#187; Microsoft</title>
	<atom:link href="http://blog.ismaelvalenzuela.com/tag/microsoft/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ismaelvalenzuela.com</link>
	<description>on ismaelvalenzuela.com</description>
	<lastBuildDate>Fri, 16 Sep 2011 18:48:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Cerrudo’s talk prompts Microsoft to admit serious flaw on Windows</title>
		<link>http://blog.ismaelvalenzuela.com/2008/04/20/cerrudo-talk-prompts-microsoft-to-admit-serious-flaw-on-windows-affecting-web-hosting-providers/</link>
		<comments>http://blog.ismaelvalenzuela.com/2008/04/20/cerrudo-talk-prompts-microsoft-to-admit-serious-flaw-on-windows-affecting-web-hosting-providers/#comments</comments>
		<pubDate>Sun, 20 Apr 2008 21:26:59 +0000</pubDate>
		<dc:creator>Ismael Valenzuela</dc:creator>
				<category><![CDATA[SDLC]]></category>
		<category><![CDATA[Security Advisories]]></category>
		<category><![CDATA[Dubai]]></category>
		<category><![CDATA[Hack in the Box]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Security Advisory]]></category>

		<guid isPermaLink="false">http://blog.ismaelvalenzuela.com/?p=33</guid>
		<description><![CDATA[It’s Sunday evening and I have spent the last hour going through the slides of Cesar Cerrudo’s talk at HiTBSecConf 2008 that took place this week in Dubai. I know it’s sad, but the title of this blog is “passionate about information security”, isn’t it? Let me give you a bit of background before going [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="MARGIN: 0cm 0cm 10pt"><a href="http://blog.ismaelvalenzuela.com/wp-content/uploads/2008/04/win_2008.jpg"><img class="alignright alignnone size-medium wp-image-34" style="float: right; border: 0; margin-top: 2px; margin-bottom: 2px; margin-left: 5px; margin-right: 5px;" title="Hack in the Box???" src="http://blog.ismaelvalenzuela.com/wp-content/uploads/2008/04/win_2008.jpg" alt="Hack in the Box???" width="158" height="250" /></a><span style="mso-ansi-language: EN-US; mso-bidi-font-weight: bold" lang="EN-US">It’s Sunday evening and I have spent the last hour going through the slides of <a title="Token Kidnapping" href="http://www.argeniss.com/research/TokenKidnapping.pdf" target="_blank">Cesar Cerrudo’s talk</a> at <a title="Hack In The Box" href="http://conference.hackinthebox.org/hitbsecconf2008dubai/?page_id=182" target="_blank">HiTBSecConf 2008</a> that took place this week in Dubai. I know it’s sad, but the title of this blog is “passionate about information security”, isn’t it? </span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 10pt"><span style="mso-ansi-language: EN-US; mso-bidi-font-weight: bold" lang="EN-US">Let me give you a bit of background before going further. It’s been almost a month since Cesar Cerrudo, security researcher and CEO of Argeniss <a title="Argeniss security advisory on 24 March 2008" href="http://www.argeniss.com/pressrel032408.html" target="_blank">publicly warned</a> that the latest Microsoft operating system, Windows Server 2008, might not be as secure as it seems. On an advisory released on March 24, he stated:</span></p>
<blockquote><address>&#8220;The problem discovered by Argeniss results from design issues that were not identified by Microsoft engineers during the Security Development Lifecycle (SDL), and allows accounts commonly used by Windows services (NETWORK SERVICE and LOCAL SERVICE) to bypass new Windows services protection mechanisms and elevate privileges to achieve complete control over the operating system.&#8221;</address>
</blockquote>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 10pt"><span id="more-33"></span><span style="mso-ansi-language: EN-US" lang="EN-US">This security flaw was reported to affect Windows XP, Vista, Windows Server 2003 and the brand new Windows Server 2008. Although exploitation details were not given at that time, the advisory announced that further details would be given at the upcoming Hack-in-the-Box conference in Dubai (14-17 April 2008). </span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 10pt"><span style="mso-ansi-language: EN-US" lang="EN-US">And it’s right at this point when this becomes really interesting. Microsoft quickly stressed that Cerrudo’s advisory described a “design issue” rather than a new vulnerability. Well, that was before Cerrudo’s paper, entitled “<strong>Token Kidnapping</strong>”, was presented in Dubai earlier this week. As to rectify is of wise people, Microsoft released on Thursday a pre-patch security advisory (<a title="Microsoft Security Advisory 951306" href="http://www.microsoft.com/technet/security/advisory/951306.mspx" target="_blank">951306</a>) recognizing that they are <em>“investigating new public reports of a vulnerability which could allow elevation of privilege from authenticated user to LocalSystem, affecting Windows XP Professional Service Pack 2 and all supported versions and editions of Windows Server 2003, Windows Vista, and Windows Server 2008”</em>.</span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 10pt"><span style="mso-ansi-language: EN-US" lang="EN-US">Some <a title="Security Watch (April 18,2008)" href="http://securitywatch.eweek.com/flaws/microsoft_belatedly_admits_to_windows_server_2008_token_kidnapping.html" target="_blank">sources</a> claim that the vulnerability addressed in that security advisory is the same discussed by Cesar Cerrudo in Hack-in-the-Box. This becomes quite evident after reading Thursday’s advisory and Cerrudo’s paper, although I haven’t found any official statement from Microsoft confirming so.</span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 10pt"><span style="mso-ansi-language: EN-US" lang="EN-US">I must admit that this has been of benefit for both Microsoft and the researcher. On one side, Microsoft has had some time to research the problem before public details of exploitation are given, and on the other side, the researcher has created a great expectation on his talk. No doubt a win-win for everyone.</span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 10pt"><span style="mso-ansi-language: EN-US" lang="EN-US">Now the question is, am I affected by this flaw? And in the absence of a security patch, what workarounds are available? Well, the good news is that no exploitation has been seen yet, however it’s worth to keep an eye on this, especially if you are a Web-hosting provider where customers could upload malicious code. Attending to Cerrudo’s paper, the main attack vectors are:</span></p>
<ul>
<li>
<div class="MsoNormal" style="MARGIN: 0cm 0cm 10pt"><span style="mso-ansi-language: EN-US" lang="EN-US">Fully trusted ASP.Net code in IIS,</span></div>
</li>
<li>
<div class="MsoNormal" style="MARGIN: 0cm 0cm 10pt"><span style="mso-ansi-language: EN-US" lang="EN-US">SQL Server with users that have administrative privileges to load and run code,</span></div>
</li>
<li>
<div class="MsoNormal" style="MARGIN: 0cm 0cm 10pt"><span style="mso-ansi-language: EN-US" lang="EN-US">Any process with SeImpersonatePrivilege that loads and runs user-provided code, by acquiring a NetworkService token from the Microsoft Distributed Transaction Coordinator (MSDTC) service.</span></div>
</li>
</ul>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 10pt"><span style="mso-ansi-language: EN-US" lang="EN-US">The following are some recommended workarounds (refer to Microsoft’s advisory for more details):</span></p>
<ul>
<li>
<div class="MsoNormal" style="MARGIN: 0cm 0cm 10pt"><span style="mso-ansi-language: EN-US" lang="EN-US">On Windows XP and Server 2003: for IIS 6 don’t run ASP.Net in full trust and if classic ASP is enabled don’t allow users to execute binaries.</span></div>
</li>
<li>
<div class="MsoNormal" style="MARGIN: 0cm 0cm 10pt"><span style="mso-ansi-language: EN-US" lang="EN-US">On Windows Vista and 2008: for IIS 7, again, don’t run ASP.Net in full trust or don’t run websites (nor services) under NetworkServer or LocalService accounts. Use regular user accounts to run services instead.</span></div>
</li>
</ul>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 10pt"><span style="mso-ansi-language: EN-US" lang="EN-US">Happy Sunday evening!</span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 10pt"><span style="mso-ansi-language: EN-US" lang="EN-US">Further info on: <a href="http://www.argeniss.com/">http://www.argeniss.com</a> and <a href="http://www.microsoft.com/technet/security/advisory/951306.mspx">http://www.microsoft.com/technet/security/advisory/951306.mspx</a></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 10pt"><span style="mso-ansi-language: EN-US" lang="EN-US">PS. Earlier this week I got an email from my friend Adrian Pastor, also known as &#8216;<a title="Adrian Pastor at GNUCITIZEN.org" href="http://www.gnucitizen.org/about/ap/" target="_blank">pagvac</a>&#8216; saying he was also giving a talk at HiTB 2008 in Dubai (<a title="Cracking into Embedded Devices and Beyond!" href="http://conference.hackinthebox.org/hitbsecconf2008dubai/?page_id=186" target="_blank">Cracking into Embedded Devices and Beyond!</a>). He is a great security professional and even a better chap. I promise I will post a link to his presentation on this blog when he makes it available. </span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 10pt"><span style="mso-ansi-language: EN-US" lang="EN-US">Granted, I also gave him some tips on where to go in Dubai -views from the 24th floor bar at the <a title="Jumeirah Beach Hotel" href="http://www.jumeirahbeachhotel.com/" target="_blank">Jumeirah Beach Hotel</a> are awesome!- <img src='http://blog.ismaelvalenzuela.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ismaelvalenzuela.com/2008/04/20/cerrudo-talk-prompts-microsoft-to-admit-serious-flaw-on-windows-affecting-web-hosting-providers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

