<?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>Tales from the Datacenter &#187; Security</title>
	<atom:link href="http://www.pburch.com/blog/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pburch.com/blog</link>
	<description>Tales from the Datacenter</description>
	<lastBuildDate>Thu, 10 Jun 2010 17:51:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Error 0x800704C8 in VMM</title>
		<link>http://www.pburch.com/blog/2009/03/23/error-0x800704c8-in-vmm/</link>
		<comments>http://www.pburch.com/blog/2009/03/23/error-0x800704c8-in-vmm/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 17:59:41 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Forefront]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[0x800704C8]]></category>
		<category><![CDATA[antivirus]]></category>
		<category><![CDATA[hyper-v security]]></category>
		<category><![CDATA[kb961804]]></category>
		<category><![CDATA[user-mapped section open]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[virtual machine manager]]></category>
		<category><![CDATA[vmm]]></category>

		<guid isPermaLink="false">http://www.pburch.com/blog/?p=143</guid>
		<description><![CDATA[I was trying to deploy a new virtual machine today via Virtual Machine Manager, and kept getting this error (names changed to protect the innocent): Error (12700) VMM cannot complete the Hyper-V operation on the [virtualhost.domain.com] server because of the error: &#8216;[VIRTUALGUEST]&#8216; failed to add device &#8216;Microsoft Emulated Ethernet Port&#8217;. (Virtual machine ID 26DD8B56-0594-446A-8084-405218737EB0) The [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to deploy a new virtual machine today via Virtual Machine Manager, and kept getting this error (names changed to protect the innocent):</p>
<blockquote><p><strong>Error </strong>(12700)<br />
VMM cannot complete the Hyper-V operation on the [virtualhost.domain.com] server because of the error: &#8216;[VIRTUALGUEST]&#8216; failed to add device &#8216;Microsoft Emulated Ethernet Port&#8217;. (Virtual machine ID 26DD8B56-0594-446A-8084-405218737EB0)</p>
<p>The Virtual Machines configuration 26DD8B56-0594-446A-8084-405218737EB0 at &#8216;J:\VS\[VIRTUALGUEST]&#8216; is no longer accessible: The requested operation cannot be performed on a file with a user-mapped section open. (0x800704C8)<br />
(Unknown error (0&#215;8000))</p>
<p><strong>Recommended Action</strong><br />
Resolve the issue in Hyper-V and then try the operation again.</p></blockquote>
<p>Well, that&#8217;s really good advice &#8211; clear the error and try again.  So, a quick Google-ing turned up a Microsoft KB article: <a href="http://support.microsoft.com/kb/961804" target="_blank">Creating or starting a Hyper-V virtual machine on Windows Server 2008 or  Microsoft Hyper-V Server 2008 may fail with error: 0x800704C8</a>.  Oddly enough, this was exactly my issue:</p>
<blockquote><p><strong>CAUSE</strong></p>
<p>This issue can be caused by antivirus software that is installed in the parent  partition and the real-time scanning component is configured to monitor the  Hyper-V virtual machine files.</p>
<p><strong>RESOLUTION</strong></p>
<p>To resolve this issue, configure the real-time scanning component within the  antivirus software to exclude the following directories and files:</p>
<ul>
<li>Default virtual machine configuration directory  (C:\ProgramData\Microsoft\Windows\Hyper-V)</li>
<li>Custom virtual  machine configuration directories</li>
<li>Default virtual hard disk  directory (C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks)</li>
<li>Custom virtual hard disk directories</li>
<li>Snapshot directories</li>
<li>Vmms.exe</li>
<li>Vmwp.exe</li>
</ul>
<p><strong>Notes: </strong></p>
<ul>
<li><strong>If virtual machines are missing from the  Hyper-V Management console, you must configure the antivirus exclusions, and  then restart the Hyper-V Virtual Machine Management service.</strong></li>
<li><strong>If the error code was 0x800704C8, it is likely that the virtual machine  configuration file was corrupted and the virtual machine may need to be  re-created or restored from backup if restarting the Hyper-V Virtual Machine  Management service does not resolve the issue.</strong></li>
</ul>
</blockquote>
<p>Chalk one up for Microsoft KB articles.  Now, a little further down in the KB article, it suggests (per <a href="http://technet.microsoft.com/en-us/library/cc974516.aspx" target="_blank">Planning for Hyper-V Security</a>) installing the antivirus on the guest (which we do) and not on the host (which we do, too):</p>
<blockquote><p><strong>Do not run any applications in the parent partition. </strong>Run all  applications on virtual machines, which use child partitions. For example, if  antivirus is required, be sure to run it on the VMs rather than the parent  partition. Keeping the parent partition free of applications and running on a  Windows Server 2008 core installation means fewer host updates, since nothing  needs software updates except the Windows Server 2008 core installation, the  Hyper-V service components, and the small (~600KB) hypervisor.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2009/03/23/error-0x800704c8-in-vmm/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Nigerian Money Scam</title>
		<link>http://www.pburch.com/blog/2009/03/23/nigerian-money-scam/</link>
		<comments>http://www.pburch.com/blog/2009/03/23/nigerian-money-scam/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 13:45:38 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.pburch.com/blog/?p=137</guid>
		<description><![CDATA[Here&#8217;s an interesting (and funny) post from Mike Nash (of Online-Armor) on the old &#8220;Nigerian Money Scam.&#8221;  Remember, sending money to strangers (especially strangers in another country) is bad. The post. And an excerpt: So, I&#8217;m sitting there today working on something for a client when I received an unsolicted Skype Message with an &#8220;Important [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s an interesting (and funny) post from Mike Nash (of Online-Armor) on the old &#8220;Nigerian Money Scam.&#8221;  Remember, sending money to strangers (especially strangers in another country) is bad.</p>
<p><a href="http://onlinearmorpersonalfirewall.blogspot.com/2009/03/yes-16million-usd-but-we-will-have-to.html" target="_blank">The post.</a></p>
<p>And an excerpt:</p>
<blockquote><p>So, I&#8217;m sitting there today working on something for a client when I received an unsolicted Skype Message with an &#8220;Important Business Proposal&#8221;.</p>
<p>I normally mess with these guys a little, just to waste their time , but as I was on the phone to a client I just decided to get rid of him quickly.</p>
<p>As you can see &#8211; he was suprisingly honest about his ultimate intentions.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2009/03/23/nigerian-money-scam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Self Signed SSL Certificates</title>
		<link>http://www.pburch.com/blog/2009/03/16/self-signed-ssl-certificates/</link>
		<comments>http://www.pburch.com/blog/2009/03/16/self-signed-ssl-certificates/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 03:30:46 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[certificates]]></category>
		<category><![CDATA[cheap ssl]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[private key]]></category>
		<category><![CDATA[self signed]]></category>
		<category><![CDATA[ssl certificate]]></category>

		<guid isPermaLink="false">http://www.pburch.com/blog/?p=131</guid>
		<description><![CDATA[I&#8217;ve been trying to figure out how to get an SSL certificate on the cheap.  I mean, 300+ dollars per year is a little ridiculous to get an encrypted pipe between client and server.  You see, I don&#8217;t really care if my identity is confirmed.  I know what server I&#8217;m connecting to (that is, unless [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to figure out how to get an SSL certificate on the cheap.  I mean, 300+ dollars per year is a little ridiculous to get an encrypted pipe between client and server.  You see, I don&#8217;t really care if my identity is confirmed.  I know what server I&#8217;m connecting to (that is, unless you hack me because I just told you that).</p>
<p>Anyway, there is an open source project called (go figure) <a href="http://www.openssl.org/" target="_blank">OpenSSL</a>.  OpenSSL is an SSL toolkit &#8211; that happens to be free for commercial and non-commercial uses.  While they offer a self signing feature, it&#8217;s not generally recommended for production applications (you&#8217;ve been warned).  For me, however, it works perfectly.  And there&#8217;s even a version for <a href="http://www.slproweb.com/products/Win32OpenSSL.html" target="_blank">Windows</a>.  Now, the cool thing about this is it will create a private key in a variety of encryption protocols, it will create your certificate request (if you&#8217;re well-to-do and can afford a real one), and it will even create a &#8220;test&#8221; certificate (which is what I wanted).</p>
<p>So, I downloaded the 64-bit version for Windows.  When you&#8217;re done (use the defaults &#8211; they work just fine), open a command prompt, browse to your OpenSSL installation folder (C:\OpenSSL be default) and type:</p>
<blockquote><p>openssl</p></blockquote>
<p>You&#8217;ll be at a prompt that looks like &#8220;OpenSSL&gt;&#8221;.  Once you&#8217;re here, you&#8217;re ready to create your private key and your certificate.  In my case, the following command works perfectly.  It creates a private key and a certificate all at once.  If you&#8217;re going to buy a certificate, you&#8217;ll need to Google the procedure for creating a private key and a certificate request, then do whatever you need to do to install the certificate from that company into your program(s) that require it.  But, I digress &#8211; the command:</p>
<blockquote><p><strong>OpenSSL&gt; </strong>req -new -newkey rsa:1024 -days [DAYS] -nodes -x509 -keyout www.example.com.pem  -out www.example.com.pem</p></blockquote>
<p>You&#8217;ll need to follow the following prompts (asking for your country, name, email, etc.).  The above command will create a 1024-bit RSA private key, then create a certificate (I think it does the certificate request in the background).  The certificate will expire in the number of days you set via the [DAYS] variable.  The -keyout tells OpenSSL to export your private key to a file called &#8220;www.example.com.pem&#8221; and the -out switch tells it to export your certificate to &#8220;www.example.com.pem.&#8221;  Now, I&#8217;ll state the obvious and recommend that you change the file names (ie, examplekey.com.pem and examplecert.com.pem).  The key and certificate are both created in the same folder (C:\OpenSSL by default).</p>
<p>Now, the one caveat I will offer is this: this self-signed certificate is not trusted by anyone.  Internet Explorer, Firefox, Outlook, Safari, etc. will all reject this certificate as &#8220;identity unknown.&#8221;  For me, that&#8217;s okay.  For someone else, think about it first.  You can get around the constant &#8220;this certificate is not valid&#8221; prompts by adding the certificate to the Trusted Root Certification Authorities in Windows&#8217;s Certificates Manager.</p>
<p>Now you know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2009/03/16/self-signed-ssl-certificates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
