<?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:rssdatehelper="urn:rssdatehelper"><channel><title> 
          Cryptomathic Blog</title><link>http://cryptomathic.com</link><pubDate></pubDate><generator>umbraco</generator><description>Add your description here</description><language>en</language><item><title>Fully Homomorphic Encryption</title><link>http://cryptomathic.com/news-events/blog/fully-homomorphic-encryption</link><pubDate>Mon, 06 Feb 2012 13:06:12 GMT</pubDate><guid>http://cryptomathic.com/news-events/blog/fully-homomorphic-encryption</guid><description>
&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;- hype or the answer to all our
&lt;br/&gt;
prayers?&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;A couple of years ago, Craig Gentry produced a break-through
&lt;br/&gt;
result in cryptography: what researchers had been dreaming about
&lt;br/&gt;
for more than 25 years was finally possible: Gentry had shown how
&lt;br/&gt;
to do so-called Fully Homomorphic Encryption (FHE). What this
&lt;br/&gt;
allows is for a party A to receive encryptions of a set of inputs
&lt;br/&gt;
to some computation. A does not have the key for decryption and so
&lt;br/&gt;
has no idea what the inputs are. Nevertheless, he can perform ANY
&lt;br/&gt;
computation he wants on the data while they are encrypted, and in
&lt;br/&gt;
the end come up with the desired result in encrypted form. This can
&lt;br/&gt;
then be sent to one or more parties who have access to the
&lt;br/&gt;
decryption key and they will then learn the results in the
&lt;br/&gt;
clear.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;This sounds like the ultimate solution for doing cloud computing
&lt;br/&gt;
while preserving privacy of all input data. And indeed it is - at
&lt;br/&gt;
least in principle, and if we conveniently forget about issues such
&lt;br/&gt;
as how we know that the results are correctly computed. However, we
&lt;br/&gt;
are still very far from being able to realize such an application
&lt;br/&gt;
in practice. Current FHE schemes are extremely inefficient and in
&lt;br/&gt;
fact much too slow for any real application. Recent implementations
&lt;br/&gt;
take up to 30 minutes on a powerful 64-bit machine to do a basic
&lt;br/&gt;
operation (see &lt;a
&lt;br/&gt;
href="http://eprint.iacr.org/2010/520"&gt;http://eprint.iacr.org/2010/520&lt;/a&gt;).
&lt;br/&gt;
Lots of research effort is being spent to do something about this,
&lt;br/&gt;
and it is beyond doubt that we will have more efficient solutions
&lt;br/&gt;
in the future. Whether we will ever be able to use FHE directly for
&lt;br/&gt;
real applications is still an open question, however.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;A common misunderstanding is that secure computing on
&lt;br/&gt;
confidential data suddenly became possible when FHE was invented.
&lt;br/&gt;
This is not true at all, we have known how to do this since the
&lt;br/&gt;
late 80's: if several parties are involved in the computation, they
&lt;br/&gt;
can collaborate to do any computation securely: just as when using
&lt;br/&gt;
FHE, the inputs will remain private and only the intended results
&lt;br/&gt;
will be released. These multiparty solutions are very practical
&lt;br/&gt;
indeed, and are already being used for industrial applications (see
&lt;br/&gt;
&lt;a
&lt;br/&gt;
href="http://www.springerlink.com/content/j4772m44r05x0527/"&gt;http://www.springerlink.com/content/j4772m44r05x0527/&lt;/a&gt;.)
&lt;br/&gt;
Interestingly, ideas and techniques derived from FHE are now being
&lt;br/&gt;
used to make these solutions even better, for a recent example of
&lt;br/&gt;
this, see &lt;a
&lt;br/&gt;
href="http://eprint.iacr.org/2011/535"&gt;http://eprint.iacr.org/2011/535&lt;/a&gt;.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;To conclude: yes, FHE was an amazing breakthrough in theoretical
&lt;br/&gt;
cryptography and as such it deserves all the attention is has been
&lt;br/&gt;
given. But it is not yet an immediate answer to practical secure
&lt;br/&gt;
computing. Fortunately, however, for this we already have solutions
&lt;br/&gt;
that will become even better when combined with techniques derived
&lt;br/&gt;
from FHE, and such combinations look like the best answer to the
&lt;br/&gt;
actual needs of applications.&lt;/p&gt;
&lt;br/&gt;
</description><content:encoded>
&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;- hype or the answer to all our
&lt;br/&gt;
prayers?&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;A couple of years ago, Craig Gentry produced a break-through
&lt;br/&gt;
result in cryptography: what researchers had been dreaming about
&lt;br/&gt;
for more than 25 years was finally possible: Gentry had shown how
&lt;br/&gt;
to do so-called Fully Homomorphic Encryption (FHE). What this
&lt;br/&gt;
allows is for a party A to receive encryptions of a set of inputs
&lt;br/&gt;
to some computation. A does not have the key for decryption and so
&lt;br/&gt;
has no idea what the inputs are. Nevertheless, he can perform ANY
&lt;br/&gt;
computation he wants on the data while they are encrypted, and in
&lt;br/&gt;
the end come up with the desired result in encrypted form. This can
&lt;br/&gt;
then be sent to one or more parties who have access to the
&lt;br/&gt;
decryption key and they will then learn the results in the
&lt;br/&gt;
clear.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;This sounds like the ultimate solution for doing cloud computing
&lt;br/&gt;
while preserving privacy of all input data. And indeed it is - at
&lt;br/&gt;
least in principle, and if we conveniently forget about issues such
&lt;br/&gt;
as how we know that the results are correctly computed. However, we
&lt;br/&gt;
are still very far from being able to realize such an application
&lt;br/&gt;
in practice. Current FHE schemes are extremely inefficient and in
&lt;br/&gt;
fact much too slow for any real application. Recent implementations
&lt;br/&gt;
take up to 30 minutes on a powerful 64-bit machine to do a basic
&lt;br/&gt;
operation (see &lt;a
&lt;br/&gt;
href="http://eprint.iacr.org/2010/520"&gt;http://eprint.iacr.org/2010/520&lt;/a&gt;).
&lt;br/&gt;
Lots of research effort is being spent to do something about this,
&lt;br/&gt;
and it is beyond doubt that we will have more efficient solutions
&lt;br/&gt;
in the future. Whether we will ever be able to use FHE directly for
&lt;br/&gt;
real applications is still an open question, however.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;A common misunderstanding is that secure computing on
&lt;br/&gt;
confidential data suddenly became possible when FHE was invented.
&lt;br/&gt;
This is not true at all, we have known how to do this since the
&lt;br/&gt;
late 80's: if several parties are involved in the computation, they
&lt;br/&gt;
can collaborate to do any computation securely: just as when using
&lt;br/&gt;
FHE, the inputs will remain private and only the intended results
&lt;br/&gt;
will be released. These multiparty solutions are very practical
&lt;br/&gt;
indeed, and are already being used for industrial applications (see
&lt;br/&gt;
&lt;a
&lt;br/&gt;
href="http://www.springerlink.com/content/j4772m44r05x0527/"&gt;http://www.springerlink.com/content/j4772m44r05x0527/&lt;/a&gt;.)
&lt;br/&gt;
Interestingly, ideas and techniques derived from FHE are now being
&lt;br/&gt;
used to make these solutions even better, for a recent example of
&lt;br/&gt;
this, see &lt;a
&lt;br/&gt;
href="http://eprint.iacr.org/2011/535"&gt;http://eprint.iacr.org/2011/535&lt;/a&gt;.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;To conclude: yes, FHE was an amazing breakthrough in theoretical
&lt;br/&gt;
cryptography and as such it deserves all the attention is has been
&lt;br/&gt;
given. But it is not yet an immediate answer to practical secure
&lt;br/&gt;
computing. Fortunately, however, for this we already have solutions
&lt;br/&gt;
that will become even better when combined with techniques derived
&lt;br/&gt;
from FHE, and such combinations look like the best answer to the
&lt;br/&gt;
actual needs of applications.&lt;/p&gt;
&lt;br/&gt;
</content:encoded></item><item><title>Q: What's in a Logo? A: Mathematics</title><link>http://cryptomathic.com/news-events/blog/q-what's-in-a-logo-a-mathematics</link><pubDate>Thu, 02 Feb 2012 11:06:02 GMT</pubDate><guid>http://cryptomathic.com/news-events/blog/q-what's-in-a-logo-a-mathematics</guid><description>
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;Maybe you have wondered where our logo&lt;/em&gt; &lt;em&gt;comes from
&lt;br/&gt;
and what it actually means. If you&lt;/em&gt; &lt;em&gt;have, we hope the
&lt;br/&gt;
following will answer these&lt;/em&gt; &lt;em&gt;questions.&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Just as our name suggests, mathematics is the strong foundation
&lt;br/&gt;
on which our company has been built. The same applies to our
&lt;br/&gt;
logo.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The Cryptomathic logo is a 4D (4-dimensional) cube projected
&lt;br/&gt;
onto a 2D (2-dimensional) plane, with one 3D (3-dimensional) cube
&lt;br/&gt;
highlighted. However, we, as terrestrial beings, can only see
&lt;br/&gt;
things in 3D it is hard to visualise something with more
&lt;br/&gt;
dimensions. The 4D cube is obtained by taking a (shadow) copy of
&lt;br/&gt;
the highlighted 3D cube, and joining all the corresponding corners
&lt;br/&gt;
of the two 3D cubes.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/44445/4d cube.jpg" width="450" height="410" alt="4D Logo" style="display: block; margin-left: auto; margin-right: auto;"/&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;At&amp;nbsp;Cryptomathic's previous anniversary, a mathematical
&lt;br/&gt;
challenge was put forward to all employees, centred on our logo.
&lt;br/&gt;
The challenge was to answer the following 3 questions:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;ul&gt;
&lt;br/&gt;
&lt;li&gt;How many cubes are contained in our logo?&lt;/li&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;li&gt;How many squares are contained in our logo?&lt;/li&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;li&gt;How many edges are contained in our logo?&lt;/li&gt;
&lt;br/&gt;
&lt;/ul&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;We only had about 1 minute (really!) to write down our answers,
&lt;br/&gt;
so basically had to guess, and in fact nobody managed to get all
&lt;br/&gt;
three answers correct. This lead on to an even bigger challenge for
&lt;br/&gt;
some of us.&amp;nbsp; For the rest of the day (and some of the next
&lt;br/&gt;
day) we devoted much of our time to deriving formulas for
&lt;br/&gt;
calculating these numbers - of course without cheating by looking
&lt;br/&gt;
at textbooks!&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;As it is very difficult to imagine things in four (or more)
&lt;br/&gt;
dimensions, it's often an advantage to re-formulate such questions
&lt;br/&gt;
using mathematical notation, and also to refer to the question in
&lt;br/&gt;
more general terms. Thus, we'll generalise into looking at cubes of
&lt;br/&gt;
&lt;em&gt;n&lt;/em&gt; dimensions, and ask how many sub-cubes of &lt;em&gt;k&lt;/em&gt;
&lt;br/&gt;
dimensions are contained within these, for 0&amp;nbsp;≤
&lt;br/&gt;
&lt;em&gt;k&lt;/em&gt;&amp;nbsp;≤.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The cube of &lt;em&gt;n&lt;/em&gt; dimensions (the &lt;em&gt;n&lt;/em&gt;-cube) is
&lt;br/&gt;
defined mathematically by its corners:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;&amp;nbsp;&lt;em&gt;x&lt;/em&gt; =
&lt;br/&gt;
(&lt;em&gt;x&lt;/em&gt;&lt;sub&gt;1&lt;/sub&gt;, &lt;em&gt;x&lt;/em&gt;&lt;sub&gt;2&lt;/sub&gt;, …,
&lt;br/&gt;
&lt;em&gt;x&lt;/em&gt;&lt;sub&gt;n&lt;/sub&gt;),&amp;nbsp; for&amp;nbsp; &lt;em&gt;x&lt;/em&gt;&lt;sub&gt;i&lt;/sub&gt; ε
&lt;br/&gt;
{0, 1}.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;A sub-cube of &lt;em&gt;k&lt;/em&gt; dimensions (a &lt;em&gt;k&lt;/em&gt;-cube contained
&lt;br/&gt;
in the &lt;em&gt;n&lt;/em&gt;-cube) is defined by fixing &lt;em&gt;n&lt;/em&gt;-&lt;em&gt;k&lt;/em&gt;
&lt;br/&gt;
of the &lt;em&gt;x&lt;/em&gt;&lt;sub&gt;i&lt;/sub&gt;'s to chosen values, while letting the
&lt;br/&gt;
&lt;em&gt;k&lt;/em&gt; remaining &lt;em&gt;x&lt;/em&gt;&lt;sub&gt;i&lt;/sub&gt;'s vary. For example, a
&lt;br/&gt;
2-cube (square) on the 3-cube (cube) is given by fixing one
&lt;br/&gt;
&lt;em&gt;x&lt;/em&gt;&lt;sub&gt;i&lt;/sub&gt;, and a 1-cube (edge) is given by fixing two
&lt;br/&gt;
&lt;em&gt;x&lt;/em&gt;&lt;sub&gt;i&lt;/sub&gt;'s. Actually, it is the 1-cubes (edges) that
&lt;br/&gt;
are usually drawn when trying to picture an &lt;em&gt;n&lt;/em&gt;-cube.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Obviously, there are 2n 0-cubes (corner points) in the
&lt;br/&gt;
&lt;em&gt;n&lt;/em&gt;-cube, and only 1 &lt;em&gt;n&lt;/em&gt;-cube (the &lt;em&gt;n&lt;/em&gt;-cube
&lt;br/&gt;
itself). The argument below shows that in general the number of
&lt;br/&gt;
&lt;em&gt;k&lt;/em&gt;-cubes contained in the &lt;em&gt;n&lt;/em&gt;-cube is given by:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;f&lt;sub&gt;n,k&lt;/sub&gt; = 2&lt;sup&gt;n-k&lt;/sup&gt; ×
&lt;br/&gt;
(&lt;sup&gt;n&lt;/sup&gt;&lt;sub&gt;k&lt;/sub&gt;)&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;where (&lt;sup&gt;n&lt;/sup&gt;&lt;sub&gt;k&lt;/sub&gt;) &amp;nbsp;is the usual
&lt;br/&gt;
combinatorial function for selecting &lt;em&gt;k&lt;/em&gt; out of &lt;em&gt;n&lt;/em&gt;
&lt;br/&gt;
possibilities, given by:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;(&lt;sup&gt;n&lt;/sup&gt;&lt;sub&gt;k&lt;/sub&gt;) = n! /
&lt;br/&gt;
k!×(n-k)!&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The argument goes as follows:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;ul&gt;
&lt;br/&gt;
&lt;li&gt;There are 2&lt;sup&gt;n&lt;/sup&gt; corners in the &lt;em&gt;n&lt;/em&gt;-cube.&lt;/li&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;li&gt;Each corner has (&lt;sup&gt;n&lt;/sup&gt;&lt;sub&gt;k&lt;/sub&gt;) &lt;em&gt;k&lt;/em&gt;-cubes
&lt;br/&gt;
touching it (choosing which &lt;em&gt;k x&lt;/em&gt;&lt;sub&gt;i&lt;/sub&gt;'s to
&lt;br/&gt;
vary)&lt;/li&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;li&gt;Each &lt;em&gt;k&lt;/em&gt;-cube touches 2&lt;sup&gt;k&lt;/sup&gt; corners&lt;/li&gt;
&lt;br/&gt;
&lt;/ul&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Multiplying the first two of these counts each &lt;em&gt;k&lt;/em&gt;-cube
&lt;br/&gt;
2&lt;sup&gt;k&lt;/sup&gt; times, thus giving the result above by dividing this
&lt;br/&gt;
out. A similar argument would just say that we could choose the
&lt;br/&gt;
&lt;em&gt;n&lt;/em&gt;-&lt;em&gt;k&lt;/em&gt; &lt;em&gt;x&lt;/em&gt;&lt;sub&gt;i&lt;/sub&gt;'s to fix in
&lt;br/&gt;
(&lt;sup&gt;n&lt;/sup&gt;&lt;sub&gt;k&lt;/sub&gt;) ways, and then choose the actual values
&lt;br/&gt;
of these in 2&lt;sup&gt;n-k&lt;/sup&gt; ways.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Alternatively, if one is very good at imagining things in
&lt;br/&gt;
&lt;em&gt;n&lt;/em&gt; dimensions the result can also be found by observing
&lt;br/&gt;
that generally the &lt;em&gt;n&lt;/em&gt;-cube can be constructed from the
&lt;br/&gt;
(&lt;em&gt;n&lt;/em&gt;-1)-cube by taking a (shadow) copy of it and then
&lt;br/&gt;
combining all corresponding corners in the two copies. Besides from
&lt;br/&gt;
doubling all contained &lt;em&gt;k&lt;/em&gt;-cubes this also gives an
&lt;br/&gt;
additional &lt;em&gt;k&lt;/em&gt;-cube for each (&lt;em&gt;k&lt;/em&gt;-1)-cube in the
&lt;br/&gt;
original (&lt;em&gt;n&lt;/em&gt;-1)-cube. Combined with the previous
&lt;br/&gt;
observations for &lt;em&gt;k&lt;/em&gt; = 0 and &lt;em&gt;k&lt;/em&gt; = &lt;em&gt;n&lt;/em&gt;, this
&lt;br/&gt;
gives the recursive formulas*:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;f&lt;sub&gt;n,k&lt;/sub&gt; =
&lt;br/&gt;
1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
&amp;nbsp;,&amp;nbsp; for&amp;nbsp; &lt;em&gt;k&lt;/em&gt; = &lt;em&gt;n&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;f&lt;sub&gt;n,k&lt;/sub&gt; =
&lt;br/&gt;
2&lt;sup&gt;n&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/sup&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
,&amp;nbsp; for&amp;nbsp; &lt;em&gt;k&lt;/em&gt; = 0&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;f&lt;sub&gt;n,k&lt;/sub&gt; = 2 ×
&lt;br/&gt;
f&lt;sub&gt;n-1,k&lt;/sub&gt; + f&lt;sub&gt;n-1,k-1&lt;/sub&gt;&amp;nbsp; ,&amp;nbsp; for&amp;nbsp; 0
&lt;br/&gt;
&amp;lt; &lt;em&gt;k&lt;/em&gt; &amp;lt; &lt;em&gt;n&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The formula for f&lt;sub&gt;n,k&lt;/sub&gt; derived earlier can easily be
&lt;br/&gt;
proved to be the unique solution to these equations.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The answer to the original challenge can now be calculated
&lt;br/&gt;
as:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
f&lt;sub&gt;4,3&lt;/sub&gt; = 2&lt;sup&gt;1&lt;/sup&gt; × (&lt;sup&gt;4&lt;/sup&gt;&lt;sub&gt;3&lt;/sub&gt;) =
&lt;br/&gt;
8&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
f&lt;sub&gt;4,2&lt;/sub&gt; = 2&lt;sup&gt;2&lt;/sup&gt; × (&lt;sup&gt;4&lt;/sup&gt;&lt;sub&gt;2&lt;/sub&gt;) =
&lt;br/&gt;
24&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
f&lt;sub&gt;4,1&lt;/sub&gt; = 2&lt;sup&gt;3&lt;/sup&gt; × (&lt;sup&gt;4&lt;/sup&gt;&lt;sub&gt;1&lt;/sub&gt;) =
&lt;br/&gt;
32&lt;/p&gt;
&lt;br/&gt;
</description><content:encoded>
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;Maybe you have wondered where our logo&lt;/em&gt; &lt;em&gt;comes from
&lt;br/&gt;
and what it actually means. If you&lt;/em&gt; &lt;em&gt;have, we hope the
&lt;br/&gt;
following will answer these&lt;/em&gt; &lt;em&gt;questions.&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Just as our name suggests, mathematics is the strong foundation
&lt;br/&gt;
on which our company has been built. The same applies to our
&lt;br/&gt;
logo.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The Cryptomathic logo is a 4D (4-dimensional) cube projected
&lt;br/&gt;
onto a 2D (2-dimensional) plane, with one 3D (3-dimensional) cube
&lt;br/&gt;
highlighted. However, we, as terrestrial beings, can only see
&lt;br/&gt;
things in 3D it is hard to visualise something with more
&lt;br/&gt;
dimensions. The 4D cube is obtained by taking a (shadow) copy of
&lt;br/&gt;
the highlighted 3D cube, and joining all the corresponding corners
&lt;br/&gt;
of the two 3D cubes.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/44445/4d cube.jpg" width="450" height="410" alt="4D Logo" style="display: block; margin-left: auto; margin-right: auto;"/&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;At&amp;nbsp;Cryptomathic's previous anniversary, a mathematical
&lt;br/&gt;
challenge was put forward to all employees, centred on our logo.
&lt;br/&gt;
The challenge was to answer the following 3 questions:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;ul&gt;
&lt;br/&gt;
&lt;li&gt;How many cubes are contained in our logo?&lt;/li&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;li&gt;How many squares are contained in our logo?&lt;/li&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;li&gt;How many edges are contained in our logo?&lt;/li&gt;
&lt;br/&gt;
&lt;/ul&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;We only had about 1 minute (really!) to write down our answers,
&lt;br/&gt;
so basically had to guess, and in fact nobody managed to get all
&lt;br/&gt;
three answers correct. This lead on to an even bigger challenge for
&lt;br/&gt;
some of us.&amp;nbsp; For the rest of the day (and some of the next
&lt;br/&gt;
day) we devoted much of our time to deriving formulas for
&lt;br/&gt;
calculating these numbers - of course without cheating by looking
&lt;br/&gt;
at textbooks!&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;As it is very difficult to imagine things in four (or more)
&lt;br/&gt;
dimensions, it's often an advantage to re-formulate such questions
&lt;br/&gt;
using mathematical notation, and also to refer to the question in
&lt;br/&gt;
more general terms. Thus, we'll generalise into looking at cubes of
&lt;br/&gt;
&lt;em&gt;n&lt;/em&gt; dimensions, and ask how many sub-cubes of &lt;em&gt;k&lt;/em&gt;
&lt;br/&gt;
dimensions are contained within these, for 0&amp;nbsp;≤
&lt;br/&gt;
&lt;em&gt;k&lt;/em&gt;&amp;nbsp;≤.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The cube of &lt;em&gt;n&lt;/em&gt; dimensions (the &lt;em&gt;n&lt;/em&gt;-cube) is
&lt;br/&gt;
defined mathematically by its corners:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;&amp;nbsp;&lt;em&gt;x&lt;/em&gt; =
&lt;br/&gt;
(&lt;em&gt;x&lt;/em&gt;&lt;sub&gt;1&lt;/sub&gt;, &lt;em&gt;x&lt;/em&gt;&lt;sub&gt;2&lt;/sub&gt;, …,
&lt;br/&gt;
&lt;em&gt;x&lt;/em&gt;&lt;sub&gt;n&lt;/sub&gt;),&amp;nbsp; for&amp;nbsp; &lt;em&gt;x&lt;/em&gt;&lt;sub&gt;i&lt;/sub&gt; ε
&lt;br/&gt;
{0, 1}.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;A sub-cube of &lt;em&gt;k&lt;/em&gt; dimensions (a &lt;em&gt;k&lt;/em&gt;-cube contained
&lt;br/&gt;
in the &lt;em&gt;n&lt;/em&gt;-cube) is defined by fixing &lt;em&gt;n&lt;/em&gt;-&lt;em&gt;k&lt;/em&gt;
&lt;br/&gt;
of the &lt;em&gt;x&lt;/em&gt;&lt;sub&gt;i&lt;/sub&gt;'s to chosen values, while letting the
&lt;br/&gt;
&lt;em&gt;k&lt;/em&gt; remaining &lt;em&gt;x&lt;/em&gt;&lt;sub&gt;i&lt;/sub&gt;'s vary. For example, a
&lt;br/&gt;
2-cube (square) on the 3-cube (cube) is given by fixing one
&lt;br/&gt;
&lt;em&gt;x&lt;/em&gt;&lt;sub&gt;i&lt;/sub&gt;, and a 1-cube (edge) is given by fixing two
&lt;br/&gt;
&lt;em&gt;x&lt;/em&gt;&lt;sub&gt;i&lt;/sub&gt;'s. Actually, it is the 1-cubes (edges) that
&lt;br/&gt;
are usually drawn when trying to picture an &lt;em&gt;n&lt;/em&gt;-cube.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Obviously, there are 2n 0-cubes (corner points) in the
&lt;br/&gt;
&lt;em&gt;n&lt;/em&gt;-cube, and only 1 &lt;em&gt;n&lt;/em&gt;-cube (the &lt;em&gt;n&lt;/em&gt;-cube
&lt;br/&gt;
itself). The argument below shows that in general the number of
&lt;br/&gt;
&lt;em&gt;k&lt;/em&gt;-cubes contained in the &lt;em&gt;n&lt;/em&gt;-cube is given by:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;f&lt;sub&gt;n,k&lt;/sub&gt; = 2&lt;sup&gt;n-k&lt;/sup&gt; ×
&lt;br/&gt;
(&lt;sup&gt;n&lt;/sup&gt;&lt;sub&gt;k&lt;/sub&gt;)&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;where (&lt;sup&gt;n&lt;/sup&gt;&lt;sub&gt;k&lt;/sub&gt;) &amp;nbsp;is the usual
&lt;br/&gt;
combinatorial function for selecting &lt;em&gt;k&lt;/em&gt; out of &lt;em&gt;n&lt;/em&gt;
&lt;br/&gt;
possibilities, given by:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;(&lt;sup&gt;n&lt;/sup&gt;&lt;sub&gt;k&lt;/sub&gt;) = n! /
&lt;br/&gt;
k!×(n-k)!&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The argument goes as follows:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;ul&gt;
&lt;br/&gt;
&lt;li&gt;There are 2&lt;sup&gt;n&lt;/sup&gt; corners in the &lt;em&gt;n&lt;/em&gt;-cube.&lt;/li&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;li&gt;Each corner has (&lt;sup&gt;n&lt;/sup&gt;&lt;sub&gt;k&lt;/sub&gt;) &lt;em&gt;k&lt;/em&gt;-cubes
&lt;br/&gt;
touching it (choosing which &lt;em&gt;k x&lt;/em&gt;&lt;sub&gt;i&lt;/sub&gt;'s to
&lt;br/&gt;
vary)&lt;/li&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;li&gt;Each &lt;em&gt;k&lt;/em&gt;-cube touches 2&lt;sup&gt;k&lt;/sup&gt; corners&lt;/li&gt;
&lt;br/&gt;
&lt;/ul&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Multiplying the first two of these counts each &lt;em&gt;k&lt;/em&gt;-cube
&lt;br/&gt;
2&lt;sup&gt;k&lt;/sup&gt; times, thus giving the result above by dividing this
&lt;br/&gt;
out. A similar argument would just say that we could choose the
&lt;br/&gt;
&lt;em&gt;n&lt;/em&gt;-&lt;em&gt;k&lt;/em&gt; &lt;em&gt;x&lt;/em&gt;&lt;sub&gt;i&lt;/sub&gt;'s to fix in
&lt;br/&gt;
(&lt;sup&gt;n&lt;/sup&gt;&lt;sub&gt;k&lt;/sub&gt;) ways, and then choose the actual values
&lt;br/&gt;
of these in 2&lt;sup&gt;n-k&lt;/sup&gt; ways.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Alternatively, if one is very good at imagining things in
&lt;br/&gt;
&lt;em&gt;n&lt;/em&gt; dimensions the result can also be found by observing
&lt;br/&gt;
that generally the &lt;em&gt;n&lt;/em&gt;-cube can be constructed from the
&lt;br/&gt;
(&lt;em&gt;n&lt;/em&gt;-1)-cube by taking a (shadow) copy of it and then
&lt;br/&gt;
combining all corresponding corners in the two copies. Besides from
&lt;br/&gt;
doubling all contained &lt;em&gt;k&lt;/em&gt;-cubes this also gives an
&lt;br/&gt;
additional &lt;em&gt;k&lt;/em&gt;-cube for each (&lt;em&gt;k&lt;/em&gt;-1)-cube in the
&lt;br/&gt;
original (&lt;em&gt;n&lt;/em&gt;-1)-cube. Combined with the previous
&lt;br/&gt;
observations for &lt;em&gt;k&lt;/em&gt; = 0 and &lt;em&gt;k&lt;/em&gt; = &lt;em&gt;n&lt;/em&gt;, this
&lt;br/&gt;
gives the recursive formulas*:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;f&lt;sub&gt;n,k&lt;/sub&gt; =
&lt;br/&gt;
1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
&amp;nbsp;,&amp;nbsp; for&amp;nbsp; &lt;em&gt;k&lt;/em&gt; = &lt;em&gt;n&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;f&lt;sub&gt;n,k&lt;/sub&gt; =
&lt;br/&gt;
2&lt;sup&gt;n&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/sup&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
,&amp;nbsp; for&amp;nbsp; &lt;em&gt;k&lt;/em&gt; = 0&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;f&lt;sub&gt;n,k&lt;/sub&gt; = 2 ×
&lt;br/&gt;
f&lt;sub&gt;n-1,k&lt;/sub&gt; + f&lt;sub&gt;n-1,k-1&lt;/sub&gt;&amp;nbsp; ,&amp;nbsp; for&amp;nbsp; 0
&lt;br/&gt;
&amp;lt; &lt;em&gt;k&lt;/em&gt; &amp;lt; &lt;em&gt;n&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The formula for f&lt;sub&gt;n,k&lt;/sub&gt; derived earlier can easily be
&lt;br/&gt;
proved to be the unique solution to these equations.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The answer to the original challenge can now be calculated
&lt;br/&gt;
as:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
f&lt;sub&gt;4,3&lt;/sub&gt; = 2&lt;sup&gt;1&lt;/sup&gt; × (&lt;sup&gt;4&lt;/sup&gt;&lt;sub&gt;3&lt;/sub&gt;) =
&lt;br/&gt;
8&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
f&lt;sub&gt;4,2&lt;/sub&gt; = 2&lt;sup&gt;2&lt;/sup&gt; × (&lt;sup&gt;4&lt;/sup&gt;&lt;sub&gt;2&lt;/sub&gt;) =
&lt;br/&gt;
24&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
f&lt;sub&gt;4,1&lt;/sub&gt; = 2&lt;sup&gt;3&lt;/sup&gt; × (&lt;sup&gt;4&lt;/sup&gt;&lt;sub&gt;1&lt;/sub&gt;) =
&lt;br/&gt;
32&lt;/p&gt;
&lt;br/&gt;
</content:encoded></item><item><title>Delivering Advanced Electronic Signatures - via a central signing server</title><link>http://cryptomathic.com/news-events/blog/delivering-advanced-electronic-signatures-via-a-central-signing-server</link><pubDate>Fri, 21 Oct 2011 12:03:23 GMT</pubDate><guid>http://cryptomathic.com/news-events/blog/delivering-advanced-electronic-signatures-via-a-central-signing-server</guid><description>&lt;br/&gt;
&lt;p&gt;The notion of&amp;nbsp;Advanced Electronic Signature was introduced&lt;br/&gt;
in the European Directive for electronic signatures[1], which&lt;br/&gt;
remains today an important milestone for the standardisation and&lt;br/&gt;
legal recognition of electronic signatures. Advanced Electronic&lt;br/&gt;
Signatures (hereinafter AdES) offer a very practical method to&lt;br/&gt;
protect information and provide trust in electronic business. They&lt;br/&gt;
can be embedded in popular document formats such as PDF, XML and&lt;br/&gt;
CMS messages[2]&amp;nbsp;and are also the base stone for creating&lt;br/&gt;
qualified electronic signatures (QES)[3]&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Art. 2 of the directive contains some requirements on signatory&lt;br/&gt;
identification and. This paper describes how a central signature&lt;br/&gt;
server can fulfill these requirements. This article relates to the&lt;br/&gt;
European Commission Standardisation mandate m460 to CEN and ETSI on&lt;br/&gt;
electronic signatures and is proposed as input for the ETSI&lt;br/&gt;
standard prTS 14167-5.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;What is Advanced Electronic Signature?&lt;/strong&gt;&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The directive broadly defines an electronic signature as data&lt;br/&gt;
that can be associated with and authenticate other data. To be&lt;br/&gt;
considered Advanced, an electronic signature must&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;a)&amp;nbsp;be uniquely linked to&lt;br/&gt;
the signatory;&lt;/em&gt;&lt;br /&gt;&lt;br/&gt;
&lt;em&gt;b)&amp;nbsp;be capable of identifying the signatory;&lt;/em&gt;&lt;br /&gt;&lt;br/&gt;
&lt;em&gt;c)&amp;nbsp;be created using means that the signatory can maintain&lt;br/&gt;
under their sole control;&lt;/em&gt;&lt;br /&gt;&lt;br/&gt;
&lt;em&gt;d)&amp;nbsp;be linked to the data to which it relates in such a&lt;br/&gt;
manner that any subsequent change in the data is&lt;br/&gt;
detectable.&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In practice advanced electronic signatures are therefore&lt;br/&gt;
implemented using digital signatures based on asymmetric&lt;br/&gt;
cryptography with the private key uniquely linked to the signatory.&lt;br/&gt;
The signature is verified using the public key of the signatory and&lt;br/&gt;
by setting up a proper PKI (typically using certificates) the&lt;br/&gt;
signature identifies the signatory. Existing signature methods[4]&lt;br/&gt;
ensure that the signature is linked to the data to be signed in a&lt;br/&gt;
secure way.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;These aspects of advanced electronic signatures are also&lt;br/&gt;
discussed by the Forum of European Supervisory Authorities for&lt;br/&gt;
Electronic Signatures (FESA)[5]. However their paper ignores the&lt;br/&gt;
case where the user/signatory key is stored on a central signature&lt;br/&gt;
server.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In this analysis, we will look more precisely at the impact of&lt;br/&gt;
central user key storage which, at a first glance, may seem not to&lt;br/&gt;
comply with the requirement c) that AdES signature must be&lt;br/&gt;
&lt;em&gt;created using means that the signatory can maintain under his&lt;br/&gt;
sole control.&lt;/em&gt; In other words, how can the key be solely&lt;br/&gt;
controlled (I.e. accessed and used for signature purposes) by its&lt;br/&gt;
owner while it is being stored on a remote server?&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;First of all it is paramount that the signatory private key is&lt;br/&gt;
protected by a hardware security module (HSM) on the remote&lt;br/&gt;
server.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;A simple approach would then be to authenticate the signatory&lt;br/&gt;
using standard username/password and open a SSL/TLS session to the&lt;br/&gt;
server in order for the user to get access to his private key. This&lt;br/&gt;
causes a number of issues:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;a)&amp;nbsp;Username/Password is a&lt;br/&gt;
method vulnerable to simple attacks such as phishing or replay&lt;br/&gt;
attacks and cannot be considered secure enough to ensure sole&lt;br/&gt;
control&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;b)&amp;nbsp;if the TLS channel is&lt;br/&gt;
terminated outside the HSM the password will occur in clear on the&lt;br/&gt;
remote server in order to be used for getting access to using the&lt;br/&gt;
private key of the signatory. Access to the key is therefore&lt;br/&gt;
subject to memory snapshots by a fraudulent system administrator,&lt;br/&gt;
thus once again defeating the sole control.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/41529/ades2.jpg" alt="AdES"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;How to achieve sole control?&lt;/strong&gt;&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In order to prevent (a), it is recommended to implement a&lt;br/&gt;
stronger signatory authentication, i.e. implement 2-factor&lt;br/&gt;
authentication, where the password constitutes one factor. The&lt;br/&gt;
second factor could be a (preferably) dynamic authentication method&lt;br/&gt;
based on e.g. OTP. This implies that a trustworthy &lt;a&lt;br/&gt;
href="/products/authentication-signing"&lt;br/&gt;
title="Authentication &amp;amp; Signing"&gt;2-Factor authentication&lt;/a&gt;&lt;br/&gt;
service is introduced to the solution.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;(b) is more difficult of achieve. We need to ensure that no&lt;br/&gt;
single system administrator can get access to the signatory key (i)&lt;br/&gt;
or use the key (ii).&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;For (i) to be fulfilled, the&lt;br/&gt;
signatory private key shall be protected by an HSM so that the key&lt;br/&gt;
may never appear in clear outside the HSM.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;(ii) can be solved in different&lt;br/&gt;
ways, ideally by implementing many of the following measures:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;ul&gt;&lt;br/&gt;
&lt;li&gt;&lt;br/&gt;
&lt;div style="padding-left: 30px;"&gt;Make physical AND logical access&lt;br/&gt;
to the HSM under dual control so that single administrator cannot&lt;br/&gt;
sign data on behalf of the signatory.&lt;/div&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;br/&gt;
&lt;div style="padding-left: 30px;"&gt;Access to use of the key is&lt;br/&gt;
exclusively possible after successful authentication of the&lt;br/&gt;
signatory (procedures shall be in place to ensure the system&lt;br/&gt;
administrators, including HSM administrators, cannot get access to&lt;br/&gt;
the signatory authentication values, such as passwords or&lt;br/&gt;
OTPs).&lt;/div&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;br/&gt;
&lt;div style="padding-left: 30px;"&gt;The signatory private key can only&lt;br/&gt;
be applied to (hashes of) messages that are authenticated by the&lt;br/&gt;
signatory&lt;/div&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;It is also recommended to implement strong logging functionality&lt;br/&gt;
in order to securely monitor all actions related to the management&lt;br/&gt;
of signatory keys and authentication secrets.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;This paper shows that there is no reason to restrict the&lt;br/&gt;
creation of AdES to local smart card/workstation. Trust Service&lt;br/&gt;
Providers implementing the above measures can perfectly supply&lt;br/&gt;
advanced electronic signatures in cloud based environments where&lt;br/&gt;
Application Service Providers rely on such service so that users&lt;br/&gt;
can sign (web) documents remotely and securely. This offers a&lt;br/&gt;
number of benefits including:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;ul&gt;&lt;br/&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;Centralised key management&lt;/em&gt;:&lt;/strong&gt; easier&lt;br/&gt;
process for generating, storing, backing up and renewing keys -&lt;br/&gt;
immediate disablement upon key revocation&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;Value added services&lt;/em&gt;:&lt;/strong&gt; to enhance the&lt;br/&gt;
value offered to the signatory, the centralized approach allows the&lt;br/&gt;
Trust Service Provider to mediate connection to time stamping,&lt;br/&gt;
archival, notary services.&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;Reduced costs&lt;/em&gt;:&lt;/strong&gt; no smart card / smart&lt;br/&gt;
card readers needed, reduced dependency towards the workstation,&lt;br/&gt;
reduced hotline costs / leverage infrastructures costs for large&lt;br/&gt;
number of signatories and application service providers.&lt;/li&gt;&lt;br/&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Such a solution has been implemented by Cryptomathic in the&lt;br/&gt;
Signer solution. As noted in the introduction, higher assurance&lt;br/&gt;
levels can be achieved when the associated certificate is qualified&lt;br/&gt;
and if the central signing service is SSCD certified. Though the&lt;br/&gt;
Cryptomathic Signer has not undergone a formal SSCD certification&lt;br/&gt;
process, we have carried out together an external law firm a study&lt;br/&gt;
showing that it the solution fulfills the SSCD requirements. We are&lt;br/&gt;
happy to share the findings upon &lt;a&lt;br/&gt;
href="/contact/contact-us"&gt;request&lt;/a&gt;.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;References&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;[1] Directive 1999/93/EC of the European Parliament and the&lt;br/&gt;
Council of 13 December 1999 on a Community framework for electronic&lt;br/&gt;
signatures&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;[2] The European Telecommunications Standards Institute (ETSI)&lt;br/&gt;
has published standards for AdES including:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PaDES:&lt;br/&gt;
ETSI TS 102&amp;nbsp;778 "Electronic Signatures and Infrastructures&lt;br/&gt;
(ESI); PDF Advanced Electronic Signature Profiles&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XaDES:&lt;br/&gt;
ETSI TS 101&amp;nbsp;903 "Electronic Signatures and Infrastructures&lt;br/&gt;
(ESI); XML Advanced Electronic Signature Profiles&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CaDES&lt;br/&gt;
RFC 5126 "CMS Advanced Electronic Signatures" and ETSI TS&lt;br/&gt;
101&amp;nbsp;733 "Electronic Signatures and Infrastructures (ESI); CMS&lt;br/&gt;
based Advanced Electronic Signature Profiles&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;[3] Advanced electronic signatures based on a qualified&lt;br/&gt;
certificate and generated using a secure signature creation device&lt;br/&gt;
must according to the directive be considered equivalent to&lt;br/&gt;
handwritten signatures. Such signatures are called Qualified&lt;br/&gt;
Electronic Signature (QES).&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;[4] E.g., using RSA, DSA og ECDSA.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;[5] Working Paper on Advanced Electronic Signatures of October&lt;br/&gt;
12 2004 &amp;nbsp; &lt;a&lt;br/&gt;
href="http://www.fesa.eu/public-documents/WorkingPaper-AdvancedSignature-20041012.pdf"&gt;&lt;br/&gt;
http://www.fesa.eu/public-documents/WorkingPaper-AdvancedSignature-20041012.pdf&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
</description><content:encoded>&lt;br/&gt;
&lt;p&gt;The notion of&amp;nbsp;Advanced Electronic Signature was introduced&lt;br/&gt;
in the European Directive for electronic signatures[1], which&lt;br/&gt;
remains today an important milestone for the standardisation and&lt;br/&gt;
legal recognition of electronic signatures. Advanced Electronic&lt;br/&gt;
Signatures (hereinafter AdES) offer a very practical method to&lt;br/&gt;
protect information and provide trust in electronic business. They&lt;br/&gt;
can be embedded in popular document formats such as PDF, XML and&lt;br/&gt;
CMS messages[2]&amp;nbsp;and are also the base stone for creating&lt;br/&gt;
qualified electronic signatures (QES)[3]&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Art. 2 of the directive contains some requirements on signatory&lt;br/&gt;
identification and. This paper describes how a central signature&lt;br/&gt;
server can fulfill these requirements. This article relates to the&lt;br/&gt;
European Commission Standardisation mandate m460 to CEN and ETSI on&lt;br/&gt;
electronic signatures and is proposed as input for the ETSI&lt;br/&gt;
standard prTS 14167-5.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;What is Advanced Electronic Signature?&lt;/strong&gt;&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The directive broadly defines an electronic signature as data&lt;br/&gt;
that can be associated with and authenticate other data. To be&lt;br/&gt;
considered Advanced, an electronic signature must&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;a)&amp;nbsp;be uniquely linked to&lt;br/&gt;
the signatory;&lt;/em&gt;&lt;br /&gt;&lt;br/&gt;
&lt;em&gt;b)&amp;nbsp;be capable of identifying the signatory;&lt;/em&gt;&lt;br /&gt;&lt;br/&gt;
&lt;em&gt;c)&amp;nbsp;be created using means that the signatory can maintain&lt;br/&gt;
under their sole control;&lt;/em&gt;&lt;br /&gt;&lt;br/&gt;
&lt;em&gt;d)&amp;nbsp;be linked to the data to which it relates in such a&lt;br/&gt;
manner that any subsequent change in the data is&lt;br/&gt;
detectable.&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In practice advanced electronic signatures are therefore&lt;br/&gt;
implemented using digital signatures based on asymmetric&lt;br/&gt;
cryptography with the private key uniquely linked to the signatory.&lt;br/&gt;
The signature is verified using the public key of the signatory and&lt;br/&gt;
by setting up a proper PKI (typically using certificates) the&lt;br/&gt;
signature identifies the signatory. Existing signature methods[4]&lt;br/&gt;
ensure that the signature is linked to the data to be signed in a&lt;br/&gt;
secure way.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;These aspects of advanced electronic signatures are also&lt;br/&gt;
discussed by the Forum of European Supervisory Authorities for&lt;br/&gt;
Electronic Signatures (FESA)[5]. However their paper ignores the&lt;br/&gt;
case where the user/signatory key is stored on a central signature&lt;br/&gt;
server.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In this analysis, we will look more precisely at the impact of&lt;br/&gt;
central user key storage which, at a first glance, may seem not to&lt;br/&gt;
comply with the requirement c) that AdES signature must be&lt;br/&gt;
&lt;em&gt;created using means that the signatory can maintain under his&lt;br/&gt;
sole control.&lt;/em&gt; In other words, how can the key be solely&lt;br/&gt;
controlled (I.e. accessed and used for signature purposes) by its&lt;br/&gt;
owner while it is being stored on a remote server?&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;First of all it is paramount that the signatory private key is&lt;br/&gt;
protected by a hardware security module (HSM) on the remote&lt;br/&gt;
server.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;A simple approach would then be to authenticate the signatory&lt;br/&gt;
using standard username/password and open a SSL/TLS session to the&lt;br/&gt;
server in order for the user to get access to his private key. This&lt;br/&gt;
causes a number of issues:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;a)&amp;nbsp;Username/Password is a&lt;br/&gt;
method vulnerable to simple attacks such as phishing or replay&lt;br/&gt;
attacks and cannot be considered secure enough to ensure sole&lt;br/&gt;
control&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;b)&amp;nbsp;if the TLS channel is&lt;br/&gt;
terminated outside the HSM the password will occur in clear on the&lt;br/&gt;
remote server in order to be used for getting access to using the&lt;br/&gt;
private key of the signatory. Access to the key is therefore&lt;br/&gt;
subject to memory snapshots by a fraudulent system administrator,&lt;br/&gt;
thus once again defeating the sole control.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/41529/ades2.jpg" alt="AdES"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;How to achieve sole control?&lt;/strong&gt;&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In order to prevent (a), it is recommended to implement a&lt;br/&gt;
stronger signatory authentication, i.e. implement 2-factor&lt;br/&gt;
authentication, where the password constitutes one factor. The&lt;br/&gt;
second factor could be a (preferably) dynamic authentication method&lt;br/&gt;
based on e.g. OTP. This implies that a trustworthy &lt;a&lt;br/&gt;
href="/products/authentication-signing"&lt;br/&gt;
title="Authentication &amp;amp; Signing"&gt;2-Factor authentication&lt;/a&gt;&lt;br/&gt;
service is introduced to the solution.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;(b) is more difficult of achieve. We need to ensure that no&lt;br/&gt;
single system administrator can get access to the signatory key (i)&lt;br/&gt;
or use the key (ii).&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;For (i) to be fulfilled, the&lt;br/&gt;
signatory private key shall be protected by an HSM so that the key&lt;br/&gt;
may never appear in clear outside the HSM.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="padding-left: 30px;"&gt;(ii) can be solved in different&lt;br/&gt;
ways, ideally by implementing many of the following measures:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;ul&gt;&lt;br/&gt;
&lt;li&gt;&lt;br/&gt;
&lt;div style="padding-left: 30px;"&gt;Make physical AND logical access&lt;br/&gt;
to the HSM under dual control so that single administrator cannot&lt;br/&gt;
sign data on behalf of the signatory.&lt;/div&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;br/&gt;
&lt;div style="padding-left: 30px;"&gt;Access to use of the key is&lt;br/&gt;
exclusively possible after successful authentication of the&lt;br/&gt;
signatory (procedures shall be in place to ensure the system&lt;br/&gt;
administrators, including HSM administrators, cannot get access to&lt;br/&gt;
the signatory authentication values, such as passwords or&lt;br/&gt;
OTPs).&lt;/div&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;br/&gt;
&lt;div style="padding-left: 30px;"&gt;The signatory private key can only&lt;br/&gt;
be applied to (hashes of) messages that are authenticated by the&lt;br/&gt;
signatory&lt;/div&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;It is also recommended to implement strong logging functionality&lt;br/&gt;
in order to securely monitor all actions related to the management&lt;br/&gt;
of signatory keys and authentication secrets.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;This paper shows that there is no reason to restrict the&lt;br/&gt;
creation of AdES to local smart card/workstation. Trust Service&lt;br/&gt;
Providers implementing the above measures can perfectly supply&lt;br/&gt;
advanced electronic signatures in cloud based environments where&lt;br/&gt;
Application Service Providers rely on such service so that users&lt;br/&gt;
can sign (web) documents remotely and securely. This offers a&lt;br/&gt;
number of benefits including:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;ul&gt;&lt;br/&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;Centralised key management&lt;/em&gt;:&lt;/strong&gt; easier&lt;br/&gt;
process for generating, storing, backing up and renewing keys -&lt;br/&gt;
immediate disablement upon key revocation&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;Value added services&lt;/em&gt;:&lt;/strong&gt; to enhance the&lt;br/&gt;
value offered to the signatory, the centralized approach allows the&lt;br/&gt;
Trust Service Provider to mediate connection to time stamping,&lt;br/&gt;
archival, notary services.&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;Reduced costs&lt;/em&gt;:&lt;/strong&gt; no smart card / smart&lt;br/&gt;
card readers needed, reduced dependency towards the workstation,&lt;br/&gt;
reduced hotline costs / leverage infrastructures costs for large&lt;br/&gt;
number of signatories and application service providers.&lt;/li&gt;&lt;br/&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Such a solution has been implemented by Cryptomathic in the&lt;br/&gt;
Signer solution. As noted in the introduction, higher assurance&lt;br/&gt;
levels can be achieved when the associated certificate is qualified&lt;br/&gt;
and if the central signing service is SSCD certified. Though the&lt;br/&gt;
Cryptomathic Signer has not undergone a formal SSCD certification&lt;br/&gt;
process, we have carried out together an external law firm a study&lt;br/&gt;
showing that it the solution fulfills the SSCD requirements. We are&lt;br/&gt;
happy to share the findings upon &lt;a&lt;br/&gt;
href="/contact/contact-us"&gt;request&lt;/a&gt;.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;References&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;[1] Directive 1999/93/EC of the European Parliament and the&lt;br/&gt;
Council of 13 December 1999 on a Community framework for electronic&lt;br/&gt;
signatures&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;[2] The European Telecommunications Standards Institute (ETSI)&lt;br/&gt;
has published standards for AdES including:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PaDES:&lt;br/&gt;
ETSI TS 102&amp;nbsp;778 "Electronic Signatures and Infrastructures&lt;br/&gt;
(ESI); PDF Advanced Electronic Signature Profiles&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XaDES:&lt;br/&gt;
ETSI TS 101&amp;nbsp;903 "Electronic Signatures and Infrastructures&lt;br/&gt;
(ESI); XML Advanced Electronic Signature Profiles&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CaDES&lt;br/&gt;
RFC 5126 "CMS Advanced Electronic Signatures" and ETSI TS&lt;br/&gt;
101&amp;nbsp;733 "Electronic Signatures and Infrastructures (ESI); CMS&lt;br/&gt;
based Advanced Electronic Signature Profiles&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;[3] Advanced electronic signatures based on a qualified&lt;br/&gt;
certificate and generated using a secure signature creation device&lt;br/&gt;
must according to the directive be considered equivalent to&lt;br/&gt;
handwritten signatures. Such signatures are called Qualified&lt;br/&gt;
Electronic Signature (QES).&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;[4] E.g., using RSA, DSA og ECDSA.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;[5] Working Paper on Advanced Electronic Signatures of October&lt;br/&gt;
12 2004 &amp;nbsp; &lt;a&lt;br/&gt;
href="http://www.fesa.eu/public-documents/WorkingPaper-AdvancedSignature-20041012.pdf"&gt;&lt;br/&gt;
http://www.fesa.eu/public-documents/WorkingPaper-AdvancedSignature-20041012.pdf&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
</content:encoded></item><item><title>EMV: The Fraud Bulldozer</title><link>http://cryptomathic.com/news-events/blog/emv-the-fraud-bulldozer</link><pubDate>Thu, 06 Oct 2011 17:04:28 GMT</pubDate><guid>http://cryptomathic.com/news-events/blog/emv-the-fraud-bulldozer</guid><image><url>http://cryptomathic.com//media/40497/emvbulldozer550.jpg</url><link>http://cryptomathic.com</link></image><description><![CDATA[ 
                     <img src="http://cryptomathic.com/media/40497/emvbulldozer550.jpg" width="550" height="350" alt="blog">
                     ]]>
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;These days everyone has a stake in Chip and PIN security -
&lt;br/&gt;
it can be the topic of the over-the-counter conversation as you
&lt;br/&gt;
pay, of the boardroom executives at a bank, or over a pint at the
&lt;br/&gt;
pub. So how is EMV, the electronic payments standard underlying
&lt;br/&gt;
Chip and PIN shaping up? And what is the modern landscape of
&lt;br/&gt;
payments fraud? Here, Mike Bond, Technical Director at
&lt;br/&gt;
Cryptomathic, shares his opinion.&amp;nbsp;&amp;nbsp;&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;First of all, EMV truly is a new age in electronic payment. EMV
&lt;br/&gt;
brings together two familiar security concepts into one heavyweight
&lt;br/&gt;
architecture: a payment token which is hard to counterfeit - the
&lt;br/&gt;
chip; and an authentication method which does not depend upon human
&lt;br/&gt;
judgement - the PIN. Neither of these factors in themselves is
&lt;br/&gt;
intrinsically new, but it is a third factor which heralds the new
&lt;br/&gt;
age: the scale of deployment. The potential is for billions of
&lt;br/&gt;
cardholders, millions of terminals.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Because of the size of EMV, the fundamental concepts upon which
&lt;br/&gt;
it is founded can actually be shifted by its deployment, as if in a
&lt;br/&gt;
never-ending feedback loop. For example, the chip models currently
&lt;br/&gt;
used for EMV may have been hard to counterfeit when they were first
&lt;br/&gt;
issued, but advances in technology, for instance in electromagnetic
&lt;br/&gt;
emissions analysis, could reduce their security. This is an
&lt;br/&gt;
external factor. But consider now the amount of money protected by
&lt;br/&gt;
EMV and the significance of its security for our economies - such a
&lt;br/&gt;
driver actually prompts research, be it in criminal communities,
&lt;br/&gt;
industry, or academia. Such research activities when focussed could
&lt;br/&gt;
quickly undermine the security of one design of chip.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The defence built into EMV is support for diversity. While such
&lt;br/&gt;
a level of complexity brings other worrying security implications,
&lt;br/&gt;
it enables EMV to tread the fine line between global
&lt;br/&gt;
interoperability and diversity. We get security, but when one piece
&lt;br/&gt;
does inevitably break, the whole system does not crumble. Thus EMV
&lt;br/&gt;
supports both offline and online transactions, transactions based
&lt;br/&gt;
upon symmetric and asymmetric cryptography, multiple routes and
&lt;br/&gt;
methods for verifying the PIN, and each issuer can customise the
&lt;br/&gt;
issuer to card protocols within the EMV framework. The level of
&lt;br/&gt;
support for customised risk management is unprecedented.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Yet why, despite these strengths, is there such dispute over
&lt;br/&gt;
whether EMV is being successful, and if Chip and PIN (as customers
&lt;br/&gt;
know it) is a good thing or a bad thing? Why did Shell pull the
&lt;br/&gt;
plug on Chip and PIN at 500 or so petrol stations after a spate of
&lt;br/&gt;
phantom withdrawals [1]? Why do some militant customers cut up
&lt;br/&gt;
their cards and demand Chip and Signature replacements? Put simply,
&lt;br/&gt;
EMV is a fraud bulldozer. It is a large earth-moving tool for
&lt;br/&gt;
changing the landscape of payments security.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In the UK, EMV has already changed the landscape substantially:
&lt;br/&gt;
stolen card fraud is down and collusive merchants are no longer a
&lt;br/&gt;
problem (because they take the liability when the PIN is not
&lt;br/&gt;
verified). Instances of card skimming, phantom withdrawals and
&lt;br/&gt;
card-not-present fraud, however, are all increasing; some radically
&lt;br/&gt;
so.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Financial crime is like the illegal narcotics trade. It is such
&lt;br/&gt;
a significant part of the global economy that it's here to stay.
&lt;br/&gt;
&amp;nbsp;No change in the payments landscape will dam the flow, there
&lt;br/&gt;
will simply be an overspill of fraud elsewhere. The recent UK news
&lt;br/&gt;
stories about fraud at Shell Garages may claim to expose Chip and
&lt;br/&gt;
PIN failures, but are in fact reporting the first signs of change
&lt;br/&gt;
in the landscape; Chip and PIN has not broken, but its strength has
&lt;br/&gt;
made the ATM system of "magstripe and PIN" considerably weaker.
&lt;br/&gt;
This is one of the places to which fraud is now flowing, and when a
&lt;br/&gt;
flow passes through a different player's back yard that player
&lt;br/&gt;
inevitably gets upset.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;So often in electronic payments, debates about the effectiveness
&lt;br/&gt;
of the bulldozer are muddled up with debates about what sort of
&lt;br/&gt;
landscape we should build. Everyone wants to have a say on what is
&lt;br/&gt;
built next to their housing estate, but the availability of the
&lt;br/&gt;
tools to do the job is rarely in question. Partly this blurring is
&lt;br/&gt;
a plain mistake, but sometimes it arises from the genuine blurring
&lt;br/&gt;
of business and technology. Just as our tastes and concepts of
&lt;br/&gt;
music evolve in parallel with marketing models for music (singles,
&lt;br/&gt;
albums, charts, ringtones), so the technological architectures of
&lt;br/&gt;
payments systems are evolving in parallel with business models for
&lt;br/&gt;
the payments industry. This is why, for instance, there is so much
&lt;br/&gt;
risk management built into EMV at a protocol level.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;There are indeed shortcomings of EMV as a bulldozer --
&lt;br/&gt;
landscapes it cannot build -- but they are few. The first arises
&lt;br/&gt;
from the chosen form-factor of the smart-card: it is a device with
&lt;br/&gt;
no trusted user interface. The cardholder thus has no way to be
&lt;br/&gt;
100% certain who the card is doing business with, and how much
&lt;br/&gt;
money is being transacted whenever the card is proffered. This
&lt;br/&gt;
gives rise to the relay attacks described by Anderson, Bond and
&lt;br/&gt;
Murdoch [2]. Mobile phones as portable trusted interfaces, or
&lt;br/&gt;
specialised card readers such as those planned for use with the CAP
&lt;br/&gt;
internet banking scheme could be the solutions here. A third
&lt;br/&gt;
hi-tech option which could raise the bar without demanding a
&lt;br/&gt;
trusted interface could be electronic range bounding, where the
&lt;br/&gt;
time it takes the electronic signals to travel (at the speed of
&lt;br/&gt;
light) can be measured with exceptional accuracy, bounding a card's
&lt;br/&gt;
location within 10 metres or so. Such technology is still under
&lt;br/&gt;
development but could certainly mitigate the relay attack
&lt;br/&gt;
threat.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;So don't believe that EMV is anything other than successful:
&lt;br/&gt;
there is just some inevitable conflict to be ironed out about what
&lt;br/&gt;
the payments landscape of the future should look like.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;[1] "Petrol Firm Suspends Chip and PIN", BBC News Online, &lt;a
&lt;br/&gt;
href="http://news.bbc.co.uk/1/hi/england/4980190.stm"&gt;http://news.bbc.co.uk/1/hi/england/4980190.stm&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;[2] "Chip and Spin", R. J. Anderson, M. K. Bond, S. J. Murdoch
&lt;br/&gt;
&lt;a
&lt;br/&gt;
href="http://www.chipandspin.co.uk/spin.pdf"&gt;http://www.chipandspin.co.uk/spin.pdf&lt;/a&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Previously published in Cryptomathic NewsOnInk,
&lt;br/&gt;
2006&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;
</description><content:encoded><![CDATA[ 
                     <img src="http://chryptomatic.local/media/40497/emvbulldozer550.jpg" width="550" height="350" alt="blog"/>
                     ]]>
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;These days everyone has a stake in Chip and PIN security -
&lt;br/&gt;
it can be the topic of the over-the-counter conversation as you
&lt;br/&gt;
pay, of the boardroom executives at a bank, or over a pint at the
&lt;br/&gt;
pub. So how is EMV, the electronic payments standard underlying
&lt;br/&gt;
Chip and PIN shaping up? And what is the modern landscape of
&lt;br/&gt;
payments fraud? Here, Mike Bond, Technical Director at
&lt;br/&gt;
Cryptomathic, shares his opinion.&amp;nbsp;&amp;nbsp;&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;First of all, EMV truly is a new age in electronic payment. EMV
&lt;br/&gt;
brings together two familiar security concepts into one heavyweight
&lt;br/&gt;
architecture: a payment token which is hard to counterfeit - the
&lt;br/&gt;
chip; and an authentication method which does not depend upon human
&lt;br/&gt;
judgement - the PIN. Neither of these factors in themselves is
&lt;br/&gt;
intrinsically new, but it is a third factor which heralds the new
&lt;br/&gt;
age: the scale of deployment. The potential is for billions of
&lt;br/&gt;
cardholders, millions of terminals.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Because of the size of EMV, the fundamental concepts upon which
&lt;br/&gt;
it is founded can actually be shifted by its deployment, as if in a
&lt;br/&gt;
never-ending feedback loop. For example, the chip models currently
&lt;br/&gt;
used for EMV may have been hard to counterfeit when they were first
&lt;br/&gt;
issued, but advances in technology, for instance in electromagnetic
&lt;br/&gt;
emissions analysis, could reduce their security. This is an
&lt;br/&gt;
external factor. But consider now the amount of money protected by
&lt;br/&gt;
EMV and the significance of its security for our economies - such a
&lt;br/&gt;
driver actually prompts research, be it in criminal communities,
&lt;br/&gt;
industry, or academia. Such research activities when focussed could
&lt;br/&gt;
quickly undermine the security of one design of chip.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The defence built into EMV is support for diversity. While such
&lt;br/&gt;
a level of complexity brings other worrying security implications,
&lt;br/&gt;
it enables EMV to tread the fine line between global
&lt;br/&gt;
interoperability and diversity. We get security, but when one piece
&lt;br/&gt;
does inevitably break, the whole system does not crumble. Thus EMV
&lt;br/&gt;
supports both offline and online transactions, transactions based
&lt;br/&gt;
upon symmetric and asymmetric cryptography, multiple routes and
&lt;br/&gt;
methods for verifying the PIN, and each issuer can customise the
&lt;br/&gt;
issuer to card protocols within the EMV framework. The level of
&lt;br/&gt;
support for customised risk management is unprecedented.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Yet why, despite these strengths, is there such dispute over
&lt;br/&gt;
whether EMV is being successful, and if Chip and PIN (as customers
&lt;br/&gt;
know it) is a good thing or a bad thing? Why did Shell pull the
&lt;br/&gt;
plug on Chip and PIN at 500 or so petrol stations after a spate of
&lt;br/&gt;
phantom withdrawals [1]? Why do some militant customers cut up
&lt;br/&gt;
their cards and demand Chip and Signature replacements? Put simply,
&lt;br/&gt;
EMV is a fraud bulldozer. It is a large earth-moving tool for
&lt;br/&gt;
changing the landscape of payments security.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In the UK, EMV has already changed the landscape substantially:
&lt;br/&gt;
stolen card fraud is down and collusive merchants are no longer a
&lt;br/&gt;
problem (because they take the liability when the PIN is not
&lt;br/&gt;
verified). Instances of card skimming, phantom withdrawals and
&lt;br/&gt;
card-not-present fraud, however, are all increasing; some radically
&lt;br/&gt;
so.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Financial crime is like the illegal narcotics trade. It is such
&lt;br/&gt;
a significant part of the global economy that it's here to stay.
&lt;br/&gt;
&amp;nbsp;No change in the payments landscape will dam the flow, there
&lt;br/&gt;
will simply be an overspill of fraud elsewhere. The recent UK news
&lt;br/&gt;
stories about fraud at Shell Garages may claim to expose Chip and
&lt;br/&gt;
PIN failures, but are in fact reporting the first signs of change
&lt;br/&gt;
in the landscape; Chip and PIN has not broken, but its strength has
&lt;br/&gt;
made the ATM system of "magstripe and PIN" considerably weaker.
&lt;br/&gt;
This is one of the places to which fraud is now flowing, and when a
&lt;br/&gt;
flow passes through a different player's back yard that player
&lt;br/&gt;
inevitably gets upset.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;So often in electronic payments, debates about the effectiveness
&lt;br/&gt;
of the bulldozer are muddled up with debates about what sort of
&lt;br/&gt;
landscape we should build. Everyone wants to have a say on what is
&lt;br/&gt;
built next to their housing estate, but the availability of the
&lt;br/&gt;
tools to do the job is rarely in question. Partly this blurring is
&lt;br/&gt;
a plain mistake, but sometimes it arises from the genuine blurring
&lt;br/&gt;
of business and technology. Just as our tastes and concepts of
&lt;br/&gt;
music evolve in parallel with marketing models for music (singles,
&lt;br/&gt;
albums, charts, ringtones), so the technological architectures of
&lt;br/&gt;
payments systems are evolving in parallel with business models for
&lt;br/&gt;
the payments industry. This is why, for instance, there is so much
&lt;br/&gt;
risk management built into EMV at a protocol level.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;There are indeed shortcomings of EMV as a bulldozer --
&lt;br/&gt;
landscapes it cannot build -- but they are few. The first arises
&lt;br/&gt;
from the chosen form-factor of the smart-card: it is a device with
&lt;br/&gt;
no trusted user interface. The cardholder thus has no way to be
&lt;br/&gt;
100% certain who the card is doing business with, and how much
&lt;br/&gt;
money is being transacted whenever the card is proffered. This
&lt;br/&gt;
gives rise to the relay attacks described by Anderson, Bond and
&lt;br/&gt;
Murdoch [2]. Mobile phones as portable trusted interfaces, or
&lt;br/&gt;
specialised card readers such as those planned for use with the CAP
&lt;br/&gt;
internet banking scheme could be the solutions here. A third
&lt;br/&gt;
hi-tech option which could raise the bar without demanding a
&lt;br/&gt;
trusted interface could be electronic range bounding, where the
&lt;br/&gt;
time it takes the electronic signals to travel (at the speed of
&lt;br/&gt;
light) can be measured with exceptional accuracy, bounding a card's
&lt;br/&gt;
location within 10 metres or so. Such technology is still under
&lt;br/&gt;
development but could certainly mitigate the relay attack
&lt;br/&gt;
threat.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;So don't believe that EMV is anything other than successful:
&lt;br/&gt;
there is just some inevitable conflict to be ironed out about what
&lt;br/&gt;
the payments landscape of the future should look like.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;[1] "Petrol Firm Suspends Chip and PIN", BBC News Online, &lt;a
&lt;br/&gt;
href="http://news.bbc.co.uk/1/hi/england/4980190.stm"&gt;http://news.bbc.co.uk/1/hi/england/4980190.stm&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;[2] "Chip and Spin", R. J. Anderson, M. K. Bond, S. J. Murdoch
&lt;br/&gt;
&lt;a
&lt;br/&gt;
href="http://www.chipandspin.co.uk/spin.pdf"&gt;http://www.chipandspin.co.uk/spin.pdf&lt;/a&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Previously published in Cryptomathic NewsOnInk,
&lt;br/&gt;
2006&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;
</content:encoded></item><item><title>Where 2FA and PKI Meet</title><link>http://cryptomathic.com/news-events/blog/where-2fa-and-pki-meet</link><pubDate>Mon, 19 Sep 2011 12:49:55 GMT</pubDate><guid>http://cryptomathic.com/news-events/blog/where-2fa-and-pki-meet</guid><description>&lt;br/&gt;
&lt;p&gt;Under pressure from sophisticated attacks and rising fraud, many&lt;br/&gt;
B2C organisations of the financial industry are currently enhancing&lt;br/&gt;
the static password based authentication to their web applications&lt;br/&gt;
to something stronger - &lt;strong&gt;the 2FA age&lt;/strong&gt;. 2-Factor&lt;br/&gt;
Authentication (2FA) is currently achieving large scale deployments&lt;br/&gt;
and consumer adoption where PKI failed a few years ago.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;From a technical standpoint, PKI offers significant benefits&lt;br/&gt;
including the possibility to sign transactions of legal value in&lt;br/&gt;
domains of trust, which is key to financial institutions offering&lt;br/&gt;
online services. Yet, 2FA technology, which offers mere user&lt;br/&gt;
authentication, has been preferred by most players for its&lt;br/&gt;
user-friendliness and ease of deployment.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;The Challenge Ahead with 2FA&lt;/strong&gt;&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The main driver behind the success of 2FA is the protection of&lt;br/&gt;
online applications against crimes of ID Theft. An important&lt;br/&gt;
feature, which 2FA does not address at present, is the possibility&lt;br/&gt;
to offer electronic signature capability, which is gaining more&lt;br/&gt;
importance due to the need for message integrity as&lt;br/&gt;
Man-In-The-Middle and other advanced attacks are on the rise.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Traditionally, Secure Signature-Creation Devices (SSCDs) are&lt;br/&gt;
either chip-enabled cards or USB-connected tokens. Both of them&lt;br/&gt;
need to be connected to an end-user station and this is where the&lt;br/&gt;
nightmares start for most IT staff departments. Experience shows&lt;br/&gt;
that there&amp;nbsp;are often drivers missing, broken connections or&lt;br/&gt;
restricted administration rights. In retail, it is simply&lt;br/&gt;
impossible to control the environment of the end user. It is&lt;br/&gt;
therefore not a viable option to bring such signatures devices to a&lt;br/&gt;
large audience.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;A Method to Remedy the Situation and Leverage the 2FA&lt;br/&gt;
Technology&lt;/strong&gt;&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Our method is very inspired from the cloud computing concept&lt;br/&gt;
where a secure infrastructure that offers secure signature services&lt;br/&gt;
is made available as a service to the Web community.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Our approach is to centralize the storage and management of&lt;br/&gt;
private signing keys at trusted 3rd parties with highly secure&lt;br/&gt;
environments and strict procedures in order to maintain data&lt;br/&gt;
centres, that are both logically and physically protected. The user&lt;br/&gt;
retains control over his private key using 2-Factor Authentication&lt;br/&gt;
techniques. What we propose is in a sense very similar to the safe&lt;br/&gt;
deposit boxes offered by banks. In such cases, the ownership of the&lt;br/&gt;
deposit is not questioned even though the administration and access&lt;br/&gt;
to the safe box is under the responsibility of the bank. Similarly,&lt;br/&gt;
we propose to safe deposit the user's private key in a tamper&lt;br/&gt;
evident environment whose access is granted when a 2-Factor&lt;br/&gt;
Authentication of the end-user is performed.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;How Does it Work in Practice?&lt;/strong&gt;&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In practice, a user is enrolled and his credentials, along with&lt;br/&gt;
a key pair is sent to a certification authority. So far, the&lt;br/&gt;
process is identical to a legacy PKI scheme. Instead of receiving&lt;br/&gt;
the certificate and the key pair, the user receives two factors of&lt;br/&gt;
authentications (e.g. a password sent from a PIN Mailer and an&lt;br/&gt;
activation password on SMS using this media to send One Time&lt;br/&gt;
Passwords in the future). The private key remains in the secure&lt;br/&gt;
signature server its entire life and will never ever leave that&lt;br/&gt;
server.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Once this initialization phase is completed, the end-user is&lt;br/&gt;
ready to use his key to e.g. sign a transaction presented by a&lt;br/&gt;
remote application.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;A typical (and simplified) architecture is depicted in the&lt;br/&gt;
figure 1 below:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/40158/2fa550.jpg" alt="2fa550"/&gt;&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;Figure 1 - Basic architecture&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;To preserve mobility and keep end-user constraints as low as&lt;br/&gt;
possible, our only assumption is that the user is connected to a&lt;br/&gt;
web enabled application. The challenge therefore is to ensure that&lt;br/&gt;
the data to be signed can be transmitted confidentially and&lt;br/&gt;
integrally to the central signing server. While keeping minimal&lt;br/&gt;
footprint, we have to introduce an end-to-end encrypted and&lt;br/&gt;
authenticated channel to make sure that:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;a. When a connection is established, the server can be sure that&lt;br/&gt;
a legitimate user is in the other end, and&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;b. When the connection is established the user can enable the&lt;br/&gt;
environment where his keys are available, and&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;c. The user's keys can only be available in the environment&lt;br/&gt;
established by a 2FA process. The authentication mechanism does not&lt;br/&gt;
really matter (SMS- based OTP, OATH based OTP, EMV based OTP or&lt;br/&gt;
proprietary methods are supported). The ultimate aim is therefore&lt;br/&gt;
to implement this as rigidly as possible such that it will not even&lt;br/&gt;
be possible for inside server operators or even developers with&lt;br/&gt;
access to server source code, to circumvent the protection once the&lt;br/&gt;
system is deployed.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;We wrote that item c is fulfilled by implementing a carefully&lt;br/&gt;
designed security kernel at the server side. Items a and b are&lt;br/&gt;
achieved using a security protocol which we have designed. From a&lt;br/&gt;
top-level perspective, the protocol works the following way:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;• The client receives all user credentials (password, OTPs,&lt;br/&gt;
token output etc.) and combines these values with entropy (random&lt;br/&gt;
values) to form a symmetric key.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;• The server (more precisely, the security kernel) attempts to&lt;br/&gt;
form the same symmetric key from the knowledge it has and from&lt;br/&gt;
publicly exchanged nonces.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;• Once the keys have been established, the client sends&lt;br/&gt;
encrypted commands to the server and receives encrypted responses&lt;br/&gt;
back from the server. If either party fails to decrypt a message,&lt;br/&gt;
the communication is terminated. The key for a given connection is&lt;br/&gt;
represented by the state of the Pseudo Random Function. Whenever&lt;br/&gt;
the user authenticates himself using some credential (e.g. an OTP)&lt;br/&gt;
this state is updated using a so-called pre-session key derived&lt;br/&gt;
from the credential (in other words the effective key length is&lt;br/&gt;
augmented using these credentials).&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;A convenient way to provide such signature services for the web&lt;br/&gt;
application provider is to develop an application using a thin&lt;br/&gt;
client in order to fulfil the common zero-footprint requirement&lt;br/&gt;
mentioned above. In practice, this is made available as a Java&lt;br/&gt;
applet running in a web browser. This applet can of course be&lt;br/&gt;
customized to follow a given workflow with interactive features&lt;br/&gt;
such as What You See Is What You Sign (WYSIWYS) functionality.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;To summarize, I will present the key advantages of deploying&lt;br/&gt;
such a method which, as presented in the introduction, leverages&lt;br/&gt;
the benefits of PKI and 2FA.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;• Convenience: Because a mere 2FA token and a connected terminal&lt;br/&gt;
are the sole requirements for the end-user. The burden of PKI&lt;br/&gt;
deployments (middleware installation, lifecycle management, etc.)&lt;br/&gt;
remains transparent for the customer and is managed centrally. The&lt;br/&gt;
application provider can customize his workflow and application&lt;br/&gt;
taking advantage of the authentication and signing services&lt;br/&gt;
provided by the trust provider.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;• Security: Thanks to the secure protocol, the fact that the key&lt;br/&gt;
storage is protected in a tamper evident environment and the strict&lt;br/&gt;
administration procedures enforced at trust providers site(s), it&lt;br/&gt;
is possible to reach a SSCD level and provide Qualified Electronic&lt;br/&gt;
Signature (QES) services to key owners.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;• Cost-efficiency: No other solution available on the market&lt;br/&gt;
offers such a combination of value added authentication and signing&lt;br/&gt;
services directly usable in B2C environments. The total cost per&lt;br/&gt;
user remains way below legacy SSCD devices.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;As of January 1st 2009, Cryptomathic has been granted a European&lt;br/&gt;
Patent (EP 1455503) for this method implemented in the Cryptomathic&lt;br/&gt;
Signer product.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Previously published in Cryptomathic NewsOnInk,&lt;br/&gt;
2009&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
</description><content:encoded>&lt;br/&gt;
&lt;p&gt;Under pressure from sophisticated attacks and rising fraud, many&lt;br/&gt;
B2C organisations of the financial industry are currently enhancing&lt;br/&gt;
the static password based authentication to their web applications&lt;br/&gt;
to something stronger - &lt;strong&gt;the 2FA age&lt;/strong&gt;. 2-Factor&lt;br/&gt;
Authentication (2FA) is currently achieving large scale deployments&lt;br/&gt;
and consumer adoption where PKI failed a few years ago.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;From a technical standpoint, PKI offers significant benefits&lt;br/&gt;
including the possibility to sign transactions of legal value in&lt;br/&gt;
domains of trust, which is key to financial institutions offering&lt;br/&gt;
online services. Yet, 2FA technology, which offers mere user&lt;br/&gt;
authentication, has been preferred by most players for its&lt;br/&gt;
user-friendliness and ease of deployment.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;The Challenge Ahead with 2FA&lt;/strong&gt;&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The main driver behind the success of 2FA is the protection of&lt;br/&gt;
online applications against crimes of ID Theft. An important&lt;br/&gt;
feature, which 2FA does not address at present, is the possibility&lt;br/&gt;
to offer electronic signature capability, which is gaining more&lt;br/&gt;
importance due to the need for message integrity as&lt;br/&gt;
Man-In-The-Middle and other advanced attacks are on the rise.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Traditionally, Secure Signature-Creation Devices (SSCDs) are&lt;br/&gt;
either chip-enabled cards or USB-connected tokens. Both of them&lt;br/&gt;
need to be connected to an end-user station and this is where the&lt;br/&gt;
nightmares start for most IT staff departments. Experience shows&lt;br/&gt;
that there&amp;nbsp;are often drivers missing, broken connections or&lt;br/&gt;
restricted administration rights. In retail, it is simply&lt;br/&gt;
impossible to control the environment of the end user. It is&lt;br/&gt;
therefore not a viable option to bring such signatures devices to a&lt;br/&gt;
large audience.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;A Method to Remedy the Situation and Leverage the 2FA&lt;br/&gt;
Technology&lt;/strong&gt;&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Our method is very inspired from the cloud computing concept&lt;br/&gt;
where a secure infrastructure that offers secure signature services&lt;br/&gt;
is made available as a service to the Web community.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Our approach is to centralize the storage and management of&lt;br/&gt;
private signing keys at trusted 3rd parties with highly secure&lt;br/&gt;
environments and strict procedures in order to maintain data&lt;br/&gt;
centres, that are both logically and physically protected. The user&lt;br/&gt;
retains control over his private key using 2-Factor Authentication&lt;br/&gt;
techniques. What we propose is in a sense very similar to the safe&lt;br/&gt;
deposit boxes offered by banks. In such cases, the ownership of the&lt;br/&gt;
deposit is not questioned even though the administration and access&lt;br/&gt;
to the safe box is under the responsibility of the bank. Similarly,&lt;br/&gt;
we propose to safe deposit the user's private key in a tamper&lt;br/&gt;
evident environment whose access is granted when a 2-Factor&lt;br/&gt;
Authentication of the end-user is performed.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;How Does it Work in Practice?&lt;/strong&gt;&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In practice, a user is enrolled and his credentials, along with&lt;br/&gt;
a key pair is sent to a certification authority. So far, the&lt;br/&gt;
process is identical to a legacy PKI scheme. Instead of receiving&lt;br/&gt;
the certificate and the key pair, the user receives two factors of&lt;br/&gt;
authentications (e.g. a password sent from a PIN Mailer and an&lt;br/&gt;
activation password on SMS using this media to send One Time&lt;br/&gt;
Passwords in the future). The private key remains in the secure&lt;br/&gt;
signature server its entire life and will never ever leave that&lt;br/&gt;
server.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Once this initialization phase is completed, the end-user is&lt;br/&gt;
ready to use his key to e.g. sign a transaction presented by a&lt;br/&gt;
remote application.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;A typical (and simplified) architecture is depicted in the&lt;br/&gt;
figure 1 below:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/40158/2fa550.jpg" alt="2fa550"/&gt;&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;Figure 1 - Basic architecture&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;To preserve mobility and keep end-user constraints as low as&lt;br/&gt;
possible, our only assumption is that the user is connected to a&lt;br/&gt;
web enabled application. The challenge therefore is to ensure that&lt;br/&gt;
the data to be signed can be transmitted confidentially and&lt;br/&gt;
integrally to the central signing server. While keeping minimal&lt;br/&gt;
footprint, we have to introduce an end-to-end encrypted and&lt;br/&gt;
authenticated channel to make sure that:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;a. When a connection is established, the server can be sure that&lt;br/&gt;
a legitimate user is in the other end, and&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;b. When the connection is established the user can enable the&lt;br/&gt;
environment where his keys are available, and&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;c. The user's keys can only be available in the environment&lt;br/&gt;
established by a 2FA process. The authentication mechanism does not&lt;br/&gt;
really matter (SMS- based OTP, OATH based OTP, EMV based OTP or&lt;br/&gt;
proprietary methods are supported). The ultimate aim is therefore&lt;br/&gt;
to implement this as rigidly as possible such that it will not even&lt;br/&gt;
be possible for inside server operators or even developers with&lt;br/&gt;
access to server source code, to circumvent the protection once the&lt;br/&gt;
system is deployed.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;We wrote that item c is fulfilled by implementing a carefully&lt;br/&gt;
designed security kernel at the server side. Items a and b are&lt;br/&gt;
achieved using a security protocol which we have designed. From a&lt;br/&gt;
top-level perspective, the protocol works the following way:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;• The client receives all user credentials (password, OTPs,&lt;br/&gt;
token output etc.) and combines these values with entropy (random&lt;br/&gt;
values) to form a symmetric key.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;• The server (more precisely, the security kernel) attempts to&lt;br/&gt;
form the same symmetric key from the knowledge it has and from&lt;br/&gt;
publicly exchanged nonces.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;• Once the keys have been established, the client sends&lt;br/&gt;
encrypted commands to the server and receives encrypted responses&lt;br/&gt;
back from the server. If either party fails to decrypt a message,&lt;br/&gt;
the communication is terminated. The key for a given connection is&lt;br/&gt;
represented by the state of the Pseudo Random Function. Whenever&lt;br/&gt;
the user authenticates himself using some credential (e.g. an OTP)&lt;br/&gt;
this state is updated using a so-called pre-session key derived&lt;br/&gt;
from the credential (in other words the effective key length is&lt;br/&gt;
augmented using these credentials).&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;A convenient way to provide such signature services for the web&lt;br/&gt;
application provider is to develop an application using a thin&lt;br/&gt;
client in order to fulfil the common zero-footprint requirement&lt;br/&gt;
mentioned above. In practice, this is made available as a Java&lt;br/&gt;
applet running in a web browser. This applet can of course be&lt;br/&gt;
customized to follow a given workflow with interactive features&lt;br/&gt;
such as What You See Is What You Sign (WYSIWYS) functionality.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;To summarize, I will present the key advantages of deploying&lt;br/&gt;
such a method which, as presented in the introduction, leverages&lt;br/&gt;
the benefits of PKI and 2FA.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;• Convenience: Because a mere 2FA token and a connected terminal&lt;br/&gt;
are the sole requirements for the end-user. The burden of PKI&lt;br/&gt;
deployments (middleware installation, lifecycle management, etc.)&lt;br/&gt;
remains transparent for the customer and is managed centrally. The&lt;br/&gt;
application provider can customize his workflow and application&lt;br/&gt;
taking advantage of the authentication and signing services&lt;br/&gt;
provided by the trust provider.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;• Security: Thanks to the secure protocol, the fact that the key&lt;br/&gt;
storage is protected in a tamper evident environment and the strict&lt;br/&gt;
administration procedures enforced at trust providers site(s), it&lt;br/&gt;
is possible to reach a SSCD level and provide Qualified Electronic&lt;br/&gt;
Signature (QES) services to key owners.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;• Cost-efficiency: No other solution available on the market&lt;br/&gt;
offers such a combination of value added authentication and signing&lt;br/&gt;
services directly usable in B2C environments. The total cost per&lt;br/&gt;
user remains way below legacy SSCD devices.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;As of January 1st 2009, Cryptomathic has been granted a European&lt;br/&gt;
Patent (EP 1455503) for this method implemented in the Cryptomathic&lt;br/&gt;
Signer product.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Previously published in Cryptomathic NewsOnInk,&lt;br/&gt;
2009&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
</content:encoded></item><item><title>3rd Party TSM Management of SIM Cards</title><link>http://cryptomathic.com/news-events/blog/3rd-party-tsm-management-of-sim-cards</link><pubDate>Mon, 12 Sep 2011 16:45:22 GMT</pubDate><guid>http://cryptomathic.com/news-events/blog/3rd-party-tsm-management-of-sim-cards</guid><image><url>http://cryptomathic.com//media/37926/tsm.png</url><link>http://cryptomathic.com</link></image><description><![CDATA[ 
                     <img src="http://cryptomathic.com/media/37926/tsm.png" width="550" height="350" alt="blog">
                     ]]>
&lt;br/&gt;
&lt;p&gt;Trusted Service Manager (TSM) is a relatively new role required
&lt;br/&gt;
in a mobile Near Field Communication (NFC) ecosystem. The core
&lt;br/&gt;
services a Trusted Service Manager offers, are the secure
&lt;br/&gt;
management and provisioning of the applications issued by service
&lt;br/&gt;
providers, such as banks, transport / ticketing authorities,
&lt;br/&gt;
merchants, or other application issuers. Provisioning performed
&lt;br/&gt;
over the air (OTA) includes, for example, the download,
&lt;br/&gt;
installation, personalization and life-cycle management of the
&lt;br/&gt;
applications to the secure element of the Near Field Communication
&lt;br/&gt;
(NFC)-enabled mobile phone. The SIM as a portable, secure and
&lt;br/&gt;
already existing smart card component will be the obvious secure
&lt;br/&gt;
element form factor for mobile phones. However, the Trusted Service
&lt;br/&gt;
Manager can support additional secure element form factors as
&lt;br/&gt;
well.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Since the first SIM supported NFC-enabled mobile phones entered
&lt;br/&gt;
the market during 2009-10, the management of the third party
&lt;br/&gt;
applications on the SIM cards needed to be planned and agreed
&lt;br/&gt;
between the different parties. The GlobalPlatform's Card
&lt;br/&gt;
Specification version 2.2 gives a good framework for this, but as
&lt;br/&gt;
the specification includes several options, the preferred ones need
&lt;br/&gt;
to be chosen and details agreed between:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;ul&gt;
&lt;br/&gt;
&lt;li&gt;The Mobile Network Operator (MNO), the issuer of the SIM
&lt;br/&gt;
card,&lt;/li&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;li&gt;The Service Provider (SP) such as bank or transport operator
&lt;br/&gt;
issuing the applications, and&lt;/li&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;li&gt;The Trusted Service Manager (TSM), who provides services for
&lt;br/&gt;
both the Mobile Network Operator and Service Provider.&lt;/li&gt;
&lt;br/&gt;
&lt;/ul&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Integration of the Mobile Network Operator (MNO) and Trusted
&lt;br/&gt;
Service Manager (TSM) Systems&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Since the SIM card is always issued by the MNO, certain
&lt;br/&gt;
integration work needs to be executed between the MNO and TSM
&lt;br/&gt;
systems and processes. There are various technical alternatives for
&lt;br/&gt;
constructing the interfaces between MNO platforms and third party
&lt;br/&gt;
TSM platforms in order to ensure a flawless and secure
&lt;br/&gt;
communication.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;This article presents two aspects in interface design:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;1) The interface between the TSM platform and MNO SIM OTA
&lt;br/&gt;
platform for over the air communications, and&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;2) Other interfaces required for a Near Field Communications
&lt;br/&gt;
ecosystem.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Such other interfaces include a "Security Domain Management"
&lt;br/&gt;
interface, i.e. an interface to enable the TSM to request so called
&lt;br/&gt;
token signing 3rd party TSM management of SIM card services from
&lt;br/&gt;
the MNO. The token signing service can be implemented as an online
&lt;br/&gt;
or offline service per NFC application and therefore the selected
&lt;br/&gt;
mode has an impact on the corresponding interface.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Security Domain Hierarchy&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Security Domains (SD) are used for the management of Service
&lt;br/&gt;
Provider applications on a SIM card issued by the MNO. Security
&lt;br/&gt;
Domains can be established and managed in alternative ways and
&lt;br/&gt;
within different hierarchy models. Different Security Domain
&lt;br/&gt;
hierarchy models are presented in this article, and it should be
&lt;br/&gt;
noted that all models are applicable but the final selection of the
&lt;br/&gt;
model to be deployed must be made through joint discussion and
&lt;br/&gt;
planning between the MNO, Service Provider (SP) and TSM.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;Security Domain Option 1&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The first option for a Security Domain hierarchy is to have a
&lt;br/&gt;
dedicated Security Domain (SD) for the TSM usage - a TSD (Trusted
&lt;br/&gt;
Service Manager Security Domain). The TSD is associated to an
&lt;br/&gt;
Issuer Security Domain (ISD), which is managed by the issuer of the
&lt;br/&gt;
secure element, the MNO. If the Trusted Service Manager Security
&lt;br/&gt;
Domain is used, each Service Provider application is installed and
&lt;br/&gt;
personalized in a dedicated SPSD (Service Provider Security
&lt;br/&gt;
Domain), Properties and privileges of the TSD define the TSM's
&lt;br/&gt;
capabilities on the SIM card.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/39834/tsmcentred1.png" alt="TSM centred550"/&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Security Domain Option 2&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;A second option is that Service Provider Security Domains
&lt;br/&gt;
(SPSDs) are associated directly to an Issuer Security Domain (ISD).
&lt;br/&gt;
Final architecture of the Security Domains and their use needs to
&lt;br/&gt;
be undertaken by the issuer of the secure element (the MNO), in
&lt;br/&gt;
mutual understanding with the SPs issuing their applications to
&lt;br/&gt;
this platform. The TSM should be able to support all the different
&lt;br/&gt;
alternatives. Main options for SD management hierarchy are
&lt;br/&gt;
described below.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;It is important to understand that the underlying business
&lt;br/&gt;
agreements create the foundation for the service provisioning for
&lt;br/&gt;
all the alternatives. Naturally, the SIM cards must also support
&lt;br/&gt;
the chosen features.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Security Domain Option 1 with Delegated Management&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The following&amp;nbsp;figure&amp;nbsp;highlights the interfaces and
&lt;br/&gt;
interactions between the TSM platform (in the picture Venyon
&lt;br/&gt;
Trusted Service Platform) and the MNO platforms for a setup where
&lt;br/&gt;
delegated management is configured for the TSM Security Domain (SD)
&lt;br/&gt;
and where the TSM does not have its own Remote Application
&lt;br/&gt;
Management (RAM) keys needed for creating a direct Bearer
&lt;br/&gt;
Independent Protocol (BIP) channel to the SIM card.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In this setup the TSM always communicates through the MNO SIM
&lt;br/&gt;
platform. Additionally, the MNO needs to sign the tokens enabling
&lt;br/&gt;
the applet download into the TSM SD or alternatively into the
&lt;br/&gt;
Service Provider SD (SPSD), if a TSM SD is not used.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Although the communication goes through the MNO SIM platform and
&lt;br/&gt;
is delegated, the security is fully protected between the TSM
&lt;br/&gt;
platform and TSM SD / SPSD for the download and personalization of
&lt;br/&gt;
SP applets, as well for any life-cycle management services for the
&lt;br/&gt;
applets.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Security Domain Option 1&amp;nbsp;or Option 2 with Authorised
&lt;br/&gt;
Management&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In the authorised management alternative the TSM is capable of
&lt;br/&gt;
content management without specific tokens from the SIM issuer
&lt;br/&gt;
(MNO). In an SD Option 1 scenario the TSM can, for example, create
&lt;br/&gt;
new Security Domains (associated to the TSD) and populate their
&lt;br/&gt;
keys under a secure channel opened with the TSD. For an SD Option 2
&lt;br/&gt;
hierarchy there is no TSD and the SPSD(s) is therefore associated
&lt;br/&gt;
directly with the ISD.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The picture below&amp;nbsp;highlights the interfaces and
&lt;br/&gt;
interactions between the TSM platform (in the picture Venyon
&lt;br/&gt;
Trusted Service Platform) and the MNO platforms for a setup where
&lt;br/&gt;
authorised management is configured for the TSM SD and where the
&lt;br/&gt;
TSM does not have its own RAM keys needed for creating a direct BIP
&lt;br/&gt;
channel to the SIM card. For an SD Option 2 hierarchy there is no
&lt;br/&gt;
TSD and the SPSD(s) is therefore associated directly with the
&lt;br/&gt;
ISD.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/39832/tsm wide.jpg" width="550" height="185" alt="TSM 2right"/&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In this setup the TSM will always communicate through the MNO
&lt;br/&gt;
SIM platform.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Again the security is fully protected between the TSM platform
&lt;br/&gt;
and TSM SD / SPSD for the download and personalization of the
&lt;br/&gt;
Service Provider applets as well for any life cycle management
&lt;br/&gt;
services for the applets, using the MNO SIM platform.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Trusted Service Manager With its Own Remote Application
&lt;br/&gt;
Management (RAM) Keys&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;If the TSM is given the TSM specific RAM keys, it can create a
&lt;br/&gt;
direct BIP channel to the SIM card without routing it through the
&lt;br/&gt;
MNO platform. If the MNO needs to sign the tokens enabling the
&lt;br/&gt;
applet download into the TSM SD / SPSD, it will use the delegated
&lt;br/&gt;
option. If token signing is not required, the authorised model will
&lt;br/&gt;
be used.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In both these models the security is fully protected between the
&lt;br/&gt;
TSM platform and the TSM SD / SPSD for the download and
&lt;br/&gt;
personalization of SP applets as well for any life-cycle management
&lt;br/&gt;
services for the SP applets.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Cooperation and Dialogue Needed Between All Stakeholders&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Technical options are now quite well defined and Mobile
&lt;br/&gt;
Operators and Service Providers can choose the most appropriate
&lt;br/&gt;
ones for their implementation. It is however important to realize
&lt;br/&gt;
that the underlying business agreements create the foundation for
&lt;br/&gt;
the service provisioning for all of these alternatives. Therefore
&lt;br/&gt;
close cooperation is needed to settle the outstanding business and
&lt;br/&gt;
technical issues. By doing so, all stakeholders can build the
&lt;br/&gt;
sustainable long-term mobile contactless business case enabled by
&lt;br/&gt;
NFC.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;a href="/contact/contact-us"&gt;Contact us&lt;/a&gt;&amp;nbsp;for further
&lt;br/&gt;
information.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Originally published in Cryptomathic NewsOnInk,
&lt;br/&gt;
2009&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;
</description><content:encoded><![CDATA[ 
                     <img src="http://chryptomatic.local/media/37926/tsm.png" width="550" height="350" alt="blog"/>
                     ]]>
&lt;br/&gt;
&lt;p&gt;Trusted Service Manager (TSM) is a relatively new role required
&lt;br/&gt;
in a mobile Near Field Communication (NFC) ecosystem. The core
&lt;br/&gt;
services a Trusted Service Manager offers, are the secure
&lt;br/&gt;
management and provisioning of the applications issued by service
&lt;br/&gt;
providers, such as banks, transport / ticketing authorities,
&lt;br/&gt;
merchants, or other application issuers. Provisioning performed
&lt;br/&gt;
over the air (OTA) includes, for example, the download,
&lt;br/&gt;
installation, personalization and life-cycle management of the
&lt;br/&gt;
applications to the secure element of the Near Field Communication
&lt;br/&gt;
(NFC)-enabled mobile phone. The SIM as a portable, secure and
&lt;br/&gt;
already existing smart card component will be the obvious secure
&lt;br/&gt;
element form factor for mobile phones. However, the Trusted Service
&lt;br/&gt;
Manager can support additional secure element form factors as
&lt;br/&gt;
well.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Since the first SIM supported NFC-enabled mobile phones entered
&lt;br/&gt;
the market during 2009-10, the management of the third party
&lt;br/&gt;
applications on the SIM cards needed to be planned and agreed
&lt;br/&gt;
between the different parties. The GlobalPlatform's Card
&lt;br/&gt;
Specification version 2.2 gives a good framework for this, but as
&lt;br/&gt;
the specification includes several options, the preferred ones need
&lt;br/&gt;
to be chosen and details agreed between:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;ul&gt;
&lt;br/&gt;
&lt;li&gt;The Mobile Network Operator (MNO), the issuer of the SIM
&lt;br/&gt;
card,&lt;/li&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;li&gt;The Service Provider (SP) such as bank or transport operator
&lt;br/&gt;
issuing the applications, and&lt;/li&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;li&gt;The Trusted Service Manager (TSM), who provides services for
&lt;br/&gt;
both the Mobile Network Operator and Service Provider.&lt;/li&gt;
&lt;br/&gt;
&lt;/ul&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Integration of the Mobile Network Operator (MNO) and Trusted
&lt;br/&gt;
Service Manager (TSM) Systems&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Since the SIM card is always issued by the MNO, certain
&lt;br/&gt;
integration work needs to be executed between the MNO and TSM
&lt;br/&gt;
systems and processes. There are various technical alternatives for
&lt;br/&gt;
constructing the interfaces between MNO platforms and third party
&lt;br/&gt;
TSM platforms in order to ensure a flawless and secure
&lt;br/&gt;
communication.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;This article presents two aspects in interface design:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;1) The interface between the TSM platform and MNO SIM OTA
&lt;br/&gt;
platform for over the air communications, and&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;2) Other interfaces required for a Near Field Communications
&lt;br/&gt;
ecosystem.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Such other interfaces include a "Security Domain Management"
&lt;br/&gt;
interface, i.e. an interface to enable the TSM to request so called
&lt;br/&gt;
token signing 3rd party TSM management of SIM card services from
&lt;br/&gt;
the MNO. The token signing service can be implemented as an online
&lt;br/&gt;
or offline service per NFC application and therefore the selected
&lt;br/&gt;
mode has an impact on the corresponding interface.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Security Domain Hierarchy&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Security Domains (SD) are used for the management of Service
&lt;br/&gt;
Provider applications on a SIM card issued by the MNO. Security
&lt;br/&gt;
Domains can be established and managed in alternative ways and
&lt;br/&gt;
within different hierarchy models. Different Security Domain
&lt;br/&gt;
hierarchy models are presented in this article, and it should be
&lt;br/&gt;
noted that all models are applicable but the final selection of the
&lt;br/&gt;
model to be deployed must be made through joint discussion and
&lt;br/&gt;
planning between the MNO, Service Provider (SP) and TSM.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;Security Domain Option 1&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The first option for a Security Domain hierarchy is to have a
&lt;br/&gt;
dedicated Security Domain (SD) for the TSM usage - a TSD (Trusted
&lt;br/&gt;
Service Manager Security Domain). The TSD is associated to an
&lt;br/&gt;
Issuer Security Domain (ISD), which is managed by the issuer of the
&lt;br/&gt;
secure element, the MNO. If the Trusted Service Manager Security
&lt;br/&gt;
Domain is used, each Service Provider application is installed and
&lt;br/&gt;
personalized in a dedicated SPSD (Service Provider Security
&lt;br/&gt;
Domain), Properties and privileges of the TSD define the TSM's
&lt;br/&gt;
capabilities on the SIM card.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/39834/tsmcentred1.png" alt="TSM centred550"/&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Security Domain Option 2&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;A second option is that Service Provider Security Domains
&lt;br/&gt;
(SPSDs) are associated directly to an Issuer Security Domain (ISD).
&lt;br/&gt;
Final architecture of the Security Domains and their use needs to
&lt;br/&gt;
be undertaken by the issuer of the secure element (the MNO), in
&lt;br/&gt;
mutual understanding with the SPs issuing their applications to
&lt;br/&gt;
this platform. The TSM should be able to support all the different
&lt;br/&gt;
alternatives. Main options for SD management hierarchy are
&lt;br/&gt;
described below.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;It is important to understand that the underlying business
&lt;br/&gt;
agreements create the foundation for the service provisioning for
&lt;br/&gt;
all the alternatives. Naturally, the SIM cards must also support
&lt;br/&gt;
the chosen features.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Security Domain Option 1 with Delegated Management&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The following&amp;nbsp;figure&amp;nbsp;highlights the interfaces and
&lt;br/&gt;
interactions between the TSM platform (in the picture Venyon
&lt;br/&gt;
Trusted Service Platform) and the MNO platforms for a setup where
&lt;br/&gt;
delegated management is configured for the TSM Security Domain (SD)
&lt;br/&gt;
and where the TSM does not have its own Remote Application
&lt;br/&gt;
Management (RAM) keys needed for creating a direct Bearer
&lt;br/&gt;
Independent Protocol (BIP) channel to the SIM card.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In this setup the TSM always communicates through the MNO SIM
&lt;br/&gt;
platform. Additionally, the MNO needs to sign the tokens enabling
&lt;br/&gt;
the applet download into the TSM SD or alternatively into the
&lt;br/&gt;
Service Provider SD (SPSD), if a TSM SD is not used.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Although the communication goes through the MNO SIM platform and
&lt;br/&gt;
is delegated, the security is fully protected between the TSM
&lt;br/&gt;
platform and TSM SD / SPSD for the download and personalization of
&lt;br/&gt;
SP applets, as well for any life-cycle management services for the
&lt;br/&gt;
applets.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Security Domain Option 1&amp;nbsp;or Option 2 with Authorised
&lt;br/&gt;
Management&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In the authorised management alternative the TSM is capable of
&lt;br/&gt;
content management without specific tokens from the SIM issuer
&lt;br/&gt;
(MNO). In an SD Option 1 scenario the TSM can, for example, create
&lt;br/&gt;
new Security Domains (associated to the TSD) and populate their
&lt;br/&gt;
keys under a secure channel opened with the TSD. For an SD Option 2
&lt;br/&gt;
hierarchy there is no TSD and the SPSD(s) is therefore associated
&lt;br/&gt;
directly with the ISD.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The picture below&amp;nbsp;highlights the interfaces and
&lt;br/&gt;
interactions between the TSM platform (in the picture Venyon
&lt;br/&gt;
Trusted Service Platform) and the MNO platforms for a setup where
&lt;br/&gt;
authorised management is configured for the TSM SD and where the
&lt;br/&gt;
TSM does not have its own RAM keys needed for creating a direct BIP
&lt;br/&gt;
channel to the SIM card. For an SD Option 2 hierarchy there is no
&lt;br/&gt;
TSD and the SPSD(s) is therefore associated directly with the
&lt;br/&gt;
ISD.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/39832/tsm wide.jpg" width="550" height="185" alt="TSM 2right"/&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In this setup the TSM will always communicate through the MNO
&lt;br/&gt;
SIM platform.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Again the security is fully protected between the TSM platform
&lt;br/&gt;
and TSM SD / SPSD for the download and personalization of the
&lt;br/&gt;
Service Provider applets as well for any life cycle management
&lt;br/&gt;
services for the applets, using the MNO SIM platform.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Trusted Service Manager With its Own Remote Application
&lt;br/&gt;
Management (RAM) Keys&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;If the TSM is given the TSM specific RAM keys, it can create a
&lt;br/&gt;
direct BIP channel to the SIM card without routing it through the
&lt;br/&gt;
MNO platform. If the MNO needs to sign the tokens enabling the
&lt;br/&gt;
applet download into the TSM SD / SPSD, it will use the delegated
&lt;br/&gt;
option. If token signing is not required, the authorised model will
&lt;br/&gt;
be used.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In both these models the security is fully protected between the
&lt;br/&gt;
TSM platform and the TSM SD / SPSD for the download and
&lt;br/&gt;
personalization of SP applets as well for any life-cycle management
&lt;br/&gt;
services for the SP applets.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Cooperation and Dialogue Needed Between All Stakeholders&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Technical options are now quite well defined and Mobile
&lt;br/&gt;
Operators and Service Providers can choose the most appropriate
&lt;br/&gt;
ones for their implementation. It is however important to realize
&lt;br/&gt;
that the underlying business agreements create the foundation for
&lt;br/&gt;
the service provisioning for all of these alternatives. Therefore
&lt;br/&gt;
close cooperation is needed to settle the outstanding business and
&lt;br/&gt;
technical issues. By doing so, all stakeholders can build the
&lt;br/&gt;
sustainable long-term mobile contactless business case enabled by
&lt;br/&gt;
NFC.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;a href="/contact/contact-us"&gt;Contact us&lt;/a&gt;&amp;nbsp;for further
&lt;br/&gt;
information.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Originally published in Cryptomathic NewsOnInk,
&lt;br/&gt;
2009&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;
</content:encoded></item><item><title>Are the Dynamics of Card Fraud Changing?</title><link>http://cryptomathic.com/news-events/blog/are-the-dynamics-of-card-fraud-changing</link><pubDate>Mon, 12 Sep 2011 16:44:42 GMT</pubDate><guid>http://cryptomathic.com/news-events/blog/are-the-dynamics-of-card-fraud-changing</guid><image><url>http://cryptomathic.com//media/37968/cardfraud.png</url><link>http://cryptomathic.com</link></image><description><![CDATA[ 
                     <img src="http://cryptomathic.com/media/37968/cardfraud.png" width="550" height="350" alt="blog">
                     ]]>
&lt;br/&gt;
&lt;p&gt;In 2009, the RBS WorldPay ATM network reportedly lost $9 million
&lt;br/&gt;
to a 30 minute fraud attack across 49 cities, in different
&lt;br/&gt;
countries, using just 100 cloned cards. On the face of it, the $9
&lt;br/&gt;
million dollar yield from the attack is a large enough figure to
&lt;br/&gt;
make headline news, but perhaps not that shocking in this day and
&lt;br/&gt;
age where the total UK card fraud exceeded £500 million in the past
&lt;br/&gt;
year, according to APACS figures. What is possibly more serious in
&lt;br/&gt;
this particular scenario is the method of attack.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;As with all such serious data breaches within large financial
&lt;br/&gt;
organisations, the full details of the attack and how it was
&lt;br/&gt;
perpetrated will probably never be known to a wider audience. What
&lt;br/&gt;
has been reported is that the money was taken in cash from 130
&lt;br/&gt;
different ATMs shortly after midnight EST on the 8th November
&lt;br/&gt;
2008.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Let's have a look at some of these figures: firstly, let's
&lt;br/&gt;
assume that the 100 cards are cloned and each one is used in each
&lt;br/&gt;
of the 49 cities; that gives us 4,900 cards to play with. Reports
&lt;br/&gt;
also indicate that the cards were likely pre-paid cards, as RBS
&lt;br/&gt;
WorldPay had also reported the loss of some 1.5 million pre-paid
&lt;br/&gt;
cardholder details from its payroll business, sometime in November
&lt;br/&gt;
2008 following 'improper access' to its systems.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In order to extract $9M we need to withdraw, on average, over
&lt;br/&gt;
$1836 per cloned card. That's quite a sum of money from an ATM
&lt;br/&gt;
transaction! However, if the pre-paid funds were account-based and
&lt;br/&gt;
not card-based then there were only 100 accounts that were hit to a
&lt;br/&gt;
tune of $90,000 per account. The reports have stated that the
&lt;br/&gt;
attack happened at around midnight. It could therefore be safe to
&lt;br/&gt;
assume that the cards processing platform refreshed the daily
&lt;br/&gt;
withdrawal limit at midnight every night, so the fraudsters could
&lt;br/&gt;
effectively take out two days' worth of funds in the space of only
&lt;br/&gt;
a few minutes. That would in turn mean the fraudsters managed to
&lt;br/&gt;
secure $918 per card or $45,000 per account, per processing
&lt;br/&gt;
day.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;It's not certain whether the pre-paid cards are based on an
&lt;br/&gt;
account-centric or a card-centric funds system but by the figures
&lt;br/&gt;
for the attack the card-based model would seem more realistic.
&lt;br/&gt;
Either way though, the sheer amount of cash withdrawn indicates
&lt;br/&gt;
that the fraudsters managed to somehow raise the daily withdrawal
&lt;br/&gt;
limit on the cards as part of the attack. It is also likely that
&lt;br/&gt;
the processing platform may not reconcile funds in real time as the
&lt;br/&gt;
cards were used so many times within a short period without
&lt;br/&gt;
denial.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Most of this is speculation on what happened based on the
&lt;br/&gt;
reported figures that are in the public space but it's clear that
&lt;br/&gt;
this was no ordinary card cloning attack. This was organised crime
&lt;br/&gt;
at its best, or worst!&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;To initiate such an attack the fraudsters first managed to hack
&lt;br/&gt;
into the RBS WorldPay systems and extract the details of 1.5
&lt;br/&gt;
million users. They then only used 100 accounts so it may be that
&lt;br/&gt;
they knew how to target specific accounts to provide the highest
&lt;br/&gt;
yield, or it may be that their attack could be implemented against
&lt;br/&gt;
any account and they just chose 100 at random. If the latter is
&lt;br/&gt;
true then it's possible the fraudsters knew the breach would be
&lt;br/&gt;
quickly detected and the vulnerability eradicated which is why RBS
&lt;br/&gt;
WorldPay experienced a single large hit and then nothing.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The timing of the attack was not random either. An attack at
&lt;br/&gt;
midnight EST on a number of US cities plus some other cities
&lt;br/&gt;
globally at the same time, would indicate that the fraudsters knew
&lt;br/&gt;
that there would be a specific vulnerability in the system at that
&lt;br/&gt;
time. Of course the timing could have just been to do with quiet
&lt;br/&gt;
periods at the ATM so the attackers were less likely to draw
&lt;br/&gt;
suspicion from passers-by, but the fact that this attack spanned
&lt;br/&gt;
time zones would suggest otherwise.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;What seems very clear is that the masterminds behind the attack
&lt;br/&gt;
were very tech savvy, and more than likely had some inside
&lt;br/&gt;
knowledge of the RBS WorldPay processing platform in order to
&lt;br/&gt;
identify a vulnerability and form a viable attack. This probably
&lt;br/&gt;
came from a former employee of RBS WorldPay who was bought or had a
&lt;br/&gt;
grudge with the organisation.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;They also had the presence of mind to coordinate a large scale
&lt;br/&gt;
attack against the identified vulnerability to maximise yield,
&lt;br/&gt;
rather than performing the attack on small volumes over a long
&lt;br/&gt;
period. A sustained attack would be more likely to be identified
&lt;br/&gt;
and they were more likely to be caught and they knew that.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Of course this is not the first clever organised crime attack
&lt;br/&gt;
and it won't be the last. What it might represent is another step
&lt;br/&gt;
in a growing trend of card crime moving away from the more
&lt;br/&gt;
traditional small-to-medium-sized card cloning attacks of the past.
&lt;br/&gt;
Such attacks are becoming harder to achieve as card technology
&lt;br/&gt;
advances and ever more intelligent neural network-style fraud
&lt;br/&gt;
prevention software is implemented on the back-end processing
&lt;br/&gt;
platform.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;So the question is: Are the dynamics of card fraud changing? Are
&lt;br/&gt;
we seeing a growing trend towards large-scale single occurrence
&lt;br/&gt;
attacks? In reality it's hard to prove one way or the other. What
&lt;br/&gt;
we do know is that the general trend is an annual increase in card
&lt;br/&gt;
fraud. That also comes of course with an annual increase in card
&lt;br/&gt;
usage, but even the general fraud percentage trend is an increasing
&lt;br/&gt;
one. What we cannot tell from the information in the public space
&lt;br/&gt;
right now is how much of the known fraud is from large-scale,
&lt;br/&gt;
single occurrence attacks.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Some of the complexity here comes from how you define a
&lt;br/&gt;
large-scale single attack. The current trend in UK card fraud is
&lt;br/&gt;
for huge increases due to fraud carried out with UK cards overseas
&lt;br/&gt;
and is a direct result of a phased global rollout of the card chip
&lt;br/&gt;
technology - the fraudsters take the UK card and use them abroad
&lt;br/&gt;
where the more modern security features are effectively bypassed.
&lt;br/&gt;
This is certainly a large-scale attack against a single
&lt;br/&gt;
vulnerability but it is not a single instance attack.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Quantifying such attacks will only help us understand the trend,
&lt;br/&gt;
which in turn may help financial institutions decide where best to
&lt;br/&gt;
deploy their countermeasures, and what those countermeasures should
&lt;br/&gt;
be. However, the real concern from large-scale, single occurrence
&lt;br/&gt;
attacks is the mechanism - insider knowledge - and the fact that a
&lt;br/&gt;
single attack is almost impossible to predict and therefore very
&lt;br/&gt;
difficult to safeguard against. The only real protection here is
&lt;br/&gt;
through clearly defined security processes and procedures being
&lt;br/&gt;
implemented in the fundamental design and build of the financial
&lt;br/&gt;
institution's systems.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Previously published in Cryptomathic NewsOnInk,
&lt;br/&gt;
2009&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;
</description><content:encoded><![CDATA[ 
                     <img src="http://chryptomatic.local/media/37968/cardfraud.png" width="550" height="350" alt="blog"/>
                     ]]>
&lt;br/&gt;
&lt;p&gt;In 2009, the RBS WorldPay ATM network reportedly lost $9 million
&lt;br/&gt;
to a 30 minute fraud attack across 49 cities, in different
&lt;br/&gt;
countries, using just 100 cloned cards. On the face of it, the $9
&lt;br/&gt;
million dollar yield from the attack is a large enough figure to
&lt;br/&gt;
make headline news, but perhaps not that shocking in this day and
&lt;br/&gt;
age where the total UK card fraud exceeded £500 million in the past
&lt;br/&gt;
year, according to APACS figures. What is possibly more serious in
&lt;br/&gt;
this particular scenario is the method of attack.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;As with all such serious data breaches within large financial
&lt;br/&gt;
organisations, the full details of the attack and how it was
&lt;br/&gt;
perpetrated will probably never be known to a wider audience. What
&lt;br/&gt;
has been reported is that the money was taken in cash from 130
&lt;br/&gt;
different ATMs shortly after midnight EST on the 8th November
&lt;br/&gt;
2008.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Let's have a look at some of these figures: firstly, let's
&lt;br/&gt;
assume that the 100 cards are cloned and each one is used in each
&lt;br/&gt;
of the 49 cities; that gives us 4,900 cards to play with. Reports
&lt;br/&gt;
also indicate that the cards were likely pre-paid cards, as RBS
&lt;br/&gt;
WorldPay had also reported the loss of some 1.5 million pre-paid
&lt;br/&gt;
cardholder details from its payroll business, sometime in November
&lt;br/&gt;
2008 following 'improper access' to its systems.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In order to extract $9M we need to withdraw, on average, over
&lt;br/&gt;
$1836 per cloned card. That's quite a sum of money from an ATM
&lt;br/&gt;
transaction! However, if the pre-paid funds were account-based and
&lt;br/&gt;
not card-based then there were only 100 accounts that were hit to a
&lt;br/&gt;
tune of $90,000 per account. The reports have stated that the
&lt;br/&gt;
attack happened at around midnight. It could therefore be safe to
&lt;br/&gt;
assume that the cards processing platform refreshed the daily
&lt;br/&gt;
withdrawal limit at midnight every night, so the fraudsters could
&lt;br/&gt;
effectively take out two days' worth of funds in the space of only
&lt;br/&gt;
a few minutes. That would in turn mean the fraudsters managed to
&lt;br/&gt;
secure $918 per card or $45,000 per account, per processing
&lt;br/&gt;
day.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;It's not certain whether the pre-paid cards are based on an
&lt;br/&gt;
account-centric or a card-centric funds system but by the figures
&lt;br/&gt;
for the attack the card-based model would seem more realistic.
&lt;br/&gt;
Either way though, the sheer amount of cash withdrawn indicates
&lt;br/&gt;
that the fraudsters managed to somehow raise the daily withdrawal
&lt;br/&gt;
limit on the cards as part of the attack. It is also likely that
&lt;br/&gt;
the processing platform may not reconcile funds in real time as the
&lt;br/&gt;
cards were used so many times within a short period without
&lt;br/&gt;
denial.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Most of this is speculation on what happened based on the
&lt;br/&gt;
reported figures that are in the public space but it's clear that
&lt;br/&gt;
this was no ordinary card cloning attack. This was organised crime
&lt;br/&gt;
at its best, or worst!&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;To initiate such an attack the fraudsters first managed to hack
&lt;br/&gt;
into the RBS WorldPay systems and extract the details of 1.5
&lt;br/&gt;
million users. They then only used 100 accounts so it may be that
&lt;br/&gt;
they knew how to target specific accounts to provide the highest
&lt;br/&gt;
yield, or it may be that their attack could be implemented against
&lt;br/&gt;
any account and they just chose 100 at random. If the latter is
&lt;br/&gt;
true then it's possible the fraudsters knew the breach would be
&lt;br/&gt;
quickly detected and the vulnerability eradicated which is why RBS
&lt;br/&gt;
WorldPay experienced a single large hit and then nothing.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The timing of the attack was not random either. An attack at
&lt;br/&gt;
midnight EST on a number of US cities plus some other cities
&lt;br/&gt;
globally at the same time, would indicate that the fraudsters knew
&lt;br/&gt;
that there would be a specific vulnerability in the system at that
&lt;br/&gt;
time. Of course the timing could have just been to do with quiet
&lt;br/&gt;
periods at the ATM so the attackers were less likely to draw
&lt;br/&gt;
suspicion from passers-by, but the fact that this attack spanned
&lt;br/&gt;
time zones would suggest otherwise.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;What seems very clear is that the masterminds behind the attack
&lt;br/&gt;
were very tech savvy, and more than likely had some inside
&lt;br/&gt;
knowledge of the RBS WorldPay processing platform in order to
&lt;br/&gt;
identify a vulnerability and form a viable attack. This probably
&lt;br/&gt;
came from a former employee of RBS WorldPay who was bought or had a
&lt;br/&gt;
grudge with the organisation.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;They also had the presence of mind to coordinate a large scale
&lt;br/&gt;
attack against the identified vulnerability to maximise yield,
&lt;br/&gt;
rather than performing the attack on small volumes over a long
&lt;br/&gt;
period. A sustained attack would be more likely to be identified
&lt;br/&gt;
and they were more likely to be caught and they knew that.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Of course this is not the first clever organised crime attack
&lt;br/&gt;
and it won't be the last. What it might represent is another step
&lt;br/&gt;
in a growing trend of card crime moving away from the more
&lt;br/&gt;
traditional small-to-medium-sized card cloning attacks of the past.
&lt;br/&gt;
Such attacks are becoming harder to achieve as card technology
&lt;br/&gt;
advances and ever more intelligent neural network-style fraud
&lt;br/&gt;
prevention software is implemented on the back-end processing
&lt;br/&gt;
platform.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;So the question is: Are the dynamics of card fraud changing? Are
&lt;br/&gt;
we seeing a growing trend towards large-scale single occurrence
&lt;br/&gt;
attacks? In reality it's hard to prove one way or the other. What
&lt;br/&gt;
we do know is that the general trend is an annual increase in card
&lt;br/&gt;
fraud. That also comes of course with an annual increase in card
&lt;br/&gt;
usage, but even the general fraud percentage trend is an increasing
&lt;br/&gt;
one. What we cannot tell from the information in the public space
&lt;br/&gt;
right now is how much of the known fraud is from large-scale,
&lt;br/&gt;
single occurrence attacks.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Some of the complexity here comes from how you define a
&lt;br/&gt;
large-scale single attack. The current trend in UK card fraud is
&lt;br/&gt;
for huge increases due to fraud carried out with UK cards overseas
&lt;br/&gt;
and is a direct result of a phased global rollout of the card chip
&lt;br/&gt;
technology - the fraudsters take the UK card and use them abroad
&lt;br/&gt;
where the more modern security features are effectively bypassed.
&lt;br/&gt;
This is certainly a large-scale attack against a single
&lt;br/&gt;
vulnerability but it is not a single instance attack.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Quantifying such attacks will only help us understand the trend,
&lt;br/&gt;
which in turn may help financial institutions decide where best to
&lt;br/&gt;
deploy their countermeasures, and what those countermeasures should
&lt;br/&gt;
be. However, the real concern from large-scale, single occurrence
&lt;br/&gt;
attacks is the mechanism - insider knowledge - and the fact that a
&lt;br/&gt;
single attack is almost impossible to predict and therefore very
&lt;br/&gt;
difficult to safeguard against. The only real protection here is
&lt;br/&gt;
through clearly defined security processes and procedures being
&lt;br/&gt;
implemented in the fundamental design and build of the financial
&lt;br/&gt;
institution's systems.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Previously published in Cryptomathic NewsOnInk,
&lt;br/&gt;
2009&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;
</content:encoded></item><item><title>GlobalPlatform Key Managment System</title><link>http://cryptomathic.com/news-events/blog/globalplatform-key-managment-system</link><pubDate>Mon, 12 Sep 2011 16:43:56 GMT</pubDate><guid>http://cryptomathic.com/news-events/blog/globalplatform-key-managment-system</guid><description>
&lt;br/&gt;
&lt;p&gt;This article provides an overview of GlobalPlatform (GP) Key
&lt;br/&gt;
Management and includes a proposed architecture for an efficient GP
&lt;br/&gt;
Key Management System (KMS) based on the Cryptomathic Key
&lt;br/&gt;
Management System (CKMS). This article is not intended to cover all
&lt;br/&gt;
possible uses of GlobalPlatform, but is meant to provide an
&lt;br/&gt;
overview of how it may well be used in an environment where the
&lt;br/&gt;
chip is personalized centrally, after which it is delivered to the
&lt;br/&gt;
end-user and subsequently updated with new applications from
&lt;br/&gt;
various parties, called &lt;em&gt;Application Providers.&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Example&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Throughout this article, the following example may serve as a
&lt;br/&gt;
guideline: Consider a mobile &lt;em&gt;Network Operator&lt;/em&gt; who supplies
&lt;br/&gt;
their customers with hand-sets containing a GP chip including
&lt;br/&gt;
appropriate, standardized interfaces such as e.g. some of the many
&lt;br/&gt;
GP Secure Channel Protocols. Part of the business model in this
&lt;br/&gt;
example is to allow application providers and customers to agree on
&lt;br/&gt;
a peer-to-peer basis for services based on authorizing the
&lt;br/&gt;
Application Provider to issue and install an application for the
&lt;br/&gt;
customer using a protected application space allocated by the
&lt;br/&gt;
Network Operator. It may be useful to think of two or more
&lt;br/&gt;
applications, e.g.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;1) a contactless payment application (e.g. EMV-based)&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;2) a 2FA token application (e.g. OATH-based)&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Additionally, it would be common for the Network Operator to
&lt;br/&gt;
install their own applications for all users, say an application
&lt;br/&gt;
which allows the customer to purchase and install ring-tones:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;3) Ring-tone application (e.g. DRM-based)&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;We note that the above applications are likely to use a number
&lt;br/&gt;
of application specific keys which are outside the scope of the
&lt;br/&gt;
so-called GP Card KMS, but rather within the so-called Application
&lt;br/&gt;
KMS. The remainder of this article will focus on keys managed using
&lt;br/&gt;
the GP Card KMS, although the Cryptomathic Key Management System
&lt;br/&gt;
supports both.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;GP Domains and GP Card KMS Keys&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;A practical way of implementing the above example using
&lt;br/&gt;
GlobalPlatform would be for the Network Operator to operate a GP
&lt;br/&gt;
KMS that they would use to personalize the chip.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;Step 1: Issuer Security Domain&lt;/strong&gt; In receiving the
&lt;br/&gt;
handset from the manufacturer along with the ISK (Initial Supplier
&lt;br/&gt;
Key), the chip could be personalized with one single security
&lt;br/&gt;
domain - the so-called &lt;em&gt;Issuer&lt;/em&gt; &lt;em&gt;Security Domain&lt;/em&gt;
&lt;br/&gt;
(ISD) using the keys derived from the Initial Issuer Master Key
&lt;br/&gt;
(KMC). Under this domain, the Ring-tone application would be
&lt;br/&gt;
personalized and uploaded using the keys derived from the KMD
&lt;br/&gt;
(Initial Application Provider Master Key). Next, a CMK (Issuer
&lt;br/&gt;
Master Key) would be installed, effectively locking the ISD into a
&lt;br/&gt;
state where the Ring-tone application could be used and new
&lt;br/&gt;
&lt;em&gt;Supplementary Security Domains&lt;/em&gt; (SSD) initialized later.
&lt;br/&gt;
Following hand-out to the end-user, the end-user would be able to
&lt;br/&gt;
agree with a Payment Scheme Issuer (i.e. a bank) on a contactless
&lt;br/&gt;
application, as in our example above, who would then act as an
&lt;br/&gt;
&lt;em&gt;Application Provider&lt;/em&gt;. Caution: be careful not to confuse
&lt;br/&gt;
with the GP term for Issuer used previously! See Figure 1 for a
&lt;br/&gt;
logical representation of the security domains under GP: the blue
&lt;br/&gt;
arrows depict which keys are used to control a given part of the GP
&lt;br/&gt;
chip environment.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;Step 2: Supplemental Security Domain(s)&lt;/strong&gt; The
&lt;br/&gt;
bank makes a request to the Network Operator to create a
&lt;br/&gt;
Supplemental Security Domain (SSD), which the Network Operator does
&lt;br/&gt;
using commands protected by the keys derived from the CMK. In
&lt;br/&gt;
setting up the security domain, the Network Operator would load a
&lt;br/&gt;
new KMD (Initial Application Provider Master Key) or AMK
&lt;br/&gt;
(Application Provider Master Key), subject to the
&lt;br/&gt;
implementation.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Next, the Network Operator derives the keys necessary for the
&lt;br/&gt;
secure channel, e.g. ADKDEK, ADKENC and ADKMAC (used by the bank
&lt;br/&gt;
for 1. encrypting application keys, 2. application load commands
&lt;br/&gt;
and 3. MAC'ing of commands, respectively) and passes these three
&lt;br/&gt;
derived keys to the bank (if not transferring the AMK itself) using
&lt;br/&gt;
a secure channel agreed in advance between the two parties, as well
&lt;br/&gt;
as transferring them securely to the chip and also optionally
&lt;br/&gt;
inserting the DAP (Data Authentication Pattern) key of the bank,
&lt;br/&gt;
i.e. a public key which can subsequently be used to verify that the
&lt;br/&gt;
bank has signed the code intended to run on the chip. Now the bank
&lt;br/&gt;
is ready to post-personalize the chip with the contactless payment
&lt;br/&gt;
application based on the AMK key derivates.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Repeat Step 2 for any other application providers, e.g. that of
&lt;br/&gt;
the 2FA application.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/40110/kms1.jpg" alt="KMS1"/&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;Figure 1: The GP chip divided into security
&lt;br/&gt;
domains&lt;/strong&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;CKMS as a GP&amp;nbsp;KMS&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The Cryptomathic Key Management System can be used as both a GP
&lt;br/&gt;
&lt;em&gt;Card&lt;/em&gt; KMS and a GP &lt;em&gt;Application&lt;/em&gt; KMS.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;GP KMS&lt;/strong&gt; In our example above, the &lt;em&gt;Network
&lt;br/&gt;
Operator&lt;/em&gt; would operate the main GP &lt;em&gt;Card&lt;/em&gt; KMS managing
&lt;br/&gt;
the ISK received from the Integrated Circuit manufacturer as well
&lt;br/&gt;
as any KMC, KMD, CMK and AMK keys. The &lt;em&gt;Application
&lt;br/&gt;
Provider&lt;/em&gt; would operate a combined GP &lt;em&gt;Card&lt;/em&gt; KMS and GP
&lt;br/&gt;
&lt;em&gt;Application&lt;/em&gt; KMS - the prior for deriving or using the ADK
&lt;br/&gt;
keys associated with the allocated SSD on the chip and the latter
&lt;br/&gt;
for managing the contactless payment application, i.e. the EMV
&lt;br/&gt;
Issuer Master Keys, the EMV Issuer Certificate, etc.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;Encoding Using ADKs&lt;/strong&gt; In simple scenarios, the
&lt;br/&gt;
Application Provider might not wish to operate an entire Key
&lt;br/&gt;
Management System, but would rather be interested in a module that
&lt;br/&gt;
could be used to encode the APDU (Application Protocol Data Unit)
&lt;br/&gt;
sets associated with the application in question and prepare the
&lt;br/&gt;
load code using the SSD specific ADKs and optionally the DAP.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Final Observations and Recommendations&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;DAP&lt;/strong&gt; Under GlobalPlatform, the DAP is envisaged
&lt;br/&gt;
to be either a symmetric key or an asymmetric key pair of which the
&lt;br/&gt;
public key is loaded into the SSD and the private key kept secret
&lt;br/&gt;
for signing the application code by the Application Provider. The
&lt;br/&gt;
use of the DAP is optional. If used, we recommend using the form
&lt;br/&gt;
described in the GlobalPlatform Card Specifications 2.2, i.e. the
&lt;br/&gt;
form under which the DAP is suggested, simplified into two
&lt;br/&gt;
scenarios - that a &lt;em&gt;hash&lt;/em&gt; is applied to the Load File Data
&lt;br/&gt;
Block for ensuring integrity of the data and that a
&lt;br/&gt;
&lt;em&gt;signature&lt;/em&gt; is applied to the hash for authenticity of the
&lt;br/&gt;
origin.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;HSMs&lt;/strong&gt; In either scenario we recommend using HSMs
&lt;br/&gt;
(Hardware Security Modules) for managing and using keys and we note
&lt;br/&gt;
that for a number of applications, the use of specially programmed
&lt;br/&gt;
HSMs is a firm requirement.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;Unique AMKs&lt;/strong&gt; We recommend using unique AMKs per
&lt;br/&gt;
card and per SSD to avoid the risk of applications being loaded
&lt;br/&gt;
onto any unintended system.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;Secure Operations&lt;/strong&gt; Finally, we recommend that
&lt;br/&gt;
any GP Card KMS operated by the GP Issuer (in our example, the
&lt;br/&gt;
Network Operator) or the Application Provider (the bank, in our
&lt;br/&gt;
example) to be operated in a secure and controlled environment with
&lt;br/&gt;
system users' roles and responsibilities well defined and enforced
&lt;br/&gt;
using hardware tokens such as operator chip cards.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/40112/kms2.jpg" alt="KMS2"/&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;Figure 2: GP Card Keys Used in the GP Chip Lifecycle
&lt;br/&gt;
Stages (excl. EOL)&lt;/strong&gt;&lt;/p&gt;
&lt;br/&gt;
</description><content:encoded>
&lt;br/&gt;
&lt;p&gt;This article provides an overview of GlobalPlatform (GP) Key
&lt;br/&gt;
Management and includes a proposed architecture for an efficient GP
&lt;br/&gt;
Key Management System (KMS) based on the Cryptomathic Key
&lt;br/&gt;
Management System (CKMS). This article is not intended to cover all
&lt;br/&gt;
possible uses of GlobalPlatform, but is meant to provide an
&lt;br/&gt;
overview of how it may well be used in an environment where the
&lt;br/&gt;
chip is personalized centrally, after which it is delivered to the
&lt;br/&gt;
end-user and subsequently updated with new applications from
&lt;br/&gt;
various parties, called &lt;em&gt;Application Providers.&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Example&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Throughout this article, the following example may serve as a
&lt;br/&gt;
guideline: Consider a mobile &lt;em&gt;Network Operator&lt;/em&gt; who supplies
&lt;br/&gt;
their customers with hand-sets containing a GP chip including
&lt;br/&gt;
appropriate, standardized interfaces such as e.g. some of the many
&lt;br/&gt;
GP Secure Channel Protocols. Part of the business model in this
&lt;br/&gt;
example is to allow application providers and customers to agree on
&lt;br/&gt;
a peer-to-peer basis for services based on authorizing the
&lt;br/&gt;
Application Provider to issue and install an application for the
&lt;br/&gt;
customer using a protected application space allocated by the
&lt;br/&gt;
Network Operator. It may be useful to think of two or more
&lt;br/&gt;
applications, e.g.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;1) a contactless payment application (e.g. EMV-based)&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;2) a 2FA token application (e.g. OATH-based)&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Additionally, it would be common for the Network Operator to
&lt;br/&gt;
install their own applications for all users, say an application
&lt;br/&gt;
which allows the customer to purchase and install ring-tones:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;3) Ring-tone application (e.g. DRM-based)&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;We note that the above applications are likely to use a number
&lt;br/&gt;
of application specific keys which are outside the scope of the
&lt;br/&gt;
so-called GP Card KMS, but rather within the so-called Application
&lt;br/&gt;
KMS. The remainder of this article will focus on keys managed using
&lt;br/&gt;
the GP Card KMS, although the Cryptomathic Key Management System
&lt;br/&gt;
supports both.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;GP Domains and GP Card KMS Keys&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;A practical way of implementing the above example using
&lt;br/&gt;
GlobalPlatform would be for the Network Operator to operate a GP
&lt;br/&gt;
KMS that they would use to personalize the chip.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;Step 1: Issuer Security Domain&lt;/strong&gt; In receiving the
&lt;br/&gt;
handset from the manufacturer along with the ISK (Initial Supplier
&lt;br/&gt;
Key), the chip could be personalized with one single security
&lt;br/&gt;
domain - the so-called &lt;em&gt;Issuer&lt;/em&gt; &lt;em&gt;Security Domain&lt;/em&gt;
&lt;br/&gt;
(ISD) using the keys derived from the Initial Issuer Master Key
&lt;br/&gt;
(KMC). Under this domain, the Ring-tone application would be
&lt;br/&gt;
personalized and uploaded using the keys derived from the KMD
&lt;br/&gt;
(Initial Application Provider Master Key). Next, a CMK (Issuer
&lt;br/&gt;
Master Key) would be installed, effectively locking the ISD into a
&lt;br/&gt;
state where the Ring-tone application could be used and new
&lt;br/&gt;
&lt;em&gt;Supplementary Security Domains&lt;/em&gt; (SSD) initialized later.
&lt;br/&gt;
Following hand-out to the end-user, the end-user would be able to
&lt;br/&gt;
agree with a Payment Scheme Issuer (i.e. a bank) on a contactless
&lt;br/&gt;
application, as in our example above, who would then act as an
&lt;br/&gt;
&lt;em&gt;Application Provider&lt;/em&gt;. Caution: be careful not to confuse
&lt;br/&gt;
with the GP term for Issuer used previously! See Figure 1 for a
&lt;br/&gt;
logical representation of the security domains under GP: the blue
&lt;br/&gt;
arrows depict which keys are used to control a given part of the GP
&lt;br/&gt;
chip environment.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;Step 2: Supplemental Security Domain(s)&lt;/strong&gt; The
&lt;br/&gt;
bank makes a request to the Network Operator to create a
&lt;br/&gt;
Supplemental Security Domain (SSD), which the Network Operator does
&lt;br/&gt;
using commands protected by the keys derived from the CMK. In
&lt;br/&gt;
setting up the security domain, the Network Operator would load a
&lt;br/&gt;
new KMD (Initial Application Provider Master Key) or AMK
&lt;br/&gt;
(Application Provider Master Key), subject to the
&lt;br/&gt;
implementation.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Next, the Network Operator derives the keys necessary for the
&lt;br/&gt;
secure channel, e.g. ADKDEK, ADKENC and ADKMAC (used by the bank
&lt;br/&gt;
for 1. encrypting application keys, 2. application load commands
&lt;br/&gt;
and 3. MAC'ing of commands, respectively) and passes these three
&lt;br/&gt;
derived keys to the bank (if not transferring the AMK itself) using
&lt;br/&gt;
a secure channel agreed in advance between the two parties, as well
&lt;br/&gt;
as transferring them securely to the chip and also optionally
&lt;br/&gt;
inserting the DAP (Data Authentication Pattern) key of the bank,
&lt;br/&gt;
i.e. a public key which can subsequently be used to verify that the
&lt;br/&gt;
bank has signed the code intended to run on the chip. Now the bank
&lt;br/&gt;
is ready to post-personalize the chip with the contactless payment
&lt;br/&gt;
application based on the AMK key derivates.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Repeat Step 2 for any other application providers, e.g. that of
&lt;br/&gt;
the 2FA application.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/40110/kms1.jpg" alt="KMS1"/&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;Figure 1: The GP chip divided into security
&lt;br/&gt;
domains&lt;/strong&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;CKMS as a GP&amp;nbsp;KMS&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The Cryptomathic Key Management System can be used as both a GP
&lt;br/&gt;
&lt;em&gt;Card&lt;/em&gt; KMS and a GP &lt;em&gt;Application&lt;/em&gt; KMS.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;GP KMS&lt;/strong&gt; In our example above, the &lt;em&gt;Network
&lt;br/&gt;
Operator&lt;/em&gt; would operate the main GP &lt;em&gt;Card&lt;/em&gt; KMS managing
&lt;br/&gt;
the ISK received from the Integrated Circuit manufacturer as well
&lt;br/&gt;
as any KMC, KMD, CMK and AMK keys. The &lt;em&gt;Application
&lt;br/&gt;
Provider&lt;/em&gt; would operate a combined GP &lt;em&gt;Card&lt;/em&gt; KMS and GP
&lt;br/&gt;
&lt;em&gt;Application&lt;/em&gt; KMS - the prior for deriving or using the ADK
&lt;br/&gt;
keys associated with the allocated SSD on the chip and the latter
&lt;br/&gt;
for managing the contactless payment application, i.e. the EMV
&lt;br/&gt;
Issuer Master Keys, the EMV Issuer Certificate, etc.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;Encoding Using ADKs&lt;/strong&gt; In simple scenarios, the
&lt;br/&gt;
Application Provider might not wish to operate an entire Key
&lt;br/&gt;
Management System, but would rather be interested in a module that
&lt;br/&gt;
could be used to encode the APDU (Application Protocol Data Unit)
&lt;br/&gt;
sets associated with the application in question and prepare the
&lt;br/&gt;
load code using the SSD specific ADKs and optionally the DAP.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Final Observations and Recommendations&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;DAP&lt;/strong&gt; Under GlobalPlatform, the DAP is envisaged
&lt;br/&gt;
to be either a symmetric key or an asymmetric key pair of which the
&lt;br/&gt;
public key is loaded into the SSD and the private key kept secret
&lt;br/&gt;
for signing the application code by the Application Provider. The
&lt;br/&gt;
use of the DAP is optional. If used, we recommend using the form
&lt;br/&gt;
described in the GlobalPlatform Card Specifications 2.2, i.e. the
&lt;br/&gt;
form under which the DAP is suggested, simplified into two
&lt;br/&gt;
scenarios - that a &lt;em&gt;hash&lt;/em&gt; is applied to the Load File Data
&lt;br/&gt;
Block for ensuring integrity of the data and that a
&lt;br/&gt;
&lt;em&gt;signature&lt;/em&gt; is applied to the hash for authenticity of the
&lt;br/&gt;
origin.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;HSMs&lt;/strong&gt; In either scenario we recommend using HSMs
&lt;br/&gt;
(Hardware Security Modules) for managing and using keys and we note
&lt;br/&gt;
that for a number of applications, the use of specially programmed
&lt;br/&gt;
HSMs is a firm requirement.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;Unique AMKs&lt;/strong&gt; We recommend using unique AMKs per
&lt;br/&gt;
card and per SSD to avoid the risk of applications being loaded
&lt;br/&gt;
onto any unintended system.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;Secure Operations&lt;/strong&gt; Finally, we recommend that
&lt;br/&gt;
any GP Card KMS operated by the GP Issuer (in our example, the
&lt;br/&gt;
Network Operator) or the Application Provider (the bank, in our
&lt;br/&gt;
example) to be operated in a secure and controlled environment with
&lt;br/&gt;
system users' roles and responsibilities well defined and enforced
&lt;br/&gt;
using hardware tokens such as operator chip cards.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/40112/kms2.jpg" alt="KMS2"/&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;Figure 2: GP Card Keys Used in the GP Chip Lifecycle
&lt;br/&gt;
Stages (excl. EOL)&lt;/strong&gt;&lt;/p&gt;
&lt;br/&gt;
</content:encoded></item><item><title>The Need for Speed</title><link>http://cryptomathic.com/news-events/blog/the-need-for-speed</link><pubDate>Mon, 12 Sep 2011 16:43:48 GMT</pubDate><guid>http://cryptomathic.com/news-events/blog/the-need-for-speed</guid><image><url>http://cryptomathic.com//media/39340/needforspeedtop.png</url><link>http://cryptomathic.com</link></image><description><![CDATA[ 
                     <img src="http://cryptomathic.com/media/39340/needforspeedtop.png" width="550" height="350" alt="blog">
                     ]]>
&lt;br/&gt;
&lt;p&gt;Ever since the EU mandated the introduction of biometric
&lt;br/&gt;
ePassports containing fingerprints there has been a flurry of
&lt;br/&gt;
technology development and innovation to make biometric ePassports
&lt;br/&gt;
a reality. Much of this played out behind the scenes, but now
&lt;br/&gt;
electronic passports are slowly working their way towards the
&lt;br/&gt;
forefront of the public consciousness since they are sufficiently
&lt;br/&gt;
widespread for researchers and journalists to play with. There have
&lt;br/&gt;
already been a number of security scare stories where the gap
&lt;br/&gt;
between the public's perception of passport security and the
&lt;br/&gt;
reality of the protection is abruptly and rudely closed. It came as
&lt;br/&gt;
a surprise to many that the first generation electronic chips
&lt;br/&gt;
generally do not resist identical duplication, and there have been
&lt;br/&gt;
concerns over eavesdropping and ePassport anonymity. These issues
&lt;br/&gt;
have put ePassports on the media radar.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;However, now there is an even stronger driver for public
&lt;br/&gt;
interest in ePassports, beyond mere curiosity, because the regular
&lt;br/&gt;
electronic inspection of ePassports at border control is getting
&lt;br/&gt;
underway in earnest. This change has maybe been too long in the
&lt;br/&gt;
making, and phased deployment has drawn the process out even
&lt;br/&gt;
further (fingers have already been burnt over deployment of part
&lt;br/&gt;
inspection, where the chip is read, but the certificate which
&lt;br/&gt;
proves the data is intact is not verified).&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;From now the performance of ePassports will have a more direct
&lt;br/&gt;
and tangible effect on travellers, because governments realise that
&lt;br/&gt;
they cannot claim return on investment for ePassport technology if
&lt;br/&gt;
the chips are not actually being regularly used. Without return on
&lt;br/&gt;
investment it is hard to justify passing on the additional cost of
&lt;br/&gt;
the ePassport to citizens in application fees. So will ePassport
&lt;br/&gt;
speed travellers through border control bypassing the queues? Will
&lt;br/&gt;
everyone be able to use e-Gates without enrolment in the future?
&lt;br/&gt;
Will people be led away for questioning when their ePassport won't
&lt;br/&gt;
read? Or will the queues get longer?&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Unfortunately where we currently stand, the answers to these
&lt;br/&gt;
questions are not positive. The necessary drive to full inspection
&lt;br/&gt;
of ePassports needs to be backed up with the same innovation and
&lt;br/&gt;
new technology that accompanied the issuance process. At the heart
&lt;br/&gt;
of the matter is the rather lengthy duration of a full biometric
&lt;br/&gt;
inspection. The machine readable zone (MRZ) on the passport must be
&lt;br/&gt;
scanned and pushed through OCR, the chip must be read, data
&lt;br/&gt;
verified, certificates checked. To extract fingerprint biometrics
&lt;br/&gt;
each inspection system must submit a certificate chain to prove
&lt;br/&gt;
entitlement; the actual ePassport data must be read out, the
&lt;br/&gt;
traveller's fingers must be scanned, and finally everything must be
&lt;br/&gt;
matched up. It is a formidable process, and border control agencies
&lt;br/&gt;
are starting to realise that it is just not feasible to perform
&lt;br/&gt;
such inspections unless the time required can be reduced - there is
&lt;br/&gt;
a very real "need for speed".&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Biometric ePassport inspection is such an involved process that
&lt;br/&gt;
one technology alone is unlikely to be enough to drive down
&lt;br/&gt;
inspection times to acceptable levels. Proposed solutions include
&lt;br/&gt;
even greater numbers of e-Gates at border control, newer and faster
&lt;br/&gt;
chips, to reduce cryptography time and communications overheads,
&lt;br/&gt;
and new protocol improvements. Cryptomathic has developed a unique
&lt;br/&gt;
technology in this area designed to work in conjunction with other
&lt;br/&gt;
speed-up measures in order to rein in the inspection time.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;High Speed Inspection&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Cryptomathic's High Speed Inspection technology exploits the
&lt;br/&gt;
middle ground between a fully distributed and a fully centralised
&lt;br/&gt;
scheme: to implement local caching of data that has been read from
&lt;br/&gt;
identity documents, on local, national or even international level.
&lt;br/&gt;
Such a system could retrieve biometric data from an encrypted cache
&lt;br/&gt;
forming part of the inspection infrastructure at a port of entry.
&lt;br/&gt;
Reading from such a cache would allow a document to be read almost
&lt;br/&gt;
instantaneously; however the challenge comes in implementing such a
&lt;br/&gt;
cache in a secure manner such that the confidentiality, integrity
&lt;br/&gt;
and anonymity of personal data is preserved. There is a solution,
&lt;br/&gt;
however: it is possible to create an encrypted cache of biometric
&lt;br/&gt;
data where each entry can only be accessed in the presence of the
&lt;br/&gt;
original identity document from which it was sourced.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Consider the example of an ICAO-compliant EU electronic
&lt;br/&gt;
passport, which contains sixteen different data groups of
&lt;br/&gt;
biometric, biographical and additional information, such as iris
&lt;br/&gt;
and signature data. Any and all of these data groups could be
&lt;br/&gt;
cached with this mechanism. In particular, look at the two large
&lt;br/&gt;
biometric data groups to be stored on EU Extended Access Control
&lt;br/&gt;
(EAC) compliant ePassports:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Data Group 2 (DG2) - Facial Information&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Data Group 3 (DG3) - Fingerprint Information&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Before these large data groups are read from an ePassport, the
&lt;br/&gt;
"Document Security Object" (SOD) is first read, a sort of "summary
&lt;br/&gt;
file" which contains a digital signature and protects the integrity
&lt;br/&gt;
of the information stored on the ePassport. As the summary file
&lt;br/&gt;
contains high entropy unpredictable data, a key derivation function
&lt;br/&gt;
can be applied to this data to generate a secure key for encrypting
&lt;br/&gt;
data from the passport. Such a key could only be recreated in
&lt;br/&gt;
possession of the summary file. Sources of entropy within the SOD
&lt;br/&gt;
include, the hashes of biometric data groups, hashes of
&lt;br/&gt;
cryptographic data groups (AA or EAC public keys), the digital
&lt;br/&gt;
signature itself and timestamps.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;There are many possible key derivation functions drawn from this
&lt;br/&gt;
high entropy data, which can easily provide enough entropy to
&lt;br/&gt;
derive a strong cryptographic key, but let us use a simple concrete
&lt;br/&gt;
example: to use the hash value for each data group to create a
&lt;br/&gt;
cryptographic key to encrypt the data group bulk data, and to
&lt;br/&gt;
create a pseudonym for locating the cache data in order to prevent
&lt;br/&gt;
the cache from containing personally identifiable information.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;&lt;img src="http://cryptomathic.com/media/39338/needforspeedtext.png" alt="Needforspeedtext"/&gt;&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;Figure 1: ePassport Encrypted Cache&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Consider the derivation mechanism shown in Figure 1. To securely
&lt;br/&gt;
store DG2, its hash is divided in half. The first half is used as a
&lt;br/&gt;
key to a (noncryptographic) hash table in order to store the data
&lt;br/&gt;
group. The data group is then encrypted using standard
&lt;br/&gt;
best-practice cryptographic techniques: salting and encryption
&lt;br/&gt;
under a cryptographic key derived from the second half of the hash.
&lt;br/&gt;
Example rows in a cache table would contain the following lookup
&lt;br/&gt;
key and data:&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;left(hash(DG2)) encrypt( right(hash(DG2)) , salt||DG2
&lt;br/&gt;
)&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In this way, only in possession of the real ePassport (whose
&lt;br/&gt;
Document Security Object contains the hashes of the data groups)
&lt;br/&gt;
can one calculate the key and decrypt the data group. It is
&lt;br/&gt;
infeasible to predict the value of this hash of a biometric data
&lt;br/&gt;
group, even knowing the identity of the citizen from which the data
&lt;br/&gt;
groups have been made (this is because JPG and WSQ images are
&lt;br/&gt;
highly redundant encodings from a semantic perspective, so contain
&lt;br/&gt;
a lot of unpredictable data).&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;When is Stored Data Not Stored?&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;To deploy an encrypted cache scheme successfully it is vital to
&lt;br/&gt;
be able to convince cryptography experts, lawyers, journalists and
&lt;br/&gt;
citizens alike that the information is safely held. This is a
&lt;br/&gt;
challenge hard to meet, and one that has to be tackled head on by
&lt;br/&gt;
the implementers of the EAC protocols being deployed by the EU for
&lt;br/&gt;
distributed fingerprint storage. But fortunately the security of a
&lt;br/&gt;
distributed system is easy for the layperson to grasp - if I have
&lt;br/&gt;
the document in my hand, I have the data, I can inspect it. If I do
&lt;br/&gt;
not have the document, I can't. In the case of the encrypted cache,
&lt;br/&gt;
the core compliance goal is to show that it is not creating a
&lt;br/&gt;
central store of data, and that really the security lies with the
&lt;br/&gt;
distributed system just as it has always done. Even with the cache
&lt;br/&gt;
in place, if I don't have the document in my hand, I can do
&lt;br/&gt;
absolutely nothing.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The "encrypt and destroy" technique used to enter data into the
&lt;br/&gt;
cache can be as strong as anybody would want: it relies only on the
&lt;br/&gt;
security of the cryptographic algorithm, and the act of destruction
&lt;br/&gt;
of the key in the inspection system.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Trustworthy algorithms such as 3DES and AES have the seal of
&lt;br/&gt;
approval of national security and intelligence experts as well as
&lt;br/&gt;
standing up to years of open and academic scrutiny. Destruction of
&lt;br/&gt;
the key is in fact an easier task than destruction of the biometric
&lt;br/&gt;
data temporarily held on an inspection system during the matching
&lt;br/&gt;
process (where the reference image is compared against the
&lt;br/&gt;
candidate image from the traveller), as the smaller the amount of
&lt;br/&gt;
data, the easier and the quicker it is to destroy. This is why the
&lt;br/&gt;
very most sensitive data in the world - cryptographic keys used by
&lt;br/&gt;
banking authorisation systems, customer PINs, the root keys of
&lt;br/&gt;
certificate authorities, and even the arming codes for nuclear
&lt;br/&gt;
weapons all lie under protection of Hardware Security Modules
&lt;br/&gt;
(HSMs) which are subject to evaluation by NIST and Common Criteria
&lt;br/&gt;
to demonstrate their security. The world's most secure FIPS 140-2
&lt;br/&gt;
Level 4 evaluated module, the IBM4758 (and its 4764 successor) uses
&lt;br/&gt;
the "encrypt and destroy" technique to protect its data. All stored
&lt;br/&gt;
data in the devices non-volatile memory and RAM is held encrypted
&lt;br/&gt;
with an internal master key stored in battery-backed RAM. If any
&lt;br/&gt;
tampering event is sensed (evidence of an attacker trying to
&lt;br/&gt;
physically penetrate the device and extract data), it need only
&lt;br/&gt;
destroy this one key to render the entire remainder of the device
&lt;br/&gt;
useless. The only technique that could be considered more
&lt;br/&gt;
trustworthy is to use a shaped explosive charge to vaporise the
&lt;br/&gt;
storage chip's content upon sensing of a tamper event. Even though
&lt;br/&gt;
these explosions are very small, such technology is unwieldy, and
&lt;br/&gt;
is the preserve of military equipment at particular risk of
&lt;br/&gt;
battlefield capture, such as crypto ignition keys in battlefield
&lt;br/&gt;
radios. Of course an explosive destruction technology can only be
&lt;br/&gt;
used once (whereas biometric data has to be deleted after every
&lt;br/&gt;
inspection).&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The High Speed Inspection technology developed by Cryptomathic
&lt;br/&gt;
is patent pending and incorporated into the ID Inspector product
&lt;br/&gt;
range of inspection systems and software development kits. It is
&lt;br/&gt;
also available as a technology for third party licensing.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Previously published in Cryptomathic NewsOnInk,
&lt;br/&gt;
2008&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;
</description><content:encoded><![CDATA[ 
                     <img src="http://chryptomatic.local/media/39340/needforspeedtop.png" width="550" height="350" alt="blog"/>
                     ]]>
&lt;br/&gt;
&lt;p&gt;Ever since the EU mandated the introduction of biometric
&lt;br/&gt;
ePassports containing fingerprints there has been a flurry of
&lt;br/&gt;
technology development and innovation to make biometric ePassports
&lt;br/&gt;
a reality. Much of this played out behind the scenes, but now
&lt;br/&gt;
electronic passports are slowly working their way towards the
&lt;br/&gt;
forefront of the public consciousness since they are sufficiently
&lt;br/&gt;
widespread for researchers and journalists to play with. There have
&lt;br/&gt;
already been a number of security scare stories where the gap
&lt;br/&gt;
between the public's perception of passport security and the
&lt;br/&gt;
reality of the protection is abruptly and rudely closed. It came as
&lt;br/&gt;
a surprise to many that the first generation electronic chips
&lt;br/&gt;
generally do not resist identical duplication, and there have been
&lt;br/&gt;
concerns over eavesdropping and ePassport anonymity. These issues
&lt;br/&gt;
have put ePassports on the media radar.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;However, now there is an even stronger driver for public
&lt;br/&gt;
interest in ePassports, beyond mere curiosity, because the regular
&lt;br/&gt;
electronic inspection of ePassports at border control is getting
&lt;br/&gt;
underway in earnest. This change has maybe been too long in the
&lt;br/&gt;
making, and phased deployment has drawn the process out even
&lt;br/&gt;
further (fingers have already been burnt over deployment of part
&lt;br/&gt;
inspection, where the chip is read, but the certificate which
&lt;br/&gt;
proves the data is intact is not verified).&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;From now the performance of ePassports will have a more direct
&lt;br/&gt;
and tangible effect on travellers, because governments realise that
&lt;br/&gt;
they cannot claim return on investment for ePassport technology if
&lt;br/&gt;
the chips are not actually being regularly used. Without return on
&lt;br/&gt;
investment it is hard to justify passing on the additional cost of
&lt;br/&gt;
the ePassport to citizens in application fees. So will ePassport
&lt;br/&gt;
speed travellers through border control bypassing the queues? Will
&lt;br/&gt;
everyone be able to use e-Gates without enrolment in the future?
&lt;br/&gt;
Will people be led away for questioning when their ePassport won't
&lt;br/&gt;
read? Or will the queues get longer?&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Unfortunately where we currently stand, the answers to these
&lt;br/&gt;
questions are not positive. The necessary drive to full inspection
&lt;br/&gt;
of ePassports needs to be backed up with the same innovation and
&lt;br/&gt;
new technology that accompanied the issuance process. At the heart
&lt;br/&gt;
of the matter is the rather lengthy duration of a full biometric
&lt;br/&gt;
inspection. The machine readable zone (MRZ) on the passport must be
&lt;br/&gt;
scanned and pushed through OCR, the chip must be read, data
&lt;br/&gt;
verified, certificates checked. To extract fingerprint biometrics
&lt;br/&gt;
each inspection system must submit a certificate chain to prove
&lt;br/&gt;
entitlement; the actual ePassport data must be read out, the
&lt;br/&gt;
traveller's fingers must be scanned, and finally everything must be
&lt;br/&gt;
matched up. It is a formidable process, and border control agencies
&lt;br/&gt;
are starting to realise that it is just not feasible to perform
&lt;br/&gt;
such inspections unless the time required can be reduced - there is
&lt;br/&gt;
a very real "need for speed".&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Biometric ePassport inspection is such an involved process that
&lt;br/&gt;
one technology alone is unlikely to be enough to drive down
&lt;br/&gt;
inspection times to acceptable levels. Proposed solutions include
&lt;br/&gt;
even greater numbers of e-Gates at border control, newer and faster
&lt;br/&gt;
chips, to reduce cryptography time and communications overheads,
&lt;br/&gt;
and new protocol improvements. Cryptomathic has developed a unique
&lt;br/&gt;
technology in this area designed to work in conjunction with other
&lt;br/&gt;
speed-up measures in order to rein in the inspection time.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;High Speed Inspection&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Cryptomathic's High Speed Inspection technology exploits the
&lt;br/&gt;
middle ground between a fully distributed and a fully centralised
&lt;br/&gt;
scheme: to implement local caching of data that has been read from
&lt;br/&gt;
identity documents, on local, national or even international level.
&lt;br/&gt;
Such a system could retrieve biometric data from an encrypted cache
&lt;br/&gt;
forming part of the inspection infrastructure at a port of entry.
&lt;br/&gt;
Reading from such a cache would allow a document to be read almost
&lt;br/&gt;
instantaneously; however the challenge comes in implementing such a
&lt;br/&gt;
cache in a secure manner such that the confidentiality, integrity
&lt;br/&gt;
and anonymity of personal data is preserved. There is a solution,
&lt;br/&gt;
however: it is possible to create an encrypted cache of biometric
&lt;br/&gt;
data where each entry can only be accessed in the presence of the
&lt;br/&gt;
original identity document from which it was sourced.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Consider the example of an ICAO-compliant EU electronic
&lt;br/&gt;
passport, which contains sixteen different data groups of
&lt;br/&gt;
biometric, biographical and additional information, such as iris
&lt;br/&gt;
and signature data. Any and all of these data groups could be
&lt;br/&gt;
cached with this mechanism. In particular, look at the two large
&lt;br/&gt;
biometric data groups to be stored on EU Extended Access Control
&lt;br/&gt;
(EAC) compliant ePassports:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Data Group 2 (DG2) - Facial Information&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Data Group 3 (DG3) - Fingerprint Information&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Before these large data groups are read from an ePassport, the
&lt;br/&gt;
"Document Security Object" (SOD) is first read, a sort of "summary
&lt;br/&gt;
file" which contains a digital signature and protects the integrity
&lt;br/&gt;
of the information stored on the ePassport. As the summary file
&lt;br/&gt;
contains high entropy unpredictable data, a key derivation function
&lt;br/&gt;
can be applied to this data to generate a secure key for encrypting
&lt;br/&gt;
data from the passport. Such a key could only be recreated in
&lt;br/&gt;
possession of the summary file. Sources of entropy within the SOD
&lt;br/&gt;
include, the hashes of biometric data groups, hashes of
&lt;br/&gt;
cryptographic data groups (AA or EAC public keys), the digital
&lt;br/&gt;
signature itself and timestamps.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;There are many possible key derivation functions drawn from this
&lt;br/&gt;
high entropy data, which can easily provide enough entropy to
&lt;br/&gt;
derive a strong cryptographic key, but let us use a simple concrete
&lt;br/&gt;
example: to use the hash value for each data group to create a
&lt;br/&gt;
cryptographic key to encrypt the data group bulk data, and to
&lt;br/&gt;
create a pseudonym for locating the cache data in order to prevent
&lt;br/&gt;
the cache from containing personally identifiable information.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;&lt;img src="http://cryptomathic.com/media/39338/needforspeedtext.png" alt="Needforspeedtext"/&gt;&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;Figure 1: ePassport Encrypted Cache&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Consider the derivation mechanism shown in Figure 1. To securely
&lt;br/&gt;
store DG2, its hash is divided in half. The first half is used as a
&lt;br/&gt;
key to a (noncryptographic) hash table in order to store the data
&lt;br/&gt;
group. The data group is then encrypted using standard
&lt;br/&gt;
best-practice cryptographic techniques: salting and encryption
&lt;br/&gt;
under a cryptographic key derived from the second half of the hash.
&lt;br/&gt;
Example rows in a cache table would contain the following lookup
&lt;br/&gt;
key and data:&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;left(hash(DG2)) encrypt( right(hash(DG2)) , salt||DG2
&lt;br/&gt;
)&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In this way, only in possession of the real ePassport (whose
&lt;br/&gt;
Document Security Object contains the hashes of the data groups)
&lt;br/&gt;
can one calculate the key and decrypt the data group. It is
&lt;br/&gt;
infeasible to predict the value of this hash of a biometric data
&lt;br/&gt;
group, even knowing the identity of the citizen from which the data
&lt;br/&gt;
groups have been made (this is because JPG and WSQ images are
&lt;br/&gt;
highly redundant encodings from a semantic perspective, so contain
&lt;br/&gt;
a lot of unpredictable data).&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;When is Stored Data Not Stored?&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;To deploy an encrypted cache scheme successfully it is vital to
&lt;br/&gt;
be able to convince cryptography experts, lawyers, journalists and
&lt;br/&gt;
citizens alike that the information is safely held. This is a
&lt;br/&gt;
challenge hard to meet, and one that has to be tackled head on by
&lt;br/&gt;
the implementers of the EAC protocols being deployed by the EU for
&lt;br/&gt;
distributed fingerprint storage. But fortunately the security of a
&lt;br/&gt;
distributed system is easy for the layperson to grasp - if I have
&lt;br/&gt;
the document in my hand, I have the data, I can inspect it. If I do
&lt;br/&gt;
not have the document, I can't. In the case of the encrypted cache,
&lt;br/&gt;
the core compliance goal is to show that it is not creating a
&lt;br/&gt;
central store of data, and that really the security lies with the
&lt;br/&gt;
distributed system just as it has always done. Even with the cache
&lt;br/&gt;
in place, if I don't have the document in my hand, I can do
&lt;br/&gt;
absolutely nothing.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The "encrypt and destroy" technique used to enter data into the
&lt;br/&gt;
cache can be as strong as anybody would want: it relies only on the
&lt;br/&gt;
security of the cryptographic algorithm, and the act of destruction
&lt;br/&gt;
of the key in the inspection system.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Trustworthy algorithms such as 3DES and AES have the seal of
&lt;br/&gt;
approval of national security and intelligence experts as well as
&lt;br/&gt;
standing up to years of open and academic scrutiny. Destruction of
&lt;br/&gt;
the key is in fact an easier task than destruction of the biometric
&lt;br/&gt;
data temporarily held on an inspection system during the matching
&lt;br/&gt;
process (where the reference image is compared against the
&lt;br/&gt;
candidate image from the traveller), as the smaller the amount of
&lt;br/&gt;
data, the easier and the quicker it is to destroy. This is why the
&lt;br/&gt;
very most sensitive data in the world - cryptographic keys used by
&lt;br/&gt;
banking authorisation systems, customer PINs, the root keys of
&lt;br/&gt;
certificate authorities, and even the arming codes for nuclear
&lt;br/&gt;
weapons all lie under protection of Hardware Security Modules
&lt;br/&gt;
(HSMs) which are subject to evaluation by NIST and Common Criteria
&lt;br/&gt;
to demonstrate their security. The world's most secure FIPS 140-2
&lt;br/&gt;
Level 4 evaluated module, the IBM4758 (and its 4764 successor) uses
&lt;br/&gt;
the "encrypt and destroy" technique to protect its data. All stored
&lt;br/&gt;
data in the devices non-volatile memory and RAM is held encrypted
&lt;br/&gt;
with an internal master key stored in battery-backed RAM. If any
&lt;br/&gt;
tampering event is sensed (evidence of an attacker trying to
&lt;br/&gt;
physically penetrate the device and extract data), it need only
&lt;br/&gt;
destroy this one key to render the entire remainder of the device
&lt;br/&gt;
useless. The only technique that could be considered more
&lt;br/&gt;
trustworthy is to use a shaped explosive charge to vaporise the
&lt;br/&gt;
storage chip's content upon sensing of a tamper event. Even though
&lt;br/&gt;
these explosions are very small, such technology is unwieldy, and
&lt;br/&gt;
is the preserve of military equipment at particular risk of
&lt;br/&gt;
battlefield capture, such as crypto ignition keys in battlefield
&lt;br/&gt;
radios. Of course an explosive destruction technology can only be
&lt;br/&gt;
used once (whereas biometric data has to be deleted after every
&lt;br/&gt;
inspection).&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The High Speed Inspection technology developed by Cryptomathic
&lt;br/&gt;
is patent pending and incorporated into the ID Inspector product
&lt;br/&gt;
range of inspection systems and software development kits. It is
&lt;br/&gt;
also available as a technology for third party licensing.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Previously published in Cryptomathic NewsOnInk,
&lt;br/&gt;
2008&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;
</content:encoded></item><item><title>The Trusted Platform Module Explained</title><link>http://cryptomathic.com/news-events/blog/the-trusted-platform-module-explained</link><pubDate>Mon, 12 Sep 2011 16:43:14 GMT</pubDate><guid>http://cryptomathic.com/news-events/blog/the-trusted-platform-module-explained</guid><image><url>http://cryptomathic.com//media/38820/tpm.png</url><link>http://cryptomathic.com</link></image><description><![CDATA[ 
                     <img src="http://cryptomathic.com/media/38820/tpm.png" width="550" height="350" alt="blog">
                     ]]>
&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;Introducing the TPM&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;The Trusted Platform Module (TPM) is a special purpose
&lt;br/&gt;
microcontroller designed by the Trusted Computing Group, which
&lt;br/&gt;
interfaces with a standard hardware/software platform in order to
&lt;br/&gt;
allow it to be secured to serve the interests of just one party -
&lt;br/&gt;
the system designer.&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The current generation of TPMs (version 1.2) are stand-alone
&lt;br/&gt;
chips which are usually surface mounted onto the motherboard of a
&lt;br/&gt;
PC, or integrated into a custom PCB for an embedded device. The TPM
&lt;br/&gt;
can monitor and access the main bus of the computer, which allows
&lt;br/&gt;
it to keep track of and report on the configuration state of the
&lt;br/&gt;
entire computer, from the moment of power-on right through -
&lt;br/&gt;
potentially - to the execution of applications on a modern
&lt;br/&gt;
graphical operating system. Monitoring in itself has limited uses,
&lt;br/&gt;
but combined with access control for secrets based on the
&lt;br/&gt;
monitoring of state, all sorts of interesting applications become
&lt;br/&gt;
possible. For example if a PC is booted into a certain trustworthy
&lt;br/&gt;
state where only a fixed set of applications are installed, the
&lt;br/&gt;
monitoring TPM could then grant access to data storage and
&lt;br/&gt;
encryption keys for high security email. Additionally, the TPM can
&lt;br/&gt;
attest to the configuration of the computer to external third
&lt;br/&gt;
parties, be it the owner of a device wishing to remotely manage it,
&lt;br/&gt;
or a device manufacturer leaving a device in the hands of an
&lt;br/&gt;
untrusted third party. Finally, in order to support requirements
&lt;br/&gt;
for availability, and to guard against equipment failure, the TPM
&lt;br/&gt;
includes command infrastructure and protocols for migration of data
&lt;br/&gt;
between trusted devices, and for use of third parties as privacy or
&lt;br/&gt;
migration brokers. At time of creation, data can be designated as
&lt;br/&gt;
either migrateable or non-migrateable, depending upon the
&lt;br/&gt;
protection model required.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In short, the TPM puts tools in the hands of operating system
&lt;br/&gt;
designers to protect themselves from attackers with logical access
&lt;br/&gt;
to low-level parts of the computer (for instance attackers who can
&lt;br/&gt;
swap out a hard drive).&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;A Cost-Effective Architecture&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The TPM architecture and data format has been designed to
&lt;br/&gt;
achieve the desired functionality, whilst always observing and
&lt;br/&gt;
maintaining cost-effectiveness - to keep it suitable for
&lt;br/&gt;
incorporation into millions of computers at little additional cost.
&lt;br/&gt;
For example, consider the cost saving decision to use entirely
&lt;br/&gt;
asymmetric encryption for all data storage, even though a symmetric
&lt;br/&gt;
encryption algorithm such as a block cipher would be better suited.
&lt;br/&gt;
The TPM thus need only contain an RSA modular exponentiation
&lt;br/&gt;
accelerator, and not an implementation of AES or 3DES. Of course,
&lt;br/&gt;
this does not mean that the TPM cannot store such keys - simply
&lt;br/&gt;
that it does not perform cryptography using them. Instead,
&lt;br/&gt;
symmetric keys are sealed to a configuration and released for use
&lt;br/&gt;
to a trustworthy OS configuration. TPM internal data storage
&lt;br/&gt;
formats are thus limited by the maximum size of data that can be
&lt;br/&gt;
encrypted using an RSA operation of a particular key length. But
&lt;br/&gt;
how does the TPM deal with false key injection - as the public half
&lt;br/&gt;
of the storage key will be available to all? The ability to insert
&lt;br/&gt;
false keys may seem irrelevant (after all it cannot gain access to
&lt;br/&gt;
existing storage keys which govern protected content), but is
&lt;br/&gt;
crucial as without it, it would be possible to create a key which
&lt;br/&gt;
is designated as non-migrateable (can never be removed from a
&lt;br/&gt;
specific TPM), and yet with a value known to the attacker. If a
&lt;br/&gt;
content provider were to issue content to be protected under this
&lt;br/&gt;
key, a breach would occur. The TPM solves this problem by
&lt;br/&gt;
maintaining a special random secret - known as "TPM Proof" - which
&lt;br/&gt;
is inserted into every data structure encrypted under the TPM's
&lt;br/&gt;
root storage RSA key, and is checked for a match against the master
&lt;br/&gt;
copy of TPM proof held in a special register. This ensures that
&lt;br/&gt;
false keys cannot be inserted into the key hierarchy: whilst anyone
&lt;br/&gt;
can of course encrypt plaintext under a public key, they do not
&lt;br/&gt;
have access to the clear value of TPM proof. Essentially, the
&lt;br/&gt;
asymmetric crypto system is converted into a symmetric one, with a
&lt;br/&gt;
composite key consisting of the private half of the root storage
&lt;br/&gt;
key and TPM proof.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The TPM does make extensive use of cryptographic hash
&lt;br/&gt;
operations, however, and currently uses the SHA-1 hash algorithm.
&lt;br/&gt;
This hash algorithm is used to "extend" the values in the Platform
&lt;br/&gt;
Configuration Registers (PCRs), to detect and prevent data
&lt;br/&gt;
modification, identify keys, and to create "capabilities" used to
&lt;br/&gt;
improve the efficiency of command chaining. Capabilities are
&lt;br/&gt;
created by hashing particular command parameters together with the
&lt;br/&gt;
secret value TPM Proof in order to create a 160-bit capability
&lt;br/&gt;
string which cannot be forged by an adversary. This is useful in
&lt;br/&gt;
improving the performance of (for example) third-party approved
&lt;br/&gt;
migration, where the third-party produces an authorisation
&lt;br/&gt;
certificate processed by the TPM. The TPM architecture would be
&lt;br/&gt;
complicated by storing additional state between API commands, but
&lt;br/&gt;
on the other hand, requiring the migration certificate to be
&lt;br/&gt;
verified before the migration of every individual key incurs a
&lt;br/&gt;
performance penalty. The use of capabilities based on TPM Proof
&lt;br/&gt;
allows the check to be done once only, and a capability issued,
&lt;br/&gt;
which is much quicker to check at subsequent invocations of migrate
&lt;br/&gt;
commands.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Physical tamper-resistance is another area where the TPM
&lt;br/&gt;
architecture has been thought out carefully. In principle, there is
&lt;br/&gt;
no limit to the security of a system built when cost is not a
&lt;br/&gt;
factor. The question as always is - who is willing to pay for it?
&lt;br/&gt;
For this reason, the TPM is alike most other commercial security
&lt;br/&gt;
measures: it protects against certain attacks, and not others.
&lt;br/&gt;
Specifically, as the TPM was envisaged as a low cost secure
&lt;br/&gt;
microcontroller, one of the most significant compromises has been
&lt;br/&gt;
limited protection against physical attacks. The first generation
&lt;br/&gt;
of TPMs are separate chips, which are physically separable from the
&lt;br/&gt;
devices they are monitoring. Current TPMs are generally surface
&lt;br/&gt;
mounted onto the motherboard, and whilst it is a non-trivial
&lt;br/&gt;
operation for an amateur to de-solder and replace chip components,
&lt;br/&gt;
it has not been designed to resist active physical attacks. For
&lt;br/&gt;
example, selective modification of bus signals to the TPM,
&lt;br/&gt;
simulation of reset and use of dual-ported memory have all been
&lt;br/&gt;
proposed as ways to trick a TPM into erroneously releasing access
&lt;br/&gt;
to cryptographic keys whilst the system is in an unapproved state.
&lt;br/&gt;
That said, the TPM specification does not require it to be a
&lt;br/&gt;
separate chip, and there are plans underway to release specialised
&lt;br/&gt;
hardware with more tightly integrated TPMs.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;But such a trade off is not necessarily a bad choice: hardware
&lt;br/&gt;
attacks are rarely within the threat model when TPM-based systems
&lt;br/&gt;
are deployed. Scenarios such as Digital Rights Management (DRM)
&lt;br/&gt;
exist where the operator of a computer is the attack, but more
&lt;br/&gt;
often it is logical attacks - in particular Trojan Horse and
&lt;br/&gt;
rootkit attacks - where TPM monitoring of Operating System
&lt;br/&gt;
integrity really aims to make a difference. Together with improved
&lt;br/&gt;
operating system design, hardware-assisted state monitoring is an
&lt;br/&gt;
important component of systems to protect the integrity of user
&lt;br/&gt;
input and display; a concept introduced almost 10 years ago as a
&lt;br/&gt;
bi-product of the European ESPRIT project on Electronic Commerce,
&lt;br/&gt;
SEMPER, namely WYSIWYS: What You See Is What You Sign.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The one area where the TPM architecture has gone out on a limb
&lt;br/&gt;
in the trade-off between cost and functionality is in the area of
&lt;br/&gt;
privacy - many sophisticated architectural features and layers of
&lt;br/&gt;
indirection in the design exist purely to enable online services to
&lt;br/&gt;
use TPMs without forcing the compromise of a user's privacy. This
&lt;br/&gt;
operates through a system of pseudonymous identities which can be
&lt;br/&gt;
managed locally and registered with trusted third parties (trusted
&lt;br/&gt;
not to reveal a user's identity), and also via direct anonymous
&lt;br/&gt;
attestation - an implementation of a zero knowledge proving
&lt;br/&gt;
protocol which is designed to allow a TPM to attest to a particular
&lt;br/&gt;
configuration without revealing this identity to anyone. This is an
&lt;br/&gt;
extremely advanced protocol in comparison with other deployed
&lt;br/&gt;
systems, and shows that whilst the TPM is generally aimed at the
&lt;br/&gt;
low-cost market, compromises have not been made in the area of
&lt;br/&gt;
privacy. The only caveat to be considered is that inclusion of
&lt;br/&gt;
advanced architectural features does not necessarily mean that
&lt;br/&gt;
applications and systems will take advantage of these features -
&lt;br/&gt;
ultimately it will depend on whether the final online service
&lt;br/&gt;
provider is economically motivated to protect the user's
&lt;br/&gt;
privacy.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;T&lt;strong&gt;PM Application Space&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Many modern laptops (for example those from Lenovo (IBM) and HP)
&lt;br/&gt;
have Trusted Platform Modules already integrated, however the chip
&lt;br/&gt;
lies dormant by default and must be enabled (usually in the BIOS)
&lt;br/&gt;
before it can begin monitoring. Once activated software such as
&lt;br/&gt;
Microsoft BitLocker disk encryption software - released as part of
&lt;br/&gt;
Windows Vista Business and Ultimate editions - can be configured to
&lt;br/&gt;
use the TPM for secure storage of top-level cryptographic keys.
&lt;br/&gt;
Whilst BitLocker and disk encryption in general can be seen as the
&lt;br/&gt;
flagship deployed application, the more ambitious functionality of
&lt;br/&gt;
the TPM such as remote attestation can only really be leveraged in
&lt;br/&gt;
tandem with a specially designed operating system. Simply put - if
&lt;br/&gt;
the trusted code has bugs, then the remote attestation proves
&lt;br/&gt;
nothing - for it can be compromised after keys have been
&lt;br/&gt;
surrendered to it. Vista may have made a substantial leap ahead for
&lt;br/&gt;
Windows security, but in order to really make sense of remote
&lt;br/&gt;
attestation, an OS more akin to SE Linux is required. Supposing
&lt;br/&gt;
such an OS could be created and a usable work environment for the
&lt;br/&gt;
desktop developed, there would be some interesting benefits. The
&lt;br/&gt;
platform could restrict installation to only approved software so
&lt;br/&gt;
virus and spyware protection would no longer be a challenge. This
&lt;br/&gt;
is a commonly envisaged use case of the TPM - for helping system
&lt;br/&gt;
administrators of IT systems in large corporations keep users
&lt;br/&gt;
workstations locked-down from unauthorised tampering, be it a
&lt;br/&gt;
virus, or a theoretically benign application installed by the user,
&lt;br/&gt;
but which might damage reliability and complicate technical
&lt;br/&gt;
support.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;One of the major deployment areas for the TPM in future may be
&lt;br/&gt;
in monitoring and securing mobile phone embedded computers, as they
&lt;br/&gt;
support more and more advanced services (e.g. GPS mapping, mp3
&lt;br/&gt;
playing, media streaming). Interestingly while the push to secure
&lt;br/&gt;
the low-level software in the platform is undoubtedly aided by the
&lt;br/&gt;
TPM, user programmability and interactivity is not suffering so
&lt;br/&gt;
badly, as such features are migrating to higher and higher software
&lt;br/&gt;
layers, for instance Javascript and interactive web services - all
&lt;br/&gt;
of which will be supported on a modern mobile.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The arrival of the TPM secure microcontroller has largely been
&lt;br/&gt;
due to an open co-operative effort between major IT hardware and
&lt;br/&gt;
software players including Microsoft, Intel, Infineon, IBM and Sun
&lt;br/&gt;
Microsystems, but it is not necessarily large companies such as
&lt;br/&gt;
these who will benefit the most from the TPM (Sony for example
&lt;br/&gt;
already has proprietary secure microcontrollers used in all its
&lt;br/&gt;
products for enforcing security policies) - it is the affordance of
&lt;br/&gt;
this hardware assisted security to smaller companies and even
&lt;br/&gt;
individuals which is most exciting. So there is a bright future
&lt;br/&gt;
ahead both on the desktop and for embedded and ubiquitous
&lt;br/&gt;
computing, which the TPM can play a major role in - whether within
&lt;br/&gt;
or alongside the eternally ubiquitous general purpose computer.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Previously published in Cryptomathic NewsOnInk,
&lt;br/&gt;
2008&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;
</description><content:encoded><![CDATA[ 
                     <img src="http://chryptomatic.local/media/38820/tpm.png" width="550" height="350" alt="blog"/>
                     ]]>
&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;Introducing the TPM&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;The Trusted Platform Module (TPM) is a special purpose
&lt;br/&gt;
microcontroller designed by the Trusted Computing Group, which
&lt;br/&gt;
interfaces with a standard hardware/software platform in order to
&lt;br/&gt;
allow it to be secured to serve the interests of just one party -
&lt;br/&gt;
the system designer.&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The current generation of TPMs (version 1.2) are stand-alone
&lt;br/&gt;
chips which are usually surface mounted onto the motherboard of a
&lt;br/&gt;
PC, or integrated into a custom PCB for an embedded device. The TPM
&lt;br/&gt;
can monitor and access the main bus of the computer, which allows
&lt;br/&gt;
it to keep track of and report on the configuration state of the
&lt;br/&gt;
entire computer, from the moment of power-on right through -
&lt;br/&gt;
potentially - to the execution of applications on a modern
&lt;br/&gt;
graphical operating system. Monitoring in itself has limited uses,
&lt;br/&gt;
but combined with access control for secrets based on the
&lt;br/&gt;
monitoring of state, all sorts of interesting applications become
&lt;br/&gt;
possible. For example if a PC is booted into a certain trustworthy
&lt;br/&gt;
state where only a fixed set of applications are installed, the
&lt;br/&gt;
monitoring TPM could then grant access to data storage and
&lt;br/&gt;
encryption keys for high security email. Additionally, the TPM can
&lt;br/&gt;
attest to the configuration of the computer to external third
&lt;br/&gt;
parties, be it the owner of a device wishing to remotely manage it,
&lt;br/&gt;
or a device manufacturer leaving a device in the hands of an
&lt;br/&gt;
untrusted third party. Finally, in order to support requirements
&lt;br/&gt;
for availability, and to guard against equipment failure, the TPM
&lt;br/&gt;
includes command infrastructure and protocols for migration of data
&lt;br/&gt;
between trusted devices, and for use of third parties as privacy or
&lt;br/&gt;
migration brokers. At time of creation, data can be designated as
&lt;br/&gt;
either migrateable or non-migrateable, depending upon the
&lt;br/&gt;
protection model required.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In short, the TPM puts tools in the hands of operating system
&lt;br/&gt;
designers to protect themselves from attackers with logical access
&lt;br/&gt;
to low-level parts of the computer (for instance attackers who can
&lt;br/&gt;
swap out a hard drive).&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;A Cost-Effective Architecture&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The TPM architecture and data format has been designed to
&lt;br/&gt;
achieve the desired functionality, whilst always observing and
&lt;br/&gt;
maintaining cost-effectiveness - to keep it suitable for
&lt;br/&gt;
incorporation into millions of computers at little additional cost.
&lt;br/&gt;
For example, consider the cost saving decision to use entirely
&lt;br/&gt;
asymmetric encryption for all data storage, even though a symmetric
&lt;br/&gt;
encryption algorithm such as a block cipher would be better suited.
&lt;br/&gt;
The TPM thus need only contain an RSA modular exponentiation
&lt;br/&gt;
accelerator, and not an implementation of AES or 3DES. Of course,
&lt;br/&gt;
this does not mean that the TPM cannot store such keys - simply
&lt;br/&gt;
that it does not perform cryptography using them. Instead,
&lt;br/&gt;
symmetric keys are sealed to a configuration and released for use
&lt;br/&gt;
to a trustworthy OS configuration. TPM internal data storage
&lt;br/&gt;
formats are thus limited by the maximum size of data that can be
&lt;br/&gt;
encrypted using an RSA operation of a particular key length. But
&lt;br/&gt;
how does the TPM deal with false key injection - as the public half
&lt;br/&gt;
of the storage key will be available to all? The ability to insert
&lt;br/&gt;
false keys may seem irrelevant (after all it cannot gain access to
&lt;br/&gt;
existing storage keys which govern protected content), but is
&lt;br/&gt;
crucial as without it, it would be possible to create a key which
&lt;br/&gt;
is designated as non-migrateable (can never be removed from a
&lt;br/&gt;
specific TPM), and yet with a value known to the attacker. If a
&lt;br/&gt;
content provider were to issue content to be protected under this
&lt;br/&gt;
key, a breach would occur. The TPM solves this problem by
&lt;br/&gt;
maintaining a special random secret - known as "TPM Proof" - which
&lt;br/&gt;
is inserted into every data structure encrypted under the TPM's
&lt;br/&gt;
root storage RSA key, and is checked for a match against the master
&lt;br/&gt;
copy of TPM proof held in a special register. This ensures that
&lt;br/&gt;
false keys cannot be inserted into the key hierarchy: whilst anyone
&lt;br/&gt;
can of course encrypt plaintext under a public key, they do not
&lt;br/&gt;
have access to the clear value of TPM proof. Essentially, the
&lt;br/&gt;
asymmetric crypto system is converted into a symmetric one, with a
&lt;br/&gt;
composite key consisting of the private half of the root storage
&lt;br/&gt;
key and TPM proof.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The TPM does make extensive use of cryptographic hash
&lt;br/&gt;
operations, however, and currently uses the SHA-1 hash algorithm.
&lt;br/&gt;
This hash algorithm is used to "extend" the values in the Platform
&lt;br/&gt;
Configuration Registers (PCRs), to detect and prevent data
&lt;br/&gt;
modification, identify keys, and to create "capabilities" used to
&lt;br/&gt;
improve the efficiency of command chaining. Capabilities are
&lt;br/&gt;
created by hashing particular command parameters together with the
&lt;br/&gt;
secret value TPM Proof in order to create a 160-bit capability
&lt;br/&gt;
string which cannot be forged by an adversary. This is useful in
&lt;br/&gt;
improving the performance of (for example) third-party approved
&lt;br/&gt;
migration, where the third-party produces an authorisation
&lt;br/&gt;
certificate processed by the TPM. The TPM architecture would be
&lt;br/&gt;
complicated by storing additional state between API commands, but
&lt;br/&gt;
on the other hand, requiring the migration certificate to be
&lt;br/&gt;
verified before the migration of every individual key incurs a
&lt;br/&gt;
performance penalty. The use of capabilities based on TPM Proof
&lt;br/&gt;
allows the check to be done once only, and a capability issued,
&lt;br/&gt;
which is much quicker to check at subsequent invocations of migrate
&lt;br/&gt;
commands.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Physical tamper-resistance is another area where the TPM
&lt;br/&gt;
architecture has been thought out carefully. In principle, there is
&lt;br/&gt;
no limit to the security of a system built when cost is not a
&lt;br/&gt;
factor. The question as always is - who is willing to pay for it?
&lt;br/&gt;
For this reason, the TPM is alike most other commercial security
&lt;br/&gt;
measures: it protects against certain attacks, and not others.
&lt;br/&gt;
Specifically, as the TPM was envisaged as a low cost secure
&lt;br/&gt;
microcontroller, one of the most significant compromises has been
&lt;br/&gt;
limited protection against physical attacks. The first generation
&lt;br/&gt;
of TPMs are separate chips, which are physically separable from the
&lt;br/&gt;
devices they are monitoring. Current TPMs are generally surface
&lt;br/&gt;
mounted onto the motherboard, and whilst it is a non-trivial
&lt;br/&gt;
operation for an amateur to de-solder and replace chip components,
&lt;br/&gt;
it has not been designed to resist active physical attacks. For
&lt;br/&gt;
example, selective modification of bus signals to the TPM,
&lt;br/&gt;
simulation of reset and use of dual-ported memory have all been
&lt;br/&gt;
proposed as ways to trick a TPM into erroneously releasing access
&lt;br/&gt;
to cryptographic keys whilst the system is in an unapproved state.
&lt;br/&gt;
That said, the TPM specification does not require it to be a
&lt;br/&gt;
separate chip, and there are plans underway to release specialised
&lt;br/&gt;
hardware with more tightly integrated TPMs.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;But such a trade off is not necessarily a bad choice: hardware
&lt;br/&gt;
attacks are rarely within the threat model when TPM-based systems
&lt;br/&gt;
are deployed. Scenarios such as Digital Rights Management (DRM)
&lt;br/&gt;
exist where the operator of a computer is the attack, but more
&lt;br/&gt;
often it is logical attacks - in particular Trojan Horse and
&lt;br/&gt;
rootkit attacks - where TPM monitoring of Operating System
&lt;br/&gt;
integrity really aims to make a difference. Together with improved
&lt;br/&gt;
operating system design, hardware-assisted state monitoring is an
&lt;br/&gt;
important component of systems to protect the integrity of user
&lt;br/&gt;
input and display; a concept introduced almost 10 years ago as a
&lt;br/&gt;
bi-product of the European ESPRIT project on Electronic Commerce,
&lt;br/&gt;
SEMPER, namely WYSIWYS: What You See Is What You Sign.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The one area where the TPM architecture has gone out on a limb
&lt;br/&gt;
in the trade-off between cost and functionality is in the area of
&lt;br/&gt;
privacy - many sophisticated architectural features and layers of
&lt;br/&gt;
indirection in the design exist purely to enable online services to
&lt;br/&gt;
use TPMs without forcing the compromise of a user's privacy. This
&lt;br/&gt;
operates through a system of pseudonymous identities which can be
&lt;br/&gt;
managed locally and registered with trusted third parties (trusted
&lt;br/&gt;
not to reveal a user's identity), and also via direct anonymous
&lt;br/&gt;
attestation - an implementation of a zero knowledge proving
&lt;br/&gt;
protocol which is designed to allow a TPM to attest to a particular
&lt;br/&gt;
configuration without revealing this identity to anyone. This is an
&lt;br/&gt;
extremely advanced protocol in comparison with other deployed
&lt;br/&gt;
systems, and shows that whilst the TPM is generally aimed at the
&lt;br/&gt;
low-cost market, compromises have not been made in the area of
&lt;br/&gt;
privacy. The only caveat to be considered is that inclusion of
&lt;br/&gt;
advanced architectural features does not necessarily mean that
&lt;br/&gt;
applications and systems will take advantage of these features -
&lt;br/&gt;
ultimately it will depend on whether the final online service
&lt;br/&gt;
provider is economically motivated to protect the user's
&lt;br/&gt;
privacy.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;T&lt;strong&gt;PM Application Space&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Many modern laptops (for example those from Lenovo (IBM) and HP)
&lt;br/&gt;
have Trusted Platform Modules already integrated, however the chip
&lt;br/&gt;
lies dormant by default and must be enabled (usually in the BIOS)
&lt;br/&gt;
before it can begin monitoring. Once activated software such as
&lt;br/&gt;
Microsoft BitLocker disk encryption software - released as part of
&lt;br/&gt;
Windows Vista Business and Ultimate editions - can be configured to
&lt;br/&gt;
use the TPM for secure storage of top-level cryptographic keys.
&lt;br/&gt;
Whilst BitLocker and disk encryption in general can be seen as the
&lt;br/&gt;
flagship deployed application, the more ambitious functionality of
&lt;br/&gt;
the TPM such as remote attestation can only really be leveraged in
&lt;br/&gt;
tandem with a specially designed operating system. Simply put - if
&lt;br/&gt;
the trusted code has bugs, then the remote attestation proves
&lt;br/&gt;
nothing - for it can be compromised after keys have been
&lt;br/&gt;
surrendered to it. Vista may have made a substantial leap ahead for
&lt;br/&gt;
Windows security, but in order to really make sense of remote
&lt;br/&gt;
attestation, an OS more akin to SE Linux is required. Supposing
&lt;br/&gt;
such an OS could be created and a usable work environment for the
&lt;br/&gt;
desktop developed, there would be some interesting benefits. The
&lt;br/&gt;
platform could restrict installation to only approved software so
&lt;br/&gt;
virus and spyware protection would no longer be a challenge. This
&lt;br/&gt;
is a commonly envisaged use case of the TPM - for helping system
&lt;br/&gt;
administrators of IT systems in large corporations keep users
&lt;br/&gt;
workstations locked-down from unauthorised tampering, be it a
&lt;br/&gt;
virus, or a theoretically benign application installed by the user,
&lt;br/&gt;
but which might damage reliability and complicate technical
&lt;br/&gt;
support.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;One of the major deployment areas for the TPM in future may be
&lt;br/&gt;
in monitoring and securing mobile phone embedded computers, as they
&lt;br/&gt;
support more and more advanced services (e.g. GPS mapping, mp3
&lt;br/&gt;
playing, media streaming). Interestingly while the push to secure
&lt;br/&gt;
the low-level software in the platform is undoubtedly aided by the
&lt;br/&gt;
TPM, user programmability and interactivity is not suffering so
&lt;br/&gt;
badly, as such features are migrating to higher and higher software
&lt;br/&gt;
layers, for instance Javascript and interactive web services - all
&lt;br/&gt;
of which will be supported on a modern mobile.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The arrival of the TPM secure microcontroller has largely been
&lt;br/&gt;
due to an open co-operative effort between major IT hardware and
&lt;br/&gt;
software players including Microsoft, Intel, Infineon, IBM and Sun
&lt;br/&gt;
Microsystems, but it is not necessarily large companies such as
&lt;br/&gt;
these who will benefit the most from the TPM (Sony for example
&lt;br/&gt;
already has proprietary secure microcontrollers used in all its
&lt;br/&gt;
products for enforcing security policies) - it is the affordance of
&lt;br/&gt;
this hardware assisted security to smaller companies and even
&lt;br/&gt;
individuals which is most exciting. So there is a bright future
&lt;br/&gt;
ahead both on the desktop and for embedded and ubiquitous
&lt;br/&gt;
computing, which the TPM can play a major role in - whether within
&lt;br/&gt;
or alongside the eternally ubiquitous general purpose computer.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Previously published in Cryptomathic NewsOnInk,
&lt;br/&gt;
2008&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;
</content:encoded></item><item><title>Issuing MULTOS Cards</title><link>http://cryptomathic.com/news-events/blog/issuing-multos-cards</link><pubDate>Mon, 12 Sep 2011 16:42:59 GMT</pubDate><guid>http://cryptomathic.com/news-events/blog/issuing-multos-cards</guid><description>
&lt;br/&gt;
&lt;p&gt;MULTOS cards are being deployed in steadily increasing numbers
&lt;br/&gt;
and Cryptomathic is delighted to be involved in MULTOS projects
&lt;br/&gt;
across the globe.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;MULTOS is a high-security card platform and issuing model in
&lt;br/&gt;
which the "personalization" of cards with the cardholders' data is
&lt;br/&gt;
done in one single logical step before reaching the actual
&lt;br/&gt;
personalization machines. This is quite the opposite to the
&lt;br/&gt;
standard method of personalizing native cards where the data is
&lt;br/&gt;
sent to the cards, element by element and thereby increasing a
&lt;br/&gt;
potential exposure of sensitive data.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Cryptomathic supports MULTOS issuing through CardInk - a data
&lt;br/&gt;
preparation system for EMV and magnetic stripe cards - which has
&lt;br/&gt;
recently been expanded with a range of applications supporting the
&lt;br/&gt;
MULTOS platform. We offer, amongst other applications, MasterCard,
&lt;br/&gt;
Visa and SPAN2. SPAN2 is used in the Kingdom of Saudi Arabia on
&lt;br/&gt;
multi application cards that contain a second Visa or MasterCard
&lt;br/&gt;
application for international use.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;Contactless - The New Emerging Technology&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The latest technology advancement within the field of payment
&lt;br/&gt;
cards is the so-called contactless card. With a contactless card
&lt;br/&gt;
one does not have to insert the card into a reader when paying - it
&lt;br/&gt;
is sufficient to place the card within the proximity of the reader,
&lt;br/&gt;
say 10cm, and the transaction will take place "through the air".
&lt;br/&gt;
The purpose of contactless cards is to enable ease and speed of
&lt;br/&gt;
use, particularly for low value transactions. Cryptomathic is in
&lt;br/&gt;
the process of finalising a MULTOS implementation on MasterCard
&lt;br/&gt;
contactless cards (MICA / MACU) with a planned release shortly
&lt;br/&gt;
before Christmas.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;Security in a Complex Environment&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In an attempt to explain the increased interest in MULTOS one
&lt;br/&gt;
could consider the dynamics of card prices, intensified sales and
&lt;br/&gt;
marketing efforts (especially from MasterCard), and the industry
&lt;br/&gt;
recognition of the relatively high level of security involved.
&lt;br/&gt;
MULTOS has traditionally been associated with MasterCard but the
&lt;br/&gt;
model has proven flexible enough to now support other players in
&lt;br/&gt;
the market.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Needless to say the use of such a complex model means added
&lt;br/&gt;
requirements regarding both functionality and security. A lot of
&lt;br/&gt;
players are involved when a bank decides to engage in a MULTOS
&lt;br/&gt;
project, and because the technology is still evolving, constant
&lt;br/&gt;
attention to industry requirements, practices and technology is
&lt;br/&gt;
necessary.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;MULTOS applications are required to integrate with other payment
&lt;br/&gt;
scheme specific software products / instances, and necessitate
&lt;br/&gt;
bit-by-bit precision formatting of the so-called Application Load
&lt;br/&gt;
Units (ALUs) that are used to personalize the cards. This last part
&lt;br/&gt;
is particularly non-trivial as each card type and each application
&lt;br/&gt;
has its own requirements and formats, thus we have made substantial
&lt;br/&gt;
investments to implement the management of this into CardInk.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The security requirements are also more comprehensive than for
&lt;br/&gt;
native card issuing. Examples include the generation and management
&lt;br/&gt;
of more DES and RSA cryptographic keys, securing personal data
&lt;br/&gt;
using both symmetric and asymmetric encryption, and digital
&lt;br/&gt;
signatures. Specialising in commercial cryptography, it has been
&lt;br/&gt;
interesting for us to enter this area and we are happy to admit
&lt;br/&gt;
that we have had to make full use of our skills to accomplish the
&lt;br/&gt;
implementations.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;Image 1: Structure of an Application Load Unit&lt;/em&gt;&lt;br /&gt;
&lt;br/&gt;
&lt;em&gt;Image 2: The KTU-Prime Method&lt;/em&gt;&lt;br /&gt;
&lt;br/&gt;
&lt;em&gt;Image 3: Optimised MULTOS Production Model&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/39176/multos123.png" width="560" height="357" alt="Multos123"/&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;Loading Applications&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The data preparation system receives the actual application that
&lt;br/&gt;
will run on the card from an external supplier; in principle simply
&lt;br/&gt;
a software application that will be loaded and run on the MULTOS
&lt;br/&gt;
card operating system. This application manages the interaction
&lt;br/&gt;
with an ATM or pointof- sale terminal based on data received from
&lt;br/&gt;
the bank host or card management system containing a list of
&lt;br/&gt;
cardholder names, account numbers, spending limits etc. The data
&lt;br/&gt;
preparation system maps the data to specific data addresses. For
&lt;br/&gt;
particularly sensitive data a sequence of encryption keys are
&lt;br/&gt;
generated and used to encrypt the individual data segments. These
&lt;br/&gt;
encryption keys are collected and placed in a Key Transformation
&lt;br/&gt;
Unit (KTU), and further encrypted under yet another key. Lastly the
&lt;br/&gt;
data is signed by a digital signature. Together these combined data
&lt;br/&gt;
components form the Application Load Unit.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;When the ALU is loaded onto the card, the card verifies the
&lt;br/&gt;
digital signature, and decrypts the sensitive data. To accomplish
&lt;br/&gt;
this, the data preparation system and the card must previously have
&lt;br/&gt;
exchanged information about the signature keys / certificates,
&lt;br/&gt;
encryption keys, application layout, and go through key management
&lt;br/&gt;
authorities - just to mention some of the interface points.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In the basic MULTOS scheme the KTU is directly RSA-encrypted
&lt;br/&gt;
using a key specific for each card. Thereby each file produced
&lt;br/&gt;
corresponds to a specific card. In practice however, this has
&lt;br/&gt;
proven unfortunate as some cards do fail during production leading
&lt;br/&gt;
back to a second round of data preparation with a new card ID, new
&lt;br/&gt;
keys etc., all of which can be cumbersome.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;To address this issue MULTOS has introduced an intermediate step
&lt;br/&gt;
model where one generates the data for a generic card and uses only
&lt;br/&gt;
symmetric encryption of the KTU. At production, the card ID is then
&lt;br/&gt;
read from the card and the ALU is re-encrypted to target the
&lt;br/&gt;
specific card Optimized Multos production model with the card's RSA
&lt;br/&gt;
public key. This way a failed card can be immediately replaced.
&lt;br/&gt;
This new method is called the KTU-Prime Method.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;Extended Key Management&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;CardInk contains complete key management functionality for
&lt;br/&gt;
MULTOS, in addition to card issuing. However, for customers with a
&lt;br/&gt;
large amount of cryptographic keys to manage we also offer a
&lt;br/&gt;
specific product, the Cryptomathic Key Management System (CKMS).
&lt;br/&gt;
All the cryptographic keys can be managed in CMKS and be pushed to
&lt;br/&gt;
CardInk to enable separation of operations and avoid key management
&lt;br/&gt;
ceremonies in the production environment.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;MULTOS step/one - A Variant Application&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;An alternative offering within the MULTOS framework is the
&lt;br/&gt;
MULTOS step/one card. The step/one application is structured around
&lt;br/&gt;
the same principles as conventional MULTOS cards, but it excludes
&lt;br/&gt;
RSA cryptography for both the actual payment application and the
&lt;br/&gt;
method of constructing the ALU. The payment application is an SDA
&lt;br/&gt;
(Static Data Authentication) application - the card security is
&lt;br/&gt;
based on a pre-calculated digital signature on the card data, as
&lt;br/&gt;
opposed to a DDA (Dynamic Data Authentication) application where
&lt;br/&gt;
each card has its own RSA key pair. For the ALU construction the
&lt;br/&gt;
digital signature is made using a DES MAC and the contained
&lt;br/&gt;
cryptographic keys are likewise DES encrypted. The advantages of a
&lt;br/&gt;
MULTOS step/one card is its simpler application and implementation,
&lt;br/&gt;
which further results in lower card prices.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Previously published in Cryptomathic NewsOnInk,
&lt;br/&gt;
2007&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;
</description><content:encoded>
&lt;br/&gt;
&lt;p&gt;MULTOS cards are being deployed in steadily increasing numbers
&lt;br/&gt;
and Cryptomathic is delighted to be involved in MULTOS projects
&lt;br/&gt;
across the globe.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;MULTOS is a high-security card platform and issuing model in
&lt;br/&gt;
which the "personalization" of cards with the cardholders' data is
&lt;br/&gt;
done in one single logical step before reaching the actual
&lt;br/&gt;
personalization machines. This is quite the opposite to the
&lt;br/&gt;
standard method of personalizing native cards where the data is
&lt;br/&gt;
sent to the cards, element by element and thereby increasing a
&lt;br/&gt;
potential exposure of sensitive data.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Cryptomathic supports MULTOS issuing through CardInk - a data
&lt;br/&gt;
preparation system for EMV and magnetic stripe cards - which has
&lt;br/&gt;
recently been expanded with a range of applications supporting the
&lt;br/&gt;
MULTOS platform. We offer, amongst other applications, MasterCard,
&lt;br/&gt;
Visa and SPAN2. SPAN2 is used in the Kingdom of Saudi Arabia on
&lt;br/&gt;
multi application cards that contain a second Visa or MasterCard
&lt;br/&gt;
application for international use.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;Contactless - The New Emerging Technology&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The latest technology advancement within the field of payment
&lt;br/&gt;
cards is the so-called contactless card. With a contactless card
&lt;br/&gt;
one does not have to insert the card into a reader when paying - it
&lt;br/&gt;
is sufficient to place the card within the proximity of the reader,
&lt;br/&gt;
say 10cm, and the transaction will take place "through the air".
&lt;br/&gt;
The purpose of contactless cards is to enable ease and speed of
&lt;br/&gt;
use, particularly for low value transactions. Cryptomathic is in
&lt;br/&gt;
the process of finalising a MULTOS implementation on MasterCard
&lt;br/&gt;
contactless cards (MICA / MACU) with a planned release shortly
&lt;br/&gt;
before Christmas.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;Security in a Complex Environment&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In an attempt to explain the increased interest in MULTOS one
&lt;br/&gt;
could consider the dynamics of card prices, intensified sales and
&lt;br/&gt;
marketing efforts (especially from MasterCard), and the industry
&lt;br/&gt;
recognition of the relatively high level of security involved.
&lt;br/&gt;
MULTOS has traditionally been associated with MasterCard but the
&lt;br/&gt;
model has proven flexible enough to now support other players in
&lt;br/&gt;
the market.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Needless to say the use of such a complex model means added
&lt;br/&gt;
requirements regarding both functionality and security. A lot of
&lt;br/&gt;
players are involved when a bank decides to engage in a MULTOS
&lt;br/&gt;
project, and because the technology is still evolving, constant
&lt;br/&gt;
attention to industry requirements, practices and technology is
&lt;br/&gt;
necessary.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;MULTOS applications are required to integrate with other payment
&lt;br/&gt;
scheme specific software products / instances, and necessitate
&lt;br/&gt;
bit-by-bit precision formatting of the so-called Application Load
&lt;br/&gt;
Units (ALUs) that are used to personalize the cards. This last part
&lt;br/&gt;
is particularly non-trivial as each card type and each application
&lt;br/&gt;
has its own requirements and formats, thus we have made substantial
&lt;br/&gt;
investments to implement the management of this into CardInk.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The security requirements are also more comprehensive than for
&lt;br/&gt;
native card issuing. Examples include the generation and management
&lt;br/&gt;
of more DES and RSA cryptographic keys, securing personal data
&lt;br/&gt;
using both symmetric and asymmetric encryption, and digital
&lt;br/&gt;
signatures. Specialising in commercial cryptography, it has been
&lt;br/&gt;
interesting for us to enter this area and we are happy to admit
&lt;br/&gt;
that we have had to make full use of our skills to accomplish the
&lt;br/&gt;
implementations.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;Image 1: Structure of an Application Load Unit&lt;/em&gt;&lt;br /&gt;
&lt;br/&gt;
&lt;em&gt;Image 2: The KTU-Prime Method&lt;/em&gt;&lt;br /&gt;
&lt;br/&gt;
&lt;em&gt;Image 3: Optimised MULTOS Production Model&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/39176/multos123.png" width="560" height="357" alt="Multos123"/&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;Loading Applications&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The data preparation system receives the actual application that
&lt;br/&gt;
will run on the card from an external supplier; in principle simply
&lt;br/&gt;
a software application that will be loaded and run on the MULTOS
&lt;br/&gt;
card operating system. This application manages the interaction
&lt;br/&gt;
with an ATM or pointof- sale terminal based on data received from
&lt;br/&gt;
the bank host or card management system containing a list of
&lt;br/&gt;
cardholder names, account numbers, spending limits etc. The data
&lt;br/&gt;
preparation system maps the data to specific data addresses. For
&lt;br/&gt;
particularly sensitive data a sequence of encryption keys are
&lt;br/&gt;
generated and used to encrypt the individual data segments. These
&lt;br/&gt;
encryption keys are collected and placed in a Key Transformation
&lt;br/&gt;
Unit (KTU), and further encrypted under yet another key. Lastly the
&lt;br/&gt;
data is signed by a digital signature. Together these combined data
&lt;br/&gt;
components form the Application Load Unit.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;When the ALU is loaded onto the card, the card verifies the
&lt;br/&gt;
digital signature, and decrypts the sensitive data. To accomplish
&lt;br/&gt;
this, the data preparation system and the card must previously have
&lt;br/&gt;
exchanged information about the signature keys / certificates,
&lt;br/&gt;
encryption keys, application layout, and go through key management
&lt;br/&gt;
authorities - just to mention some of the interface points.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In the basic MULTOS scheme the KTU is directly RSA-encrypted
&lt;br/&gt;
using a key specific for each card. Thereby each file produced
&lt;br/&gt;
corresponds to a specific card. In practice however, this has
&lt;br/&gt;
proven unfortunate as some cards do fail during production leading
&lt;br/&gt;
back to a second round of data preparation with a new card ID, new
&lt;br/&gt;
keys etc., all of which can be cumbersome.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;To address this issue MULTOS has introduced an intermediate step
&lt;br/&gt;
model where one generates the data for a generic card and uses only
&lt;br/&gt;
symmetric encryption of the KTU. At production, the card ID is then
&lt;br/&gt;
read from the card and the ALU is re-encrypted to target the
&lt;br/&gt;
specific card Optimized Multos production model with the card's RSA
&lt;br/&gt;
public key. This way a failed card can be immediately replaced.
&lt;br/&gt;
This new method is called the KTU-Prime Method.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;Extended Key Management&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;CardInk contains complete key management functionality for
&lt;br/&gt;
MULTOS, in addition to card issuing. However, for customers with a
&lt;br/&gt;
large amount of cryptographic keys to manage we also offer a
&lt;br/&gt;
specific product, the Cryptomathic Key Management System (CKMS).
&lt;br/&gt;
All the cryptographic keys can be managed in CMKS and be pushed to
&lt;br/&gt;
CardInk to enable separation of operations and avoid key management
&lt;br/&gt;
ceremonies in the production environment.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;&lt;strong&gt;MULTOS step/one - A Variant Application&lt;/strong&gt;&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;An alternative offering within the MULTOS framework is the
&lt;br/&gt;
MULTOS step/one card. The step/one application is structured around
&lt;br/&gt;
the same principles as conventional MULTOS cards, but it excludes
&lt;br/&gt;
RSA cryptography for both the actual payment application and the
&lt;br/&gt;
method of constructing the ALU. The payment application is an SDA
&lt;br/&gt;
(Static Data Authentication) application - the card security is
&lt;br/&gt;
based on a pre-calculated digital signature on the card data, as
&lt;br/&gt;
opposed to a DDA (Dynamic Data Authentication) application where
&lt;br/&gt;
each card has its own RSA key pair. For the ALU construction the
&lt;br/&gt;
digital signature is made using a DES MAC and the contained
&lt;br/&gt;
cryptographic keys are likewise DES encrypted. The advantages of a
&lt;br/&gt;
MULTOS step/one card is its simpler application and implementation,
&lt;br/&gt;
which further results in lower card prices.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Previously published in Cryptomathic NewsOnInk,
&lt;br/&gt;
2007&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;
</content:encoded></item><item><title>Authenticated Encryption</title><link>http://cryptomathic.com/news-events/blog/authenticated-encryption</link><pubDate>Mon, 12 Sep 2011 15:25:02 GMT</pubDate><guid>http://cryptomathic.com/news-events/blog/authenticated-encryption</guid><description>
&lt;br/&gt;
&lt;h3&gt;A New Cryptographic Primitive?&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;By far the oldest and perhaps also the best-known goal of
&lt;br/&gt;
cryptographic methods is the protection of secrecy, or
&lt;br/&gt;
confidentiality, of data. This goal is achieved by employing
&lt;br/&gt;
encryption techniques. Decryption can only be performed by someone
&lt;br/&gt;
possessing the right decryption key.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Of far greater relevance in most commercial applications is the
&lt;br/&gt;
protection of the correctness, or authenticity, of data. This goal
&lt;br/&gt;
is achieved by means of digital signatures, or message
&lt;br/&gt;
authentication codes (MACs). Both digital signatures and MACs
&lt;br/&gt;
compute a tag, which can be seen as a kind of checksum computed
&lt;br/&gt;
over the message and using a secret key. Without the secret key, it
&lt;br/&gt;
is not possible to compute a valid tag - hence all modifications
&lt;br/&gt;
applied to the data after the computation of the tag can be
&lt;br/&gt;
detected easily.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Separation of the concepts confidentiality and authenticity is
&lt;br/&gt;
relatively new. Historically, cryptographers believed that by using
&lt;br/&gt;
a strong encryption algorithm, they could ensure the authenticity
&lt;br/&gt;
of data as well. And indeed, when we are talking about
&lt;br/&gt;
human-readable messages, this assumption is justified. However, in
&lt;br/&gt;
the case of digital input data, both theory and practice have shown
&lt;br/&gt;
that the two goals are quite different.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Hence, next to encryption algorithms, cryptographers developed
&lt;br/&gt;
authentication algorithms. For example, the CBC-MAC algorithm
&lt;br/&gt;
operates by 'encrypting' the message with a block cipher in the
&lt;br/&gt;
Cipher Block Chaining (CBC) mode of operation, and then outputs the
&lt;br/&gt;
last block of ciphertext (possibly truncated) as tag. There are
&lt;br/&gt;
many variants on this scheme, most of them attempting to solve the
&lt;br/&gt;
problems that arise when a legacy block cipher like the DES is used
&lt;br/&gt;
as the underlying block cipher. When using the AES, even the
&lt;br/&gt;
simplest CBC-MAC construction is secure.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;When the length of the message to be protected is relatively
&lt;br/&gt;
large compared to the block length of the block cipher, the
&lt;br/&gt;
performance of the authentication step can be improved by using
&lt;br/&gt;
alternative constructions. Most widely used is HMAC, which produces
&lt;br/&gt;
a tag by hashing a message and a key together, operating at the
&lt;br/&gt;
speed of the underlying hash algorithm (e.g. SHA-256).&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;For applications that need to protect both confidentiality and
&lt;br/&gt;
authentication, the most straightforward approach is to process the
&lt;br/&gt;
input twice: once to encrypt the data and once to compute the
&lt;br/&gt;
authentication tag. This is called making two passes over the data.
&lt;br/&gt;
Recently, this approach has lost its appeal, for several reasons.
&lt;br/&gt;
The first observation that can be made is that there seems to be
&lt;br/&gt;
room for performance optimizations. Implementations may use the CBC
&lt;br/&gt;
mode of operation both for encryption and authentication, and it
&lt;br/&gt;
may appear a bit odd to run essentially the same process twice,
&lt;br/&gt;
each time with a different key. Secondly, and more importantly,
&lt;br/&gt;
there is the issue of ordering. Should we first encrypt the message
&lt;br/&gt;
and subsequently authenticate the ciphertext, or should we
&lt;br/&gt;
authenticate the message and subsequently encrypt both message and
&lt;br/&gt;
tag, or should we apply both in parallel on the message? Thirdly,
&lt;br/&gt;
can we use any encryption algorithm together with any
&lt;br/&gt;
authentication algorithm, or should we worry about mutual
&lt;br/&gt;
side-effects?&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In order to solve these matters, cryptographers have been
&lt;br/&gt;
looking with increased interest at a different approach: the use of
&lt;br/&gt;
authenticated encryption modes. Here, a block cipher is used in a
&lt;br/&gt;
special mode of operation, which simultaneously provides
&lt;br/&gt;
confidentiality and authentication. The most efficient
&lt;br/&gt;
authenticated encryption modes provide authentication at a
&lt;br/&gt;
negligible additional cost compared to encryption only. These modes
&lt;br/&gt;
all appear to be patented or patent-pending. The second class of
&lt;br/&gt;
authenticated encryption modes offers no performance advantages
&lt;br/&gt;
compared to separate encryption and authentication passes, but
&lt;br/&gt;
still solves the ordering issue and avoids worrying about
&lt;br/&gt;
side-effects.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;An example of the first class is the Integrity Aware Cipher
&lt;br/&gt;
Block Chaining Mode (IACBC). This mode is very similar to the
&lt;br/&gt;
ordinary CBC mode. A message consisting of m blocks P&lt;sub&gt;i&lt;/sub&gt;
&lt;br/&gt;
is encrypted (and authenticated) as shown below:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Integrity Aware Cipher Block Chaining Mode (IACBC)&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;C&lt;sub&gt;0&lt;/sub&gt; = X&lt;sub&gt;0&lt;/sub&gt; = Enc&lt;sub&gt;K&lt;/sub&gt; (r)&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;X&lt;sub&gt;i&lt;/sub&gt; = Enc&lt;sub&gt;K&lt;/sub&gt; (P&lt;sub&gt;i&lt;/sub&gt; +
&lt;br/&gt;
X&lt;sub&gt;i-1&lt;/sub&gt;)&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;C&lt;sub&gt;i&lt;/sub&gt; = X&lt;sub&gt;i&lt;/sub&gt; + S&lt;sub&gt;i&lt;/sub&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;C&lt;sub&gt;m+1&lt;/sub&gt; = Enc&lt;sub&gt;K&lt;/sub&gt; (P&lt;sub&gt;1&lt;/sub&gt; + P&lt;sub&gt;2&lt;/sub&gt;
&lt;br/&gt;
+ ... + P&lt;sub&gt;m&lt;/sub&gt; + X&lt;sub&gt;m&lt;/sub&gt;) + S&lt;sub&gt;0&lt;/sub&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Here &lt;em&gt;r&lt;/em&gt; is a random nonce, as with CBC. The whitening
&lt;br/&gt;
values S&lt;sub&gt;i&lt;/sub&gt; are new. They are derived from &lt;em&gt;r&lt;/em&gt; by
&lt;br/&gt;
means of a scheme using log&lt;sub&gt;2&lt;/sub&gt;(m + 1) encryptions under a
&lt;br/&gt;
different key K'. The final ciphertext block is also new. It is an
&lt;br/&gt;
encryption of a checksum of all the plaintext blocks. Compared to
&lt;br/&gt;
ordinary CBC, authentication is provided at the cost of
&lt;br/&gt;
log&lt;sub&gt;2&lt;/sub&gt;(m + 1) + 1 additional encryptions and management of
&lt;br/&gt;
one additional key.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In the second class, the CCM mode of operation uses two separate
&lt;br/&gt;
passes to provide confidentiality and authenticity. It consists of
&lt;br/&gt;
an input formatting step, a CBC-MAC operation (with IV set to
&lt;br/&gt;
zero), and finally an encryption in counter (CTR) mode. The
&lt;br/&gt;
underlying block cipher is assumed to be AES. The same key is used
&lt;br/&gt;
for both the CBC-MAC operation and the CTR encryption. The EAX mode
&lt;br/&gt;
of operation is similar, but different. It uses OMAC instead of
&lt;br/&gt;
CBC-MAC, and it performs the authentication step after the
&lt;br/&gt;
encryption step, which is still done with CTR mode.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;All the proposed modes come with a proof of security, provided
&lt;br/&gt;
that the underlying block ciphers satisfies some requirements. CCM
&lt;br/&gt;
has the advantage of having been adopted by NIST but, despite (or
&lt;br/&gt;
perhaps because!) of this, it has been the subject of criticisms by
&lt;br/&gt;
members of the cryptographic community.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;None of the proposed modes offers a functionality that can't be
&lt;br/&gt;
provided using a combination of the classical techniques at the
&lt;br/&gt;
same or marginally slower performance. Their main advantages are
&lt;br/&gt;
their simpler proofs of security, reduced key management and the
&lt;br/&gt;
fewer opportunities they leave for mistakes.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;References&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;NIST Special Publication 800-38C: Recommendation for block
&lt;br/&gt;
cipher modes of operation: the CCM mode for authentication and
&lt;br/&gt;
confidentiality.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Previously published in Cryptomathic NewsOnInk,
&lt;br/&gt;
2005&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;br/&gt;
</description><content:encoded>
&lt;br/&gt;
&lt;h3&gt;A New Cryptographic Primitive?&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;By far the oldest and perhaps also the best-known goal of
&lt;br/&gt;
cryptographic methods is the protection of secrecy, or
&lt;br/&gt;
confidentiality, of data. This goal is achieved by employing
&lt;br/&gt;
encryption techniques. Decryption can only be performed by someone
&lt;br/&gt;
possessing the right decryption key.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Of far greater relevance in most commercial applications is the
&lt;br/&gt;
protection of the correctness, or authenticity, of data. This goal
&lt;br/&gt;
is achieved by means of digital signatures, or message
&lt;br/&gt;
authentication codes (MACs). Both digital signatures and MACs
&lt;br/&gt;
compute a tag, which can be seen as a kind of checksum computed
&lt;br/&gt;
over the message and using a secret key. Without the secret key, it
&lt;br/&gt;
is not possible to compute a valid tag - hence all modifications
&lt;br/&gt;
applied to the data after the computation of the tag can be
&lt;br/&gt;
detected easily.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Separation of the concepts confidentiality and authenticity is
&lt;br/&gt;
relatively new. Historically, cryptographers believed that by using
&lt;br/&gt;
a strong encryption algorithm, they could ensure the authenticity
&lt;br/&gt;
of data as well. And indeed, when we are talking about
&lt;br/&gt;
human-readable messages, this assumption is justified. However, in
&lt;br/&gt;
the case of digital input data, both theory and practice have shown
&lt;br/&gt;
that the two goals are quite different.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Hence, next to encryption algorithms, cryptographers developed
&lt;br/&gt;
authentication algorithms. For example, the CBC-MAC algorithm
&lt;br/&gt;
operates by 'encrypting' the message with a block cipher in the
&lt;br/&gt;
Cipher Block Chaining (CBC) mode of operation, and then outputs the
&lt;br/&gt;
last block of ciphertext (possibly truncated) as tag. There are
&lt;br/&gt;
many variants on this scheme, most of them attempting to solve the
&lt;br/&gt;
problems that arise when a legacy block cipher like the DES is used
&lt;br/&gt;
as the underlying block cipher. When using the AES, even the
&lt;br/&gt;
simplest CBC-MAC construction is secure.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;When the length of the message to be protected is relatively
&lt;br/&gt;
large compared to the block length of the block cipher, the
&lt;br/&gt;
performance of the authentication step can be improved by using
&lt;br/&gt;
alternative constructions. Most widely used is HMAC, which produces
&lt;br/&gt;
a tag by hashing a message and a key together, operating at the
&lt;br/&gt;
speed of the underlying hash algorithm (e.g. SHA-256).&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;For applications that need to protect both confidentiality and
&lt;br/&gt;
authentication, the most straightforward approach is to process the
&lt;br/&gt;
input twice: once to encrypt the data and once to compute the
&lt;br/&gt;
authentication tag. This is called making two passes over the data.
&lt;br/&gt;
Recently, this approach has lost its appeal, for several reasons.
&lt;br/&gt;
The first observation that can be made is that there seems to be
&lt;br/&gt;
room for performance optimizations. Implementations may use the CBC
&lt;br/&gt;
mode of operation both for encryption and authentication, and it
&lt;br/&gt;
may appear a bit odd to run essentially the same process twice,
&lt;br/&gt;
each time with a different key. Secondly, and more importantly,
&lt;br/&gt;
there is the issue of ordering. Should we first encrypt the message
&lt;br/&gt;
and subsequently authenticate the ciphertext, or should we
&lt;br/&gt;
authenticate the message and subsequently encrypt both message and
&lt;br/&gt;
tag, or should we apply both in parallel on the message? Thirdly,
&lt;br/&gt;
can we use any encryption algorithm together with any
&lt;br/&gt;
authentication algorithm, or should we worry about mutual
&lt;br/&gt;
side-effects?&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In order to solve these matters, cryptographers have been
&lt;br/&gt;
looking with increased interest at a different approach: the use of
&lt;br/&gt;
authenticated encryption modes. Here, a block cipher is used in a
&lt;br/&gt;
special mode of operation, which simultaneously provides
&lt;br/&gt;
confidentiality and authentication. The most efficient
&lt;br/&gt;
authenticated encryption modes provide authentication at a
&lt;br/&gt;
negligible additional cost compared to encryption only. These modes
&lt;br/&gt;
all appear to be patented or patent-pending. The second class of
&lt;br/&gt;
authenticated encryption modes offers no performance advantages
&lt;br/&gt;
compared to separate encryption and authentication passes, but
&lt;br/&gt;
still solves the ordering issue and avoids worrying about
&lt;br/&gt;
side-effects.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;An example of the first class is the Integrity Aware Cipher
&lt;br/&gt;
Block Chaining Mode (IACBC). This mode is very similar to the
&lt;br/&gt;
ordinary CBC mode. A message consisting of m blocks P&lt;sub&gt;i&lt;/sub&gt;
&lt;br/&gt;
is encrypted (and authenticated) as shown below:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Integrity Aware Cipher Block Chaining Mode (IACBC)&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;C&lt;sub&gt;0&lt;/sub&gt; = X&lt;sub&gt;0&lt;/sub&gt; = Enc&lt;sub&gt;K&lt;/sub&gt; (r)&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;X&lt;sub&gt;i&lt;/sub&gt; = Enc&lt;sub&gt;K&lt;/sub&gt; (P&lt;sub&gt;i&lt;/sub&gt; +
&lt;br/&gt;
X&lt;sub&gt;i-1&lt;/sub&gt;)&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;C&lt;sub&gt;i&lt;/sub&gt; = X&lt;sub&gt;i&lt;/sub&gt; + S&lt;sub&gt;i&lt;/sub&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;C&lt;sub&gt;m+1&lt;/sub&gt; = Enc&lt;sub&gt;K&lt;/sub&gt; (P&lt;sub&gt;1&lt;/sub&gt; + P&lt;sub&gt;2&lt;/sub&gt;
&lt;br/&gt;
+ ... + P&lt;sub&gt;m&lt;/sub&gt; + X&lt;sub&gt;m&lt;/sub&gt;) + S&lt;sub&gt;0&lt;/sub&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Here &lt;em&gt;r&lt;/em&gt; is a random nonce, as with CBC. The whitening
&lt;br/&gt;
values S&lt;sub&gt;i&lt;/sub&gt; are new. They are derived from &lt;em&gt;r&lt;/em&gt; by
&lt;br/&gt;
means of a scheme using log&lt;sub&gt;2&lt;/sub&gt;(m + 1) encryptions under a
&lt;br/&gt;
different key K'. The final ciphertext block is also new. It is an
&lt;br/&gt;
encryption of a checksum of all the plaintext blocks. Compared to
&lt;br/&gt;
ordinary CBC, authentication is provided at the cost of
&lt;br/&gt;
log&lt;sub&gt;2&lt;/sub&gt;(m + 1) + 1 additional encryptions and management of
&lt;br/&gt;
one additional key.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In the second class, the CCM mode of operation uses two separate
&lt;br/&gt;
passes to provide confidentiality and authenticity. It consists of
&lt;br/&gt;
an input formatting step, a CBC-MAC operation (with IV set to
&lt;br/&gt;
zero), and finally an encryption in counter (CTR) mode. The
&lt;br/&gt;
underlying block cipher is assumed to be AES. The same key is used
&lt;br/&gt;
for both the CBC-MAC operation and the CTR encryption. The EAX mode
&lt;br/&gt;
of operation is similar, but different. It uses OMAC instead of
&lt;br/&gt;
CBC-MAC, and it performs the authentication step after the
&lt;br/&gt;
encryption step, which is still done with CTR mode.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;All the proposed modes come with a proof of security, provided
&lt;br/&gt;
that the underlying block ciphers satisfies some requirements. CCM
&lt;br/&gt;
has the advantage of having been adopted by NIST but, despite (or
&lt;br/&gt;
perhaps because!) of this, it has been the subject of criticisms by
&lt;br/&gt;
members of the cryptographic community.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;None of the proposed modes offers a functionality that can't be
&lt;br/&gt;
provided using a combination of the classical techniques at the
&lt;br/&gt;
same or marginally slower performance. Their main advantages are
&lt;br/&gt;
their simpler proofs of security, reduced key management and the
&lt;br/&gt;
fewer opportunities they leave for mistakes.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;References&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;NIST Special Publication 800-38C: Recommendation for block
&lt;br/&gt;
cipher modes of operation: the CCM mode for authentication and
&lt;br/&gt;
confidentiality.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Previously published in Cryptomathic NewsOnInk,
&lt;br/&gt;
2005&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;br/&gt;
</content:encoded></item><item><title>Digital Rights Management Protection</title><link>http://cryptomathic.com/news-events/blog/digital-rights-management-protection</link><pubDate>Mon, 12 Sep 2011 15:14:02 GMT</pubDate><guid>http://cryptomathic.com/news-events/blog/digital-rights-management-protection</guid><description>
&lt;br/&gt;
&lt;p&gt;In 2004, Intel, Nokia, Panasonic, and Samsung among others
&lt;br/&gt;
announced plans for a licensing and compliance framework called
&lt;br/&gt;
Content Management License Administrator (CMLA) (see &lt;a
&lt;br/&gt;
href="http://www.cm-la.com/"&gt;www.cm-la.com&lt;/a&gt;). This body was
&lt;br/&gt;
formed to address necessary business concerns and enable rapid
&lt;br/&gt;
delivery of high-quality digital content to mobile handsets and
&lt;br/&gt;
other devices that deploy Open Mobile Alliance (OMA).&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;CMLA's goal is to provide vendors and service providers with
&lt;br/&gt;
clear processes and guidelines for robust and compliant OMA DRM
&lt;br/&gt;
Version 2.0 implementations making their product development cycles
&lt;br/&gt;
faster and easier. Ultimately, CMLA will assist in bringing
&lt;br/&gt;
consumers greater access to new and emerging digital content such
&lt;br/&gt;
as music, video clips, games etc.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;CMLA asked Cryptomathic to help improve the security without
&lt;br/&gt;
influencing performance. To this end, Cryptomathic made a proposal,
&lt;br/&gt;
which has now been adapted by CMLA, and an international patent
&lt;br/&gt;
application has been filed by CMLA with the Cryptomathic
&lt;br/&gt;
cryptographers as inventers.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The approach that was taken was to ensure that keys were of
&lt;br/&gt;
maximum entropy, i.e. "as random as possible". A scientific paper
&lt;br/&gt;
has been submitted for publication and will be published very soon,
&lt;br/&gt;
and we include here an abridged version of the introduction:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;A key derivation function (KDF) is a function that takes as
&lt;br/&gt;
input a (short) string of random bits and outputs some number of
&lt;br/&gt;
(pseudo-randomly chosen) keys for some cryptosystem, typically keys
&lt;br/&gt;
for a symmetric cipher such as AES. This can be useful, for
&lt;br/&gt;
instance, in situations where we have a truly random seed of
&lt;br/&gt;
limited size, but we need to generate many keys.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Of course, any secure pseudorandom generator G can be used as a
&lt;br/&gt;
KDF in a simple way: just split the output from G in a number of
&lt;br/&gt;
consecutive k-bit blocks, where k is the length of keys we want,
&lt;br/&gt;
and output each segment as a key.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Now, the important question is, of course, whether the
&lt;br/&gt;
encryption we get by using the KDF-output as encryption keys is as
&lt;br/&gt;
secure as if we had chosen the keys independently and uniformly?
&lt;br/&gt;
For the simple construction just mentioned, we can say that the
&lt;br/&gt;
answer is yes if G is a good pseudorandom generator, since this
&lt;br/&gt;
means that the adversary cannot distinguish G(R) from a genuinely
&lt;br/&gt;
random string.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;But this point of view is overly simplified, for several
&lt;br/&gt;
reasons: first, a pseudorandom generator is not simply "good" or
&lt;br/&gt;
"bad", it has a certain amount of strength, depending on exactly
&lt;br/&gt;
how hard it is to distinguish its output from random. It may be
&lt;br/&gt;
prudent to design our KDF construction so that all security is not
&lt;br/&gt;
lost, even if the generator turns out to be weaker than we had
&lt;br/&gt;
hoped. A second - perhaps more important - point is that, while
&lt;br/&gt;
pseudorandom generators are usually seen as general methods for
&lt;br/&gt;
making bits that are as good as random for any practical purpose,
&lt;br/&gt;
we have a specific application in mind, namely to generate
&lt;br/&gt;
cryptographic keys. In this application, certain specific
&lt;br/&gt;
properties may be especially important, and we should consider
&lt;br/&gt;
whether we can make sure they are satisfied.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;One such property we consider is called local g-uniformity. A
&lt;br/&gt;
locally g-uniform KDF has the property that any subset of g output
&lt;br/&gt;
keys is genuinely uniform.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Why is this a nice property? In the special case where only a
&lt;br/&gt;
single key is generated, it seems reasonable to demand that this
&lt;br/&gt;
key is genuinely random, as long as the seed contains enough
&lt;br/&gt;
randomness for this to be possible. Local 1-uniformity ensures
&lt;br/&gt;
this. But local 1-uniformity is also desirable when several keys
&lt;br/&gt;
are generated: As mentioned, the adversary will not be looking
&lt;br/&gt;
directly at the keys, instead he will have to try to break the
&lt;br/&gt;
encryptions we produce using the keys. Say we use the keys for some
&lt;br/&gt;
block cipher like AES. Now observe that, as long as the adversary
&lt;br/&gt;
tries to break encryptions produced from a single key Ki, then
&lt;br/&gt;
since Ki is uniform, this will be as hard as simply breaking AES,
&lt;br/&gt;
i.e., using this type of attack, the adversary cannot exploit the
&lt;br/&gt;
fact that the keys are derived by a KDF.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In fact, the only way he can do so, is by attacking at the same
&lt;br/&gt;
time encryptions under at least two different output keys Ki, Kj
&lt;br/&gt;
and somehow use the fact that Ki, Kj are not independent. This can
&lt;br/&gt;
reasonably be expected to be harder than attacking a single key and
&lt;br/&gt;
exploit that this single key is not uniform, which would be a
&lt;br/&gt;
possibility for the adversary if the KDF was not locally
&lt;br/&gt;
uniform.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Motivated by this, we chose a KDF construction which augments a
&lt;br/&gt;
pseudorandom generator G with universal hashing. This construction
&lt;br/&gt;
guarantees local (almost) 1- uniformity for any desired key length,
&lt;br/&gt;
assuming the seed is sufficiently long, given that G satisfies a
&lt;br/&gt;
condition we call local randomness. This is much weaker than local
&lt;br/&gt;
uniformity and loosely speaking says that if we split the output
&lt;br/&gt;
from G in consecutive blocks, then each block contains at least
&lt;br/&gt;
some (small) amount of randomness. This construction needs as
&lt;br/&gt;
secret seed only what is needed as input for G.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Previously published in Cryptomathic NewsOnInk,
&lt;br/&gt;
2005&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;
</description><content:encoded>
&lt;br/&gt;
&lt;p&gt;In 2004, Intel, Nokia, Panasonic, and Samsung among others
&lt;br/&gt;
announced plans for a licensing and compliance framework called
&lt;br/&gt;
Content Management License Administrator (CMLA) (see &lt;a
&lt;br/&gt;
href="http://www.cm-la.com/"&gt;www.cm-la.com&lt;/a&gt;). This body was
&lt;br/&gt;
formed to address necessary business concerns and enable rapid
&lt;br/&gt;
delivery of high-quality digital content to mobile handsets and
&lt;br/&gt;
other devices that deploy Open Mobile Alliance (OMA).&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;CMLA's goal is to provide vendors and service providers with
&lt;br/&gt;
clear processes and guidelines for robust and compliant OMA DRM
&lt;br/&gt;
Version 2.0 implementations making their product development cycles
&lt;br/&gt;
faster and easier. Ultimately, CMLA will assist in bringing
&lt;br/&gt;
consumers greater access to new and emerging digital content such
&lt;br/&gt;
as music, video clips, games etc.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;CMLA asked Cryptomathic to help improve the security without
&lt;br/&gt;
influencing performance. To this end, Cryptomathic made a proposal,
&lt;br/&gt;
which has now been adapted by CMLA, and an international patent
&lt;br/&gt;
application has been filed by CMLA with the Cryptomathic
&lt;br/&gt;
cryptographers as inventers.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The approach that was taken was to ensure that keys were of
&lt;br/&gt;
maximum entropy, i.e. "as random as possible". A scientific paper
&lt;br/&gt;
has been submitted for publication and will be published very soon,
&lt;br/&gt;
and we include here an abridged version of the introduction:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;A key derivation function (KDF) is a function that takes as
&lt;br/&gt;
input a (short) string of random bits and outputs some number of
&lt;br/&gt;
(pseudo-randomly chosen) keys for some cryptosystem, typically keys
&lt;br/&gt;
for a symmetric cipher such as AES. This can be useful, for
&lt;br/&gt;
instance, in situations where we have a truly random seed of
&lt;br/&gt;
limited size, but we need to generate many keys.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Of course, any secure pseudorandom generator G can be used as a
&lt;br/&gt;
KDF in a simple way: just split the output from G in a number of
&lt;br/&gt;
consecutive k-bit blocks, where k is the length of keys we want,
&lt;br/&gt;
and output each segment as a key.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Now, the important question is, of course, whether the
&lt;br/&gt;
encryption we get by using the KDF-output as encryption keys is as
&lt;br/&gt;
secure as if we had chosen the keys independently and uniformly?
&lt;br/&gt;
For the simple construction just mentioned, we can say that the
&lt;br/&gt;
answer is yes if G is a good pseudorandom generator, since this
&lt;br/&gt;
means that the adversary cannot distinguish G(R) from a genuinely
&lt;br/&gt;
random string.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;But this point of view is overly simplified, for several
&lt;br/&gt;
reasons: first, a pseudorandom generator is not simply "good" or
&lt;br/&gt;
"bad", it has a certain amount of strength, depending on exactly
&lt;br/&gt;
how hard it is to distinguish its output from random. It may be
&lt;br/&gt;
prudent to design our KDF construction so that all security is not
&lt;br/&gt;
lost, even if the generator turns out to be weaker than we had
&lt;br/&gt;
hoped. A second - perhaps more important - point is that, while
&lt;br/&gt;
pseudorandom generators are usually seen as general methods for
&lt;br/&gt;
making bits that are as good as random for any practical purpose,
&lt;br/&gt;
we have a specific application in mind, namely to generate
&lt;br/&gt;
cryptographic keys. In this application, certain specific
&lt;br/&gt;
properties may be especially important, and we should consider
&lt;br/&gt;
whether we can make sure they are satisfied.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;One such property we consider is called local g-uniformity. A
&lt;br/&gt;
locally g-uniform KDF has the property that any subset of g output
&lt;br/&gt;
keys is genuinely uniform.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Why is this a nice property? In the special case where only a
&lt;br/&gt;
single key is generated, it seems reasonable to demand that this
&lt;br/&gt;
key is genuinely random, as long as the seed contains enough
&lt;br/&gt;
randomness for this to be possible. Local 1-uniformity ensures
&lt;br/&gt;
this. But local 1-uniformity is also desirable when several keys
&lt;br/&gt;
are generated: As mentioned, the adversary will not be looking
&lt;br/&gt;
directly at the keys, instead he will have to try to break the
&lt;br/&gt;
encryptions we produce using the keys. Say we use the keys for some
&lt;br/&gt;
block cipher like AES. Now observe that, as long as the adversary
&lt;br/&gt;
tries to break encryptions produced from a single key Ki, then
&lt;br/&gt;
since Ki is uniform, this will be as hard as simply breaking AES,
&lt;br/&gt;
i.e., using this type of attack, the adversary cannot exploit the
&lt;br/&gt;
fact that the keys are derived by a KDF.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In fact, the only way he can do so, is by attacking at the same
&lt;br/&gt;
time encryptions under at least two different output keys Ki, Kj
&lt;br/&gt;
and somehow use the fact that Ki, Kj are not independent. This can
&lt;br/&gt;
reasonably be expected to be harder than attacking a single key and
&lt;br/&gt;
exploit that this single key is not uniform, which would be a
&lt;br/&gt;
possibility for the adversary if the KDF was not locally
&lt;br/&gt;
uniform.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Motivated by this, we chose a KDF construction which augments a
&lt;br/&gt;
pseudorandom generator G with universal hashing. This construction
&lt;br/&gt;
guarantees local (almost) 1- uniformity for any desired key length,
&lt;br/&gt;
assuming the seed is sufficiently long, given that G satisfies a
&lt;br/&gt;
condition we call local randomness. This is much weaker than local
&lt;br/&gt;
uniformity and loosely speaking says that if we split the output
&lt;br/&gt;
from G in consecutive blocks, then each block contains at least
&lt;br/&gt;
some (small) amount of randomness. This construction needs as
&lt;br/&gt;
secret seed only what is needed as input for G.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Previously published in Cryptomathic NewsOnInk,
&lt;br/&gt;
2005&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;br/&gt;
</content:encoded></item><item><title>Patents on Elliptic Curves</title><link>http://cryptomathic.com/news-events/blog/patents-on-elliptic-curves</link><pubDate>Fri, 09 Sep 2011 17:12:31 GMT</pubDate><guid>http://cryptomathic.com/news-events/blog/patents-on-elliptic-curves</guid><image><url>http://cryptomathic.com//media/38204/elliptic curve1.png</url><link>http://cryptomathic.com</link></image><description><![CDATA[ 
                     <img src="http://cryptomathic.com/media/38204/elliptic curve1.png" width="550" height="350" alt="blog">
                     ]]>
&lt;br/&gt;
&lt;h3&gt;Background&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Elliptic Curves for use in public key cryptography were first
&lt;br/&gt;
proposed independently by two mathematicians, Neil Koblitz and
&lt;br/&gt;
Victor Miller, in 1985. The underlying difficult mathematical
&lt;br/&gt;
problem is the so-called discrete log problem, which in the
&lt;br/&gt;
classical scenario is the following: Given a (large) prime
&lt;br/&gt;
&lt;strong&gt;p&lt;/strong&gt;, a &lt;strong&gt;g&lt;/strong&gt; less than
&lt;br/&gt;
&lt;strong&gt;p&lt;/strong&gt; and a random integer &lt;strong&gt;x&lt;/strong&gt; less
&lt;br/&gt;
than &lt;strong&gt;p&lt;/strong&gt;, calculate &lt;strong&gt;y&lt;/strong&gt; =
&lt;br/&gt;
&lt;strong&gt;g&lt;sup&gt;x&lt;/sup&gt;&lt;/strong&gt; mod &lt;strong&gt;p&lt;/strong&gt; (i.e. the
&lt;br/&gt;
integer remainder of &lt;strong&gt;g&lt;sup&gt;x&lt;/sup&gt;&lt;/strong&gt; divided by
&lt;br/&gt;
&lt;strong&gt;p&lt;/strong&gt;). The discrete log problem then states: Given
&lt;br/&gt;
&lt;strong&gt;p&lt;/strong&gt;, &lt;strong&gt;g&lt;/strong&gt; and &lt;strong&gt;y&lt;/strong&gt;, find
&lt;br/&gt;
the (unique) &lt;strong&gt;x&lt;/strong&gt; &amp;lt; &lt;strong&gt;p-1&lt;/strong&gt;, for
&lt;br/&gt;
which &lt;strong&gt;g&lt;sup&gt;x&lt;/sup&gt;&lt;/strong&gt; = &lt;strong&gt;y&lt;/strong&gt; mod
&lt;br/&gt;
&lt;strong&gt;p&lt;/strong&gt;. Obviously, this can be achieved by exhaustive
&lt;br/&gt;
search for &lt;strong&gt;p&lt;/strong&gt; small, but in general this is a very
&lt;br/&gt;
hard mathematical problem which nobody has been able to solve in
&lt;br/&gt;
any satisfactory or reasonable sense of the word "solve", except
&lt;br/&gt;
for special cases.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In the discussion above, the so-called multiplicative group
&lt;br/&gt;
structure on the integers modulo a prime &lt;strong&gt;p&lt;/strong&gt; was
&lt;br/&gt;
used. In Elliptic Curves, a different group structure is used. It
&lt;br/&gt;
is the points on an Elliptic Curve over a so-called finite field,
&lt;br/&gt;
which is - for cryptographic applications - always either the prime
&lt;br/&gt;
field for a large prime &lt;strong&gt;p&lt;/strong&gt; (i.e. the integers
&lt;br/&gt;
modulo &lt;strong&gt;p&lt;/strong&gt;) - which is said to be of characteristic
&lt;br/&gt;
&lt;strong&gt;p&lt;/strong&gt; - or a "large finite field of characteristic 2",
&lt;br/&gt;
which can be constructed as follows: Choose any sufficiently large
&lt;br/&gt;
&lt;strong&gt;n&lt;/strong&gt; (e.g. 163), and find an "irreducible" polynomial
&lt;br/&gt;
of degree &lt;strong&gt;n&lt;/strong&gt;, over the primary field with 2
&lt;br/&gt;
elements, the integers modulo 2 (consisting of 0 and 1, all
&lt;br/&gt;
additions and multiplications being what they are expected to be
&lt;br/&gt;
except 1 + 1, which is 0). These fields are called binary fields
&lt;br/&gt;
for obvious reasons. An irreducible polynomial with binary
&lt;br/&gt;
coefficients is of the form &lt;strong&gt;x&lt;sup&gt;n&lt;/sup&gt;&lt;/strong&gt; +
&lt;br/&gt;
&lt;strong&gt;a&lt;sub&gt;n-1&lt;/sub&gt;x&lt;sup&gt;n-1&lt;/sup&gt;&lt;/strong&gt; +...+
&lt;br/&gt;
&lt;strong&gt;a&lt;sub&gt;1&lt;/sub&gt;x&lt;/strong&gt; + 1, where each coefficient
&lt;br/&gt;
&lt;strong&gt;a&lt;sub&gt;i&lt;/sub&gt;&lt;/strong&gt; is 0 or 1 (i.e.
&lt;br/&gt;
&lt;strong&gt;x&lt;sup&gt;2&lt;/sup&gt;&lt;/strong&gt; + &lt;strong&gt;x&lt;/strong&gt; + 1 or
&lt;br/&gt;
&lt;strong&gt;x&lt;sup&gt;3&lt;/sup&gt;&lt;/strong&gt; + &lt;strong&gt;x&lt;/strong&gt; + 1).
&lt;br/&gt;
Irreducible means that it cannot be written in any way as a product
&lt;br/&gt;
of two polynomials of smaller degree. So
&lt;br/&gt;
&lt;strong&gt;x&lt;sup&gt;2&lt;/sup&gt;&lt;/strong&gt; + &lt;strong&gt;x&lt;/strong&gt; is not
&lt;br/&gt;
irreducible, as it equals &lt;strong&gt;x&lt;/strong&gt;(&lt;strong&gt;x&lt;/strong&gt;+1).
&lt;br/&gt;
A little more tricky is that &lt;strong&gt;x&lt;sup&gt;2&lt;/sup&gt;&lt;/strong&gt; + 1 is
&lt;br/&gt;
not irreducible as it can be written as (&lt;strong&gt;x&lt;/strong&gt; +
&lt;br/&gt;
1)(&lt;strong&gt;x&lt;/strong&gt; + 1) (just remember, 1 + 1 is 0 J ). Anyway,
&lt;br/&gt;
mathematics can be employed to prove that there exists irreducible
&lt;br/&gt;
polynomials of any degree over a prime field, and there are very
&lt;br/&gt;
effective algorithms to find them.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;An Elliptic Curve over a finite field is the solutions in the
&lt;br/&gt;
finite field of certain equations of the form:
&lt;br/&gt;
&lt;strong&gt;y&lt;sup&gt;2&lt;/sup&gt; + a&lt;sub&gt;1&lt;/sub&gt;xy + a&lt;sub&gt;3&lt;/sub&gt;y =
&lt;br/&gt;
x&lt;sup&gt;3&lt;/sup&gt; + a&lt;sub&gt;2&lt;/sub&gt;x&lt;sup&gt;2&lt;/sup&gt; + a&lt;sub&gt;4&lt;/sub&gt;x +
&lt;br/&gt;
a&lt;sub&gt;6&lt;/sub&gt;&lt;/strong&gt;. The solutions (pairs of &lt;strong&gt;x&lt;/strong&gt;
&lt;br/&gt;
and &lt;strong&gt;y&lt;/strong&gt;) to "smooth" equations together with a
&lt;br/&gt;
special point at infinity, denoted &lt;strong&gt;O&lt;/strong&gt;, form an
&lt;br/&gt;
Elliptic Curve.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;A number of "standard" Elliptic Curves exist (e.g., see NIST and
&lt;br/&gt;
SECG) for characteristic 2 as well as &lt;strong&gt;p&lt;/strong&gt;.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Comparing Cryptosystems&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The advantage is first of all bandwidth: It is well established
&lt;br/&gt;
- and acknowledged by researchers that without sacrificing security
&lt;br/&gt;
Elliptic Curves allow keys to be considerably shorter than the two
&lt;br/&gt;
alternatives, RSA and exponentiation modulo a prime
&lt;br/&gt;
&lt;strong&gt;p&lt;/strong&gt;. For instance, the general view is that a
&lt;br/&gt;
163-bit curve provides the same level of security as does 1024-bit
&lt;br/&gt;
RSA.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Equivalent key sizes&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;EC
&lt;br/&gt;
(bits)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
RSA (bits)&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;
&lt;br/&gt;
163&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
1024&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;
&lt;br/&gt;
256&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
3072&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;
&lt;br/&gt;
384&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
7680&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;
&lt;br/&gt;
512&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
15360&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Source: SIZES&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;With a 163-bits curve a signature has size 326 bits, while a
&lt;br/&gt;
signature with 1024 bits RSA has size 1024 bits. It is important,
&lt;br/&gt;
however, to notice that these are the actual sizes of the "raw"
&lt;br/&gt;
signatures. Typically the raw signature is packaged in a larger
&lt;br/&gt;
structure (e.g., PKCS#7), which among other information may provide
&lt;br/&gt;
the public key that can validate the signature (i.e. in an X.509
&lt;br/&gt;
certificate).&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;If non-standard curves are used, domain parameters (field and
&lt;br/&gt;
curve specifications) must also be supplied and in this case, the
&lt;br/&gt;
appearing favour of Elliptic Curves compared to RSA for small key
&lt;br/&gt;
sizes somehow decreases.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In addition to shorter signatures, the shorter key lengths of
&lt;br/&gt;
Elliptic Curves compared to RSA also implies that signatures can be
&lt;br/&gt;
generated faster. However, one of the few advantages of RSA over
&lt;br/&gt;
ECC is the fact that using small exponents, RSA verification is
&lt;br/&gt;
significantly faster than ECC.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Why Not Use Elliptic Curves?&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Looking at the vendors that provide Elliptic Curve technology,
&lt;br/&gt;
there is one company that beyond comparison sticks out as the
&lt;br/&gt;
market leader: Certicom. Right from the beginning, the chief
&lt;br/&gt;
cryptographer and founder of Certicom, Professor Scott Vanstone,
&lt;br/&gt;
decided to concentrate a major part of the R&amp;amp;D of Certicom on
&lt;br/&gt;
ECC. There are other vendors who have considerable experience and
&lt;br/&gt;
know-how with ECC - after all it is well known and understood
&lt;br/&gt;
mathematics - but Scott Vanstone and his team have produced several
&lt;br/&gt;
protocols, such as the renowned ECMQV three-pass key agreement
&lt;br/&gt;
protocol, which is patented by Certicom. In addition, the company
&lt;br/&gt;
has a number of patents on specific implementations, typically with
&lt;br/&gt;
the purpose to increase the performance.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Roughly speaking, these can be classified into three groups:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;1. &amp;nbsp; Protocols such as ECMQV&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;2. &amp;nbsp; Performance issues such a design of arithmetic
&lt;br/&gt;
circuits and transfer of additional data elements for efficient
&lt;br/&gt;
signature verification.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;3. &amp;nbsp; Point compression&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The ECMQV provides an authenticated key exchange where the
&lt;br/&gt;
ephemeral key pairs are implicitly signed by the static or long
&lt;br/&gt;
term key pairs. Surely this can be achieved by other protocols,
&lt;br/&gt;
such as STS. It still remains to provide a security proof for
&lt;br/&gt;
ECMQV.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Beside designs for arithmetic circuits, the patents for improved
&lt;br/&gt;
performance are generally closely connected to specific types of
&lt;br/&gt;
fields and representations and can all be avoided.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The mathematics behind Point Compression is very simple: If we
&lt;br/&gt;
know the x-coordinate of a point satisfying the Elliptic Curve
&lt;br/&gt;
equation, we can find the y-coordinate simply by solving a
&lt;br/&gt;
quadratic equation, yielding two solutions. The advantage is that
&lt;br/&gt;
by indicating - with a bit - which of the two solutions to choose,
&lt;br/&gt;
one only has to specify the x-coordinate rather than both. The
&lt;br/&gt;
un-patented alternative of course is to give both coordinates.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Point compression is nice because it reduces the size of public
&lt;br/&gt;
keys from say 510 bits to 256 bits. Solving quadratic equations
&lt;br/&gt;
over finite fields is a reasonably cheap operation, hence point
&lt;br/&gt;
compression only slightly increases the computational effort.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Standards&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Thanks not the least to Certicom's persistent hard work over a
&lt;br/&gt;
number of years, ECC has made it into a number of standards over
&lt;br/&gt;
the years, such as ANSI, FIPS, IEEE and ISO standards, and we refer
&lt;br/&gt;
to Appendix B of the excellent book, Guide to Elliptic Curve
&lt;br/&gt;
Cryptography by Darrel Hankerson, Alfred Menezes and Scott
&lt;br/&gt;
Vanstone, Springer Professional Computing 2004, ISBN 0-387-95273-X
&lt;br/&gt;
for details.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Conclusion&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;There are those who claim there are other issues, such as using
&lt;br/&gt;
specific curves, but it is important to understand that it is
&lt;br/&gt;
possible to implement efficient and secure ECC solutions without
&lt;br/&gt;
violating any patents whatsoever: Alternatives to ECMQV can be used
&lt;br/&gt;
and the advantage of point compression is often reduced by the
&lt;br/&gt;
structures in which the raw signature is embedded.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Indeed, a number of vendors are offering Elliptic Curves, such
&lt;br/&gt;
as RSA Security, Cryptomathic, as well as chip vendors such as
&lt;br/&gt;
Infineon without violating these patents, so eliminating ECC as a
&lt;br/&gt;
solution a priori just because of patents issues is simply not
&lt;br/&gt;
justified.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;References&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Special Publication 800-57 Recommendation for Key Management,
&lt;br/&gt;
Part 1: General Guidelines - DRAFT, NIST Computer Security Resource
&lt;br/&gt;
Centre, January 2003&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;a
&lt;br/&gt;
href="http://csrc.nist.gov/CryptoToolkit/kms/guideline-1-Jan03.pdf"&gt;
&lt;br/&gt;
http://csrc.nist.gov/CryptoToolkit/kms/guideline-1-Jan03.pdf&lt;/a&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Digital Signature Standard (DSS), FIPS PUB 186-2 (+Change Note),
&lt;br/&gt;
NIST, January 2000&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;a
&lt;br/&gt;
href="http://csrc.nist.gov/publications/fips/fips186-2/fips186-2-change1.pdf"&gt;
&lt;br/&gt;
http://csrc.nist.gov/publications/fips/fips186-2/fips186-2-change1.pdf&lt;/a&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Standards for Efficient Cryptography, SEC 2: Recommended
&lt;br/&gt;
Elliptic Curve Domain Parameters, Certicom Corp, September 2000&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;a
&lt;br/&gt;
href="http://www.secg.org/download/aid-386/sec2_final.pdf"&gt;http://www.secg.org/download/aid-386/sec2_final.pdf&lt;/a&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Previously published in Cryptomathic NewsOnInk,
&lt;br/&gt;
2005&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;br/&gt;
</description><content:encoded><![CDATA[ 
                     <img src="http://chryptomatic.local/media/38204/elliptic curve1.png" width="550" height="350" alt="blog"/>
                     ]]>
&lt;br/&gt;
&lt;h3&gt;Background&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Elliptic Curves for use in public key cryptography were first
&lt;br/&gt;
proposed independently by two mathematicians, Neil Koblitz and
&lt;br/&gt;
Victor Miller, in 1985. The underlying difficult mathematical
&lt;br/&gt;
problem is the so-called discrete log problem, which in the
&lt;br/&gt;
classical scenario is the following: Given a (large) prime
&lt;br/&gt;
&lt;strong&gt;p&lt;/strong&gt;, a &lt;strong&gt;g&lt;/strong&gt; less than
&lt;br/&gt;
&lt;strong&gt;p&lt;/strong&gt; and a random integer &lt;strong&gt;x&lt;/strong&gt; less
&lt;br/&gt;
than &lt;strong&gt;p&lt;/strong&gt;, calculate &lt;strong&gt;y&lt;/strong&gt; =
&lt;br/&gt;
&lt;strong&gt;g&lt;sup&gt;x&lt;/sup&gt;&lt;/strong&gt; mod &lt;strong&gt;p&lt;/strong&gt; (i.e. the
&lt;br/&gt;
integer remainder of &lt;strong&gt;g&lt;sup&gt;x&lt;/sup&gt;&lt;/strong&gt; divided by
&lt;br/&gt;
&lt;strong&gt;p&lt;/strong&gt;). The discrete log problem then states: Given
&lt;br/&gt;
&lt;strong&gt;p&lt;/strong&gt;, &lt;strong&gt;g&lt;/strong&gt; and &lt;strong&gt;y&lt;/strong&gt;, find
&lt;br/&gt;
the (unique) &lt;strong&gt;x&lt;/strong&gt; &amp;lt; &lt;strong&gt;p-1&lt;/strong&gt;, for
&lt;br/&gt;
which &lt;strong&gt;g&lt;sup&gt;x&lt;/sup&gt;&lt;/strong&gt; = &lt;strong&gt;y&lt;/strong&gt; mod
&lt;br/&gt;
&lt;strong&gt;p&lt;/strong&gt;. Obviously, this can be achieved by exhaustive
&lt;br/&gt;
search for &lt;strong&gt;p&lt;/strong&gt; small, but in general this is a very
&lt;br/&gt;
hard mathematical problem which nobody has been able to solve in
&lt;br/&gt;
any satisfactory or reasonable sense of the word "solve", except
&lt;br/&gt;
for special cases.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In the discussion above, the so-called multiplicative group
&lt;br/&gt;
structure on the integers modulo a prime &lt;strong&gt;p&lt;/strong&gt; was
&lt;br/&gt;
used. In Elliptic Curves, a different group structure is used. It
&lt;br/&gt;
is the points on an Elliptic Curve over a so-called finite field,
&lt;br/&gt;
which is - for cryptographic applications - always either the prime
&lt;br/&gt;
field for a large prime &lt;strong&gt;p&lt;/strong&gt; (i.e. the integers
&lt;br/&gt;
modulo &lt;strong&gt;p&lt;/strong&gt;) - which is said to be of characteristic
&lt;br/&gt;
&lt;strong&gt;p&lt;/strong&gt; - or a "large finite field of characteristic 2",
&lt;br/&gt;
which can be constructed as follows: Choose any sufficiently large
&lt;br/&gt;
&lt;strong&gt;n&lt;/strong&gt; (e.g. 163), and find an "irreducible" polynomial
&lt;br/&gt;
of degree &lt;strong&gt;n&lt;/strong&gt;, over the primary field with 2
&lt;br/&gt;
elements, the integers modulo 2 (consisting of 0 and 1, all
&lt;br/&gt;
additions and multiplications being what they are expected to be
&lt;br/&gt;
except 1 + 1, which is 0). These fields are called binary fields
&lt;br/&gt;
for obvious reasons. An irreducible polynomial with binary
&lt;br/&gt;
coefficients is of the form &lt;strong&gt;x&lt;sup&gt;n&lt;/sup&gt;&lt;/strong&gt; +
&lt;br/&gt;
&lt;strong&gt;a&lt;sub&gt;n-1&lt;/sub&gt;x&lt;sup&gt;n-1&lt;/sup&gt;&lt;/strong&gt; +...+
&lt;br/&gt;
&lt;strong&gt;a&lt;sub&gt;1&lt;/sub&gt;x&lt;/strong&gt; + 1, where each coefficient
&lt;br/&gt;
&lt;strong&gt;a&lt;sub&gt;i&lt;/sub&gt;&lt;/strong&gt; is 0 or 1 (i.e.
&lt;br/&gt;
&lt;strong&gt;x&lt;sup&gt;2&lt;/sup&gt;&lt;/strong&gt; + &lt;strong&gt;x&lt;/strong&gt; + 1 or
&lt;br/&gt;
&lt;strong&gt;x&lt;sup&gt;3&lt;/sup&gt;&lt;/strong&gt; + &lt;strong&gt;x&lt;/strong&gt; + 1).
&lt;br/&gt;
Irreducible means that it cannot be written in any way as a product
&lt;br/&gt;
of two polynomials of smaller degree. So
&lt;br/&gt;
&lt;strong&gt;x&lt;sup&gt;2&lt;/sup&gt;&lt;/strong&gt; + &lt;strong&gt;x&lt;/strong&gt; is not
&lt;br/&gt;
irreducible, as it equals &lt;strong&gt;x&lt;/strong&gt;(&lt;strong&gt;x&lt;/strong&gt;+1).
&lt;br/&gt;
A little more tricky is that &lt;strong&gt;x&lt;sup&gt;2&lt;/sup&gt;&lt;/strong&gt; + 1 is
&lt;br/&gt;
not irreducible as it can be written as (&lt;strong&gt;x&lt;/strong&gt; +
&lt;br/&gt;
1)(&lt;strong&gt;x&lt;/strong&gt; + 1) (just remember, 1 + 1 is 0 J ). Anyway,
&lt;br/&gt;
mathematics can be employed to prove that there exists irreducible
&lt;br/&gt;
polynomials of any degree over a prime field, and there are very
&lt;br/&gt;
effective algorithms to find them.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;An Elliptic Curve over a finite field is the solutions in the
&lt;br/&gt;
finite field of certain equations of the form:
&lt;br/&gt;
&lt;strong&gt;y&lt;sup&gt;2&lt;/sup&gt; + a&lt;sub&gt;1&lt;/sub&gt;xy + a&lt;sub&gt;3&lt;/sub&gt;y =
&lt;br/&gt;
x&lt;sup&gt;3&lt;/sup&gt; + a&lt;sub&gt;2&lt;/sub&gt;x&lt;sup&gt;2&lt;/sup&gt; + a&lt;sub&gt;4&lt;/sub&gt;x +
&lt;br/&gt;
a&lt;sub&gt;6&lt;/sub&gt;&lt;/strong&gt;. The solutions (pairs of &lt;strong&gt;x&lt;/strong&gt;
&lt;br/&gt;
and &lt;strong&gt;y&lt;/strong&gt;) to "smooth" equations together with a
&lt;br/&gt;
special point at infinity, denoted &lt;strong&gt;O&lt;/strong&gt;, form an
&lt;br/&gt;
Elliptic Curve.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;A number of "standard" Elliptic Curves exist (e.g., see NIST and
&lt;br/&gt;
SECG) for characteristic 2 as well as &lt;strong&gt;p&lt;/strong&gt;.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Comparing Cryptosystems&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The advantage is first of all bandwidth: It is well established
&lt;br/&gt;
- and acknowledged by researchers that without sacrificing security
&lt;br/&gt;
Elliptic Curves allow keys to be considerably shorter than the two
&lt;br/&gt;
alternatives, RSA and exponentiation modulo a prime
&lt;br/&gt;
&lt;strong&gt;p&lt;/strong&gt;. For instance, the general view is that a
&lt;br/&gt;
163-bit curve provides the same level of security as does 1024-bit
&lt;br/&gt;
RSA.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Equivalent key sizes&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;EC
&lt;br/&gt;
(bits)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
RSA (bits)&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;
&lt;br/&gt;
163&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
1024&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;
&lt;br/&gt;
256&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
3072&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;
&lt;br/&gt;
384&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
7680&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;
&lt;br/&gt;
512&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br/&gt;
15360&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Source: SIZES&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;With a 163-bits curve a signature has size 326 bits, while a
&lt;br/&gt;
signature with 1024 bits RSA has size 1024 bits. It is important,
&lt;br/&gt;
however, to notice that these are the actual sizes of the "raw"
&lt;br/&gt;
signatures. Typically the raw signature is packaged in a larger
&lt;br/&gt;
structure (e.g., PKCS#7), which among other information may provide
&lt;br/&gt;
the public key that can validate the signature (i.e. in an X.509
&lt;br/&gt;
certificate).&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;If non-standard curves are used, domain parameters (field and
&lt;br/&gt;
curve specifications) must also be supplied and in this case, the
&lt;br/&gt;
appearing favour of Elliptic Curves compared to RSA for small key
&lt;br/&gt;
sizes somehow decreases.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;In addition to shorter signatures, the shorter key lengths of
&lt;br/&gt;
Elliptic Curves compared to RSA also implies that signatures can be
&lt;br/&gt;
generated faster. However, one of the few advantages of RSA over
&lt;br/&gt;
ECC is the fact that using small exponents, RSA verification is
&lt;br/&gt;
significantly faster than ECC.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Why Not Use Elliptic Curves?&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Looking at the vendors that provide Elliptic Curve technology,
&lt;br/&gt;
there is one company that beyond comparison sticks out as the
&lt;br/&gt;
market leader: Certicom. Right from the beginning, the chief
&lt;br/&gt;
cryptographer and founder of Certicom, Professor Scott Vanstone,
&lt;br/&gt;
decided to concentrate a major part of the R&amp;amp;D of Certicom on
&lt;br/&gt;
ECC. There are other vendors who have considerable experience and
&lt;br/&gt;
know-how with ECC - after all it is well known and understood
&lt;br/&gt;
mathematics - but Scott Vanstone and his team have produced several
&lt;br/&gt;
protocols, such as the renowned ECMQV three-pass key agreement
&lt;br/&gt;
protocol, which is patented by Certicom. In addition, the company
&lt;br/&gt;
has a number of patents on specific implementations, typically with
&lt;br/&gt;
the purpose to increase the performance.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Roughly speaking, these can be classified into three groups:&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;1. &amp;nbsp; Protocols such as ECMQV&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;2. &amp;nbsp; Performance issues such a design of arithmetic
&lt;br/&gt;
circuits and transfer of additional data elements for efficient
&lt;br/&gt;
signature verification.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;3. &amp;nbsp; Point compression&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The ECMQV provides an authenticated key exchange where the
&lt;br/&gt;
ephemeral key pairs are implicitly signed by the static or long
&lt;br/&gt;
term key pairs. Surely this can be achieved by other protocols,
&lt;br/&gt;
such as STS. It still remains to provide a security proof for
&lt;br/&gt;
ECMQV.&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Beside designs for arithmetic circuits, the patents for improved
&lt;br/&gt;
performance are generally closely connected to specific types of
&lt;br/&gt;
fields and representations and can all be avoided.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;The mathematics behind Point Compression is very simple: If we
&lt;br/&gt;
know the x-coordinate of a point satisfying the Elliptic Curve
&lt;br/&gt;
equation, we can find the y-coordinate simply by solving a
&lt;br/&gt;
quadratic equation, yielding two solutions. The advantage is that
&lt;br/&gt;
by indicating - with a bit - which of the two solutions to choose,
&lt;br/&gt;
one only has to specify the x-coordinate rather than both. The
&lt;br/&gt;
un-patented alternative of course is to give both coordinates.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Point compression is nice because it reduces the size of public
&lt;br/&gt;
keys from say 510 bits to 256 bits. Solving quadratic equations
&lt;br/&gt;
over finite fields is a reasonably cheap operation, hence point
&lt;br/&gt;
compression only slightly increases the computational effort.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Standards&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Thanks not the least to Certicom's persistent hard work over a
&lt;br/&gt;
number of years, ECC has made it into a number of standards over
&lt;br/&gt;
the years, such as ANSI, FIPS, IEEE and ISO standards, and we refer
&lt;br/&gt;
to Appendix B of the excellent book, Guide to Elliptic Curve
&lt;br/&gt;
Cryptography by Darrel Hankerson, Alfred Menezes and Scott
&lt;br/&gt;
Vanstone, Springer Professional Computing 2004, ISBN 0-387-95273-X
&lt;br/&gt;
for details.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;Conclusion&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;There are those who claim there are other issues, such as using
&lt;br/&gt;
specific curves, but it is important to understand that it is
&lt;br/&gt;
possible to implement efficient and secure ECC solutions without
&lt;br/&gt;
violating any patents whatsoever: Alternatives to ECMQV can be used
&lt;br/&gt;
and the advantage of point compression is often reduced by the
&lt;br/&gt;
structures in which the raw signature is embedded.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Indeed, a number of vendors are offering Elliptic Curves, such
&lt;br/&gt;
as RSA Security, Cryptomathic, as well as chip vendors such as
&lt;br/&gt;
Infineon without violating these patents, so eliminating ECC as a
&lt;br/&gt;
solution a priori just because of patents issues is simply not
&lt;br/&gt;
justified.&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;h3&gt;References&lt;/h3&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Special Publication 800-57 Recommendation for Key Management,
&lt;br/&gt;
Part 1: General Guidelines - DRAFT, NIST Computer Security Resource
&lt;br/&gt;
Centre, January 2003&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;a
&lt;br/&gt;
href="http://csrc.nist.gov/CryptoToolkit/kms/guideline-1-Jan03.pdf"&gt;
&lt;br/&gt;
http://csrc.nist.gov/CryptoToolkit/kms/guideline-1-Jan03.pdf&lt;/a&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Digital Signature Standard (DSS), FIPS PUB 186-2 (+Change Note),
&lt;br/&gt;
NIST, January 2000&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;a
&lt;br/&gt;
href="http://csrc.nist.gov/publications/fips/fips186-2/fips186-2-change1.pdf"&gt;
&lt;br/&gt;
http://csrc.nist.gov/publications/fips/fips186-2/fips186-2-change1.pdf&lt;/a&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;Standards for Efficient Cryptography, SEC 2: Recommended
&lt;br/&gt;
Elliptic Curve Domain Parameters, Certicom Corp, September 2000&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;a
&lt;br/&gt;
href="http://www.secg.org/download/aid-386/sec2_final.pdf"&gt;http://www.secg.org/download/aid-386/sec2_final.pdf&lt;/a&gt;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;br/&gt;

&lt;br/&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Previously published in Cryptomathic NewsOnInk,
&lt;br/&gt;
2005&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;br/&gt;
</content:encoded></item></channel></rss>
