<?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>1. Speak, 2. Think &#187; security</title>
	<atom:link href="http://www.punk.co.nz/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.punk.co.nz</link>
	<description>Speaking before thinking since 1981</description>
	<lastBuildDate>Fri, 05 Feb 2010 00:06:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MasterCard Skimmed: Priceless</title>
		<link>http://www.punk.co.nz/2010/02/05/mastercard-skimmed-priceless/</link>
		<comments>http://www.punk.co.nz/2010/02/05/mastercard-skimmed-priceless/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 15:53:16 +0000</pubDate>
		<dc:creator>Kris Price</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://www.punk.co.nz/?p=147</guid>
		<description><![CDATA[Seems my MasterCard was skimmed somewhere in my travels, winding up in the hands of some crook in the UK. What I found interesting was plotting the thief&#8217;s actions with it. Seems they bought some Jewellery (big ticket item) in Torquay, then went on a road trip to Wolverhampton, taking a shopping spree at Tesco&#8217;s, [...]]]></description>
			<content:encoded><![CDATA[<p>Seems my MasterCard was skimmed somewhere in my travels, winding up in the hands of some crook in the UK. What I found interesting was plotting the thief&#8217;s actions with it. Seems they bought some Jewellery (big ticket item) in Torquay, then went on a road trip to Wolverhampton, taking a shopping spree at Tesco&#8217;s, and buying lots of gas on the way. $5,305.49 all up.</p>
<p><iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;t=h&amp;source=embed&amp;msa=0&amp;msid=102479809546739835206.00047ec817a4141593b82&amp;ll=51.55555,-2.816254&amp;spn=2.175261,1.518213&amp;output=embed"></iframe><br /><small>View <a href="http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;t=h&amp;source=embed&amp;msa=0&amp;msid=102479809546739835206.00047ec817a4141593b82&amp;ll=51.55555,-2.816254&amp;spn=2.175261,1.518213" style="color:#0000FF;text-align:left">MasterCard Skimmed: Priceless</a> in a larger map</small></p>
<p>If only there were some webcams with archives of these areas. Or the police photographed every vehicle license plate passing certain parts of the M5 as routine, could be quite easy to narrow down a list of suspect vehicles. This would be a fun database project: a system where the fraud investigator at my bank or the police could just punch in the times and locations of the events, and the computer could produce a list of vehicles that were in all of those areas at those times. A bit too 1984-esque though I suppose.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.punk.co.nz/2010/02/05/mastercard-skimmed-priceless/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ASB Bank, compromised?</title>
		<link>http://www.punk.co.nz/2009/05/23/asb-bank-compromised/</link>
		<comments>http://www.punk.co.nz/2009/05/23/asb-bank-compromised/#comments</comments>
		<pubDate>Sat, 23 May 2009 04:09:08 +0000</pubDate>
		<dc:creator>Kris Price</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.punk.co.nz/?p=144</guid>
		<description><![CDATA[Since I got my domain name, back in 2000, I&#8217;ve been running an experiment on spam. Whenever asked for an email address, such as when signing up for a website, or making a paper application for bank account, I create and provide a unique alias for that website or company in question. It has been [...]]]></description>
			<content:encoded><![CDATA[<p>Since I got my domain name, back in 2000, I&#8217;ve been running an experiment on spam. Whenever asked for an email address, such as when signing up for a website, or making a paper application for bank account, I create and provide a unique alias for that website or company in question. It has been interesting to track where spam comes to. The most spammed address is the one I used for ICQ. There have been a few obvious cases where it appears dodgy websites have leaked the email address, but the first seriously concerning case has happened recently.</p>
<p>Back in April of this year I started to recieve spam to the unique email address I gave ASB Bank. What does this mean? Well the possibilities are:</p>
<ol>
<li>My computer or webserver was compromised, and my list of mail aliases escaped onto a spam list. But this doesn&#8217;t add up. I don&#8217;t seem to be compromised, and more tellingly there hasn&#8217;t been any other cases of this, which would be statistically strange given the list of aliases is very long.</li>
<li>I somehow mucked up, and entered the same email address on a website that turned out to be dodgy. This doesn&#8217;t seem likely, because the email address is distinctly identifiable as intended for ASB Bank.</li>
<li>I sent an email from that address to someone else, not at ASB Bank, where it escaped. But that one doesn&#8217;t add up either, because my records seem to show no outbound email from that address, and only a few legitimate inbound emails to it (the last in October 2008).</li>
<li>An employee at ASB Bank has extracted the email addresses from their database and sold them. I hope this isn&#8217;t the case, but it always is a slim possibility.</li>
<li>A computer at ASB Bank was compromised, and the email addresses were harvested that way.</li>
</ol>
<p>This last one seems more likely.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.punk.co.nz/2009/05/23/asb-bank-compromised/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VLAN attacks in TRILL</title>
		<link>http://www.punk.co.nz/2009/05/23/vlan-attacks-in-trill/</link>
		<comments>http://www.punk.co.nz/2009/05/23/vlan-attacks-in-trill/#comments</comments>
		<pubDate>Sat, 23 May 2009 00:09:30 +0000</pubDate>
		<dc:creator>Kris Price</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[trill]]></category>

		<guid isPermaLink="false">http://www.punk.co.nz/?p=110</guid>
		<description><![CDATA[Without a proper understanding of TRILL&#8217;s behaviour an engineer introducing TRILL to a network may make it vulnerable to VLAN attacks.
Background
In 802.1Q networks VLANs provide isolation between different sets of end stations. An end station on one VLAN is unable to transmit a frame to an end station on another VLAN. In a VLAN attack [...]]]></description>
			<content:encoded><![CDATA[<p>Without a proper understanding of TRILL&#8217;s behaviour an engineer introducing TRILL to a network may make it vulnerable to VLAN attacks.</p>
<p><strong>Background</strong></p>
<p>In 802.1Q networks VLANs provide isolation between different sets of end stations. An end station on one VLAN is unable to transmit a frame to an end station on another VLAN. In a VLAN attack this rule is broken by exploiting vulnerabilities in the bridge software or hardware. Over the years various such attacks have been discovered and resolved, and properly configured VLANs are now considered secure.</p>
<p>Today, the most important and widely used control when securing VLANs is the ability to constrain their topology. This is a well defined feature in the 802.1Q standard. A VLAN topology is constrained by configuring VLAN memberships on ports. A bridge only accepts a frame on a port when the frame&#8217;s VLAN tag matches the port&#8217;s VLAN memberships. Similarly, a bridge only transmits a frame on a port &#8212; such as in the case of a broadcast flood &#8212; when there is also a match.</p>
<p>Let&#8217;s consider the following simple example.</p>
<pre>   +----+         +----+         +----+
   | B1 |--dot1Q--| B2 |--dot1Q--| B3 |
   +----+         +----+         +----+</pre>
<p></p>
<p>There are three 802.1Q bridges. B1 is in an insecure location, such as a meeting room or wiring closet, where an attacker might gain physical access and compromise it. B2 and B3 are in a secure location, such as a server room, and have ports configured on VLAN 2 with servers attached. The administrator wants B1 to have access to VLAN 1, and to prevent a rogue B1 from being able to access the servers on VLAN 2. So on B2, he configures the port connected to B1 to only be a member of VLAN 1. Now, if an attacker compromises B1, he can configure VLAN 2 on the compromised bridge, but this access will not extend to the target servers. To do this the attacker would need to gain access to and compromise B2, which is considered to be in a secure location.</p>
<p><strong>Enter TRILL</strong></p>
<p>So how might TRILL make a network vulnerable? Essentially the problem is that TRILL bypasses the existing VLAN topology (or policy) of a network. When an Ethernet frame arrives at an RBridge it&#8217;s encapsulated with a TRILL header and an outer MAC header. But, importantly, the VLAN tag isn&#8217;t copied to the outer MAC header, and instead TRILL forwards the frame over a single common VLAN called the designated VLAN.</p>
<p>Going back to the example, if B1 and B3 are replaced with RBridges, one might naturally expect a TRILL VLAN to behave like an 802.1Q VLAN, so that VLAN 2 will still be constrained by the configuration on B2, but this is not the case. An attacker that compromised B1 could configure full access to any end station on VLAN 2 attached to B2 and B3. In fact, the attacker could configure full access to any VLAN which any other RBridge in the network can access. This is because B1 will encapsulate VLAN 2 frames from the attacker, forward them to B3, where they are decapsulated and forwarded appropriately. B2 is unable to recognise the encapsulated VLAN 2 frame so lets it pass.</p>
<p>Other scenarios in which TRILL may enable VLAN attacks may also exist. For example, consider the case where end stations exist on the designated VLAN. Can an end station then emulate or spoof an RBridge, and therefore gain access to the entire network? In some cases, yes.</p>
<p><strong>Conclusion</strong></p>
<p>TRILL has adopted the term VLAN, but what it calls a VLAN behaves differently from the 802.1Q definition of a VLAN. TRILL views a VLAN as a community, more like a BGP/MPLS IP VPN, and believes that all end stations in a VLAN should be able to reach each other. TRILL also takes the view that all RBridges in a network are at the same trust level. Again, this is similar to MPLS, and we see that no one ever puts an MPLS router in an insecure location for that reason. TRILL goes so far as to impose this view on existing 802.1Q networks when it is deployed incrementally.</p>
<p>So what could be done? Well, there are only two ways to properly fix this.</p>
<p>The first is for TRILL to copy the inner VLAN tag to the outer VLAN tag, so that a TRILL encapsulated frame could still only travel on the same links as before RBridges were deployed. As an advantage, the VLAN forwarding behaviour of RBridges and bridges remain similar. </p>
<p>The second is for TRILL to form regions of directly coupled RBridges, where TRILL is only done on RBridge-RBridge links. This would require making these TRILL regions appear to STP as though they are bridges through some clever processing of BPDUs, or making the TRILL regions transparently tunnel BPDUs. This would have the added benefit of being similar to existing systems, such as Multiple Spanning Tree, 802.1ad Provider Bridges, and VPLS.</p>
<p>It is likely that implementations of RBridges will allow administrative filtering of the inner VLAN, but this is not included in the specification and so may vary. (At a minimum I feel this filtering should be covered in the specification.) This will allow administrators, provided they understand TRILL properly and deploy RBridges in the right sequence, to mimic their existing policy.</p>
<p>It strikes me as strange that a protocol aimed at resolving many of the problems with bridges has chosen to create new, preventable problems. It has chosen to adopt existing terms but behave differently, and has opted for the best incremental optimisation outcome over respecting the existing security policy. I think it&#8217;s likely that we will see RBridges sold as drop-in replacements for bridges, and I remain concerned that in the early days, because of this, there will misunderstandings and problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.punk.co.nz/2009/05/23/vlan-attacks-in-trill/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
