<?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>Cupfighter.net &#187; windows vista</title>
	<atom:link href="http://www.cupfighter.net/index.php/tag/windows-vista/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cupfighter.net</link>
	<description>A blog by Schuberg Philis colleagues</description>
	<lastBuildDate>Thu, 09 Feb 2012 14:27:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>CA will not start&#8230; What do you mean, cannot download CRL&#8230;</title>
		<link>http://www.cupfighter.net/index.php/2010/01/ca-will-not-start-what-do-you-mean-cannot-download-crl/</link>
		<comments>http://www.cupfighter.net/index.php/2010/01/ca-will-not-start-what-do-you-mean-cannot-download-crl/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 22:50:05 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Schuberg Philis]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[0x80092013]]></category>
		<category><![CDATA[certificates]]></category>
		<category><![CDATA[CertUtil]]></category>
		<category><![CDATA[PKI]]></category>
		<category><![CDATA[PKI view]]></category>
		<category><![CDATA[revocation]]></category>
		<category><![CDATA[Windows 2000]]></category>
		<category><![CDATA[windows 2003]]></category>
		<category><![CDATA[windows vista]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=860</guid>
		<description><![CDATA[As part of my work I was installing a Microsoft PKi infrastructure with two tiers. A root CA and an issuing CA. Since the root CA is in another domain then the issuing CA, it took some fiddling and tweaking around with my CDP and AIA extensions, but that is another blogpost all together. I [...]]]></description>
			<content:encoded><![CDATA[<p>As part of my work I was installing a Microsoft PKi infrastructure with two tiers. A root CA and an issuing CA.</p>
<p>Since the root CA is in another domain then the issuing CA, it took some fiddling and tweaking around with my CDP and AIA extensions, but that is another blogpost all together.</p>
<p>I knew I was in for some fun when when the following happened:</p>
<ul>
<li>I installed my Issuing CA and generated the certificate request</li>
<li>I issued the request to my Root CA and generated the Issuing CA certificate</li>
<li>I tried to install the Issuing CA certificate and got the following error:</li>
</ul>
<div id="attachment_861" class="wp-caption alignnone" style="width: 421px"><a href="http://www.cupfighter.net/wp-content/uploads/2010/01/Revokation-function-error.JPG"><img class="size-full wp-image-861" title="The revocation function was unable to check revocation because the revocation server was offline. 0x80092013" src="http://www.cupfighter.net/wp-content/uploads/2010/01/Revokation-function-error.JPG" alt="Cannot verify certificate chain. Do you whish to ignore the error and continue? The revocation function was unable to check revocation because the revocation server was offline. 0x80092013 (-2168885613)" width="411" height="166" /></a><p class="wp-caption-text">Cannot verify certificate chain. Do you whish to ignore the error and continue? The revocation function was unable to check revocation because the revocation server was offline. 0x80092013 (-2168885613)</p></div>
<p>My first reaction was to call one of the network guest and notify him that I needed http access to the Issuing CA to the CDP location. But whil on the phone, I decided to try and to my surprise I was actually able to manually pull down the crl.</p>
<p>Intregued, I decided to check a few things:</p>
<ul>
<li>I could download the CRL from both CDP locations with Internet Exporer</li>
<li>I could open the downloaded CRLs</li>
<li>I could telnet to port 80 of the both webservers</li>
<li>I could telnet to port 80 manually issue the GET /crl/CRLname.crl HTTP/1.0 command and get data back</li>
</ul>
<p>O.K. what is going on here&#8230; Lets open PKI view, which is now included in Windows 2008 and Vista and can be downloaded for Windows 2000 and 2003.</p>
<p>It seemed that PKI view as in agreement, it too could not download the CRL from the CDP location</p>
<div id="attachment_862" class="wp-caption alignnone" style="width: 467px"><a href="http://www.cupfighter.net/wp-content/uploads/2010/01/PKI-view.JPG"><img class="size-full wp-image-862" title="PKI view shows &quot;unable to Download&quot;" src="http://www.cupfighter.net/wp-content/uploads/2010/01/PKI-view.JPG" alt="PKI view shows &quot;Unable To Download&quot; for both CDP locations" width="457" height="91" /></a><p class="wp-caption-text">PKI view shows &quot;Unable To Download&quot; for both CDP locations</p></div>
<p>This did sent me on a wild goose chase:</p>
<ul>
<li><a title="Troubleshooting Certificate Validation Errors" href="http://technet.microsoft.com/en-us/library/bb331963.aspx" target="_blank">Microsoft own documentation</a>, clearly blames it on unavailability of the CDP location, something I, by now, had triple checked four times and refused to believe</li>
<li><a title="Netowrk Builders forum post suggesting to turn off revocation checking" href="http://www.network-builders.com/certificate-services-t11895.html" target="_blank">This &#8220;Network Builders&#8221; forum</a> and <a title="Another post suggesting to turn revocation checking off" href="http://www.spywarepoint.com/windows-2003-ca-0x80092013-t40183.html" target="_blank">many</a> others, simply suggest to turn off revocation checking, but that is clearly not a worthy solution either.</li>
<li>Apparently there is also an issue with <a title="Technet forum post about double escaping" href="http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2webtechnologies/thread/83be4ffb-439e-4d3f-9377-0d23e4307d86" target="_blank">serving delta CRLs threw IIS</a> because the + sign at the end of the basename of a delta CRL file leads to so called &#8220;double escaping&#8221;. I could rule this out by looking at the IIS logs.</li>
<li>In the end <a title="Technet forum post about OSCP responders" href="http://social.technet.microsoft.com/Forums/en-US/winserversecurity/thread/d6e871e0-3687-4cb5-9591-c1459911f433" target="_blank">this technet forum post, about OCSP reponders</a> Brian Komar points out:</li>
</ul>
<blockquote><p>But, as stated, I would use certutil to get the &#8220;best&#8221; answer on how is my configuration.<br />
Certutil -verify -urlfetch &#8220;certfile.cer&#8221; will check *every* CDP and AIA URL (including OCSP) and tell you how they are all doing *at that specific instance in time&#8221; since it goes to the URLs immediately.<br />
Brian</p></blockquote>
<p>I exported the Issuing CA certificate from the certificate database of the Root CA and ran the command against is and this is what I found</p>
<blockquote><p>E:\&gt;certutil -verify -urlfetch &lt;certfile&gt;.cer<br />
Issuer:<br />
CN=Root CA<br />
Subject:<br />
CN=Issuing CA<br />
Cert Serial Number: 115d5f6400020000000b<br />
&lt;snip&gt;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;-  Certificate AIA  &#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Verified &#8220;Certificate (0)&#8221; Time: 0<br />
[0.0] http://IIS1.domain1local/crl/Root-CA.crt</p>
<p>Verified &#8220;Certificate (0)&#8221; Time: 0<br />
[1.0] http://IIS2.domain1.local/crl/Root-CA.crt</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;-  Certificate CDP  &#8212;&#8212;&#8212;&#8212;&#8212;-<br />
<strong>Wrong Issuer &#8220;Base CRL (13)&#8221;</strong> Time: 0<br />
[0.0] http://IIS1.domain1.local/crl/Root-CA.crl</p>
<p><strong>Wrong Issuer &#8220;Base CRL (13)&#8221;</strong> Time: 0<br />
[1.0] http://IIS2.domain1.local/crl/Root-CA.crl</p>
<p>&lt;snip&gt;<br />
E:\&gt;</p></blockquote>
<p>So while PKI view and the other error messages I was getting all pointed to the most common cause, it actually turned out that the CRl did get downloaded, but <a title="Technet articale about certificate revocation checking" href="http://technet.microsoft.com/en-us/library/bb457027.aspx" target="_blank">was not cryptographically relevant to what the system believes is the Root CA certificate</a>.</p>
<p><span style="text-decoration: underline;"><strong>Root cause</strong></span></p>
<p>Inspection of the CRLs generated and the Root certificates installed showed what had caused the problem. In order to test the CDP extensions I had reissued the Root CA certificate, causing the Root CA to have three active certificates. Each with a different key.</p>
<div id="attachment_866" class="wp-caption alignnone" style="width: 359px"><a href="http://www.cupfighter.net/wp-content/uploads/2010/01/Three-CA-certs.JPG"><img class="size-full wp-image-866" title="CA authority with Three CA certificates" src="http://www.cupfighter.net/wp-content/uploads/2010/01/Three-CA-certs.JPG" alt="This CA has three CA certificates" width="349" height="163" /></a><p class="wp-caption-text">This CA has three CA certificates</p></div>
<p>When validating the Issuing CA certificate, validation would end at the last certificate issued, however the CA still signs its CRLs with the key pair of the first certificate.</p>
<p>I guess for me there is nothing left but to reinstall the entire chain.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2010/01/ca-will-not-start-what-do-you-mean-cannot-download-crl/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Timeline of the SMB2 vulnerability</title>
		<link>http://www.cupfighter.net/index.php/2009/10/smb2-timeline/</link>
		<comments>http://www.cupfighter.net/index.php/2009/10/smb2-timeline/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 16:54:22 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[0-day]]></category>
		<category><![CDATA[smb2]]></category>
		<category><![CDATA[vulnerability]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[windows vista]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=575</guid>
		<description><![CDATA[While researching the SMB2 vulnerability I decided to make a time line. It really shows how devastating a 0-day can be in the wrong hands Date Event 7 September Laurent Gaffié releases PoC code on his blog 8 September The news is picked up by Sans ISC HD Moore ports the exploit to Metasploit Microsoft [...]]]></description>
			<content:encoded><![CDATA[<p>While researching the SMB2 vulnerability I decided to make a time line. It really shows how devastating a 0-day can be in the wrong hands</p>
<table border="1">
<tbody>
<tr>
<td>Date</td>
<td>Event</td>
</tr>
<tr>
<td>7 September</td>
<td>Laurent Gaffié releases PoC code on his <a title="Laurent Gaffié blog" href="http://g-laurent.blogspot.com/2009/09/windows-vista7-smb20-negotiate-protocol.html" target="_blank">blog</a></td>
</tr>
<tr>
<td>8 September</td>
<td>The news is picked up by <a title="Sans ISC on SMB2 exploit" href="http://isc.sans.org/diary.html?storyid=7093&amp;rss" target="_blank">Sans ISC</a></td>
</tr>
<tr>
<td></td>
<td><a title="HD Moore's twitter post" href="http://twitter.com/hdmoore/statuses/3844629771" target="_blank">HD Moore</a> ports the exploit to Metasploit</td>
</tr>
<tr>
<td></td>
<td><a title="Threat Post blog item" href="http://threatpost.com/blogs/microsoft-confirms-smb2-flaw-heightens-severity-109" target="_blank"> Microsoft confirms the existence of the flaw</a></td>
</tr>
<tr>
<td></td>
<td><a title="Microsoft Advisory" href="http://www.microsoft.com/technet/security/advisory/975497.mspx" target="_blank"> Microsoft releases an advisory</a></td>
</tr>
<tr>
<td>9 September</td>
<td>The BSOD exploit is <a title="SMB2 BSOD exploit on Milw0rm" href="http://www.milw0rm.com/exploits/9594" target="_blank">published on Milw0rm</a></td>
</tr>
<tr>
<td>15 September</td>
<td>A working remote code execution exploit is released in <a title="Immunity Canvas" href="http://www.immunitysec.com/products-canvas.shtml" target="_blank">Immunity Canvas</a></td>
</tr>
<tr>
<td>18 September</td>
<td><a title="Metasploit" href="http://trac.metasploit.com/browser/framework3/trunk/modules/exploits/windows/smb/smb2_negotiate_func_index.rb" target="_blank"> A working remote code execution exploit is released for metasploit</a></td>
</tr>
<tr>
<td></td>
<td><a title="Microsoft Security Research and Defense blog" href="http://blogs.technet.com/srd/archive/2009/09/18/update-on-the-smb-vulnerability.aspx" target="_blank"> Microsoft releases a tool to disable SMB2</a></td>
</tr>
<tr>
<td>9 October</td>
<td><a title="Threat Post blog item" href="http://www.threatpost.com/blogs/patch-tuesday-heads-13-bulletins-8-critical-108" target="_blank">Microsoft announces a patch</a></td>
</tr>
</tbody>
</table>
<p>To date Microsoft has not released a patch. I will continue to update this post.</p>
<p>A tool to disable SMB2 is <a title="Microsoft Security Research and Defense blog" href="http://blogs.technet.com/srd/archive/2009/09/18/update-on-the-smb-vulnerability.aspx" target="_blank">here. </a> Instructions on how to disable SMB2 manually are in the workaround section of <a title="Microsoft Advisory" href="http://www.microsoft.com/technet/security/advisory/975497.mspx" target="_blank">this</a> advisory.</p>
<p>On the 9th of October Microsoft <a title="Threat Post blog item" href="http://www.threatpost.com/blogs/patch-tuesday-heads-13-bulletins-8-critical-108" target="_blank">announced a patch</a> for this issue and the ISS FTP issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2009/10/smb2-timeline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get rid of Event ID 5156: The Windows Filtering Platform has allowed a connection</title>
		<link>http://www.cupfighter.net/index.php/2009/10/get-rid-of-event-id-5156-the-windows-filtering-platform-has-allowed-a-connection/</link>
		<comments>http://www.cupfighter.net/index.php/2009/10/get-rid-of-event-id-5156-the-windows-filtering-platform-has-allowed-a-connection/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 12:47:49 +0000</pubDate>
		<dc:creator>Cupfighter</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Event ID 5156]]></category>
		<category><![CDATA[McAfee]]></category>
		<category><![CDATA[windows vista]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=568</guid>
		<description><![CDATA[When you install McAfee on Windows Server 2008, and probably Windows Vista also, you can get a lot of messages in your security log. Like this one: Event ID 5156 means that WFP has allowed a connection. When most connections are allowed your security log will fill up very fast. You can disable Object Access [...]]]></description>
			<content:encoded><![CDATA[<p>When you install McAfee on Windows Server 2008, and probably Windows Vista also, you can get a lot of messages in your security log. Like this one:</p>
<p><img class="alignnone size-full wp-image-569" src="http://www.cupfighter.net/wp-content/uploads/2009/10/ID-5156.jpg" alt="ID 5156" width="455" height="317" /></p>
<p>Event ID 5156 means that WFP has allowed a connection. When most connections are allowed your security log will fill up very fast.</p>
<p>You can disable Object Access auditing but then you&#8217;ll miss other events which might be of interest. So, instead, let&#8217;s just disable Success Auditing for Filtering Platform Connections. It&#8217;s not possible to disable auditing subcategories with a policy or other GUI tool, but I found out that you can enable and disable specific subcategories with a special command-line tool: Auditpol.exe, which is included with Windows Vista and Windows Server 2008. I used the following command:</p>
<p>auditpol /set /subcategory:&#8221;Filtering Platform Connection&#8221; /success:disable /failure:enable</p>
<p>As you can see this disables Success auditing for the Filtering Platform Connection subcategory.</p>
<p>For more info check out this article:</p>
<p><a href="http://msdn.microsoft.com/en-us/library/bb309058(VS.85).aspx">http://msdn.microsoft.com/en-us/library/bb309058(VS.85).aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2009/10/get-rid-of-event-id-5156-the-windows-filtering-platform-has-allowed-a-connection/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

