<?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>Phocean.net / Computer Security &#187; Security</title>
	<atom:link href="http://www.phocean.net/category/security/feed" rel="self" type="application/rss+xml" />
	<link>http://www.phocean.net</link>
	<description>&#34;A defense that hedgehogs possess is the ability to roll into a tight ball, causing all of the spines to point outwards.&#34; -- Wikipedia</description>
	<lastBuildDate>Wed, 30 Nov 2011 22:02:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Debugging the CrashMe program</title>
		<link>http://www.phocean.net/2011/11/30/debugging-the-crashme-program.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=debugging-the-crashme-program</link>
		<comments>http://www.phocean.net/2011/11/30/debugging-the-crashme-program.html#comments</comments>
		<pubDate>Wed, 30 Nov 2011 22:02:47 +0000</pubDate>
		<dc:creator>phocean</dc:creator>
				<category><![CDATA[Assembler / Reversing]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Assembler]]></category>
		<category><![CDATA[buffer overflow]]></category>
		<category><![CDATA[CrashMe]]></category>
		<category><![CDATA[WinDBG]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=1163</guid>
		<description><![CDATA[CrashMe, from the WinDbg developpers, may be a helpful application for those in the process of learning how to use a debugger or a disassembler. It simulates several crash situation that you will be able to easily reproduce and examine within these tools.]]></description>
			<content:encoded><![CDATA[<p><a title="CrashMe" href="http://windbg.info/apps/46-crashme.html" target="_blank">CrashMe</a>, from the WinDbg developpers, may be a helpful application for those in the process of learning how to use a debugger or a disassembler.</p>
<p>It simulates several crash situation that you will be able to easily reproduce and examine within these tools.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2011/11/30/debugging-the-crashme-program.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Acquisitions among SIEM actors</title>
		<link>http://www.phocean.net/2011/10/04/acquisitions-among-siem-actors.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=acquisitions-among-siem-actors</link>
		<comments>http://www.phocean.net/2011/10/04/acquisitions-among-siem-actors.html#comments</comments>
		<pubDate>Tue, 04 Oct 2011 17:14:13 +0000</pubDate>
		<dc:creator>phocean</dc:creator>
				<category><![CDATA[Defense]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Arcsight]]></category>
		<category><![CDATA[correlation]]></category>
		<category><![CDATA[Gartner]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[SIEM]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=1167</guid>
		<description><![CDATA[The SIEM planet has recently gone crazy. Following the acquisition of the leader, Arcsight, by HP last year, IBM just acquired Q1 Labs&#8230; and Mc Afee, Nitrosecurity ! With RSA and Norton having their own solutions, we know have 5 big players in the arena (see Gartner 2011). This is a good proof that the [...]]]></description>
			<content:encoded><![CDATA[<p>The <strong>SIEM</strong> planet has recently gone crazy. Following the acquisition of the leader, <a title="HP to acquire" href="http://www.hp.com/hpinfo/newsroom/press/2010/100913xa.html" target="_blank">Arcsight, by HP</a> last year, <a title="IBM to acquire Q1 Labs" href="http://www.net-security.org/secworld.php?id=11729" target="_blank">IBM just acquired Q1 Labs</a>&#8230; and <a title="Mc Afee to acquire Nitrosecurity" href="http://www.net-security.org/secworld.php?id=11727" target="_blank">Mc Afee, Nitrosecurity</a> !</p>
<p>With RSA and Norton having their own solutions, we know have 5 big players in the arena (see <a title="Gartner Magic Quadrant 2011" href="http://www.arcsight.com/collateral/whitepapers/Gartner_Magic_Quadrant_2011.pdf">Gartner 2011</a>). This is a good proof that the correlation market is growing and that the solutions are getting mature.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2011/10/04/acquisitions-among-siem-actors.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BNAT</title>
		<link>http://www.phocean.net/2011/09/13/bnat.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bnat</link>
		<comments>http://www.phocean.net/2011/09/13/bnat.html#comments</comments>
		<pubDate>Tue, 13 Sep 2011 19:34:58 +0000</pubDate>
		<dc:creator>phocean</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Scanning / fingerprinting]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[BNAT]]></category>
		<category><![CDATA[DEFCON]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[Metasploit]]></category>
		<category><![CDATA[NAT]]></category>
		<category><![CDATA[Nmap]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=1155</guid>
		<description><![CDATA[BNAT stands for &#8220;Broken NAT&#8220;. In the scope of Jonathan Claudius work, a NAT is considered broken when the client receives a reply from a server behind a NAT with a different IP than the one it sent the request to. It happens with bad implementations where the DNAT (destination NAT) and the SNAT (source NAT) use [...]]]></description>
			<content:encoded><![CDATA[<p><strong>BNAT</strong> stands for &#8220;<strong><em>Broken NAT</em></strong>&#8220;. In the scope of <em><strong>Jonathan Claudius</strong></em> work, a NAT is considered broken when the client receives a reply from a server behind a NAT with a different IP than the one it sent the request to.</p>
<p>It happens with bad implementations where the <em>DNAT</em> (destination NAT) and the <em>SNAT</em> (source NAT) use a different IP because of a wrong rule or because the outbound and inbound interfaces are separated.</p>
<p>As a result, the operating system of the client will discard right away such a reply (with a<em> TCP RST</em>), because it does not match an existing TCP session.</p>
<p><img class="aligncenter size-full wp-image-1157" title="bnat" src="http://www.phocean.net/wp-content/uploads/2011/08/bnat.png" alt="" width="532" height="165" /></p>
<p>The idea is that a pentester auditing such an infrastructure with a classic scanner will miss some entry points. A typical scanner relies on the network stack of the system : it will not receive the reply and will consider the port as filtered.</p>
<p>So Jonathan came with a proof-of-concept to illustrate his purpose.</p>
<p>It is composed of a B-Router and a client. The B-Router will intercept the reply and maintain the session by sending an ACK. This way, it handles an asymetric routing scheme for the client. Just add a filtering rule to block your system&#8217;s <em>RST</em> (<em>iptables -A OUTPUT -p tcp &#8211;tcp-flags RST RST -j DROP</em> ), and you are good to go.</p>
<p>Simple but brilliant, isn&#8217;t it ? The great thing is that the code has now been <a title="BNAT in Metasploit" href="https://community.rapid7.com/community/metasploit/blog/2011/08/26/a-tale-from-defcon-and-the-fun-of-bnat" target="_blank">included in Metasploit</a>, so it is even more straightforward.</p>
<p>Check the <a title="BNAT slides" href="http://www.slideshare.net/claudijd/dc-skytalk-bnat-hijacking-repairing-broken-communication-channels " target="_blank">slides of Jonathan at DEFCON</a> for more info. You can download the source <a title="BNAT source" href="https://github.com/claudijd/BNAT-Suite" target="_blank">there</a> (or just update your Metasploit and look for it in auxiliaries).<br />
<img class="aligncenter size-full wp-image-1158" title="bnat architecture" src="http://www.phocean.net/wp-content/uploads/2011/08/bnat-archi.png" alt="" width="579" height="347" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2011/09/13/bnat.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EMET, pretty weak ALSR</title>
		<link>http://www.phocean.net/2011/08/16/emet-pretty-weak-alsr.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=emet-pretty-weak-alsr</link>
		<comments>http://www.phocean.net/2011/08/16/emet-pretty-weak-alsr.html#comments</comments>
		<pubDate>Tue, 16 Aug 2011 17:20:36 +0000</pubDate>
		<dc:creator>phocean</dc:creator>
				<category><![CDATA[Defense]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ALSR]]></category>
		<category><![CDATA[EMET]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=1150</guid>
		<description><![CDATA[Didier Stevens &#8220;benchmarked&#8221; the efficiency of ALSR as implemented by the EMET tool. The conclusion is that it is pretty weak, whereas I thought it was on pair with true ALSR (as advertised). Very instructive.]]></description>
			<content:encoded><![CDATA[<p>Didier Stevens &#8220;<a title="Pseudo ALSR" href="http://blog.didierstevens.com/2011/08/16/so-how-good-is-pseudo-aslr/" target="_blank">benchmarked</a>&#8221; the efficiency of ALSR as implemented by the <a title="EMET" href="http://www.phocean.net/2010/09/25/emet-configure…ion-on-windows.html">EMET</a> tool.</p>
<p>The conclusion is that it is pretty weak, whereas I thought it was on pair with true ALSR (as advertised). Very instructive.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2011/08/16/emet-pretty-weak-alsr.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tabnabbing</title>
		<link>http://www.phocean.net/2011/07/04/tabnabbing.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tabnabbing</link>
		<comments>http://www.phocean.net/2011/07/04/tabnabbing.html#comments</comments>
		<pubDate>Mon, 04 Jul 2011 21:08:02 +0000</pubDate>
		<dc:creator>phocean</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[phishing]]></category>
		<category><![CDATA[social engineering]]></category>
		<category><![CDATA[Tabnabbing]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=1147</guid>
		<description><![CDATA[On his website, Aza Raskin calls it Tabnabbing. Don&#8217;t miss the video there and the test web page. It is so simple and probably efficient with most users. Certainly another dangerous phishing attack.]]></description>
			<content:encoded><![CDATA[<p>On his website, Aza Raskin calls it <a title="Tabnabbing" href="http://www.azarask.in/blog/post/a-new-type-of-phishing-attack/" target="_blank">Tabnabbing</a>. Don&#8217;t miss the video there and the test web page. It is so simple and probably efficient with most users. Certainly another dangerous phishing attack.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2011/07/04/tabnabbing.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security Mind Map</title>
		<link>http://www.phocean.net/2011/07/03/security-mind-map.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=security-mind-map</link>
		<comments>http://www.phocean.net/2011/07/03/security-mind-map.html#comments</comments>
		<pubDate>Sun, 03 Jul 2011 00:52:24 +0000</pubDate>
		<dc:creator>phocean</dc:creator>
				<category><![CDATA[Defense]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[mind map]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=1125</guid>
		<description><![CDATA[I recently attended to the 2011 edition of the SSTIC conference (a major security conference in France), where I had a good time and where the slides of Joanna Rutkowska somehow inspired me. I shamelessly decided to reuse and extend her mind-map style diagram from a system security centric view into something more generic and [...]]]></description>
			<content:encoded><![CDATA[<p>I recently attended to the 2011 edition of the SSTIC conference (a major security conference in France), where I had a good time and where the <a title="Slides of Joanna Rutkowska" href="http://www.sstic.org/media/SSTIC2011/SSTIC-actes/ThoughtsonClientSystems/SSTIC2011-Slides-ThoughtsonClientSystems-rutkowska.pdf">slides of Joanna Rutkowska</a> somehow inspired me.</p>
<p>I shamelessly decided to reuse and extend her mind-map style diagram from a system security centric view into something more generic and operational on IT security.</p>
<p>Then, I came with this first version of the diagram:</p>
<p><a href="http://www.phocean.net/wp-content/uploads/2011/07/Securing-Infrastructure.png"><img class="aligncenter size-full wp-image-1138" title="Securing Infrastructure" src="http://www.phocean.net/wp-content/uploads/2011/07/Securing-Infrastructure-small.png" alt="" width="600" height="341" /></a>A the moment it is probably quite incomplete and incoherent on some aspects, but I am quite satisfied of the shape it is taking. I will certainly update it quite often, as soon as I think about something new.</p>
<p>I find it convenient as a memo summarizing goals, steps and tools to achieve security. It may also help clarifying some points during a presentation.</p>
<p>Feel free to use it (as long as you keep the credit to this website). I am waiting for your comments and suggestions on how to improve it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2011/07/03/security-mind-map.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vulnerabilities in software from Schneider Electric</title>
		<link>http://www.phocean.net/2011/06/23/vulnerabilities-in-software-from-schneider-electric.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=vulnerabilities-in-software-from-schneider-electric</link>
		<comments>http://www.phocean.net/2011/06/23/vulnerabilities-in-software-from-schneider-electric.html#comments</comments>
		<pubDate>Thu, 23 Jun 2011 18:25:19 +0000</pubDate>
		<dc:creator>phocean</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Vulnerabilities]]></category>
		<category><![CDATA[disclosure]]></category>
		<category><![CDATA[schneider]]></category>
		<category><![CDATA[Vulnerability]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=1093</guid>
		<description><![CDATA[I found multiple vulnerabilities in software from Schneider Electric, used to monitor industrial monitoring devices. It reveals a very poor security design. The editor was informed and I am waiting for its acknowledgement. I will disclose more details once the issues are patched.]]></description>
			<content:encoded><![CDATA[<p>I found multiple vulnerabilities in software from Schneider Electric, used to monitor industrial monitoring devices. It reveals a very poor security design.</p>
<p>The editor was informed and I am waiting for its acknowledgement. I will disclose more details once the issues are patched.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2011/06/23/vulnerabilities-in-software-from-schneider-electric.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FFFjacking</title>
		<link>http://www.phocean.net/2011/06/03/fffjacking.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fffjacking</link>
		<comments>http://www.phocean.net/2011/06/03/fffjacking.html#comments</comments>
		<pubDate>Fri, 03 Jun 2011 17:39:56 +0000</pubDate>
		<dc:creator>phocean</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[FFFjacking]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[Hijacking]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[iFrame]]></category>
		<category><![CDATA[social engineering]]></category>
		<category><![CDATA[web browser]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=1085</guid>
		<description><![CDATA[FFFjacking is new web browser hacking technique discovered by  Roman Kümmel (aka .cCuMiNn.). Even though it requires a little of social engineering, it is quite dangerous. Yet another string to add to the bow.]]></description>
			<content:encoded><![CDATA[<p><a title="FFFjacking" href="http://www.soom.cz/index.php?name=articles/show&amp;aid=550" target="_blank">FFFjacking</a> is new web browser hacking technique discovered by  Roman Kümmel (aka .cCuMiNn.).</p>
<p>Even though it requires a little of social engineering, it is quite dangerous. Yet another string to add to the bow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2011/06/03/fffjacking.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network virtualization and the DMZ paradigm</title>
		<link>http://www.phocean.net/2011/04/30/network-virtualization-and-the-dmz-paradigm.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=network-virtualization-and-the-dmz-paradigm</link>
		<comments>http://www.phocean.net/2011/04/30/network-virtualization-and-the-dmz-paradigm.html#comments</comments>
		<pubDate>Sat, 30 Apr 2011 19:15:53 +0000</pubDate>
		<dc:creator>phocean</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Defense]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[DMZ]]></category>
		<category><![CDATA[nexus]]></category>
		<category><![CDATA[vdc]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vswitch]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=1016</guid>
		<description><![CDATA[The virtualization buzz I have recently worked on network virtualization. Many people, especially the network guys, have been recently excited with the VMware Vswitch or Cisco Nexus stuff.  It is something that I understand because virtualization is cool. It brings many convenient features that truly make the life easier. But what about the security? Convenience [...]]]></description>
			<content:encoded><![CDATA[<h2>The virtualization buzz</h2>
<p>I have recently worked on network virtualization. Many people, especially the network guys, have been recently excited with the VMware Vswitch or Cisco Nexus stuff.  It is something that I understand because virtualization is cool. It brings many convenient features that truly make the life easier.</p>
<p>But what about the security? Convenience and security rarely come together, right? Oh, wait&#8230; we are in 2011, so lessons must have been learned. After all, Mr Salesman swear that it is more secure than ever. Convenience and security packed together, he says&#8230; it sounds promising. Let&#8217;s dig a little to find out what they won&#8217;t tell you&#8230;</p>
<p>I will focus on what really changes with virtualization : the architecture. One of the main goals of the technology is to reduce the number of physical devices to cut the costs, save space and energy. Of course, it goes with a simplification of the <strong>physical </strong>architecture. Therefore, some features previously handled by dedicated physical devices are now handled <strong>logically by a unique piece of hardware</strong>.</p>
<p>This obviously goes against the security best practices about designing network architectures with various degrees of exposure. But has the technology evolved so much that we should reconsider these recommendations?</p>
<h2>VMware Vswitches or Nexus 1000V</h2>
<p>These technologies are similar in the sense that they are designed to work directly inside the VMware platform. Vswitches are integrated with the solution of VMware, while Nexus benefits from the experience of Cisco and bring more layer 2 control (more settings, more protocols).</p>
<p>As well on the architecture documents of VMware as within the administration interface of Vcenter, it appears so easy to create segregated switches and build this way in a few clicks a DMZ architecture:</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1069" title="Vswitch" src="http://www.phocean.net/wp-content/uploads/2011/04/Sélection_002.resized.png" alt="" width="318" height="240" /></p>
<p>But it is slightly different in reality, as <strong>Brad Hedlund</strong> from Cisco shows in an interesting article: <a title="the vswitch illusion and DMZ virtualization" href="http://bradhedlund.com/2010/02/10/vswitch-illusion-dmz-virtualization/" target="_blank">the vswitch illusion and DMZ virtualization</a>. In short, whether you are using VMware Vswitches or Nexus 1000V, a single threaded program runs all the configured virtual switches. In clear, all the virtual switches share the same memory space. So, any vulnerability in the code would compromise all the switches, in other words: the entire network. And, not a surprise here, there have been many vulnerabilities. Just browse a <a title="CVE database" href="http://cve.mitre.org/cve/" target="_blank">CVE database</a> if you want to check.</p>
<p>So you don&#8217;t want to rely on such a design for your datacenter, right?</p>
<h2>Nexus 7000</h2>
<p>In the case of the Nexus 7000, it is a little bit different because most   of the switching work is handled by specific hardware, which have a   much smaller attack surface than the vswitches stuff. But is it really   safe?</p>
<p>The Nexus family is quite new and from what I could witness, they are  quite pushy selling that. Because it is new, there is still neither much  info surrounding the technologies used, nor user feedback, nor security  research. Anyway, below is a quick sum-up of what I could find.</p>
<h3>A few words about the architecture</h3>
<p>In a layer 3 Nexus architecture, Nexus 2000, 5000 and 7000 are designed to work together. Nexus 2000 are basically top-of-the-rack port panels, with no intelligence. Nexus 5000 takes care of most of the layer 2 switching, while Nexus 7000 adds layer 2 functionalities and layer 3 support. Nexus 2000 and 5000 can work without the 7000, but in that case there is not so much difference with a classic layer 2 switch in terms of security (but it has the advantage to be more flexible to integrate in a datacenter). <a title="Difference between Nexus 7000 and Nexus 5000" href="http://www.netcraftsmen.net/resources/technical-articles/348.html" target="_blank">This</a> and <a title="Nexus 7000 architecture" href="http://www.scribd.com/doc/33217473/RST-3009-Cisco-Nexus-7000-Switch-Architecture" target="_blank">this</a> may help you to visualize the differences.</p>
<p><img class="aligncenter size-full wp-image-1070" title="Nexus Architecture" src="http://www.phocean.net/wp-content/uploads/2011/04/nexus-architecture.resized.jpg" alt="" width="640" height="480" /></p>
<p>So we will focus on the Nexus 7000 architecture, which bring VDC as a way to handle DMZ architectures. VDC are somehow similar to VLANs. But whereas VLANs virtualized LANs on a switch, VDC virtualize switches. So, on the same Nexus 5000 device, VDC will add the capacity to have multiple virtual switches which are in theory properly isolated.</p>
<p>This is a very basic sum-up for what we are interested in, but if you want to learn more, I encourage you to read the <a title="Cisco VDC" href="http://www.cisco.com/en/US/prod/collateral/switches/ps9441/ps9402/ps9512/White_Paper_Tech_Overview_Virtual_Device_Contexts.html" target="_blank">Cisco whitepaper about VDCs</a>.</p>
<h3>The flaws</h3>
<p>Now that the presentations are made, the downside&#8230;</p>
<p><strong>George Hedfors</strong> is the only researcher that worked notably on this platform, as far as I am aware. He made some really great findings, that you can discover within <a title="NX OS Speech, George Hedfors" href="http://george.hedfors.com/content/slides-my-nx-os-speech-t2-helsinki" target="_blank">his slides</a>.<br />
At the time of his work &#8211; 2010, it appeared that the NX-OS consisted of a Linux Kernel 2.6.10 (released in 2004!). We can imagine that the OS has been signifiantly customized and hardened by Cisco. They may have include NX-bit support  (included since 2.6.8 and later improved). However, there is probably no ALSR support (2.6.12), no MAC system (SELinux or Tomoyo). Of course, I may be wrong but I haven&#8217;t found any documentation about that and my Cisco contact did not provide me with any consistent detail.</p>
<p>Anyway, he found a bunch of design flaws:</p>
<ul>
<li><strong>Poor CLI design</strong>: there are 686 hidden commands (system, debugging) that can be launched as root (sudo without password). One of these command is gdb, which can start a network daemon as root. The attacker can then connect to the socket to attach to any process on the system to elevate his privileges. Of course, it requires some shell access, so the exposure is limited. However, it is very instructive of how the system was designed!</li>
<li><strong>Insecure daemon configuration</strong>: Daemon are not chrooted and run with the root user.</li>
<li><strong>Embarassing CDP vulnerability</strong> : a vulnerability from 2001 was reintroduced in the code handling CDP. So it is possible to crash a daemon running as root. What if another vulnerability on a layer 2 daemon (vtp, hsrp, stp&#8230;) was discovered and allowed to rewrite the stack? Game over, the attacker is root.</li>
<li><strong>Strange hidden account</strong> : there is a ftpuser hidden account with a dumb password (nbv123). Secret backdoor? I don&#8217;t know, but anyway it is not serious at all and should have been revealed by any consistent audit.</li>
<li><strong>Shell design flaw</strong>: the VSH shell accepts a parameter (-a) that allow to spawn any command over the security roles normaly in place.</li>
<li>You can also get a root shell by simply spawning <strong><em>ssh `/bin/bash`</em></strong> from the CLI.</li>
</ul>
<p>To any serious security guy or unix administrator, these should look like amateurism. And what&#8217;s the hell are all the security audits for?</p>
<p>So concerning the Nexus 7000, it is obvious that at best it is not specifically designed to be secure, at worst it was simply as poorly designed (or released too quickly) as most stuff.</p>
<h2>Conclusion</h2>
<p>In conclusion, one thing we can tell for sure is that none of the virtualized networking solutions are designed to be secure. Of course, all these flaws are hopefully already or will be soon fixed. But, despite what Cisco may claim, the facts are here: there is no VDC miracle. The Nexus platform is certainly great, but not more bug-free, flaw-free than any other piece of code.<br />
No virtualized architecture can give the same degree of protection than physical segregation.</p>
<p>In the case of Vswitches or Nexus 1000, the attack surface is just too high to use it for DMZ segregation if you are serious about security. The vulnerabilities are already here and it will be feasible for a skillful and motivated attacker to own your datacenter.</p>
<p>Concerning the Nexus 7000 and its VDC, the attack surface is considerably reduced because there is less code and fewer protocols at layer 2. However, it is undoubtly less secure than physical segregation. Any zero-day vulnerability would potentially expose the datacenter (and we all know that some zero-day sometimes take years before coming to the public, which is a lot of time for the criminals or the government agencies to exploit it). You can&#8217;t take it lightly when it comes to the whole datacenter integrity and it doesn&#8217;t make sense if you have expensive (in cash or in labor hours) security at upper layers.</p>
<p>But, of course, it may depend on what you have to protect. If your datacenter hosts sensitive data for your company&#8217;s buisiness, then you should think twice on how you deploy virtualization or use the cloud.</p>
<p>Don&#8217;t get me wrong. These technologies are great and very useful. In many areas, there are an improvement. Simply, they must be used with as much care as always. Concerning the DMZ topic, as far as I am concerned, I will not rely on virtualization and keep physical segregation between zones, supported by different  devices from different makers.</p>
<p>One thing I keep an eye on, though, is the development of virtualized firewalls, IPS, etc. In a few years, if these technologies should became really mature (enforcing segregation on all OSI layers) and the hosting OS security should really improved, most of the concerns here would be addressed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2011/04/30/network-virtualization-and-the-dmz-paradigm.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How do you manage your passwords?</title>
		<link>http://www.phocean.net/2011/04/17/how-do-you-manage-your-passwords.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-do-you-manage-your-passwords</link>
		<comments>http://www.phocean.net/2011/04/17/how-do-you-manage-your-passwords.html#comments</comments>
		<pubDate>Sun, 17 Apr 2011 20:58:35 +0000</pubDate>
		<dc:creator>phocean</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Cracking]]></category>
		<category><![CDATA[Defense]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[openSUSE]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[aes]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=1028</guid>
		<description><![CDATA[We all know that passwords sucks, that they are the nightmare of all administrators and security guys. So many hacks have been eased because the victims reused the same password everywhere : email account, forum, bank, critical systems&#8230; Sadly, so far, there is even not the beginning of a replacement solution. Passwords will be there [...]]]></description>
			<content:encoded><![CDATA[<p>We all know that passwords sucks, that they are the nightmare of all administrators and security guys. So many hacks have been eased because the victims reused the same password everywhere : email account, forum, bank, critical systems&#8230;</p>
<p>Sadly, so far, there is even not the beginning of a replacement solution. Passwords will be there for long, so we would better use them accordingly.</p>
<p>Yes, I am aware of many on-line services like FisrtPass, KeePass, 1stPassword, etc. However, I don&#8217;t feel comfortable with having all my password somewhere on-line, even if they claim &#8211; and I believe they are sincere, that they use strong encryption and can&#8217;t access to it.</p>
<p>Instead, I use a combination of the Firefox password manager and the <a title="Pwgen for Firefox" href="https://addons.mozilla.org/en-us/firefox/addon/pwgen-password-generator/" target="_blank">Pwgen add-on</a>. I use this add-on to quickly and conveniently generate a random password when I subscribe to a web service. When Firefox prompts for it, I just choose to remember the password automatically. SSO quick and dirty.</p>
<p>For the other passwords that I can&#8217;t and don&#8217;t need to memorize, I store them in a local encrypted file.</p>
<p>To edit the file, I simply use Vim with this nice <a title="GPG Vim plugin" href="http://vim.wikia.com/wiki/Edit_gpg_encrypted_files" target="_blank">GPG plugin</a>:</p>
<ul>
<li>copy gpg.vim to /home/$user/.vim/plugin</li>
<li>if not done yet, generate you GPG key :
<pre> $ gpg --gen-key</pre>
</li>
<li>Encrypt your password file and erase it:
<pre>$ gpg --encrypt --recipient 'your name' passwords
$ rm passwords</pre>
</li>
<li>Now, it&#8217;s done. Just edit password.gpg to decrypt and access to your passwords (you will be prompted for your passphrase):
<pre>$ vim passwords.gpg</pre>
</li>
</ul>
<p>If you don&#8217;t like the overhead of GPG, a more straightforward solution is to use the <a title="OpenSSL Vim extension" href="http://www.vim.org/scripts/script.php?script_id=2012" target="_blank">OpenSSL extension</a> :</p>
<ul>
<li>Copy the openssl.vim file to /home/$user/.vim/plugin as well.</li>
</ul>
<ul>
<li>Now, to encrypt to file to, say, AES (note the .aes file extension which makes sense for the plugin):
<pre>$ openssl aes-256-cbc -in passwords -out passwords.aes</pre>
</li>
<li>Decryption will occur as soon as you edit the file with Vim:
<pre>$ vim passwords.aes</pre>
</li>
</ul>
<p>I believe that, if not perfect, it is pretty secure. I mean not more, not less than your system is. Anyway I don&#8217;t have any need for an on-line manager. And you, how do you manage your passwords? Let us know about your tips.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2011/04/17/how-do-you-manage-your-passwords.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

