<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Tuning in to random numbers</title>
	<atom:link href="http://www.lightbluetouchpaper.org/2009/09/08/tuning-in-to-random-numbers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lightbluetouchpaper.org/2009/09/08/tuning-in-to-random-numbers/</link>
	<description>Security Research, Computer Laboratory, University of Cambridge</description>
	<lastBuildDate>Sat, 28 Jan 2012 18:43:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nick P</title>
		<link>http://www.lightbluetouchpaper.org/2009/09/08/tuning-in-to-random-numbers/comment-page-1/#comment-121552</link>
		<dc:creator>Nick P</dc:creator>
		<pubDate>Tue, 28 Jun 2011 08:12:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=1244#comment-121552</guid>
		<description>@ theo

Many keep saying that these attacks are theoretical and weren&#039;t demonstrated until the papers were published. I think it&#039;s more appropriate to say they weren&#039;t &lt;i&gt;publicly&lt;/i&gt; demonstrated. One public web site (google it) has a TSCM specialist discussing issues like keeping STU-III secure telephones safe and doing so partly by banning cell phone use nearby. At one point, he mentions that having a specific model of cellphone/service within a certain distance of the device will compromise its key[s] due to the EMF waves it emits. He describes what&#039;s essentially an inadvertant, active EMSEC attack on the STU-III by the cell phone and electromagnetic leakage of the key. 

I&#039;d also note two things. First, even the BLACKER A1-class VPN had TEMPEST shielding for the BLACKER Front End devices. They knew, even then, that the hardware and software couldn&#039;t be trusted unless EMSEC attacks were prevented. That was two decades ago. Second, nuclear command and control systems continue to use older methods of building computer boards and networks even when &quot;better&quot; stuff is up for grabs. They cite reliability, but I bet EMSEC has to do with it too. It&#039;s probably easier to prevent passive/active issues on those primitive designs than on a modern SOC. I keep thinking about building a cross-domain guard or something out of *old* technology instead of new. I bet a Chinaman&#039;s salary that it&#039;s easier to secure a good old design than a good new one. And 20Mhz is plenty fast to people who know how to code.  ;)

Nick P
Of schneier&#039;s blog infamy</description>
		<content:encoded><![CDATA[<p>@ theo</p>
<p>Many keep saying that these attacks are theoretical and weren&#8217;t demonstrated until the papers were published. I think it&#8217;s more appropriate to say they weren&#8217;t <i>publicly</i> demonstrated. One public web site (google it) has a TSCM specialist discussing issues like keeping STU-III secure telephones safe and doing so partly by banning cell phone use nearby. At one point, he mentions that having a specific model of cellphone/service within a certain distance of the device will compromise its key[s] due to the EMF waves it emits. He describes what&#8217;s essentially an inadvertant, active EMSEC attack on the STU-III by the cell phone and electromagnetic leakage of the key. </p>
<p>I&#8217;d also note two things. First, even the BLACKER A1-class VPN had TEMPEST shielding for the BLACKER Front End devices. They knew, even then, that the hardware and software couldn&#8217;t be trusted unless EMSEC attacks were prevented. That was two decades ago. Second, nuclear command and control systems continue to use older methods of building computer boards and networks even when &#8220;better&#8221; stuff is up for grabs. They cite reliability, but I bet EMSEC has to do with it too. It&#8217;s probably easier to prevent passive/active issues on those primitive designs than on a modern SOC. I keep thinking about building a cross-domain guard or something out of *old* technology instead of new. I bet a Chinaman&#8217;s salary that it&#8217;s easier to secure a good old design than a good new one. And 20Mhz is plenty fast to people who know how to code.  <img src='http://www.lightbluetouchpaper.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Nick P<br />
Of schneier&#8217;s blog infamy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clive Robinson</title>
		<link>http://www.lightbluetouchpaper.org/2009/09/08/tuning-in-to-random-numbers/comment-page-1/#comment-35131</link>
		<dc:creator>Clive Robinson</dc:creator>
		<pubDate>Mon, 05 Oct 2009 14:10:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=1244#comment-35131</guid>
		<description>Theo,

Whilst I remember, a simple experiment for you and anyone else to carry out just to show how easy it is to mistake random and non random behaviour.

Get a D-Type latch and clock it from a XTAL or sig generator.

Get a variable frequency oscilator and put it into the D pin and have a look at the output on an osciliscope.

At first it looks fairly random but then you notice that the envolope of the waveform has nulls at points that are related to the difference frequency between the two oscilators...

If you integrate the output wave form either digitaly with an up/down counter or lowpass filter you get what looks very close to being a sine wave.

My advise to any one making a &quot;roulet wheel&quot; type TRNG is to always always monitor the raw output of the &quot;slicer&quot; / sample and hold / mixer with the likes of a frequency/sequency analyser.</description>
		<content:encoded><![CDATA[<p>Theo,</p>
<p>Whilst I remember, a simple experiment for you and anyone else to carry out just to show how easy it is to mistake random and non random behaviour.</p>
<p>Get a D-Type latch and clock it from a XTAL or sig generator.</p>
<p>Get a variable frequency oscilator and put it into the D pin and have a look at the output on an osciliscope.</p>
<p>At first it looks fairly random but then you notice that the envolope of the waveform has nulls at points that are related to the difference frequency between the two oscilators&#8230;</p>
<p>If you integrate the output wave form either digitaly with an up/down counter or lowpass filter you get what looks very close to being a sine wave.</p>
<p>My advise to any one making a &#8220;roulet wheel&#8221; type TRNG is to always always monitor the raw output of the &#8220;slicer&#8221; / sample and hold / mixer with the likes of a frequency/sequency analyser.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clive Robinson</title>
		<link>http://www.lightbluetouchpaper.org/2009/09/08/tuning-in-to-random-numbers/comment-page-1/#comment-34075</link>
		<dc:creator>Clive Robinson</dc:creator>
		<pubDate>Fri, 18 Sep 2009 15:30:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=1244#comment-34075</guid>
		<description>@ Mike, Theo,

You two should have a chat I can easily see a rather good joint paper out of this 8)

And as I said get a suitably wideband IQ Software Defined Receiver and I think the pair of you could have quite some fun for the next few months.

I have more than good reason to think that &quot;susceptability&quot; and &quot;cross/re-modulation&quot; are going to be the next biggest source of effective side channel attacks.

And it has all sorts of implications for Banks with regards to &quot;security tokens&quot; for EPOS, ATM and iBanking. 

Oh and passports you will find that some of the chips in passports can be &quot;enumerated&quot; to the point you can remotly identify the country and date of issue. This makes &quot;ID Shopping&quot; more feasable than it currently is.</description>
		<content:encoded><![CDATA[<p>@ Mike, Theo,</p>
<p>You two should have a chat I can easily see a rather good joint paper out of this <img src='http://www.lightbluetouchpaper.org/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> </p>
<p>And as I said get a suitably wideband IQ Software Defined Receiver and I think the pair of you could have quite some fun for the next few months.</p>
<p>I have more than good reason to think that &#8220;susceptability&#8221; and &#8220;cross/re-modulation&#8221; are going to be the next biggest source of effective side channel attacks.</p>
<p>And it has all sorts of implications for Banks with regards to &#8220;security tokens&#8221; for EPOS, ATM and iBanking. </p>
<p>Oh and passports you will find that some of the chips in passports can be &#8220;enumerated&#8221; to the point you can remotly identify the country and date of issue. This makes &#8220;ID Shopping&#8221; more feasable than it currently is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Bond</title>
		<link>http://www.lightbluetouchpaper.org/2009/09/08/tuning-in-to-random-numbers/comment-page-1/#comment-34068</link>
		<dc:creator>Mike Bond</dc:creator>
		<pubDate>Fri, 18 Sep 2009 12:44:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=1244#comment-34068</guid>
		<description>Out of interest, which Chip&amp;PIN cardstock did you try it on, and get that promising RNG fail result? And what was the issue date of the card? You should be able to see it written on the back, either Oberthur or Gemalto are the most common bureaus here in UK.

Mike.</description>
		<content:encoded><![CDATA[<p>Out of interest, which Chip&#038;PIN cardstock did you try it on, and get that promising RNG fail result? And what was the issue date of the card? You should be able to see it written on the back, either Oberthur or Gemalto are the most common bureaus here in UK.</p>
<p>Mike.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clive Robinson</title>
		<link>http://www.lightbluetouchpaper.org/2009/09/08/tuning-in-to-random-numbers/comment-page-1/#comment-33928</link>
		<dc:creator>Clive Robinson</dc:creator>
		<pubDate>Tue, 15 Sep 2009 19:33:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=1244#comment-33928</guid>
		<description>Theo,

Ross might remember it was around the time he was looking at non sync logic to trye to get around DPA issues.

Also there was a paper about a month or so before about using a highly focused light source for fault injection (I don&#039;t think it was a laser however).

Unfortunatly I&#039;m back in hospital yet again (problems involving both lack of the red stuff and the red stuff going solid in the wrong places the cure for one is contra indicated by the other), I&#039;ll have a google around, and see if I can find it.</description>
		<content:encoded><![CDATA[<p>Theo,</p>
<p>Ross might remember it was around the time he was looking at non sync logic to trye to get around DPA issues.</p>
<p>Also there was a paper about a month or so before about using a highly focused light source for fault injection (I don&#8217;t think it was a laser however).</p>
<p>Unfortunatly I&#8217;m back in hospital yet again (problems involving both lack of the red stuff and the red stuff going solid in the wrong places the cure for one is contra indicated by the other), I&#8217;ll have a google around, and see if I can find it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Theo Markettos</title>
		<link>http://www.lightbluetouchpaper.org/2009/09/08/tuning-in-to-random-numbers/comment-page-1/#comment-33839</link>
		<dc:creator>Theo Markettos</dc:creator>
		<pubDate>Mon, 14 Sep 2009 15:26:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=1244#comment-33839</guid>
		<description>Thanks both of you for the interesting comments and ideas.

The re-radiation idea is something I&#039;ve worked on, and there&#039;s also a fairly recent paper &quot;The Re-emission Side Channel&quot; by Burnside, Erdogan and Arslan:
http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=4595813
(sadly I can&#039;t find a non-subscription version online)

For using a PRNG, I suppose you need enough entropy to initialise it.  Otherwise you can just bruteforce by trying all possible seeds and noting the sequences, assuming you know roughly how far down the sequence you are likely to be.  

I agree, though, that there&#039;s relatively little need for MB/s of random bits unless there are further attacks revealed on the PRNGs.  And for many protocols even a little entropy is enough once the whitening function is run on top (if you only get 3 tries, you need to know pretty much all the state).

Clive, do you remember any more details of that &#039;EMP via “pico probe” fault injection paper&#039;?  That would be interesting to read.  There&#039;s some mention of the technique in the dependable systems literature but I can&#039;t find anything specific on a quick look.</description>
		<content:encoded><![CDATA[<p>Thanks both of you for the interesting comments and ideas.</p>
<p>The re-radiation idea is something I&#8217;ve worked on, and there&#8217;s also a fairly recent paper &#8220;The Re-emission Side Channel&#8221; by Burnside, Erdogan and Arslan:<br />
<a href="http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=4595813" rel="nofollow">http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=4595813</a><br />
(sadly I can&#8217;t find a non-subscription version online)</p>
<p>For using a PRNG, I suppose you need enough entropy to initialise it.  Otherwise you can just bruteforce by trying all possible seeds and noting the sequences, assuming you know roughly how far down the sequence you are likely to be.  </p>
<p>I agree, though, that there&#8217;s relatively little need for MB/s of random bits unless there are further attacks revealed on the PRNGs.  And for many protocols even a little entropy is enough once the whitening function is run on top (if you only get 3 tries, you need to know pretty much all the state).</p>
<p>Clive, do you remember any more details of that &#8216;EMP via “pico probe” fault injection paper&#8217;?  That would be interesting to read.  There&#8217;s some mention of the technique in the dependable systems literature but I can&#8217;t find anything specific on a quick look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: trsm.mckay@gmail.com</title>
		<link>http://www.lightbluetouchpaper.org/2009/09/08/tuning-in-to-random-numbers/comment-page-1/#comment-33811</link>
		<dc:creator>trsm.mckay@gmail.com</dc:creator>
		<pubDate>Mon, 14 Sep 2009 05:38:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=1244#comment-33811</guid>
		<description>Clive rightly asks &quot;when will pesudo random do?&quot;. I should bring up an occasional requirement that makes it more difficult to use pseudo random. Sometime we need to ensure that past random numbers cannot be determined if a device is broken into and all the secrets compromised. Kind of a perfect-forward-security for random number generation. 

It takes more work to meet this objective with pseudo random numbers, and I think the implementation would have to be pretty careful (thinking about how we could use some of the last BBS Generator output for creating new random primes that could not be traced back to the original values...). If it can be done securely, it would slows things down even more.</description>
		<content:encoded><![CDATA[<p>Clive rightly asks &#8220;when will pesudo random do?&#8221;. I should bring up an occasional requirement that makes it more difficult to use pseudo random. Sometime we need to ensure that past random numbers cannot be determined if a device is broken into and all the secrets compromised. Kind of a perfect-forward-security for random number generation. </p>
<p>It takes more work to meet this objective with pseudo random numbers, and I think the implementation would have to be pretty careful (thinking about how we could use some of the last BBS Generator output for creating new random primes that could not be traced back to the original values&#8230;). If it can be done securely, it would slows things down even more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clive Robinson</title>
		<link>http://www.lightbluetouchpaper.org/2009/09/08/tuning-in-to-random-numbers/comment-page-1/#comment-33741</link>
		<dc:creator>Clive Robinson</dc:creator>
		<pubDate>Sat, 12 Sep 2009 12:18:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=1244#comment-33741</guid>
		<description>@ trsm.mckay,

&quot;The bast way to solve this type of problem is to avoid it altogether.&quot;

Definatly, however,

&quot;If the key is created by the device, than have it create the key in a safer place (e.g. factory floor).&quot;

Like most of the older solutions do not work simply due to the &quot;rate of use&quot;. Effectivly you end up with exactly the same problem as key managment for OTP&#039;s.

The real question should be,

&quot;When do we realy need truely random and when will pesudo random do?&quot;

For instance the BBS generator is 100% deterministic but as far as we currently know (on the same assumption as RSA) provably secure.

It uses a couple of very long primes, and they should be &quot;Truely Random&quot;. The downside of the BBS is it&#039;s oh so slow for the number of usable bits.

But does this matter?

Well yes and no.

For instance what if you used the BBS to &quot;perturbe&quot; another much higher speed PRBS such as for arguments sake the RC4 stream generator. There are two easy ways to do this one is add the BBS output (P) into the output byte selection (ie x=Sary[I+J+P]) the other is to use it modify either the I or J pointers used to swap the bytes in the State array (Sary).

However either way is still 100% determanistic so in theory could be worked backwards etc.

However what if you used the principle of &quot;indetrministic sampling&quot;? 
That is the RC4 generator  and BBS run continuously just as fast as they can in a microprocessor, when an output byte is needed the micro services it via an interupt. As long as the demand for random bytes remains un corelated with the micro then the result will (within limits) be effectivly non determanistic which is kind of the definition of a truely random number sequence.

In essence it is an engineering problem that needs to be guided by sound design principles that correctly account for the (security) issues involved.

And the problem with this is &quot;side channels&quot; in reality all our current crypto algorithms are unbreakable the implementations however are breakable due to &quot;side channels&quot;.

Side channels are in most cases EmSec/TEMPEST attacks. In the case of Theo&#039;s attack it is a &quot;suceptability attack&quot; not an &quot;emmission attack&quot;.

One of the problems is that the engineers who know about &quot;suceptance and emmission&quot; are analog/RF communications engineer&#039;s (more recently EMC engineers as well) and they just do not get asked for their input at an early stage of the design of crypto projects (if at all).</description>
		<content:encoded><![CDATA[<p>@ trsm.mckay,</p>
<p>&#8220;The bast way to solve this type of problem is to avoid it altogether.&#8221;</p>
<p>Definatly, however,</p>
<p>&#8220;If the key is created by the device, than have it create the key in a safer place (e.g. factory floor).&#8221;</p>
<p>Like most of the older solutions do not work simply due to the &#8220;rate of use&#8221;. Effectivly you end up with exactly the same problem as key managment for OTP&#8217;s.</p>
<p>The real question should be,</p>
<p>&#8220;When do we realy need truely random and when will pesudo random do?&#8221;</p>
<p>For instance the BBS generator is 100% deterministic but as far as we currently know (on the same assumption as RSA) provably secure.</p>
<p>It uses a couple of very long primes, and they should be &#8220;Truely Random&#8221;. The downside of the BBS is it&#8217;s oh so slow for the number of usable bits.</p>
<p>But does this matter?</p>
<p>Well yes and no.</p>
<p>For instance what if you used the BBS to &#8220;perturbe&#8221; another much higher speed PRBS such as for arguments sake the RC4 stream generator. There are two easy ways to do this one is add the BBS output (P) into the output byte selection (ie x=Sary[I+J+P]) the other is to use it modify either the I or J pointers used to swap the bytes in the State array (Sary).</p>
<p>However either way is still 100% determanistic so in theory could be worked backwards etc.</p>
<p>However what if you used the principle of &#8220;indetrministic sampling&#8221;?<br />
That is the RC4 generator  and BBS run continuously just as fast as they can in a microprocessor, when an output byte is needed the micro services it via an interupt. As long as the demand for random bytes remains un corelated with the micro then the result will (within limits) be effectivly non determanistic which is kind of the definition of a truely random number sequence.</p>
<p>In essence it is an engineering problem that needs to be guided by sound design principles that correctly account for the (security) issues involved.</p>
<p>And the problem with this is &#8220;side channels&#8221; in reality all our current crypto algorithms are unbreakable the implementations however are breakable due to &#8220;side channels&#8221;.</p>
<p>Side channels are in most cases EmSec/TEMPEST attacks. In the case of Theo&#8217;s attack it is a &#8220;suceptability attack&#8221; not an &#8220;emmission attack&#8221;.</p>
<p>One of the problems is that the engineers who know about &#8220;suceptance and emmission&#8221; are analog/RF communications engineer&#8217;s (more recently EMC engineers as well) and they just do not get asked for their input at an early stage of the design of crypto projects (if at all).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: trsm.mckay@gmail.com</title>
		<link>http://www.lightbluetouchpaper.org/2009/09/08/tuning-in-to-random-numbers/comment-page-1/#comment-33722</link>
		<dc:creator>trsm.mckay@gmail.com</dc:creator>
		<pubDate>Sat, 12 Sep 2009 01:47:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=1244#comment-33722</guid>
		<description>I was somewhat aware of this, but interesting to see it carried out in practice.  

The bast way to solve this type of problem is to avoid it altogether. Luckily most of the practical ways of doing this are already used (perhaps dating back to when protocol designers could not count on having a high quality RNG on the device). 

The basic idea is to limit the times you have to use the RNG to points where active attacks are difficult to perform. If the key is created by the device, than have it create the key in a safer place (e.g. factory floor). Yes I know we want to eliminate key depots and the like as much as we can, but typically there has to be some amount of trust in the manufacturing process. 

If you need to create random keys as part of a protocol, than bias it so that the host, not the exposed client, generates the key. As mentioned above, this was already a pretty common practice - an expensive HSM contained in a secure facility has a higher level of trust than a $5 smartcard (or an ATM) where attackers have physical access. That won&#039;t solve smartcard-to-terminal issues, but that type of communication does not need true RNG anyway (derived keys, perhaps with a forward-security system could work instead).

I don&#039;t recall financial protocols making much use of a device&#039;s RNG after initialization. Has anyone identified a real attack against a specific protocol?</description>
		<content:encoded><![CDATA[<p>I was somewhat aware of this, but interesting to see it carried out in practice.  </p>
<p>The bast way to solve this type of problem is to avoid it altogether. Luckily most of the practical ways of doing this are already used (perhaps dating back to when protocol designers could not count on having a high quality RNG on the device). </p>
<p>The basic idea is to limit the times you have to use the RNG to points where active attacks are difficult to perform. If the key is created by the device, than have it create the key in a safer place (e.g. factory floor). Yes I know we want to eliminate key depots and the like as much as we can, but typically there has to be some amount of trust in the manufacturing process. </p>
<p>If you need to create random keys as part of a protocol, than bias it so that the host, not the exposed client, generates the key. As mentioned above, this was already a pretty common practice &#8211; an expensive HSM contained in a secure facility has a higher level of trust than a $5 smartcard (or an ATM) where attackers have physical access. That won&#8217;t solve smartcard-to-terminal issues, but that type of communication does not need true RNG anyway (derived keys, perhaps with a forward-security system could work instead).</p>
<p>I don&#8217;t recall financial protocols making much use of a device&#8217;s RNG after initialization. Has anyone identified a real attack against a specific protocol?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clive Robinson</title>
		<link>http://www.lightbluetouchpaper.org/2009/09/08/tuning-in-to-random-numbers/comment-page-1/#comment-33598</link>
		<dc:creator>Clive Robinson</dc:creator>
		<pubDate>Wed, 09 Sep 2009 15:40:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=1244#comment-33598</guid>
		<description>Theo,

As you note &quot;injection locking&quot; is well known to (some) electronic design engineers and is the principle behind NTSC and PAL colour osc syncing, 19KHz stereo pilot tone re-generation and thus is in most peoples homes.

Also quite a few early designs of data coms and spread spectrum receivers work this way.

Oh and early frequency synths used banks of crystals that where &quot;pulled&quot; by similar techniques.

I had an Email chat with Ross about it getting on for ten years ago when IR &quot;fault injection&quot; for reading the contents of chip ROM was the latest thing. It was shortly before an EMP via &quot;pico probe&quot; fault injection paper was to be published. Ross suggested I chat to the author in Belgium to check with him.  

The work I had done was on electronic wallets such as Mondex that had no RF shielding built in and must have been around 1990, and was based on work I had done several years prior to that on Remote Telematry Units (RTU&#039;s) for the offshore industry to understand the effects of PMR equipment on the CMOS CPU (1802) card.

It turns out that all oscilators (Xtal, CR, LC, etc) can be &quot;pulled&quot; via injection locking. Ian Hicks of Wireless World published a couple of articals on it and the assumption was it was the change in base/gate bias point causing phase modulation to pull the oscillator. However I&#039;m not convinced it is the only effect as there are parasitic effects visable with very low levels of locking signal. In practice a signal level of one tenth the tuned circuit level is sufficient to get a reliable lock.

There was a design going around for a Random Number generator using a lage number of 14Pin DIL pack Xtal Osc&#039;s to get &quot;many jitter sources&quot; around the same time. It exhibited the problem if insufficient decouping on the power lines was used.

When Intel brought out their on chip &quot;roulet wheel&quot; design using an Xtal osc and free running OSC modulated by the noise from a resistor, a few tests showed (from current consumption) that it was quite suceptable. 

I guess the only reason it was not obvious at the time was the way they hashed the output. 

I&#039;ve designed a few True Random Number Generators (TRNG) in my time and they realy are &quot;sensitive little beasts&quot; that need lots of loving care in feeding and caging. 

Most comercial designs I have seen in the past for some reason did not use balanced circuitry in the noise generator or true instrumentation amps. Worse was the slap dash use of RC coupling and analogue to digital conversion (often ordinary TTL Schmitt triggers). 

In essence the most sensitive part of the design on whic every thing rested had little or no thought in it and appeared to use either a standard &quot;designers notes&quot; semiconductor noise source or worse. It was often clear that the designer had no idea of what effect filters would have on the output of the noise source... Oh and invariably there would be a &quot;magic entropy normaliser&quot; in the wrong part of the design suggesting that the output without it would not exactly be unbiased... 
So if you are ever building or buying a noise based system, make sure you get at the raw output before any &quot;magic entropy normalisers&quot; and run tests on it all the time to look for changes in the output.

Another little trick you might want to look at is square wave modulation onto your carrier signal. This has a habit of traveling quite a way into the logic of a chip and thus might be a way to cause a change in program state without crashing the program.

The question is would it be possible to find a way to sync it to the running program to make it a reliable attack vector, I have a sneaky fealing that the answer is yes.

Then there is the less relevant attack these days (expcept on leads) of &quot;resonating&quot; a conductor to target one specific part of the circuit. A side effect of this is that you can sometimes use it to lift data out.

There was a gambling console I looked at where you could get state information out of it simply by illuminating it from an RF source and looking at the super imposed info on the other side. I did have a look at mounting smart cards in a bit of X-band wave guide and a wide band IQ demodulator. When you get the level right you would be surprised at just how much cross modulation there is...</description>
		<content:encoded><![CDATA[<p>Theo,</p>
<p>As you note &#8220;injection locking&#8221; is well known to (some) electronic design engineers and is the principle behind NTSC and PAL colour osc syncing, 19KHz stereo pilot tone re-generation and thus is in most peoples homes.</p>
<p>Also quite a few early designs of data coms and spread spectrum receivers work this way.</p>
<p>Oh and early frequency synths used banks of crystals that where &#8220;pulled&#8221; by similar techniques.</p>
<p>I had an Email chat with Ross about it getting on for ten years ago when IR &#8220;fault injection&#8221; for reading the contents of chip ROM was the latest thing. It was shortly before an EMP via &#8220;pico probe&#8221; fault injection paper was to be published. Ross suggested I chat to the author in Belgium to check with him.  </p>
<p>The work I had done was on electronic wallets such as Mondex that had no RF shielding built in and must have been around 1990, and was based on work I had done several years prior to that on Remote Telematry Units (RTU&#8217;s) for the offshore industry to understand the effects of PMR equipment on the CMOS CPU (1802) card.</p>
<p>It turns out that all oscilators (Xtal, CR, LC, etc) can be &#8220;pulled&#8221; via injection locking. Ian Hicks of Wireless World published a couple of articals on it and the assumption was it was the change in base/gate bias point causing phase modulation to pull the oscillator. However I&#8217;m not convinced it is the only effect as there are parasitic effects visable with very low levels of locking signal. In practice a signal level of one tenth the tuned circuit level is sufficient to get a reliable lock.</p>
<p>There was a design going around for a Random Number generator using a lage number of 14Pin DIL pack Xtal Osc&#8217;s to get &#8220;many jitter sources&#8221; around the same time. It exhibited the problem if insufficient decouping on the power lines was used.</p>
<p>When Intel brought out their on chip &#8220;roulet wheel&#8221; design using an Xtal osc and free running OSC modulated by the noise from a resistor, a few tests showed (from current consumption) that it was quite suceptable. </p>
<p>I guess the only reason it was not obvious at the time was the way they hashed the output. </p>
<p>I&#8217;ve designed a few True Random Number Generators (TRNG) in my time and they realy are &#8220;sensitive little beasts&#8221; that need lots of loving care in feeding and caging. </p>
<p>Most comercial designs I have seen in the past for some reason did not use balanced circuitry in the noise generator or true instrumentation amps. Worse was the slap dash use of RC coupling and analogue to digital conversion (often ordinary TTL Schmitt triggers). </p>
<p>In essence the most sensitive part of the design on whic every thing rested had little or no thought in it and appeared to use either a standard &#8220;designers notes&#8221; semiconductor noise source or worse. It was often clear that the designer had no idea of what effect filters would have on the output of the noise source&#8230; Oh and invariably there would be a &#8220;magic entropy normaliser&#8221; in the wrong part of the design suggesting that the output without it would not exactly be unbiased&#8230;<br />
So if you are ever building or buying a noise based system, make sure you get at the raw output before any &#8220;magic entropy normalisers&#8221; and run tests on it all the time to look for changes in the output.</p>
<p>Another little trick you might want to look at is square wave modulation onto your carrier signal. This has a habit of traveling quite a way into the logic of a chip and thus might be a way to cause a change in program state without crashing the program.</p>
<p>The question is would it be possible to find a way to sync it to the running program to make it a reliable attack vector, I have a sneaky fealing that the answer is yes.</p>
<p>Then there is the less relevant attack these days (expcept on leads) of &#8220;resonating&#8221; a conductor to target one specific part of the circuit. A side effect of this is that you can sometimes use it to lift data out.</p>
<p>There was a gambling console I looked at where you could get state information out of it simply by illuminating it from an RF source and looking at the super imposed info on the other side. I did have a look at mounting smart cards in a bit of X-band wave guide and a wide band IQ demodulator. When you get the level right you would be surprised at just how much cross modulation there is&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

