<?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>Yann's Blog &#187; StackFoundry</title>
	<atom:link href="http://yannramin.com/category/stackfoundry/feed/" rel="self" type="application/rss+xml" />
	<link>http://yannramin.com</link>
	<description>Software and life</description>
	<lastBuildDate>Wed, 07 Jul 2010 20:04:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>MSP430 BSL Attacks, new F5xxx series, musings</title>
		<link>http://yannramin.com/2010/01/14/msp430-bsl-attacks-new-f5xxx-series-musings/</link>
		<comments>http://yannramin.com/2010/01/14/msp430-bsl-attacks-new-f5xxx-series-musings/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 07:41:07 +0000</pubDate>
		<dc:creator>Yann</dc:creator>
				<category><![CDATA[EVE-Central]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[StackFoundry]]></category>

		<guid isPermaLink="false">http://yannramin.com/?p=341</guid>
		<description><![CDATA[I thought I&#8217;d do a small interlude into the embedded hardware and firmware space (which is generally my main area of work) from the normal EVE-Central heavy side of this blog. I have been musing about the code security protections of the MSP430 micro-controller, specifically the Boot Strap Loader (BSL), which remains enabled at all [...]]]></description>
			<content:encoded><![CDATA[<p>I thought I&#8217;d do a small interlude into the embedded hardware and firmware space (which is generally my main area of work) from the normal EVE-Central heavy side of this blog. I have been musing about the code security protections of the <a href="http://ti.com/msp430">MSP430 micro-controller</a>, specifically the Boot Strap Loader (BSL), which remains enabled at all times, even if the JTAG interface is disabled (via a fuse on most MSP430s).</p>
<p>The BSL disallows memory reads and writes until a &#8220;password&#8221; has been transmitted over the serial interface. The password is actually a copy of the interrupt vectors (32bytes) used by the micro-controller, which limits the entropy available by a significant margin: addresses are all even aligned, reset vector is generally start of flash, many interrupt vectors will be identical, general case has all interrupt vectors located in flash. The only defense against this low-entropy brute force attack is the rate limit of the BSL: some versions of the BSL prevent you from changing from 9600 baud until after the password has been verified. However, on devices with small amounts of flash (say, 8Kib), there are only about 61,000 passwords generally in use, which reduces the search time tremendously. </p>
<p>Some BSL versions are also susceptible to side channel attacks are discussed in this paper:<br />
<a href="http://events.ccc.de/congress/2008/Fahrplan/attachments/1191_goodspeed_25c3_bslc.pdf">Practical Attacks against the MSP430 BSL</a></p>
<p>Texas Instruments has improved code security on the new F5xxx series devices in a drastic way:<i> an invalid password will cause a complete device erase.</i> Note that the flash memory also differs from the previous generation devices by being rated to erase and program as low as 1.8V (where the core voltage normally sits &#8211; the 5 series has an integrated LDO).</p>
<p>I can see two possible attack vectors &#8211; undervoltage to the entire processor (I have a &#8217;5438A running as low as 1.5V, however the BSL is not yet tested down here), or &#8220;glitching&#8221; the processor (in this case, complete power down) if the start bit of the acknowledgement packet is not transmitted within an allowable window. The second scenario can be defended against in the BSL firmware (delay the acknowledge by a large value).</p>
<p>I have not tried either of these attacks on the 5xxx series yet (specifically, the 5438 and 5438A). Generally, there are easier ways to attack processors to capture embedded code, or simply replicate external functionality based on observed behavior (code security is not on most programmers&#8217; minds). If small-memory variants of the 5xxx series become available (to allow the brute-force searching of the keyspace), the flash memory erase issue would have to be overcome. </p>
<p>In the mean time, you can use some chip disassembly techniques from <a href="http://www.flylogic.net/blog/">Flylogic</a>. </p>
<p>On another note, I will be announcing a security related, open source hardware project shortly. Its been keeping me distracted from EVE-Central (trade route tool version 2, specifically), Contribtastic, and working on the EVE-Metrics/EVE-Central unified uploader. </p>
]]></content:encoded>
			<wfw:commentRss>http://yannramin.com/2010/01/14/msp430-bsl-attacks-new-f5xxx-series-musings/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quickie: USB Keys are really quite small</title>
		<link>http://yannramin.com/2009/08/11/quickie-usb-keys-are-really-quite-small/</link>
		<comments>http://yannramin.com/2009/08/11/quickie-usb-keys-are-really-quite-small/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 06:18:14 +0000</pubDate>
		<dc:creator>Yann</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[StackFoundry]]></category>

		<guid isPermaLink="false">http://yannramin.com/?p=256</guid>
		<description><![CDATA[Just a small observation for tonight: I am doing a design which fits a bunch of hardware on to a USB key sized formfactor PCB. I&#8217;ve already given up on 0603 devices, simply far too big. This image doesn&#8217;t even show a third of the parts required! Too bad I can&#8217;t put parts on inner [...]]]></description>
			<content:encoded><![CDATA[<p>Just a small observation for tonight: I am doing a design which fits a bunch of hardware on to a USB key sized formfactor PCB. I&#8217;ve already given up on 0603 devices, simply far too big. This image doesn&#8217;t even show a third of the parts required! Too bad I can&#8217;t put parts on inner layers <img src='http://yannramin.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><img src="http://yannramin.com/wp-content/uploads/king.png" alt="king" title="king" width="484" height="149" class="aligncenter size-full wp-image-257" /></p>
]]></content:encoded>
			<wfw:commentRss>http://yannramin.com/2009/08/11/quickie-usb-keys-are-really-quite-small/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Teaser: What is it?</title>
		<link>http://yannramin.com/2009/07/15/teaser-what-is-it/</link>
		<comments>http://yannramin.com/2009/07/15/teaser-what-is-it/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 21:19:16 +0000</pubDate>
		<dc:creator>Yann</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[StackFoundry]]></category>

		<guid isPermaLink="false">http://yannramin.com/?p=213</guid>
		<description><![CDATA[Speculations?]]></description>
			<content:encoded><![CDATA[<p>Speculations?</p>
<p><img src="http://yannramin.com/wp-content/uploads/img1.png" alt="Teaser 1" title="Teaser 1" width="842" height="611" class="aligncenter size-full wp-image-214" /></p>
]]></content:encoded>
			<wfw:commentRss>http://yannramin.com/2009/07/15/teaser-what-is-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OLED Keyswitch Anyone?</title>
		<link>http://yannramin.com/2009/06/16/oled-keyswitch-anyone/</link>
		<comments>http://yannramin.com/2009/06/16/oled-keyswitch-anyone/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 16:44:53 +0000</pubDate>
		<dc:creator>Yann</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[StackFoundry]]></category>

		<guid isPermaLink="false">http://yannramin.com/?p=194</guid>
		<description><![CDATA[Check out this OLED keyswitch NKK. Full color 64&#215;32 display, with a SPI interface, which is much easier to use than previous products (such as the ScreenKeys) IS15DSBFP4RGB on Mouser]]></description>
			<content:encoded><![CDATA[<p>Check out this OLED keyswitch NKK. </p>
<p><img src="http://yannramin.com/wp-content/uploads/pt-1989.jpg" alt="pt-1989" title="pt-1989" width="550" height="281" class="aligncenter size-full wp-image-195" /> </p>
<p>Full color 64&#215;32 display, with a SPI interface, which is much easier to use than previous products (such as the ScreenKeys)</p>
<p><a href="http://mouser.com/search/ProductDetail.aspx?qs=sGAEpiMZZMsmUjwTDAf1t5IDP72lP7Lh">IS15DSBFP4RGB on Mouser </a></p>
]]></content:encoded>
			<wfw:commentRss>http://yannramin.com/2009/06/16/oled-keyswitch-anyone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.251 seconds -->
