<?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>Wazitech</title>
	<atom:link href="http://blogs.wazitech.com/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.wazitech.com</link>
	<description>(801) 839-3035</description>
	<lastBuildDate>Mon, 21 Nov 2011 23:04:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Ubuntu no init found, Try passing init=bootarg</title>
		<link>http://blogs.wazitech.com/index.php/2011/11/ubuntu-no-init-found-try-passing-initbootarg/</link>
		<comments>http://blogs.wazitech.com/index.php/2011/11/ubuntu-no-init-found-try-passing-initbootarg/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 22:40:59 +0000</pubDate>
		<dc:creator>Frans Van Rooyen</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blogs.wazitech.com/?p=95</guid>
		<description><![CDATA[Ubuntu boots to a "no init found, Try passing init=bootarg" and some more....]]></description>
			<content:encoded><![CDATA[<p>Last week I ran into this problem on one of my Linux VM’s when a host unexpectedly went down. This was on a test system, so I could have just restored the VM but wanted to see what it would take to fix it in case I ever run into it in a live environment, or on a physical host. Here are the steps I took:</p>
<p>Boot from a Live CD, in my case I used Linux Mint since I had a copy laying around.</p>
<p>First I listed my partitions:</p>
<p>ls /dev/sd*</p>
<p>Now just do where sda1 is the partition you would like to fix:</p>
<p>fsck /dev/sda1</p>
<p>This part comes into play if you have LVM partitions, in my case I did. So I had to grab LVM. Make sure you have the networking setup on your Live disk as well as DNS and then do:</p>
<p>sudo apt-get install lvm2</p>
<p>sudo pvscan</p>
<p>sudo vgscan</p>
<p>The last command should list the at least one volume-group</p>
<p>Enable it or the ones you&#8217;re interested in</p>
<p>sudo vgchange -a y groupname</p>
<p>Now list the logical volumes</p>
<p>sudo lvscan</p>
<p>Your drive you&#8217;re interested in should now appear under /dev/mapper</p>
<p>Now do an fsck on that drive</p>
<p>sudo fsck /dev/mapper/logical-volume</p>
<p>It should see some errors and fix it.</p>
<p>Go ahead and Reboot, make sure to disconnect the Live disk and you should be good to go!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.wazitech.com/index.php/2011/11/ubuntu-no-init-found-try-passing-initbootarg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hardening ESXi 4.1 &#8211; Disk Shrinking</title>
		<link>http://blogs.wazitech.com/index.php/2011/08/hardening-esxi-4-1/</link>
		<comments>http://blogs.wazitech.com/index.php/2011/08/hardening-esxi-4-1/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 22:38:39 +0000</pubDate>
		<dc:creator>Frans Van Rooyen</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://blogs.wazitech.com/?p=88</guid>
		<description><![CDATA[VMX01: Prevent virtual disk shrinking]]></description>
			<content:encoded><![CDATA[<p>Coming back from Defcon 19 I was motivated to dig deeper into ESXi security. One of the resources that I found to do this is the <a href="http://communities.vmware.com/servlet/JiveServlet/previewBody/15413-102-2-18829/vSphere%204.1%20Hardening%20Guide%20April%202011.pdf">VMWare Security Hardening Guide</a>, it is a detailed walk through of  hardening recommendations for the Hypervisor from VMWare themselves. Using this manual I wanted to work through each recommendation, understand what the vulnerability is, how to exploit said vulnerability and how to prevent it. So for this blog I am going to start with #1 and work through each one in subsequent blogs and provide the info on how to harden it. So without further ado here goes:</p>
<p>VMX01: Prevent virtual disk shrinking</p>
<p>This was a very interesting one, and I almost skipped over it, thinking that it’s not really a big deal. Here is the rundown of this issue.  According to VMWare “Shrinking a virtual disk reclaims unused space in the virtual disk. If there is empty space in the disk, this process reduces the amount of space the virtual disk occupies on the host drive.” The problem: Shrinking these disks repeatedly will cause the disk to become unavailable. Well not really a big deal since you as the admin are in control of this, well that is wrong. Disks can be shrunk from <em>within</em> the virtual machine and can be done by <em>ordinary</em> users or <em>processes</em>. That’s a problem; if you have a terminal server the users on that server can cause a DOS by simply doing a lot of shrinking operations, or a malicious piece of software can also cause your server to die. How hard is it to write something that can automatically do this? Not hard at all, the vmtools on the machine provides everything you need.</p>
<p>What about View? Well it turns out that linked clones, parents of linked clones Shrinking is disabled by default. If you created a Full virtual machine instead of a linked clone and the disk is THICK provisioned the user will be able to cause a DOS on the assigned machine.</p>
<p>So Harding Tip #1: Disable Disk Shrinking for your VM’s</p>
<p>To disable disk shrink for a virtual machine:</p>
<ol>
<li>Power off the virtual machine. Do not skip this      step.</li>
<li>Remove the virtual machine from the inventory.</li>
</ol>
<p>Edit the virtual machine&#8217;s .vmx file and add the following lines:</p>
<p>isolation.tools.diskWiper.disable = &#8220;TRUE&#8221;<br />
isolation.tools.diskShrink.disable = &#8220;TRUE&#8221;</p>
<p>So with that we are at the end of Hardening step #1 next; sniffing vMotion traffic.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.wazitech.com/index.php/2011/08/hardening-esxi-4-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>View 4.6 Events and SQL Express Port issues</title>
		<link>http://blogs.wazitech.com/index.php/2011/05/view-4-6-events-and-sql-express-port-issues/</link>
		<comments>http://blogs.wazitech.com/index.php/2011/05/view-4-6-events-and-sql-express-port-issues/#comments</comments>
		<pubDate>Thu, 12 May 2011 06:30:55 +0000</pubDate>
		<dc:creator>Frans Van Rooyen</dc:creator>
				<category><![CDATA[Desktop]]></category>

		<guid isPermaLink="false">http://blogs.wazitech.com/?p=80</guid>
		<description><![CDATA[If you are having trouble connecting your Event Database up in View, give this a try...]]></description>
			<content:encoded><![CDATA[<p>I ran across this issue a couple of weeks ago and thought it might be helpful to share the info. I had setup a Express Edition SQL server on a remote server, created the DB and assigned the appropriate security permissions, but when I tried to setup the Event Database, it would not work. I remembered something from the View Install\Config class, that SQL Express port might not be the default port of 1433. I found the following bit on MS:</p>
<p>&#8220;<em>By default, the default instance of the Database Engine listens  on TCP port 1433. Named instances of the Database Engine and SQL Server  Compact Edition are configured for dynamic ports, which means they  select an available port when the SQL Server service is started. The SQL  Server Browser service helps clients identify the port when they  connect.</em></p>
<p><em>When configured for dynamic ports, the port used by SQL Server  may change each time it is started.&#8221;</em></p>
<p>So if this is your case here is how to fix it:</p>
<p>1. Start &gt; All Programs &gt; Microsoft SQL Server 2005 &gt; Configuration Tools &gt; SQL Server Configuration Manager</p>
<p>2. SQL Server 2005 Network Configuration &gt; Protocols for SQLEXP_INSTANCE</p>
<p>3. TCP/IP &gt; Properties</p>
<p>4. TCP Dynamic Ports</p>
<p><a href="http://blogs.wazitech.com/wp-content/uploads/2011/05/SQLServer.png"><img class="size-medium wp-image-81 alignnone" title="SQLServer" src="http://blogs.wazitech.com/wp-content/uploads/2011/05/SQLServer-273x300.png" alt="" width="273" height="300" /></a></p>
<p>That will do the trick you can now add the SQL Server as your Event Database Server.</p>
<p><em><br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.wazitech.com/index.php/2011/05/view-4-6-events-and-sql-express-port-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing VCenter Windows 2008 R2 Prerequisites</title>
		<link>http://blogs.wazitech.com/index.php/2011/05/installing-vcenter-windows-2008-r2-prerequisites/</link>
		<comments>http://blogs.wazitech.com/index.php/2011/05/installing-vcenter-windows-2008-r2-prerequisites/#comments</comments>
		<pubDate>Thu, 12 May 2011 05:57:14 +0000</pubDate>
		<dc:creator>Frans Van Rooyen</dc:creator>
				<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://blogs.wazitech.com/?p=73</guid>
		<description><![CDATA[Installing vCenter on Windows 2008 R2 really is not a hard task, but watch out for the pitfalls. ]]></description>
			<content:encoded><![CDATA[<p>Since Windows 2008 R2 is now a 64bit only server, a very good move on Microsoft&#8217;s part to transition in only 64bit land, there are a couple of things to make sure gets done before installing vCenter. Particularly two things has to get done to get this install to work:</p>
<p>* Install the .NET 3.5.1 Framework</p>
<p>* Setup a 32bit DSN for vCenter</p>
<p><span style="text-decoration: underline;"><strong>Install the .NET 3.5.1 Framework</strong></span></p>
<p>1. Go to Server Manager.</p>
<p>2. Select “Features”</p>
<p>3. Click “Add Features”</p>
<p>4.  Expand .NET Framework 3.5.1 Features</p>
<p>5. Select only .NET Framework 3.5.1 (do not select WCF Activation as it will install IIS 7.5 which will cause issues with Apache Tomcat that vCenter will install later.)</p>
<p><a href="http://blogs.wazitech.com/wp-content/uploads/2011/05/net1.jpg"><img class="size-medium wp-image-75 alignnone" title=".net" src="http://blogs.wazitech.com/wp-content/uploads/2011/05/net1-300x220.jpg" alt="vCenter install on Windows 2008 R2" width="300" height="220" /></a></p>
<p><span style="text-decoration: underline;"><strong>Setup a 32bit DSN for vCenter</strong></span></p>
<p>Vcenter will be looking for a 32bit DSN, so when you get to the part of the install looking for your DSN and you cannot see it, then you have created a 64bit one and need to start over by first creating a 32bit DSN.</p>
<p>1. Download the SQL Server Native Client (sqlncli_x64.msi) from <a href="http://www.microsoft.com/Downloads/en/details.aspx?FamilyId=50b97994-8453-4998-8226-fa42ec403d17&amp;displaylang=en" target="_blank">Here</a>. Make sure to download the _x64 version, since you are installing the 32bit client on a 64bit OS.</p>
<p>2. Install</p>
<p>3. Go Start -&gt; Search and type &#8220;<em>odbcad32&#8243;</em></p>
<p><em><a href="http://blogs.wazitech.com/wp-content/uploads/2011/05/odbc.jpg"><img class="size-medium wp-image-76 alignnone" title="odbc" src="http://blogs.wazitech.com/wp-content/uploads/2011/05/odbc-300x144.jpg" alt="" width="300" height="144" /></a><br />
</em></p>
<p>4. Create the <strong>System</strong> DSN</p>
<p>Now you are ready to Install vCenter.</p>
<p><em><br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.wazitech.com/index.php/2011/05/installing-vcenter-windows-2008-r2-prerequisites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

