<?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>Enabling HSM Cryptography as an Integrated Service - Part 3 of 3</title><link>http://cryptomathic.com/news-events/blog/enabling-hsm-cryptography-as-an-integrated-service-part-3-of-3</link><pubDate>Mon, 04 Mar 2013 12:24:05 GMT</pubDate><guid>http://cryptomathic.com/news-events/blog/enabling-hsm-cryptography-as-an-integrated-service-part-3-of-3</guid><description>&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/51744/csg 3rd article 1px545.jpg" alt="CSG p3"/&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;h3&gt;The Enlightenment Opportunities Using Crypto Service&lt;br/&gt;
Gateway&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;To date the deployment of encryption services and the techniques&lt;br/&gt;
used to achieve interoperability and technical standards have&lt;br/&gt;
always lagged behind what businesses have actually needed, or for&lt;br/&gt;
that matter, what regulators or certain schemes are enforcing.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Businesses often view the inclusion of using cryptographic&lt;br/&gt;
techniques at the outset of a project as a necessary project evil.&lt;br/&gt;
More often than not they will include 'tactical solutions', as the&lt;br/&gt;
'production strength' solution will perhaps cost the project 30%&lt;br/&gt;
more, but more importantly, add an extra 5 weeks to the project's&lt;br/&gt;
duration. Guess which approach is invariably chosen using current&lt;br/&gt;
services and techniques. The tactical solution is developed, the&lt;br/&gt;
businesses new offering is successful - let's optimistically say a&lt;br/&gt;
take up of 500% more than first forecast. What is the likely&lt;br/&gt;
appetite for going back and putting in the 'Production Strength'&lt;br/&gt;
solution, when "we must have these functional enhancements"? In&lt;br/&gt;
contrast, using an integrated service model can, almost always,&lt;br/&gt;
allow an organisation to design it right from the outset.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;A very old cliché in IT is that you could guess how long a&lt;br/&gt;
designer/project manager had worked in IT dependent on the amount&lt;br/&gt;
of spare data space he/she provided in files to allow for future&lt;br/&gt;
development. The same can be said in forecasting and provisioning&lt;br/&gt;
for what the maximum RSA key size has to be catered for in a new&lt;br/&gt;
application.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Having a clear vision of how your organisation can harness an&lt;br/&gt;
enabler, such as the &lt;a href="/products/key-management/crypto-service-gateway" target="_blank"&lt;br/&gt;
title="Crypto Service Gateway"&gt;Crypto Service Gateway&lt;/a&gt; (CSG), is&lt;br/&gt;
absolutely fundamental. This vision can be modest or aggressive and&lt;br/&gt;
could have one, several or all of the following&lt;br/&gt;
characteristics:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;ul&gt;&lt;br/&gt;
&lt;li&gt;&lt;strong&gt;Internal and external compliance&lt;/strong&gt; &lt;br/&gt;
&lt;br/&gt;
&lt;ul&gt;&lt;br/&gt;
&lt;li&gt;The central policy enforcement, that enables straightforward&lt;br/&gt;
crypto integration development, uses a fine-grained but straight&lt;br/&gt;
forward policy language, which allows administrators to control&lt;br/&gt;
exactly what keys and commands different users of the system have&lt;br/&gt;
access to. The policy language is simple enough to show to auditors&lt;br/&gt;
and business architects who do not have programming&lt;br/&gt;
experience.&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;CSG has extensive usage and audit logging, digitally signed for&lt;br/&gt;
non-repudiation, which together with the policy language allows&lt;br/&gt;
projects to easily demonstrate both theoretical and actual&lt;br/&gt;
compliance with regulations.&lt;/li&gt;&lt;br/&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;strong&gt;Proactive Monitoring of existing HSM estates&lt;/strong&gt; &lt;br/&gt;
&lt;br/&gt;
&lt;ul&gt;&lt;br/&gt;
&lt;li&gt;Maintenance and measurement of overall systems SLA's for IT&lt;br/&gt;
services that use cryptography where the cryptographic capabilities&lt;br/&gt;
cannot, and must not, be seen to be a system weak point or&lt;br/&gt;
performance 'chokepoint'.&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;Allowing better HSM utilisation to be achieved consistently and&lt;br/&gt;
resiliently.&lt;/li&gt;&lt;br/&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;strong&gt;HSM vendor independence&lt;/strong&gt; &lt;br/&gt;
&lt;br/&gt;
&lt;ul&gt;&lt;br/&gt;
&lt;li&gt;Many organisations have policies that stipulate that they wish&lt;br/&gt;
to be able to have dual or multiple sources of equipment supply,&lt;br/&gt;
should that prove necessary.&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;In recent years the HSM marketplace has been&lt;br/&gt;
consolidating.&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;Currently substituting different manufacturer's HSM's equipment&lt;br/&gt;
is not straightforward. Yes it can be done, but there are&lt;br/&gt;
invariably more compelling business focussed activities to action&lt;br/&gt;
your development and support personnel to undertake.&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;The use of CSG can assist an organisation in controlling its&lt;br/&gt;
level of vendor dependency.&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;Use of CSG can ensure that an organisation can use, when&lt;br/&gt;
necessary, the latest and most technically and commercially&lt;br/&gt;
effective HSM equipment. This can be achieved far more readily than&lt;br/&gt;
hitherto for new and existing systems.&lt;/li&gt;&lt;br/&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;strong&gt;Proactive Cryptographic Life Cycle management&lt;/strong&gt; &lt;br/&gt;
&lt;br/&gt;
&lt;ul&gt;&lt;br/&gt;
&lt;li&gt;Proactive changes to the cryptographic functionality within a&lt;br/&gt;
business system have always been highly desirable but rarely&lt;br/&gt;
achievable. Such changes having invariably been undertaken on a&lt;br/&gt;
special project basis. Using CSG it is now possible to ensure that&lt;br/&gt;
such events can be accommodated for without undue impacts to the&lt;br/&gt;
underlying business systems. Certain seamless changes of&lt;br/&gt;
cryptographic algorithm choice in a system are now achievable&lt;br/&gt;
options. In the event of the unexpected need to cease using a&lt;br/&gt;
cryptographic technique, in response to publication of successful&lt;br/&gt;
attacks, having CSG available to assist in the resolution could&lt;br/&gt;
prove vital. (as regards timeliness, saving significant actual&lt;br/&gt;
costs, lost opportunity costs + less impact on live systems&lt;br/&gt;
operation).&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;CSG can be readily integrated with other cryptographic products&lt;br/&gt;
to achieve seamless and transparent key changes. Historically this&lt;br/&gt;
has rarely been undertaken but has recently become an essential&lt;br/&gt;
capability that has to be exploited.&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;The ability to manage HSM firmware upgrades and incremental HSM&lt;br/&gt;
deployments centrally also contains cost to the organisation in&lt;br/&gt;
both production and development environments.&lt;/li&gt;&lt;br/&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In adopting CSG it is possible to incorporate stronger&lt;br/&gt;
cryptographic controls via HSM's and CSG into projects that would&lt;br/&gt;
never have been financially justified and approved if that project&lt;br/&gt;
had to bear all the initial HSM costs within the project. This&lt;br/&gt;
could reduce the need and likelihood of enhancements aimed at&lt;br/&gt;
maintaining or improving controls.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Reiterating previous statements, none of the bullet points&lt;br/&gt;
should be looked at in isolation; it's their l interaction within&lt;br/&gt;
your enterprise that is the crucial factor.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;Summary&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;What this third article has hopefully demonstrated is numerous&lt;br/&gt;
practical ways in which you can set out to manage your&lt;br/&gt;
organisations cryptography cost-effectively and provide a strong&lt;br/&gt;
business case for the adoption of CSG.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Cryptomathic can assist an organisation in determining how and&lt;br/&gt;
in which areas you can benefit from deploying CSG. Any such&lt;br/&gt;
evaluation exercise is likely to prove illuminating and potentially&lt;br/&gt;
unpalatable for an organisation, but whether or not CSG provides&lt;br/&gt;
part of your subsequent solution that analysis has to be undertaken&lt;br/&gt;
- to manage your business.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;Conclusions&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;These articles have set out how managing the use of cryptography&lt;br/&gt;
in an organisation has become a much bigger subject area in recent&lt;br/&gt;
years. The subject has largely evolved, with no apparent overall&lt;br/&gt;
business and technical philosophy available to manage its&lt;br/&gt;
usage.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Who needs the ability to manage the use of cryptography? The&lt;br/&gt;
answer is simple, you do, your organisation; using the old maxim&lt;br/&gt;
"You can't manage what you don't understand"&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;What form must this management take? Here are some thoughts:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;ol&gt;&lt;br/&gt;
&lt;li&gt;contain the actual overall cost and technical complexity of&lt;br/&gt;
ownership of cryptographic equipment to an organisation&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;allow an organisation to select the best and often latest&lt;br/&gt;
equipment from the marketplace&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;provide tools and techniques to initiate the rapid and&lt;br/&gt;
proactive introduction of cryptographic functionality in existing&lt;br/&gt;
and new business systems within an organisation.&lt;/li&gt;&lt;br/&gt;
&lt;/ol&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;CSG is the first comprehensive offering to allow your&lt;br/&gt;
organisation to achieve these objectives.&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
</description><content:encoded>&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/51744/csg 3rd article 1px545.jpg" alt="CSG p3"/&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;h3&gt;The Enlightenment Opportunities Using Crypto Service&lt;br/&gt;
Gateway&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;To date the deployment of encryption services and the techniques&lt;br/&gt;
used to achieve interoperability and technical standards have&lt;br/&gt;
always lagged behind what businesses have actually needed, or for&lt;br/&gt;
that matter, what regulators or certain schemes are enforcing.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Businesses often view the inclusion of using cryptographic&lt;br/&gt;
techniques at the outset of a project as a necessary project evil.&lt;br/&gt;
More often than not they will include 'tactical solutions', as the&lt;br/&gt;
'production strength' solution will perhaps cost the project 30%&lt;br/&gt;
more, but more importantly, add an extra 5 weeks to the project's&lt;br/&gt;
duration. Guess which approach is invariably chosen using current&lt;br/&gt;
services and techniques. The tactical solution is developed, the&lt;br/&gt;
businesses new offering is successful - let's optimistically say a&lt;br/&gt;
take up of 500% more than first forecast. What is the likely&lt;br/&gt;
appetite for going back and putting in the 'Production Strength'&lt;br/&gt;
solution, when "we must have these functional enhancements"? In&lt;br/&gt;
contrast, using an integrated service model can, almost always,&lt;br/&gt;
allow an organisation to design it right from the outset.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;A very old cliché in IT is that you could guess how long a&lt;br/&gt;
designer/project manager had worked in IT dependent on the amount&lt;br/&gt;
of spare data space he/she provided in files to allow for future&lt;br/&gt;
development. The same can be said in forecasting and provisioning&lt;br/&gt;
for what the maximum RSA key size has to be catered for in a new&lt;br/&gt;
application.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Having a clear vision of how your organisation can harness an&lt;br/&gt;
enabler, such as the &lt;a href="/products/key-management/crypto-service-gateway" target="_blank"&lt;br/&gt;
title="Crypto Service Gateway"&gt;Crypto Service Gateway&lt;/a&gt; (CSG), is&lt;br/&gt;
absolutely fundamental. This vision can be modest or aggressive and&lt;br/&gt;
could have one, several or all of the following&lt;br/&gt;
characteristics:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;ul&gt;&lt;br/&gt;
&lt;li&gt;&lt;strong&gt;Internal and external compliance&lt;/strong&gt; &lt;br/&gt;
&lt;br/&gt;
&lt;ul&gt;&lt;br/&gt;
&lt;li&gt;The central policy enforcement, that enables straightforward&lt;br/&gt;
crypto integration development, uses a fine-grained but straight&lt;br/&gt;
forward policy language, which allows administrators to control&lt;br/&gt;
exactly what keys and commands different users of the system have&lt;br/&gt;
access to. The policy language is simple enough to show to auditors&lt;br/&gt;
and business architects who do not have programming&lt;br/&gt;
experience.&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;CSG has extensive usage and audit logging, digitally signed for&lt;br/&gt;
non-repudiation, which together with the policy language allows&lt;br/&gt;
projects to easily demonstrate both theoretical and actual&lt;br/&gt;
compliance with regulations.&lt;/li&gt;&lt;br/&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;strong&gt;Proactive Monitoring of existing HSM estates&lt;/strong&gt; &lt;br/&gt;
&lt;br/&gt;
&lt;ul&gt;&lt;br/&gt;
&lt;li&gt;Maintenance and measurement of overall systems SLA's for IT&lt;br/&gt;
services that use cryptography where the cryptographic capabilities&lt;br/&gt;
cannot, and must not, be seen to be a system weak point or&lt;br/&gt;
performance 'chokepoint'.&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;Allowing better HSM utilisation to be achieved consistently and&lt;br/&gt;
resiliently.&lt;/li&gt;&lt;br/&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;strong&gt;HSM vendor independence&lt;/strong&gt; &lt;br/&gt;
&lt;br/&gt;
&lt;ul&gt;&lt;br/&gt;
&lt;li&gt;Many organisations have policies that stipulate that they wish&lt;br/&gt;
to be able to have dual or multiple sources of equipment supply,&lt;br/&gt;
should that prove necessary.&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;In recent years the HSM marketplace has been&lt;br/&gt;
consolidating.&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;Currently substituting different manufacturer's HSM's equipment&lt;br/&gt;
is not straightforward. Yes it can be done, but there are&lt;br/&gt;
invariably more compelling business focussed activities to action&lt;br/&gt;
your development and support personnel to undertake.&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;The use of CSG can assist an organisation in controlling its&lt;br/&gt;
level of vendor dependency.&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;Use of CSG can ensure that an organisation can use, when&lt;br/&gt;
necessary, the latest and most technically and commercially&lt;br/&gt;
effective HSM equipment. This can be achieved far more readily than&lt;br/&gt;
hitherto for new and existing systems.&lt;/li&gt;&lt;br/&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;strong&gt;Proactive Cryptographic Life Cycle management&lt;/strong&gt; &lt;br/&gt;
&lt;br/&gt;
&lt;ul&gt;&lt;br/&gt;
&lt;li&gt;Proactive changes to the cryptographic functionality within a&lt;br/&gt;
business system have always been highly desirable but rarely&lt;br/&gt;
achievable. Such changes having invariably been undertaken on a&lt;br/&gt;
special project basis. Using CSG it is now possible to ensure that&lt;br/&gt;
such events can be accommodated for without undue impacts to the&lt;br/&gt;
underlying business systems. Certain seamless changes of&lt;br/&gt;
cryptographic algorithm choice in a system are now achievable&lt;br/&gt;
options. In the event of the unexpected need to cease using a&lt;br/&gt;
cryptographic technique, in response to publication of successful&lt;br/&gt;
attacks, having CSG available to assist in the resolution could&lt;br/&gt;
prove vital. (as regards timeliness, saving significant actual&lt;br/&gt;
costs, lost opportunity costs + less impact on live systems&lt;br/&gt;
operation).&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;CSG can be readily integrated with other cryptographic products&lt;br/&gt;
to achieve seamless and transparent key changes. Historically this&lt;br/&gt;
has rarely been undertaken but has recently become an essential&lt;br/&gt;
capability that has to be exploited.&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;The ability to manage HSM firmware upgrades and incremental HSM&lt;br/&gt;
deployments centrally also contains cost to the organisation in&lt;br/&gt;
both production and development environments.&lt;/li&gt;&lt;br/&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In adopting CSG it is possible to incorporate stronger&lt;br/&gt;
cryptographic controls via HSM's and CSG into projects that would&lt;br/&gt;
never have been financially justified and approved if that project&lt;br/&gt;
had to bear all the initial HSM costs within the project. This&lt;br/&gt;
could reduce the need and likelihood of enhancements aimed at&lt;br/&gt;
maintaining or improving controls.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Reiterating previous statements, none of the bullet points&lt;br/&gt;
should be looked at in isolation; it's their l interaction within&lt;br/&gt;
your enterprise that is the crucial factor.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;Summary&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;What this third article has hopefully demonstrated is numerous&lt;br/&gt;
practical ways in which you can set out to manage your&lt;br/&gt;
organisations cryptography cost-effectively and provide a strong&lt;br/&gt;
business case for the adoption of CSG.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Cryptomathic can assist an organisation in determining how and&lt;br/&gt;
in which areas you can benefit from deploying CSG. Any such&lt;br/&gt;
evaluation exercise is likely to prove illuminating and potentially&lt;br/&gt;
unpalatable for an organisation, but whether or not CSG provides&lt;br/&gt;
part of your subsequent solution that analysis has to be undertaken&lt;br/&gt;
- to manage your business.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;Conclusions&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;These articles have set out how managing the use of cryptography&lt;br/&gt;
in an organisation has become a much bigger subject area in recent&lt;br/&gt;
years. The subject has largely evolved, with no apparent overall&lt;br/&gt;
business and technical philosophy available to manage its&lt;br/&gt;
usage.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Who needs the ability to manage the use of cryptography? The&lt;br/&gt;
answer is simple, you do, your organisation; using the old maxim&lt;br/&gt;
"You can't manage what you don't understand"&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;What form must this management take? Here are some thoughts:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;ol&gt;&lt;br/&gt;
&lt;li&gt;contain the actual overall cost and technical complexity of&lt;br/&gt;
ownership of cryptographic equipment to an organisation&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;allow an organisation to select the best and often latest&lt;br/&gt;
equipment from the marketplace&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;provide tools and techniques to initiate the rapid and&lt;br/&gt;
proactive introduction of cryptographic functionality in existing&lt;br/&gt;
and new business systems within an organisation.&lt;/li&gt;&lt;br/&gt;
&lt;/ol&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;CSG is the first comprehensive offering to allow your&lt;br/&gt;
organisation to achieve these objectives.&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
</content:encoded></item><item><title>Enabling HSM Cryptography as an Integrated Service - Part 2 of 3</title><link>http://cryptomathic.com/news-events/blog/enabling-hsm-cryptography-as-an-integrated-service-part-2-of-3</link><pubDate>Mon, 25 Feb 2013 11:13:40 GMT</pubDate><guid>http://cryptomathic.com/news-events/blog/enabling-hsm-cryptography-as-an-integrated-service-part-2-of-3</guid><description>&lt;br/&gt;
&lt;h3&gt;Development Projects&lt;br/&gt;
Situations&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/em&gt;&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;This second decade since the Millennium is seeing a major uplift&lt;br/&gt;
in the use of cryptography in existing and new business systems.&lt;br/&gt;
This uplift is likely to be disproportionately greater than the&lt;br/&gt;
actual increase in business transaction volumes. In many instances&lt;br/&gt;
it is the combined impact of compliance, regulatory and governments&lt;br/&gt;
(e.g. the ICO -Information Commissioner's Office - in the UK) and&lt;br/&gt;
perhaps most importantly organisations' customers are demanding&lt;br/&gt;
that personal and corporate data are protected. Otherwise they move&lt;br/&gt;
to a supplier who does. Increasingly, the use of encryption&lt;br/&gt;
techniques is seen as an important part of the solution to the&lt;br/&gt;
demand for providing secure access to existing business and&lt;br/&gt;
customer data; via an ever widening range of distribution channels&lt;br/&gt;
and device form factors.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The simplest development project (if there is such a thing) to&lt;br/&gt;
deal with, in a project management sense, is the single platform,&lt;br/&gt;
green field, internal to the organisation project, which is known,&lt;br/&gt;
or thought, to have few if any new technical challenges. But&lt;br/&gt;
realistically how many projects fit that category these days?&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;More likely is the need to introduce additional data protection&lt;br/&gt;
to an existing business system using encryption. Within that&lt;br/&gt;
operational system there are almost certainly clearly defined&lt;br/&gt;
operational characteristics which might state that:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;1) You can't fundamentally change the existing systems design&lt;br/&gt;
and&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;2) You need to still hit the existing Service Level Agreements&lt;br/&gt;
and processing windows.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;This is much more the real world. The potential complexity of&lt;br/&gt;
project workflows using cryptography can be illustrated as in&lt;br/&gt;
figure 1.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/51212/csg 2nd article 1 - px545.jpg" alt="CSG art 2 - image1"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="text-align: center;"&gt;&lt;strong&gt;&lt;em&gt;Figure 1:&lt;/em&gt;&lt;/strong&gt;&lt;br/&gt;
&lt;em&gt;Cryptography Development Project Workflows&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The workflow is likely to have more iterations than indicated in&lt;br/&gt;
figure 1, and one cannot guarantee to solve every real world&lt;br/&gt;
project situation like the example above, with its two clearly&lt;br/&gt;
defined operational characteristics - it may be practically&lt;br/&gt;
impossible to meet these characteristics within the existing system&lt;br/&gt;
design of the IT application.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The use of cryptography often becomes, or is perceived as,&lt;br/&gt;
responsible for holding up entire projects. Responding to these&lt;br/&gt;
development challenges requires organisations to consider moving&lt;br/&gt;
away from the project by project model and embrace a proactive and&lt;br/&gt;
sustainable approach to managing cryptography.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;Avoiding Choke Points with Crypto Service Gateway&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Cryptomathic's Crypto Service Gateway (CSG) is the world's first&lt;br/&gt;
solution for delivering an integrated cryptographic service model,&lt;br/&gt;
ideally suited to supporting the use of "application level&lt;br/&gt;
cryptography". This model can improve workflows and allows an&lt;br/&gt;
organisation to design and develop its latest business systems,&lt;br/&gt;
providing, as necessary, End to End (E2E) protection and security&lt;br/&gt;
of essential data. The organisation can choose to protect as much&lt;br/&gt;
or as little business data - within transaction flows or as data at&lt;br/&gt;
rest - as is considered necessary in a disciplined and controlled&lt;br/&gt;
manner.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/51214/csg 2nd article 2 - px545.jpg" alt="CSG art 2 - image2"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;An in-house crypto service model is much easier to use for&lt;br/&gt;
project managers and developers than the conventional HSM&lt;br/&gt;
development techniques of the last decade, and can provide a range&lt;br/&gt;
of advantages, including:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;ul&gt;&lt;br/&gt;
&lt;li&gt;Removing the need for the project to purchase HSM's for both&lt;br/&gt;
the development and production parts of the project. This activity&lt;br/&gt;
can be taken off what might be the critical path of that project.&lt;br/&gt;
(This can lead to project savings of six to eight weeks elapsed&lt;br/&gt;
time&amp;nbsp; - particularly where cryptography is introduced late and&lt;br/&gt;
unplanned into the design of a project)&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;Adoption of CSG will naturally lead to an increasing range of&lt;br/&gt;
proven tools and techniques that do not have to be re-proven on a&lt;br/&gt;
per project basis. Techniques will have proven cryptographic&lt;br/&gt;
performance, which assists in reducing the number of unknowns for&lt;br/&gt;
all projects.&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;CSG provides central policy enforcement which contributes&lt;br/&gt;
significantly to reducing the elapsed time required for independent&lt;br/&gt;
scrutiny of the cryptography within a new project or enhancement.&lt;br/&gt;
This is achieved as it is built in as standard to CSG, as are&lt;br/&gt;
comprehensive levels of auditing and logging. Certain activities&lt;br/&gt;
can either be dropped completely from the development project plan&lt;br/&gt;
(you get them as part of using CSG) or they simply become a modest&lt;br/&gt;
task rather than as set of activities.&lt;/li&gt;&lt;br/&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Projects using CSG will have access to all available specialist&lt;br/&gt;
expertise in the organisation more quickly. There may be challenges&lt;br/&gt;
or difficulties, but the project isn't on its own. Your projects&lt;br/&gt;
challenge may have been faced by others previously and a solution&lt;br/&gt;
or explanation may be available.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;As deploying cryptographic solutions using CSG becomes your&lt;br/&gt;
organisation's norm; this leads to a "natural reduction" in single&lt;br/&gt;
points of failure dependencies within the live system support and&lt;br/&gt;
enhancement teams. Less reliance on the specialist Fred's of this&lt;br/&gt;
world!&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Further time and cost saving&lt;br/&gt;
opportunities&amp;nbsp;are&amp;nbsp;discussed in &lt;em&gt;&lt;a&lt;br/&gt;
href="/news-events/blog/enabling-hsm-cryptography-as-an-integrated-service-part-3-of-3"&lt;br/&gt;
title="Enabling HSM Cryptography as an Integrated Service - Part 3 of 3"&gt;&lt;br/&gt;
'Enabling HSM Cryptography as an Integrated Service - Part 3 of&lt;br/&gt;
3'&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
</description><content:encoded>&lt;br/&gt;
&lt;h3&gt;Development Projects&lt;br/&gt;
Situations&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/em&gt;&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;This second decade since the Millennium is seeing a major uplift&lt;br/&gt;
in the use of cryptography in existing and new business systems.&lt;br/&gt;
This uplift is likely to be disproportionately greater than the&lt;br/&gt;
actual increase in business transaction volumes. In many instances&lt;br/&gt;
it is the combined impact of compliance, regulatory and governments&lt;br/&gt;
(e.g. the ICO -Information Commissioner's Office - in the UK) and&lt;br/&gt;
perhaps most importantly organisations' customers are demanding&lt;br/&gt;
that personal and corporate data are protected. Otherwise they move&lt;br/&gt;
to a supplier who does. Increasingly, the use of encryption&lt;br/&gt;
techniques is seen as an important part of the solution to the&lt;br/&gt;
demand for providing secure access to existing business and&lt;br/&gt;
customer data; via an ever widening range of distribution channels&lt;br/&gt;
and device form factors.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The simplest development project (if there is such a thing) to&lt;br/&gt;
deal with, in a project management sense, is the single platform,&lt;br/&gt;
green field, internal to the organisation project, which is known,&lt;br/&gt;
or thought, to have few if any new technical challenges. But&lt;br/&gt;
realistically how many projects fit that category these days?&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;More likely is the need to introduce additional data protection&lt;br/&gt;
to an existing business system using encryption. Within that&lt;br/&gt;
operational system there are almost certainly clearly defined&lt;br/&gt;
operational characteristics which might state that:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;1) You can't fundamentally change the existing systems design&lt;br/&gt;
and&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;2) You need to still hit the existing Service Level Agreements&lt;br/&gt;
and processing windows.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;This is much more the real world. The potential complexity of&lt;br/&gt;
project workflows using cryptography can be illustrated as in&lt;br/&gt;
figure 1.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/51212/csg 2nd article 1 - px545.jpg" alt="CSG art 2 - image1"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="text-align: center;"&gt;&lt;strong&gt;&lt;em&gt;Figure 1:&lt;/em&gt;&lt;/strong&gt;&lt;br/&gt;
&lt;em&gt;Cryptography Development Project Workflows&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The workflow is likely to have more iterations than indicated in&lt;br/&gt;
figure 1, and one cannot guarantee to solve every real world&lt;br/&gt;
project situation like the example above, with its two clearly&lt;br/&gt;
defined operational characteristics - it may be practically&lt;br/&gt;
impossible to meet these characteristics within the existing system&lt;br/&gt;
design of the IT application.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The use of cryptography often becomes, or is perceived as,&lt;br/&gt;
responsible for holding up entire projects. Responding to these&lt;br/&gt;
development challenges requires organisations to consider moving&lt;br/&gt;
away from the project by project model and embrace a proactive and&lt;br/&gt;
sustainable approach to managing cryptography.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;Avoiding Choke Points with Crypto Service Gateway&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Cryptomathic's Crypto Service Gateway (CSG) is the world's first&lt;br/&gt;
solution for delivering an integrated cryptographic service model,&lt;br/&gt;
ideally suited to supporting the use of "application level&lt;br/&gt;
cryptography". This model can improve workflows and allows an&lt;br/&gt;
organisation to design and develop its latest business systems,&lt;br/&gt;
providing, as necessary, End to End (E2E) protection and security&lt;br/&gt;
of essential data. The organisation can choose to protect as much&lt;br/&gt;
or as little business data - within transaction flows or as data at&lt;br/&gt;
rest - as is considered necessary in a disciplined and controlled&lt;br/&gt;
manner.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/51214/csg 2nd article 2 - px545.jpg" alt="CSG art 2 - image2"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;An in-house crypto service model is much easier to use for&lt;br/&gt;
project managers and developers than the conventional HSM&lt;br/&gt;
development techniques of the last decade, and can provide a range&lt;br/&gt;
of advantages, including:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;ul&gt;&lt;br/&gt;
&lt;li&gt;Removing the need for the project to purchase HSM's for both&lt;br/&gt;
the development and production parts of the project. This activity&lt;br/&gt;
can be taken off what might be the critical path of that project.&lt;br/&gt;
(This can lead to project savings of six to eight weeks elapsed&lt;br/&gt;
time&amp;nbsp; - particularly where cryptography is introduced late and&lt;br/&gt;
unplanned into the design of a project)&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;Adoption of CSG will naturally lead to an increasing range of&lt;br/&gt;
proven tools and techniques that do not have to be re-proven on a&lt;br/&gt;
per project basis. Techniques will have proven cryptographic&lt;br/&gt;
performance, which assists in reducing the number of unknowns for&lt;br/&gt;
all projects.&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;CSG provides central policy enforcement which contributes&lt;br/&gt;
significantly to reducing the elapsed time required for independent&lt;br/&gt;
scrutiny of the cryptography within a new project or enhancement.&lt;br/&gt;
This is achieved as it is built in as standard to CSG, as are&lt;br/&gt;
comprehensive levels of auditing and logging. Certain activities&lt;br/&gt;
can either be dropped completely from the development project plan&lt;br/&gt;
(you get them as part of using CSG) or they simply become a modest&lt;br/&gt;
task rather than as set of activities.&lt;/li&gt;&lt;br/&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Projects using CSG will have access to all available specialist&lt;br/&gt;
expertise in the organisation more quickly. There may be challenges&lt;br/&gt;
or difficulties, but the project isn't on its own. Your projects&lt;br/&gt;
challenge may have been faced by others previously and a solution&lt;br/&gt;
or explanation may be available.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;As deploying cryptographic solutions using CSG becomes your&lt;br/&gt;
organisation's norm; this leads to a "natural reduction" in single&lt;br/&gt;
points of failure dependencies within the live system support and&lt;br/&gt;
enhancement teams. Less reliance on the specialist Fred's of this&lt;br/&gt;
world!&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Further time and cost saving&lt;br/&gt;
opportunities&amp;nbsp;are&amp;nbsp;discussed in &lt;em&gt;&lt;a&lt;br/&gt;
href="/news-events/blog/enabling-hsm-cryptography-as-an-integrated-service-part-3-of-3"&lt;br/&gt;
title="Enabling HSM Cryptography as an Integrated Service - Part 3 of 3"&gt;&lt;br/&gt;
'Enabling HSM Cryptography as an Integrated Service - Part 3 of&lt;br/&gt;
3'&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
</content:encoded></item><item><title>Enabling HSM Cryptography as an Integrated Service - Part 1 of 3</title><link>http://cryptomathic.com/news-events/blog/enabling-hsm-cryptography-as-an-integrated-service-part-1-of-3</link><pubDate>Mon, 18 Feb 2013 13:32:33 GMT</pubDate><guid>http://cryptomathic.com/news-events/blog/enabling-hsm-cryptography-as-an-integrated-service-part-1-of-3</guid><description>&lt;br/&gt;
&lt;h3&gt;Managing Hardware Cryptography in the Enterprise since the&lt;br/&gt;
Millennium&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;There has been a substantial increase in the use of&lt;br/&gt;
cryptographic techniques and Hardware Security Modules (HSM's) in&lt;br/&gt;
larger commercial enterprises, and banks in particular, since the&lt;br/&gt;
upsurge of online services in the late 1990's. Invariably this has&lt;br/&gt;
been undertaken on a project basis, with each project having its&lt;br/&gt;
own goals and initial budget. The enhanced security provided by&lt;br/&gt;
project based HSM implementations results in complex integration&lt;br/&gt;
environments that can restrict the ability to securely share HSM&lt;br/&gt;
resources across systems that use cryptography, thereby requiring&lt;br/&gt;
security projects to 'duplicate' existing HSM infrastructure for&lt;br/&gt;
each project's production deployment. For a large organisation,&lt;br/&gt;
e.g. banks, the consequences of this model are unnecessarily large&lt;br/&gt;
cryptographic infrastructures - which are becoming increasingly&lt;br/&gt;
costly and ultimately unsustainable to manage.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/50868/csg 1st article 545px.jpg" width="545" height="276" alt="CSG HSMs Article 1"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="text-align: center;"&gt;&lt;em&gt;&lt;strong&gt;Figure 1:&lt;/strong&gt;&lt;br/&gt;
Selection of Hardware Security Modules&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;The Project Dimension&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Project timescales to implementation were for these new online&lt;br/&gt;
services projects typically several months or up to two years,&lt;br/&gt;
depending on project scale and complexity. Many of these early&lt;br/&gt;
implementations are still in production today, some, and in a&lt;br/&gt;
cryptographic sense may well have remained functionally unchanged&lt;br/&gt;
during a decade's worth of production use.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The crucial point is that the initial project considerations&lt;br/&gt;
cover only a small percentage of the overall business life cycle of&lt;br/&gt;
an application using cryptography, often less than 10%. Yet, it's&lt;br/&gt;
highly likely, that it's only during this "project period" that the&lt;br/&gt;
use and deployment of cryptography receives attention. Often in&lt;br/&gt;
'Business-As-Usual' the easy option is to leave it alone because&lt;br/&gt;
"If it's not broken don't touch it" and "Fred left two years ago&lt;br/&gt;
and he was the only one who truly understood all the&lt;br/&gt;
details".&lt;br /&gt;&lt;br/&gt;
Does any of this resonate?&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;Recent HSM Trends - the last ten years&amp;nbsp;&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The rapid deployment of mid-range server based business&lt;br/&gt;
applications in the early part of the last decade used in-server&lt;br/&gt;
"Crypto Cards". In the middle of the last decade an additional&lt;br/&gt;
option was the advent of the "Networked HSM" becoming more widely&lt;br/&gt;
available.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In many production online transactional systems where resilience&lt;br/&gt;
is essential, the HSM technical utilisation can be 10% or less for&lt;br/&gt;
a device which is on line 24/7. In batch processing systems&lt;br/&gt;
utilisation can be intense but only for very short periods in a&lt;br/&gt;
processing day with significant periods of idle&lt;br/&gt;
time.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;It is also not unusual for an HSM to cost twice its original&lt;br/&gt;
purchase cost over an elapsed period of 5 to 6 years when support&lt;br/&gt;
and maintenance costs are factored in. The costs of commercially&lt;br/&gt;
available Crypto Cards through to high-end Networked HSM's&lt;br/&gt;
typically range from £2,000 to as much as £40,000 per&lt;br/&gt;
unit.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In the early part of the last decade the production lifespan of&lt;br/&gt;
an HSM was implicitly accepted by default as being approaching ten&lt;br/&gt;
years. At the end of the decade this production life had reduced to&lt;br/&gt;
about half the former figure. Within this production life there is&lt;br/&gt;
also the likelihood that an HSM will require a number of firmware&lt;br/&gt;
upgrades every year or so, as the HSM manufacturers improve their&lt;br/&gt;
firmware products including issuing security patches.&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The newest HSM products invariably have several times the&lt;br/&gt;
technical performance and throughput of their predecessors. It can&lt;br/&gt;
be considered realistic to consolidate five existing HSM devices&lt;br/&gt;
with one of its successors. Whilst this may facilitate HSM&lt;br/&gt;
consolidation, actual HSM utilisation can still be very low and&lt;br/&gt;
adding additional incremental HSM capacity or for that matter&lt;br/&gt;
rationalising and upgrading HSM's is not that straightforward to&lt;br/&gt;
achieve, when meeting enterprise change management and governance&lt;br/&gt;
requirements.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In certain high performance payment systems, where HSM&lt;br/&gt;
utilisation was high ( 60% +)&amp;nbsp; it was not unusual, in the&lt;br/&gt;
middle of the last decade, to have over a dozen HSM's deployed on a&lt;br/&gt;
production system, and comparable numbers on the business&lt;br/&gt;
continuity or DR configuration. Using the latest HSM products this&lt;br/&gt;
can be reduced to no more than 4 or 5 units. Losing one HSM due to&lt;br/&gt;
technical failure used to cost you circa 10% of total capacity now&lt;br/&gt;
it can cost you 20 - 25%, bringing with it different operational&lt;br/&gt;
challenges.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Now it also needs to be recognised that it is a reality that&lt;br/&gt;
HSM's will require production replacement during the normal life of&lt;br/&gt;
a business system(s). This is not commonly acknowledged or accepted&lt;br/&gt;
yet, and whilst it's a good thing that you will need fewer new&lt;br/&gt;
HSM's compared to their predecessors, nothing significant has been&lt;br/&gt;
done to improve the operational management of the HSM's. In&lt;br/&gt;
organisations that have multiple secure systems utilising HSM's,&lt;br/&gt;
the limitations for securely sharing HSM's across applications&lt;br/&gt;
results in a much higher volume of HSM's being deployed than are&lt;br/&gt;
actually ever needed for peak performance - Each project /&lt;br/&gt;
application requiring a minimum of 2 devices for resilient&lt;br/&gt;
production, 2 for test/DR if appropriate, and at least 1 for&lt;br/&gt;
development, making a requirement for at least 5, all used at low&lt;br/&gt;
levels.&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/50879/csg 1st article 1 - 545px.jpg" width="545" height="252" alt="HSM config 1"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="text-align: center;"&gt;&lt;em&gt;&lt;strong&gt;Figure 2:&lt;/strong&gt;&lt;br/&gt;
Traditional / Conservative Approach for Deploying&lt;br/&gt;
HSM's&amp;nbsp;&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="text-align: left;"&gt;Within many large organisations,&lt;br/&gt;
maintaining balanced overall technical systems configurations,&lt;br/&gt;
inclusive of all HSM considerations, is more challenging and&lt;br/&gt;
complex than was ever envisaged - at that original project&lt;br/&gt;
inception workshop.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;Changing the HSM Management Model&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="text-align: left;"&gt;With much of the direct costs of&lt;br/&gt;
cryptography management stemming from the procurement and&lt;br/&gt;
maintenance of HSM's, organisations are increasingly looking for&lt;br/&gt;
innovative ways to meet these challenges&amp;nbsp;by:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;ul&gt;&lt;br/&gt;
&lt;li&gt;&lt;br/&gt;
&lt;div style="text-align: left;"&gt;sharing the common cryptographic&lt;br/&gt;
resources in a secure manner to enable new business applications to&lt;br/&gt;
utilise existing managed HSM's&lt;/div&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;br/&gt;
&lt;div style="text-align: left;"&gt;reducing the number of HSM's in use&lt;br/&gt;
to a level that your business is comfortable with, yet provide&lt;br/&gt;
improved technical resilience for existing business&lt;br/&gt;
applications&lt;/div&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;br/&gt;
&lt;div style="text-align: left;"&gt;allowing the re-use or redeployment&lt;br/&gt;
of existing HSMs that can be regarded as a surplus to performance&lt;br/&gt;
requirements and avoiding HSM vendor&lt;br/&gt;
'lock-in'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;br/&gt;
&lt;div style="text-align: left;"&gt;providing&amp;nbsp; HSM specific&lt;br/&gt;
regression testing (of new firmware etc.) that doesn't have to be&lt;br/&gt;
repeated for every project implementation of cryptography&lt;/div&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;br/&gt;
&lt;div style="text-align: left;"&gt;provision for the&amp;nbsp;selection of&lt;br/&gt;
both hardware and software encryption, as the business and&lt;br/&gt;
technical circumstances dictate.&lt;/div&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="text-align: left;"&gt;Figure 2 illustrates how integrating&lt;br/&gt;
cryptography as a centralised service model can readily enable all&lt;br/&gt;
of the above points,&amp;nbsp;thereby providing significant savings for&lt;br/&gt;
organisations with large cryptographic infrastructures. &lt;em&gt;Please&lt;br/&gt;
see &lt;a href="/products/key-management/crypto-service-gateway" target="_blank"&lt;br/&gt;
title="Crypto Service Gateway"&gt;Crypto Service Gateway&lt;/a&gt; for more&lt;br/&gt;
information on how to proactively manage cryptography across&lt;br/&gt;
business units.&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="text-align: left;"&gt;&lt;img src="http://cryptomathic.com/media/50884/csg 1st article 1pic2.2 545px.jpg" width="545" height="266" alt="CSG HSM config"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="text-align: center;"&gt;&lt;em&gt;&lt;strong&gt;Figure 3:&lt;/strong&gt;&lt;br/&gt;
Cryptomathic's Approach for Sharing Cryptographic&lt;br/&gt;
Resources&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="text-align: left;"&gt;Reducing the direct costs attributed&lt;br/&gt;
to HSM's should not be looked at in isolation as it's their actual&lt;br/&gt;
interaction within your enterprise that is the crucial factor. In&lt;br/&gt;
the &lt;a href="/news-events/blog/enabling-hsm-cryptography-as-an-integrated-service-part-2-of-3"&lt;br/&gt;
title="Enabling HSM Cryptography as an Integrated Service - Part 2 of 3"&gt;&lt;br/&gt;
next section&lt;/a&gt;,&amp;nbsp;the emphasis switches from what may be&lt;br/&gt;
viewed as the passive aspects of deploying cryptography within an&lt;br/&gt;
organisation to the more dynamic aspects in new and changing&lt;br/&gt;
business circumstances.&lt;/p&gt;&lt;br/&gt;
</description><content:encoded>&lt;br/&gt;
&lt;h3&gt;Managing Hardware Cryptography in the Enterprise since the&lt;br/&gt;
Millennium&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;There has been a substantial increase in the use of&lt;br/&gt;
cryptographic techniques and Hardware Security Modules (HSM's) in&lt;br/&gt;
larger commercial enterprises, and banks in particular, since the&lt;br/&gt;
upsurge of online services in the late 1990's. Invariably this has&lt;br/&gt;
been undertaken on a project basis, with each project having its&lt;br/&gt;
own goals and initial budget. The enhanced security provided by&lt;br/&gt;
project based HSM implementations results in complex integration&lt;br/&gt;
environments that can restrict the ability to securely share HSM&lt;br/&gt;
resources across systems that use cryptography, thereby requiring&lt;br/&gt;
security projects to 'duplicate' existing HSM infrastructure for&lt;br/&gt;
each project's production deployment. For a large organisation,&lt;br/&gt;
e.g. banks, the consequences of this model are unnecessarily large&lt;br/&gt;
cryptographic infrastructures - which are becoming increasingly&lt;br/&gt;
costly and ultimately unsustainable to manage.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/50868/csg 1st article 545px.jpg" width="545" height="276" alt="CSG HSMs Article 1"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="text-align: center;"&gt;&lt;em&gt;&lt;strong&gt;Figure 1:&lt;/strong&gt;&lt;br/&gt;
Selection of Hardware Security Modules&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;The Project Dimension&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Project timescales to implementation were for these new online&lt;br/&gt;
services projects typically several months or up to two years,&lt;br/&gt;
depending on project scale and complexity. Many of these early&lt;br/&gt;
implementations are still in production today, some, and in a&lt;br/&gt;
cryptographic sense may well have remained functionally unchanged&lt;br/&gt;
during a decade's worth of production use.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The crucial point is that the initial project considerations&lt;br/&gt;
cover only a small percentage of the overall business life cycle of&lt;br/&gt;
an application using cryptography, often less than 10%. Yet, it's&lt;br/&gt;
highly likely, that it's only during this "project period" that the&lt;br/&gt;
use and deployment of cryptography receives attention. Often in&lt;br/&gt;
'Business-As-Usual' the easy option is to leave it alone because&lt;br/&gt;
"If it's not broken don't touch it" and "Fred left two years ago&lt;br/&gt;
and he was the only one who truly understood all the&lt;br/&gt;
details".&lt;br /&gt;&lt;br/&gt;
Does any of this resonate?&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;Recent HSM Trends - the last ten years&amp;nbsp;&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The rapid deployment of mid-range server based business&lt;br/&gt;
applications in the early part of the last decade used in-server&lt;br/&gt;
"Crypto Cards". In the middle of the last decade an additional&lt;br/&gt;
option was the advent of the "Networked HSM" becoming more widely&lt;br/&gt;
available.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In many production online transactional systems where resilience&lt;br/&gt;
is essential, the HSM technical utilisation can be 10% or less for&lt;br/&gt;
a device which is on line 24/7. In batch processing systems&lt;br/&gt;
utilisation can be intense but only for very short periods in a&lt;br/&gt;
processing day with significant periods of idle&lt;br/&gt;
time.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;It is also not unusual for an HSM to cost twice its original&lt;br/&gt;
purchase cost over an elapsed period of 5 to 6 years when support&lt;br/&gt;
and maintenance costs are factored in. The costs of commercially&lt;br/&gt;
available Crypto Cards through to high-end Networked HSM's&lt;br/&gt;
typically range from £2,000 to as much as £40,000 per&lt;br/&gt;
unit.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In the early part of the last decade the production lifespan of&lt;br/&gt;
an HSM was implicitly accepted by default as being approaching ten&lt;br/&gt;
years. At the end of the decade this production life had reduced to&lt;br/&gt;
about half the former figure. Within this production life there is&lt;br/&gt;
also the likelihood that an HSM will require a number of firmware&lt;br/&gt;
upgrades every year or so, as the HSM manufacturers improve their&lt;br/&gt;
firmware products including issuing security patches.&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The newest HSM products invariably have several times the&lt;br/&gt;
technical performance and throughput of their predecessors. It can&lt;br/&gt;
be considered realistic to consolidate five existing HSM devices&lt;br/&gt;
with one of its successors. Whilst this may facilitate HSM&lt;br/&gt;
consolidation, actual HSM utilisation can still be very low and&lt;br/&gt;
adding additional incremental HSM capacity or for that matter&lt;br/&gt;
rationalising and upgrading HSM's is not that straightforward to&lt;br/&gt;
achieve, when meeting enterprise change management and governance&lt;br/&gt;
requirements.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In certain high performance payment systems, where HSM&lt;br/&gt;
utilisation was high ( 60% +)&amp;nbsp; it was not unusual, in the&lt;br/&gt;
middle of the last decade, to have over a dozen HSM's deployed on a&lt;br/&gt;
production system, and comparable numbers on the business&lt;br/&gt;
continuity or DR configuration. Using the latest HSM products this&lt;br/&gt;
can be reduced to no more than 4 or 5 units. Losing one HSM due to&lt;br/&gt;
technical failure used to cost you circa 10% of total capacity now&lt;br/&gt;
it can cost you 20 - 25%, bringing with it different operational&lt;br/&gt;
challenges.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Now it also needs to be recognised that it is a reality that&lt;br/&gt;
HSM's will require production replacement during the normal life of&lt;br/&gt;
a business system(s). This is not commonly acknowledged or accepted&lt;br/&gt;
yet, and whilst it's a good thing that you will need fewer new&lt;br/&gt;
HSM's compared to their predecessors, nothing significant has been&lt;br/&gt;
done to improve the operational management of the HSM's. In&lt;br/&gt;
organisations that have multiple secure systems utilising HSM's,&lt;br/&gt;
the limitations for securely sharing HSM's across applications&lt;br/&gt;
results in a much higher volume of HSM's being deployed than are&lt;br/&gt;
actually ever needed for peak performance - Each project /&lt;br/&gt;
application requiring a minimum of 2 devices for resilient&lt;br/&gt;
production, 2 for test/DR if appropriate, and at least 1 for&lt;br/&gt;
development, making a requirement for at least 5, all used at low&lt;br/&gt;
levels.&amp;nbsp;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/50879/csg 1st article 1 - 545px.jpg" width="545" height="252" alt="HSM config 1"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="text-align: center;"&gt;&lt;em&gt;&lt;strong&gt;Figure 2:&lt;/strong&gt;&lt;br/&gt;
Traditional / Conservative Approach for Deploying&lt;br/&gt;
HSM's&amp;nbsp;&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="text-align: left;"&gt;Within many large organisations,&lt;br/&gt;
maintaining balanced overall technical systems configurations,&lt;br/&gt;
inclusive of all HSM considerations, is more challenging and&lt;br/&gt;
complex than was ever envisaged - at that original project&lt;br/&gt;
inception workshop.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;Changing the HSM Management Model&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="text-align: left;"&gt;With much of the direct costs of&lt;br/&gt;
cryptography management stemming from the procurement and&lt;br/&gt;
maintenance of HSM's, organisations are increasingly looking for&lt;br/&gt;
innovative ways to meet these challenges&amp;nbsp;by:&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;ul&gt;&lt;br/&gt;
&lt;li&gt;&lt;br/&gt;
&lt;div style="text-align: left;"&gt;sharing the common cryptographic&lt;br/&gt;
resources in a secure manner to enable new business applications to&lt;br/&gt;
utilise existing managed HSM's&lt;/div&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;br/&gt;
&lt;div style="text-align: left;"&gt;reducing the number of HSM's in use&lt;br/&gt;
to a level that your business is comfortable with, yet provide&lt;br/&gt;
improved technical resilience for existing business&lt;br/&gt;
applications&lt;/div&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;br/&gt;
&lt;div style="text-align: left;"&gt;allowing the re-use or redeployment&lt;br/&gt;
of existing HSMs that can be regarded as a surplus to performance&lt;br/&gt;
requirements and avoiding HSM vendor&lt;br/&gt;
'lock-in'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;br/&gt;
&lt;div style="text-align: left;"&gt;providing&amp;nbsp; HSM specific&lt;br/&gt;
regression testing (of new firmware etc.) that doesn't have to be&lt;br/&gt;
repeated for every project implementation of cryptography&lt;/div&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;li&gt;&lt;br/&gt;
&lt;div style="text-align: left;"&gt;provision for the&amp;nbsp;selection of&lt;br/&gt;
both hardware and software encryption, as the business and&lt;br/&gt;
technical circumstances dictate.&lt;/div&gt;&lt;br/&gt;
&lt;/li&gt;&lt;br/&gt;
&lt;/ul&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="text-align: left;"&gt;Figure 2 illustrates how integrating&lt;br/&gt;
cryptography as a centralised service model can readily enable all&lt;br/&gt;
of the above points,&amp;nbsp;thereby providing significant savings for&lt;br/&gt;
organisations with large cryptographic infrastructures. &lt;em&gt;Please&lt;br/&gt;
see &lt;a href="/products/key-management/crypto-service-gateway" target="_blank"&lt;br/&gt;
title="Crypto Service Gateway"&gt;Crypto Service Gateway&lt;/a&gt; for more&lt;br/&gt;
information on how to proactively manage cryptography across&lt;br/&gt;
business units.&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="text-align: left;"&gt;&lt;img src="http://cryptomathic.com/media/50884/csg 1st article 1pic2.2 545px.jpg" width="545" height="266" alt="CSG HSM config"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="text-align: center;"&gt;&lt;em&gt;&lt;strong&gt;Figure 3:&lt;/strong&gt;&lt;br/&gt;
Cryptomathic's Approach for Sharing Cryptographic&lt;br/&gt;
Resources&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p style="text-align: left;"&gt;Reducing the direct costs attributed&lt;br/&gt;
to HSM's should not be looked at in isolation as it's their actual&lt;br/&gt;
interaction within your enterprise that is the crucial factor. In&lt;br/&gt;
the &lt;a href="/news-events/blog/enabling-hsm-cryptography-as-an-integrated-service-part-2-of-3"&lt;br/&gt;
title="Enabling HSM Cryptography as an Integrated Service - Part 2 of 3"&gt;&lt;br/&gt;
next section&lt;/a&gt;,&amp;nbsp;the emphasis switches from what may be&lt;br/&gt;
viewed as the passive aspects of deploying cryptography within an&lt;br/&gt;
organisation to the more dynamic aspects in new and changing&lt;br/&gt;
business circumstances.&lt;/p&gt;&lt;br/&gt;
</content:encoded></item><item><title>The Weakest Link in Many Cryptosystems - Part 2 of 2</title><link>http://cryptomathic.com/news-events/blog/the-weakest-link-in-many-cryptosystems-part-2-of-2</link><pubDate>Mon, 26 Nov 2012 09:59:06 GMT</pubDate><guid>http://cryptomathic.com/news-events/blog/the-weakest-link-in-many-cryptosystems-part-2-of-2</guid><description>&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/49973/random bits.jpg" alt="Random Bits"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;RSA, a short recap&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In a public key scheme, and for the sake of simplicity, assume a&lt;br/&gt;
public scheme based on encryption-decryption (as opposed to e.g.&lt;br/&gt;
DSA, the Digital Signature Algorithm, where the digital signature&lt;br/&gt;
generated by the secret key is verified to satisfy a mathematic&lt;br/&gt;
equation using the corresponding public key), you have two&lt;br/&gt;
mathematical functions, called keys, the secret key S and the&lt;br/&gt;
public key P, and one is the inverse of the other, e.g. on a&lt;br/&gt;
message m, P(S(m)) = S(P(m)) = m. RSA is the only widely used&lt;br/&gt;
public key encryption scheme, constructed as follows: Generate two&lt;br/&gt;
primes p and q of a fixed bit length, say 512 bits using a&lt;br/&gt;
sufficiently random input. Denote the product by n, also known as&lt;br/&gt;
the modulus. Now chose an appropriate so-called public exponent e.&lt;br/&gt;
It must be prime to p - 1 and q - 1 (and there is no point in&lt;br/&gt;
choosing it larger than φ(n) := (p - 1)(q - 1), as always,&lt;br/&gt;
m&lt;sup&gt;φ(n)&lt;/sup&gt; = 1 mod n - see below). There are computation&lt;br/&gt;
advantages in choosing e small, such as 3, 17 or 65537 =&lt;br/&gt;
2&lt;sup&gt;16&lt;/sup&gt; + 1, also known as the 4&lt;sup&gt;th&lt;/sup&gt; Fermat prime.&lt;br/&gt;
By running an extended version of Euclid's algorithm, which normal&lt;br/&gt;
outputs the smallest common divisor of two numbers a and b, you can&lt;br/&gt;
relatively easily find a number d such that for some number a, e∙d&lt;br/&gt;
-a∙φ(n) = 1 modn. In the following, we just write ab rather than&lt;br/&gt;
a∙b.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Due to the so called Fermat's Little Theorem - proved a lovely&lt;br/&gt;
August morning around 1640 by the famous and legendary French judge&lt;br/&gt;
and amateur mathematician Pierre Fermat - if you take any number m&lt;br/&gt;
less than n, you always have that m&lt;sup&gt;φ(n)&lt;/sup&gt; = 1 modn. Hence&lt;br/&gt;
m&lt;sup&gt;a&lt;/sup&gt;&lt;sup&gt;φ(n)&lt;/sup&gt; = 1 modn as well obviously, for any a,&lt;br/&gt;
so m&lt;sup&gt;a&lt;/sup&gt;&lt;sup&gt;φ(n)+1&lt;/sup&gt; = m = m&lt;sup&gt;ed&lt;/sup&gt; modn. Now&lt;br/&gt;
define S as S(m) = m&lt;sup&gt;d&lt;/sup&gt; mod n and P(m) = m&lt;sup&gt;e&lt;/sup&gt; mod&lt;br/&gt;
n, and it follows that P(S(m)) = S(P(m)) = m.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The amazing thing is that even though P is the inverse function&lt;br/&gt;
of S, it is practically infeasible to construct P from S without&lt;br/&gt;
knowledge of the corresponding prime divisors of the corresponding&lt;br/&gt;
modulus in spite of all the mathematics that has been developed&lt;br/&gt;
during the last 3000 years and simultaneously deploying the massive&lt;br/&gt;
computing strength available these days. That is, provided the&lt;br/&gt;
primes p and q comprising the modulus have been generated in a&lt;br/&gt;
sufficiently random fashion!&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;When I have been lecturing on public key cryptography over the&lt;br/&gt;
years, I have often been asked if there are enough primes for&lt;br/&gt;
public key cryptography. The answer is that indeed there is. This&lt;br/&gt;
is a mathematical fact, known as the Prime Number Theorem, which&lt;br/&gt;
states that given a number n, there are approximately n/ln(n)&lt;br/&gt;
primes less than n. Here ln(n) is the natural logarithm of n, e.g.&lt;br/&gt;
ln(n) is defined by e&lt;sup&gt;ln(n)&lt;/sup&gt; = n, where e is approximately&lt;br/&gt;
2.71828. We will spare you for the definition of e, though! So as&lt;br/&gt;
ln(n) is very small compared to n, there are plenty of large&lt;br/&gt;
primes, and the message for this article is that there are so many&lt;br/&gt;
that &lt;em&gt;if you use a new truly random input of say 128 bits for&lt;br/&gt;
each RSA prime generation using a sufficiently strong algorithm,&lt;br/&gt;
you will never in the future history of mankind see any prime being&lt;br/&gt;
generated twice.&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;As a warm up to the next section, what would happen if Alice and&lt;br/&gt;
Bob accidently - or on purpose perhaps - used a common prime r in&lt;br/&gt;
their RSA keys? So to find out, assume Alice use the modulus a =&lt;br/&gt;
pr, and B the modulus b = qr, where p, q and r are all primes.&lt;br/&gt;
Well, you quickly find out by running the Greatest Common Divisor&lt;br/&gt;
(GCD) algorithm based on Euclid's algorithm on a and b. Indeed,&lt;br/&gt;
this outputs a = b if p = q, otherwise the common prime r. You may&lt;br/&gt;
then divide r into a and b respectively and whence recover p and q,&lt;br/&gt;
respectively. From this, using the public exponent of Alice you can&lt;br/&gt;
find her secret exponent and similar with Bob. So this is truly and&lt;br/&gt;
utterly disastrous.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;Greatest Common Divisor algorithm on two numbers a and b:&lt;br/&gt;
Take the largest, say a. Now divide this by b to get the remainder&lt;br/&gt;
c using Euclid's algorithm. Thus a = xb + c, where c &amp;lt; b. Now do&lt;br/&gt;
the same with the pair b and c, and so on. Eventually, you end up&lt;br/&gt;
with the greatest common divisor of a and b.&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;"Ron was wrong, Whit is right"&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;This is the intriguing title of a very interesting article&lt;br/&gt;
[Letal] that was circulated in the spring of 2012 and appears in&lt;br/&gt;
the Proceedings of Crypto'12 (Springer Lecture Notes Series in&lt;br/&gt;
Computer Science) under the more anonymous title "Public Keys". Ron&lt;br/&gt;
is Ron Rivest and Whit is Whit Diffie, two of the true pioneers of&lt;br/&gt;
public key cryptography. Whit is the co-inventor of public key&lt;br/&gt;
cryptography with Martin Hellman, and Ron is the R in RSA (together&lt;br/&gt;
with Adi Shamir and Leonard Adleman). What the title is referring&lt;br/&gt;
to is that a lot of RSA keys out there are NOT generated in a&lt;br/&gt;
sufficiently random fashion, on the contrary. The title presumably&lt;br/&gt;
reflects hat this comes as somewhat of a surprise to Ron Rivest,&lt;br/&gt;
but not to Whit Diffie.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;What the authors of [Letal] did was that they initially in 2009&lt;br/&gt;
or before collected about 4.7 million distinct 1024-bit RSA moduli&lt;br/&gt;
which were openly available on the web, and ran GCD on all of these&lt;br/&gt;
pair wise. It turned out that 12720 had a common prime&lt;br/&gt;
divisor!!&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Even worse, according to [Letal], "of 6.6 million distinct X.509&lt;br/&gt;
certificates and PGP keys [.] containing RSA moduli, 0.27 million&lt;br/&gt;
(4%) share their RSA modulus, often involving unrelated parties. Of&lt;br/&gt;
6.4 million distinct RSA moduli, 71052 (1.1%) occur more than once,&lt;br/&gt;
some of them thousands of times."&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The authors conclude that this can likely be attributed to the&lt;br/&gt;
fact that a lot of solutions are more or less copied and used&lt;br/&gt;
several if not many times over.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;But one thing is to use a weak seed for key generation; another&lt;br/&gt;
is to actually get the math behind RSA wrong. The authors of&lt;br/&gt;
[Letal] report on eight instances where the public exponent turns&lt;br/&gt;
out to be ....1 - in which case of course the corresponding secret&lt;br/&gt;
exponent d is 1 as well, and in two instants the public exponent&lt;br/&gt;
chosen is actually even, in which case P(S(m)) = m will only hold&lt;br/&gt;
with probability less than 25%, so obviously, the solution has not&lt;br/&gt;
even been remotely tested.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;An interesting and intriguing question is what the status is for&lt;br/&gt;
all the RSA keys which cannot easily be collected from the web?&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;So what is a good strategy then?&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;First of all, you obviously need someone with a minimum of&lt;br/&gt;
mathematical competence to build and test, or you might as well&lt;br/&gt;
forget about using public key cryptography. (I often receive&lt;br/&gt;
e-mails with a content that is not particularly interesting or&lt;br/&gt;
important, which has been PGP signed. I never bother to verify the&lt;br/&gt;
signature and call this security pollution. If this is all you use&lt;br/&gt;
public keys for, don't).&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Secondly, you must ensure yourself that all the algorithms in&lt;br/&gt;
the crypto library perform correctly, preferably according to some&lt;br/&gt;
appropriate and official standard.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Thirdly, you must ensure that this standard also addresses the&lt;br/&gt;
issue of the key generation appropriately and properly.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Next, and this is absolutely crucial in order to prevent the&lt;br/&gt;
disasters revealed in [Letal] and discussed above, you must ensure&lt;br/&gt;
that the random seed used as an input for the key generation&lt;br/&gt;
algorithm is chosen using a random function with an entropy of at&lt;br/&gt;
least 128 bits AND is just not lifted from a previous solution,&lt;br/&gt;
e.g. by an iteration as described above which generates new&lt;br/&gt;
pseudorandom bits from a seed. In other words the random seed must&lt;br/&gt;
be truly random and unique.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Last, but not least, you need to ensure that the package you are&lt;br/&gt;
about to use has been properly tested for its functionality.&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;It is possible to generate very strong and practically&lt;br/&gt;
unbreakable cryptographic keys, but it requires a thorough&lt;br/&gt;
understanding of the many requirements and pitfalls, and one of the&lt;br/&gt;
major messages of [L] is that this kind of skill is sadly missing&lt;br/&gt;
far too often.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Any key generation needs a sufficiently random input, preferably&lt;br/&gt;
from a random function with an entropy of preferably at least 128&lt;br/&gt;
bits, and it is just as important that this random input has not&lt;br/&gt;
just been lifted from a previous solution.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;However, once you have one such seed which is truly random and&lt;br/&gt;
unique, it is easy using standard algorithms to generate other keys&lt;br/&gt;
for use in the same package.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&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;[Letal] Lenstra, Arjen K., James P. Hughes, James P., Augier,&lt;br/&gt;
Maxime, Bos, Joppe W., Kleinjung, Thorsten, and Wachter,&lt;br/&gt;
Christophe. "Ron was wrong, Whit is right", to appear in Proc. of&lt;br/&gt;
Crypto'12, Springer Lecture Note Series in Computer Science.&lt;/p&gt;&lt;br/&gt;
</description><content:encoded>&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/49973/random bits.jpg" alt="Random Bits"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;RSA, a short recap&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In a public key scheme, and for the sake of simplicity, assume a&lt;br/&gt;
public scheme based on encryption-decryption (as opposed to e.g.&lt;br/&gt;
DSA, the Digital Signature Algorithm, where the digital signature&lt;br/&gt;
generated by the secret key is verified to satisfy a mathematic&lt;br/&gt;
equation using the corresponding public key), you have two&lt;br/&gt;
mathematical functions, called keys, the secret key S and the&lt;br/&gt;
public key P, and one is the inverse of the other, e.g. on a&lt;br/&gt;
message m, P(S(m)) = S(P(m)) = m. RSA is the only widely used&lt;br/&gt;
public key encryption scheme, constructed as follows: Generate two&lt;br/&gt;
primes p and q of a fixed bit length, say 512 bits using a&lt;br/&gt;
sufficiently random input. Denote the product by n, also known as&lt;br/&gt;
the modulus. Now chose an appropriate so-called public exponent e.&lt;br/&gt;
It must be prime to p - 1 and q - 1 (and there is no point in&lt;br/&gt;
choosing it larger than φ(n) := (p - 1)(q - 1), as always,&lt;br/&gt;
m&lt;sup&gt;φ(n)&lt;/sup&gt; = 1 mod n - see below). There are computation&lt;br/&gt;
advantages in choosing e small, such as 3, 17 or 65537 =&lt;br/&gt;
2&lt;sup&gt;16&lt;/sup&gt; + 1, also known as the 4&lt;sup&gt;th&lt;/sup&gt; Fermat prime.&lt;br/&gt;
By running an extended version of Euclid's algorithm, which normal&lt;br/&gt;
outputs the smallest common divisor of two numbers a and b, you can&lt;br/&gt;
relatively easily find a number d such that for some number a, e∙d&lt;br/&gt;
-a∙φ(n) = 1 modn. In the following, we just write ab rather than&lt;br/&gt;
a∙b.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Due to the so called Fermat's Little Theorem - proved a lovely&lt;br/&gt;
August morning around 1640 by the famous and legendary French judge&lt;br/&gt;
and amateur mathematician Pierre Fermat - if you take any number m&lt;br/&gt;
less than n, you always have that m&lt;sup&gt;φ(n)&lt;/sup&gt; = 1 modn. Hence&lt;br/&gt;
m&lt;sup&gt;a&lt;/sup&gt;&lt;sup&gt;φ(n)&lt;/sup&gt; = 1 modn as well obviously, for any a,&lt;br/&gt;
so m&lt;sup&gt;a&lt;/sup&gt;&lt;sup&gt;φ(n)+1&lt;/sup&gt; = m = m&lt;sup&gt;ed&lt;/sup&gt; modn. Now&lt;br/&gt;
define S as S(m) = m&lt;sup&gt;d&lt;/sup&gt; mod n and P(m) = m&lt;sup&gt;e&lt;/sup&gt; mod&lt;br/&gt;
n, and it follows that P(S(m)) = S(P(m)) = m.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The amazing thing is that even though P is the inverse function&lt;br/&gt;
of S, it is practically infeasible to construct P from S without&lt;br/&gt;
knowledge of the corresponding prime divisors of the corresponding&lt;br/&gt;
modulus in spite of all the mathematics that has been developed&lt;br/&gt;
during the last 3000 years and simultaneously deploying the massive&lt;br/&gt;
computing strength available these days. That is, provided the&lt;br/&gt;
primes p and q comprising the modulus have been generated in a&lt;br/&gt;
sufficiently random fashion!&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;When I have been lecturing on public key cryptography over the&lt;br/&gt;
years, I have often been asked if there are enough primes for&lt;br/&gt;
public key cryptography. The answer is that indeed there is. This&lt;br/&gt;
is a mathematical fact, known as the Prime Number Theorem, which&lt;br/&gt;
states that given a number n, there are approximately n/ln(n)&lt;br/&gt;
primes less than n. Here ln(n) is the natural logarithm of n, e.g.&lt;br/&gt;
ln(n) is defined by e&lt;sup&gt;ln(n)&lt;/sup&gt; = n, where e is approximately&lt;br/&gt;
2.71828. We will spare you for the definition of e, though! So as&lt;br/&gt;
ln(n) is very small compared to n, there are plenty of large&lt;br/&gt;
primes, and the message for this article is that there are so many&lt;br/&gt;
that &lt;em&gt;if you use a new truly random input of say 128 bits for&lt;br/&gt;
each RSA prime generation using a sufficiently strong algorithm,&lt;br/&gt;
you will never in the future history of mankind see any prime being&lt;br/&gt;
generated twice.&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;As a warm up to the next section, what would happen if Alice and&lt;br/&gt;
Bob accidently - or on purpose perhaps - used a common prime r in&lt;br/&gt;
their RSA keys? So to find out, assume Alice use the modulus a =&lt;br/&gt;
pr, and B the modulus b = qr, where p, q and r are all primes.&lt;br/&gt;
Well, you quickly find out by running the Greatest Common Divisor&lt;br/&gt;
(GCD) algorithm based on Euclid's algorithm on a and b. Indeed,&lt;br/&gt;
this outputs a = b if p = q, otherwise the common prime r. You may&lt;br/&gt;
then divide r into a and b respectively and whence recover p and q,&lt;br/&gt;
respectively. From this, using the public exponent of Alice you can&lt;br/&gt;
find her secret exponent and similar with Bob. So this is truly and&lt;br/&gt;
utterly disastrous.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;Greatest Common Divisor algorithm on two numbers a and b:&lt;br/&gt;
Take the largest, say a. Now divide this by b to get the remainder&lt;br/&gt;
c using Euclid's algorithm. Thus a = xb + c, where c &amp;lt; b. Now do&lt;br/&gt;
the same with the pair b and c, and so on. Eventually, you end up&lt;br/&gt;
with the greatest common divisor of a and b.&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;"Ron was wrong, Whit is right"&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;This is the intriguing title of a very interesting article&lt;br/&gt;
[Letal] that was circulated in the spring of 2012 and appears in&lt;br/&gt;
the Proceedings of Crypto'12 (Springer Lecture Notes Series in&lt;br/&gt;
Computer Science) under the more anonymous title "Public Keys". Ron&lt;br/&gt;
is Ron Rivest and Whit is Whit Diffie, two of the true pioneers of&lt;br/&gt;
public key cryptography. Whit is the co-inventor of public key&lt;br/&gt;
cryptography with Martin Hellman, and Ron is the R in RSA (together&lt;br/&gt;
with Adi Shamir and Leonard Adleman). What the title is referring&lt;br/&gt;
to is that a lot of RSA keys out there are NOT generated in a&lt;br/&gt;
sufficiently random fashion, on the contrary. The title presumably&lt;br/&gt;
reflects hat this comes as somewhat of a surprise to Ron Rivest,&lt;br/&gt;
but not to Whit Diffie.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;What the authors of [Letal] did was that they initially in 2009&lt;br/&gt;
or before collected about 4.7 million distinct 1024-bit RSA moduli&lt;br/&gt;
which were openly available on the web, and ran GCD on all of these&lt;br/&gt;
pair wise. It turned out that 12720 had a common prime&lt;br/&gt;
divisor!!&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Even worse, according to [Letal], "of 6.6 million distinct X.509&lt;br/&gt;
certificates and PGP keys [.] containing RSA moduli, 0.27 million&lt;br/&gt;
(4%) share their RSA modulus, often involving unrelated parties. Of&lt;br/&gt;
6.4 million distinct RSA moduli, 71052 (1.1%) occur more than once,&lt;br/&gt;
some of them thousands of times."&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The authors conclude that this can likely be attributed to the&lt;br/&gt;
fact that a lot of solutions are more or less copied and used&lt;br/&gt;
several if not many times over.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;But one thing is to use a weak seed for key generation; another&lt;br/&gt;
is to actually get the math behind RSA wrong. The authors of&lt;br/&gt;
[Letal] report on eight instances where the public exponent turns&lt;br/&gt;
out to be ....1 - in which case of course the corresponding secret&lt;br/&gt;
exponent d is 1 as well, and in two instants the public exponent&lt;br/&gt;
chosen is actually even, in which case P(S(m)) = m will only hold&lt;br/&gt;
with probability less than 25%, so obviously, the solution has not&lt;br/&gt;
even been remotely tested.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;An interesting and intriguing question is what the status is for&lt;br/&gt;
all the RSA keys which cannot easily be collected from the web?&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;So what is a good strategy then?&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;First of all, you obviously need someone with a minimum of&lt;br/&gt;
mathematical competence to build and test, or you might as well&lt;br/&gt;
forget about using public key cryptography. (I often receive&lt;br/&gt;
e-mails with a content that is not particularly interesting or&lt;br/&gt;
important, which has been PGP signed. I never bother to verify the&lt;br/&gt;
signature and call this security pollution. If this is all you use&lt;br/&gt;
public keys for, don't).&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Secondly, you must ensure yourself that all the algorithms in&lt;br/&gt;
the crypto library perform correctly, preferably according to some&lt;br/&gt;
appropriate and official standard.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Thirdly, you must ensure that this standard also addresses the&lt;br/&gt;
issue of the key generation appropriately and properly.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Next, and this is absolutely crucial in order to prevent the&lt;br/&gt;
disasters revealed in [Letal] and discussed above, you must ensure&lt;br/&gt;
that the random seed used as an input for the key generation&lt;br/&gt;
algorithm is chosen using a random function with an entropy of at&lt;br/&gt;
least 128 bits AND is just not lifted from a previous solution,&lt;br/&gt;
e.g. by an iteration as described above which generates new&lt;br/&gt;
pseudorandom bits from a seed. In other words the random seed must&lt;br/&gt;
be truly random and unique.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Last, but not least, you need to ensure that the package you are&lt;br/&gt;
about to use has been properly tested for its functionality.&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;It is possible to generate very strong and practically&lt;br/&gt;
unbreakable cryptographic keys, but it requires a thorough&lt;br/&gt;
understanding of the many requirements and pitfalls, and one of the&lt;br/&gt;
major messages of [L] is that this kind of skill is sadly missing&lt;br/&gt;
far too often.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Any key generation needs a sufficiently random input, preferably&lt;br/&gt;
from a random function with an entropy of preferably at least 128&lt;br/&gt;
bits, and it is just as important that this random input has not&lt;br/&gt;
just been lifted from a previous solution.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;However, once you have one such seed which is truly random and&lt;br/&gt;
unique, it is easy using standard algorithms to generate other keys&lt;br/&gt;
for use in the same package.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&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;[Letal] Lenstra, Arjen K., James P. Hughes, James P., Augier,&lt;br/&gt;
Maxime, Bos, Joppe W., Kleinjung, Thorsten, and Wachter,&lt;br/&gt;
Christophe. "Ron was wrong, Whit is right", to appear in Proc. of&lt;br/&gt;
Crypto'12, Springer Lecture Note Series in Computer Science.&lt;/p&gt;&lt;br/&gt;
</content:encoded></item><item><title>The Weakest Link in Many Cryptosystems – Part 1 of 2</title><link>http://cryptomathic.com/news-events/blog/the-weakest-link-in-many-cryptosystems-–-part-1-of-2</link><pubDate>Tue, 13 Nov 2012 17:01:28 GMT</pubDate><guid>http://cryptomathic.com/news-events/blog/the-weakest-link-in-many-cryptosystems-–-part-1-of-2</guid><description>&lt;br/&gt;
&lt;h3&gt;Introduction&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;It is well-known and appreciated by most users - even if often&lt;br/&gt;
ignored(!) - that if you choose a weak password, you are exposing&lt;br/&gt;
yourself to various risks. Whether your password is used for&lt;br/&gt;
encryption of confidential data or just for access control doesn't&lt;br/&gt;
really matter, so let's assume for a minute that it is actually&lt;br/&gt;
used to encrypt your data - or perhaps to encrypt a key that is&lt;br/&gt;
used to encrypt your data. The situation you are in is that you are&lt;br/&gt;
using a random bit generator of poor quality (in this case&lt;br/&gt;
yourself!) to generate your key, in the sense that the output -&lt;br/&gt;
your password - can easily be guessed or predicted.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;One aspect to keep in mind here is the size of the space in&lt;br/&gt;
which your password theoretically might be chosen, which is&lt;br/&gt;
determined from the length (in bits or number of digits or&lt;br/&gt;
whatever). A PIN-code for a debit- or credit card is 4 digits,&lt;br/&gt;
which yields 10&lt;sup&gt;4&lt;/sup&gt; = 10,000 possibilities. The number is&lt;br/&gt;
limited to 4, as you need to be able to memorise it, and 4 digits&lt;br/&gt;
is considered the limit for most humans. This very small number is&lt;br/&gt;
then compensated by the fact that you will only have three attempts&lt;br/&gt;
to key in the right PIN at an ATM or POS-terminal. In contrast, for&lt;br/&gt;
encryption schemes, the key must be so long that it is not feasible&lt;br/&gt;
to run through all the combinations in a methodical manner within a&lt;br/&gt;
reasonable timescale, also known as exhaustive search.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Most of us constantly use cryptosystems, whether transparent to&lt;br/&gt;
us such as in an underlying SSL protocol, or by conscious choice,&lt;br/&gt;
such as use of S/MIME or PGP or whatever. In most scenarios, you do&lt;br/&gt;
not have to choose the key to be used, in fact most of the time you&lt;br/&gt;
cannot even influence the generation of it. So how do you know if&lt;br/&gt;
it has been properly generated, and what exactly does that entail?&lt;br/&gt;
Well you don't, that's the problem.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The main point of this article is that it is not enough to have&lt;br/&gt;
a strong algorithm with a sufficiently long key. There is at least&lt;br/&gt;
one more important aspect - apart from secure storage and&lt;br/&gt;
protection of course. The missing link is known as randomness, or&lt;br/&gt;
entropy.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/49603/randomness - dice.jpg" width="541" height="340" alt="Random - Dice"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;Randomness&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;Mathematically speaking, we have a means for measuring&lt;br/&gt;
randomness. Not in one particular key, or one bit string, but in a&lt;br/&gt;
variable such as a distribution of keys. This measure is known as&lt;br/&gt;
the entropy, or Shannon entropy, which was introduced in a famous&lt;br/&gt;
paper by Claude Shannon in 1948 [S]. Interestingly enough, this&lt;br/&gt;
theory has a lot in common with the theory of entropy in&lt;br/&gt;
thermodynamics - but that is another story. Suffices it here to&lt;br/&gt;
mention that the higher the entropy of a system being processed on&lt;br/&gt;
a processor, the higher the heat radiation from the&lt;br/&gt;
processor.&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;Going back to Shannon entropy, it measures how random a&lt;br/&gt;
variable is, i.e. what can be predicted about the expected values.&lt;br/&gt;
If the variable is to flip a coin, there is 1 bit of information in&lt;br/&gt;
the outcome, and if you spin the coin 3 times, there are 3 bits of&lt;br/&gt;
information in the outcome. In contrast, if the variable is not&lt;br/&gt;
evenly distributed, then even if there still are 8 options, the&lt;br/&gt;
entropy may be less than 3 bits. One aspect of Shannon's theory is&lt;br/&gt;
that this implies you need less than 3 bits on average to describe&lt;br/&gt;
the value of the variable. For instance if A occurs with&lt;br/&gt;
probability 93%, and B,C,D,E,FG and H each occur with probability&lt;br/&gt;
1% you can use the coding in the diagram below (known as Huffman&lt;br/&gt;
coding), and you will discover that the average number of bits you&lt;br/&gt;
need to describe an event is 1.21 rather than 3. So the smaller the&lt;br/&gt;
entropy, the less the&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/49609/randomness - table 1.jpg" width="540" height="37" alt="Random - table 1"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;randomness of the variable. In the extreme, an entropy of 0&lt;br/&gt;
means that the outcome is always the same. For more on information&lt;br/&gt;
entropy, we refer to the first book on the subject, [SW], which has&lt;br/&gt;
been reprinted several times, or [MOV].&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;Seeds and Pseudo Randomness&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/49614/randomness - seeds.jpg" width="540" height="246" alt="Random Seeds"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Given a key, there is normally no way you can decide if it is&lt;br/&gt;
chosen sufficiently random or not. As an example, consider all&lt;br/&gt;
binary keys of length 8. Most people would feel that 10101010 does&lt;br/&gt;
not look random at all, whereas keys like 01110110, 10111100,&lt;br/&gt;
01011100, 10000111 and 01001101 perhaps do? Yet they are all&lt;br/&gt;
connected, and in a very simple manner. Indeed, just as 376 is&lt;br/&gt;
interpreted as 3x10&lt;sup&gt;2&lt;/sup&gt;+7x10&lt;sup&gt;1&lt;/sup&gt;+6x1, the binary&lt;br/&gt;
number 10101010 is the number&lt;br/&gt;
1x2&lt;sup&gt;7&lt;/sup&gt;+1x2&lt;sup&gt;5&lt;/sup&gt;+1x2&lt;sup&gt;3&lt;/sup&gt;+1x2 = 128+32+8+2 =&lt;br/&gt;
170. Now take the (prime) 257 (= 100000001 in binary) and calculate&lt;br/&gt;
170&lt;sup&gt;2&lt;/sup&gt; mod 257 by which we mean the remainder you get when&lt;br/&gt;
you divide 170&lt;sup&gt;2&lt;/sup&gt; with 257, which is 116 as&lt;br/&gt;
170&lt;sup&gt;2&lt;/sup&gt; = 28900 and 28900 = 112x257 + 116. Now write 116 as&lt;br/&gt;
a binary number, which is done in the following way: Subtract the&lt;br/&gt;
largest possible power of 2, which is 64 = 2&lt;sup&gt;6&lt;/sup&gt;, and&lt;br/&gt;
continue in the fashion: 116 = 64 + 32 + 16 + 4 +2, or as a binary&lt;br/&gt;
number of length 8: 01110110. Continue with 170&lt;sup&gt;3&lt;/sup&gt; mod 257&lt;br/&gt;
= 116x170 mod 257 = 188, or in binary form, 10111100. Moving on to&lt;br/&gt;
170&lt;sup&gt;4&lt;/sup&gt;, we get 92 or, 01011100, then 170&lt;sup&gt;5&lt;/sup&gt; which&lt;br/&gt;
yields 220 or 11011100, etc.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;.&lt;img src="http://cryptomathic.com/media/49619/randomness - table 2.jpg" width="540" height="57" alt="Random Table 2"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;You will recognize the sequence thus generated as the sequence&lt;br/&gt;
we listed above. It may look random, yet it is not random at all as&lt;br/&gt;
we have just shown. Nevertheless if we scale this approach and&lt;br/&gt;
start with a random source, we have a good way of mass producing&lt;br/&gt;
what is known as pseudorandom numbers. More on this later.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Most people have a good feeling for achieving randomness: flip a&lt;br/&gt;
coin, or spin a racket, and let another person choose preferably as&lt;br/&gt;
soon as you have starting flipping or spinning, but before the&lt;br/&gt;
result becomes predictable. This works well in principle, but is by&lt;br/&gt;
far too tedious for cryptographic keys. Triple DES requires 112&lt;br/&gt;
bits, and AES typically even more.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;However, if we can get hold of one truly random bit sequence of&lt;br/&gt;
sufficient length - called a seed - we can use the idea sketched&lt;br/&gt;
above to make as many - not random, but pseudo-random - bits as we&lt;br/&gt;
need. By pseudo-random we simply mean that statistically, they&lt;br/&gt;
behave as if they really were truly random. This is not entirely&lt;br/&gt;
true actually, we need one thing more: an algorithm, or method,&lt;br/&gt;
that will generate bits and has the property that if you can&lt;br/&gt;
predict the next bit with a probability larger than ½, you can&lt;br/&gt;
solve a hard mathematical problem that mathematicians have not be&lt;br/&gt;
able to solve so far, such as factoring a composite number into&lt;br/&gt;
prime numbers. That is precisely what we demonstrated above using&lt;br/&gt;
the prime 257.&amp;nbsp; If instead of 257 we use a product of two&lt;br/&gt;
(large) primes, we actually know (meaning that we can give a&lt;br/&gt;
mathematical proof) that given a product of two primes, say n, if&lt;br/&gt;
we can predict the lowest bit of m&lt;sup&gt;2&lt;/sup&gt; mod n for various m,&lt;br/&gt;
then we can factor n. This is known as the Blum-Blum-Shub&lt;br/&gt;
pseudorandom bit generator. For more we refer to [MOV].&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Most professional cryptographic libraries have proper algorithms&lt;br/&gt;
for generating pseudo-random numbers, so the Achilles heel is the&lt;br/&gt;
initial random seed. This cannot be provided by the library, as it&lt;br/&gt;
is de facto a secret key in most solutions. And this is the culprit&lt;br/&gt;
in most scenarios, where the solution is realised with weak keys.&lt;br/&gt;
Indeed, the software engineer who integrates the crypto library&lt;br/&gt;
into some larger solution often lacks skills to find a sufficiently&lt;br/&gt;
strong source for the initial seed. This is the course of the&lt;br/&gt;
problem. Suppose - just for the sake of the argument - that he&lt;br/&gt;
takes the time and the date. Even if this is down to one hundredth&lt;br/&gt;
of a second, the total space of choice is 24x3600x100 or about 8.6&lt;br/&gt;
mill, which is only about 23 bits of information and thus is prone&lt;br/&gt;
to an exhaustive search attack.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;The Birthday Paradox&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In a school class of unrelated pupils (that is, no twins!) and&lt;br/&gt;
assuming birthdays are evenly distributed, how many pupils do you&lt;br/&gt;
need on average in the class in order for the probability that at&lt;br/&gt;
least 2 have a birthday in common is ½?&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Well, surprisingly, it turns out to be 23 only!&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;This is not that hard to calculate: Assume there are n&lt;br/&gt;
children in the class, and let's calculate the probability that&lt;br/&gt;
none have their birthday on the same day. The total number of&lt;br/&gt;
combinations is 365&lt;sup&gt;n&lt;/sup&gt;. The number of combinations where&lt;br/&gt;
none have their birthday on the same day is calculated as follows:&lt;br/&gt;
If there is only one, it is obviously 365. If there are several&lt;br/&gt;
pupils, the second will only have 364 options, the third 363&lt;br/&gt;
options, and so on. So the probability of no common birthday is&lt;br/&gt;
365x364x363x....x(365-n)/365&lt;sup&gt;n&lt;/sup&gt;. Obviously, as n&lt;br/&gt;
increases, this number gets smaller and smaller, and the first time&lt;br/&gt;
it moves below ½ turns out to be already when n = 23.&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/49629/randomness - bday paradox.jpg" width="455" height="256" alt="Bday Paradox" style="display: block; margin-left: auto; margin-right: auto;"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;This has the following implication for cryptographic&lt;br/&gt;
functions and in particular attacks on these: Consider a function f&lt;br/&gt;
that maps bit sequences to bit sequences of a fixed length n. So&lt;br/&gt;
the maximal number of images under this function is 2&lt;sup&gt;n&lt;/sup&gt;.&lt;br/&gt;
What we are after is the situation where two different sequences, x&lt;br/&gt;
and y, are mapped to the same image, i.e. f(x) = f(y), known as a&lt;br/&gt;
collision. The function f could be a hash function, or it could be&lt;br/&gt;
- - a key generation programme!&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;The calculation given above can be generalised, and it turns&lt;br/&gt;
out that for large image spaces (e.g. n large), and a random&lt;br/&gt;
function f, we can expect collisions with probability ½ if we&lt;br/&gt;
calculate about&lt;/em&gt; 1.25∙2&lt;sup&gt;n/2&lt;/sup&gt; (and in the example above&lt;br/&gt;
comes out at 1.25∙√365 = 23.88) values. This means that in the&lt;br/&gt;
scenario above, if people would - sometimes and perhaps too often&lt;br/&gt;
even - take the caution and use a random timestamp down to&lt;br/&gt;
1/100&lt;sup&gt;th&lt;/sup&gt; of a second, we would amongst all keys generated&lt;br/&gt;
only need to choose about 1.25√8.6mil = 3665 keys to find a&lt;br/&gt;
collision with probability ½. A collision here would mean that&lt;br/&gt;
people were using the same secret key because of a lousy key&lt;br/&gt;
generation procedure.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;a href="/news-events/blog/the-weakest-link-in-many-cryptosystems-part-2-of-2"&lt;br/&gt;
title="The Weakest Link in Many Cryptosystems - Part 2 of 2"&gt;Continued&lt;br/&gt;
in part two...&lt;/a&gt;&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;h3&gt;References&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;[MOV]&amp;nbsp;Menezes, Alfred J., van Oorschot, Paul C. &amp;amp;&lt;br/&gt;
Vanstone, Scott A., Handbook of Applied Cryptography, CRC Press,&lt;br/&gt;
1997.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;[S]&amp;nbsp;Shannon, Claude E. (July/October 1948). "A Mathematical&lt;br/&gt;
Theory of Communication". Bell System Technical Journal 27 (3):&lt;br/&gt;
379-423.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;[SW]&amp;nbsp;Shannon, Claude E. &amp;amp; Weaver, Warren. The&lt;br/&gt;
Mathematical Theory of Communication. Univ of Illinois Press,&lt;br/&gt;
1949.&lt;/p&gt;&lt;br/&gt;
</description><content:encoded>&lt;br/&gt;
&lt;h3&gt;Introduction&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;It is well-known and appreciated by most users - even if often&lt;br/&gt;
ignored(!) - that if you choose a weak password, you are exposing&lt;br/&gt;
yourself to various risks. Whether your password is used for&lt;br/&gt;
encryption of confidential data or just for access control doesn't&lt;br/&gt;
really matter, so let's assume for a minute that it is actually&lt;br/&gt;
used to encrypt your data - or perhaps to encrypt a key that is&lt;br/&gt;
used to encrypt your data. The situation you are in is that you are&lt;br/&gt;
using a random bit generator of poor quality (in this case&lt;br/&gt;
yourself!) to generate your key, in the sense that the output -&lt;br/&gt;
your password - can easily be guessed or predicted.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;One aspect to keep in mind here is the size of the space in&lt;br/&gt;
which your password theoretically might be chosen, which is&lt;br/&gt;
determined from the length (in bits or number of digits or&lt;br/&gt;
whatever). A PIN-code for a debit- or credit card is 4 digits,&lt;br/&gt;
which yields 10&lt;sup&gt;4&lt;/sup&gt; = 10,000 possibilities. The number is&lt;br/&gt;
limited to 4, as you need to be able to memorise it, and 4 digits&lt;br/&gt;
is considered the limit for most humans. This very small number is&lt;br/&gt;
then compensated by the fact that you will only have three attempts&lt;br/&gt;
to key in the right PIN at an ATM or POS-terminal. In contrast, for&lt;br/&gt;
encryption schemes, the key must be so long that it is not feasible&lt;br/&gt;
to run through all the combinations in a methodical manner within a&lt;br/&gt;
reasonable timescale, also known as exhaustive search.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Most of us constantly use cryptosystems, whether transparent to&lt;br/&gt;
us such as in an underlying SSL protocol, or by conscious choice,&lt;br/&gt;
such as use of S/MIME or PGP or whatever. In most scenarios, you do&lt;br/&gt;
not have to choose the key to be used, in fact most of the time you&lt;br/&gt;
cannot even influence the generation of it. So how do you know if&lt;br/&gt;
it has been properly generated, and what exactly does that entail?&lt;br/&gt;
Well you don't, that's the problem.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;The main point of this article is that it is not enough to have&lt;br/&gt;
a strong algorithm with a sufficiently long key. There is at least&lt;br/&gt;
one more important aspect - apart from secure storage and&lt;br/&gt;
protection of course. The missing link is known as randomness, or&lt;br/&gt;
entropy.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/49603/randomness - dice.jpg" width="541" height="340" alt="Random - Dice"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;Randomness&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;Mathematically speaking, we have a means for measuring&lt;br/&gt;
randomness. Not in one particular key, or one bit string, but in a&lt;br/&gt;
variable such as a distribution of keys. This measure is known as&lt;br/&gt;
the entropy, or Shannon entropy, which was introduced in a famous&lt;br/&gt;
paper by Claude Shannon in 1948 [S]. Interestingly enough, this&lt;br/&gt;
theory has a lot in common with the theory of entropy in&lt;br/&gt;
thermodynamics - but that is another story. Suffices it here to&lt;br/&gt;
mention that the higher the entropy of a system being processed on&lt;br/&gt;
a processor, the higher the heat radiation from the&lt;br/&gt;
processor.&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;Going back to Shannon entropy, it measures how random a&lt;br/&gt;
variable is, i.e. what can be predicted about the expected values.&lt;br/&gt;
If the variable is to flip a coin, there is 1 bit of information in&lt;br/&gt;
the outcome, and if you spin the coin 3 times, there are 3 bits of&lt;br/&gt;
information in the outcome. In contrast, if the variable is not&lt;br/&gt;
evenly distributed, then even if there still are 8 options, the&lt;br/&gt;
entropy may be less than 3 bits. One aspect of Shannon's theory is&lt;br/&gt;
that this implies you need less than 3 bits on average to describe&lt;br/&gt;
the value of the variable. For instance if A occurs with&lt;br/&gt;
probability 93%, and B,C,D,E,FG and H each occur with probability&lt;br/&gt;
1% you can use the coding in the diagram below (known as Huffman&lt;br/&gt;
coding), and you will discover that the average number of bits you&lt;br/&gt;
need to describe an event is 1.21 rather than 3. So the smaller the&lt;br/&gt;
entropy, the less the&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/49609/randomness - table 1.jpg" width="540" height="37" alt="Random - table 1"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;randomness of the variable. In the extreme, an entropy of 0&lt;br/&gt;
means that the outcome is always the same. For more on information&lt;br/&gt;
entropy, we refer to the first book on the subject, [SW], which has&lt;br/&gt;
been reprinted several times, or [MOV].&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;Seeds and Pseudo Randomness&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/49614/randomness - seeds.jpg" width="540" height="246" alt="Random Seeds"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Given a key, there is normally no way you can decide if it is&lt;br/&gt;
chosen sufficiently random or not. As an example, consider all&lt;br/&gt;
binary keys of length 8. Most people would feel that 10101010 does&lt;br/&gt;
not look random at all, whereas keys like 01110110, 10111100,&lt;br/&gt;
01011100, 10000111 and 01001101 perhaps do? Yet they are all&lt;br/&gt;
connected, and in a very simple manner. Indeed, just as 376 is&lt;br/&gt;
interpreted as 3x10&lt;sup&gt;2&lt;/sup&gt;+7x10&lt;sup&gt;1&lt;/sup&gt;+6x1, the binary&lt;br/&gt;
number 10101010 is the number&lt;br/&gt;
1x2&lt;sup&gt;7&lt;/sup&gt;+1x2&lt;sup&gt;5&lt;/sup&gt;+1x2&lt;sup&gt;3&lt;/sup&gt;+1x2 = 128+32+8+2 =&lt;br/&gt;
170. Now take the (prime) 257 (= 100000001 in binary) and calculate&lt;br/&gt;
170&lt;sup&gt;2&lt;/sup&gt; mod 257 by which we mean the remainder you get when&lt;br/&gt;
you divide 170&lt;sup&gt;2&lt;/sup&gt; with 257, which is 116 as&lt;br/&gt;
170&lt;sup&gt;2&lt;/sup&gt; = 28900 and 28900 = 112x257 + 116. Now write 116 as&lt;br/&gt;
a binary number, which is done in the following way: Subtract the&lt;br/&gt;
largest possible power of 2, which is 64 = 2&lt;sup&gt;6&lt;/sup&gt;, and&lt;br/&gt;
continue in the fashion: 116 = 64 + 32 + 16 + 4 +2, or as a binary&lt;br/&gt;
number of length 8: 01110110. Continue with 170&lt;sup&gt;3&lt;/sup&gt; mod 257&lt;br/&gt;
= 116x170 mod 257 = 188, or in binary form, 10111100. Moving on to&lt;br/&gt;
170&lt;sup&gt;4&lt;/sup&gt;, we get 92 or, 01011100, then 170&lt;sup&gt;5&lt;/sup&gt; which&lt;br/&gt;
yields 220 or 11011100, etc.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;.&lt;img src="http://cryptomathic.com/media/49619/randomness - table 2.jpg" width="540" height="57" alt="Random Table 2"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;You will recognize the sequence thus generated as the sequence&lt;br/&gt;
we listed above. It may look random, yet it is not random at all as&lt;br/&gt;
we have just shown. Nevertheless if we scale this approach and&lt;br/&gt;
start with a random source, we have a good way of mass producing&lt;br/&gt;
what is known as pseudorandom numbers. More on this later.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Most people have a good feeling for achieving randomness: flip a&lt;br/&gt;
coin, or spin a racket, and let another person choose preferably as&lt;br/&gt;
soon as you have starting flipping or spinning, but before the&lt;br/&gt;
result becomes predictable. This works well in principle, but is by&lt;br/&gt;
far too tedious for cryptographic keys. Triple DES requires 112&lt;br/&gt;
bits, and AES typically even more.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;However, if we can get hold of one truly random bit sequence of&lt;br/&gt;
sufficient length - called a seed - we can use the idea sketched&lt;br/&gt;
above to make as many - not random, but pseudo-random - bits as we&lt;br/&gt;
need. By pseudo-random we simply mean that statistically, they&lt;br/&gt;
behave as if they really were truly random. This is not entirely&lt;br/&gt;
true actually, we need one thing more: an algorithm, or method,&lt;br/&gt;
that will generate bits and has the property that if you can&lt;br/&gt;
predict the next bit with a probability larger than ½, you can&lt;br/&gt;
solve a hard mathematical problem that mathematicians have not be&lt;br/&gt;
able to solve so far, such as factoring a composite number into&lt;br/&gt;
prime numbers. That is precisely what we demonstrated above using&lt;br/&gt;
the prime 257.&amp;nbsp; If instead of 257 we use a product of two&lt;br/&gt;
(large) primes, we actually know (meaning that we can give a&lt;br/&gt;
mathematical proof) that given a product of two primes, say n, if&lt;br/&gt;
we can predict the lowest bit of m&lt;sup&gt;2&lt;/sup&gt; mod n for various m,&lt;br/&gt;
then we can factor n. This is known as the Blum-Blum-Shub&lt;br/&gt;
pseudorandom bit generator. For more we refer to [MOV].&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Most professional cryptographic libraries have proper algorithms&lt;br/&gt;
for generating pseudo-random numbers, so the Achilles heel is the&lt;br/&gt;
initial random seed. This cannot be provided by the library, as it&lt;br/&gt;
is de facto a secret key in most solutions. And this is the culprit&lt;br/&gt;
in most scenarios, where the solution is realised with weak keys.&lt;br/&gt;
Indeed, the software engineer who integrates the crypto library&lt;br/&gt;
into some larger solution often lacks skills to find a sufficiently&lt;br/&gt;
strong source for the initial seed. This is the course of the&lt;br/&gt;
problem. Suppose - just for the sake of the argument - that he&lt;br/&gt;
takes the time and the date. Even if this is down to one hundredth&lt;br/&gt;
of a second, the total space of choice is 24x3600x100 or about 8.6&lt;br/&gt;
mill, which is only about 23 bits of information and thus is prone&lt;br/&gt;
to an exhaustive search attack.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;h3&gt;The Birthday Paradox&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;In a school class of unrelated pupils (that is, no twins!) and&lt;br/&gt;
assuming birthdays are evenly distributed, how many pupils do you&lt;br/&gt;
need on average in the class in order for the probability that at&lt;br/&gt;
least 2 have a birthday in common is ½?&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;Well, surprisingly, it turns out to be 23 only!&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;This is not that hard to calculate: Assume there are n&lt;br/&gt;
children in the class, and let's calculate the probability that&lt;br/&gt;
none have their birthday on the same day. The total number of&lt;br/&gt;
combinations is 365&lt;sup&gt;n&lt;/sup&gt;. The number of combinations where&lt;br/&gt;
none have their birthday on the same day is calculated as follows:&lt;br/&gt;
If there is only one, it is obviously 365. If there are several&lt;br/&gt;
pupils, the second will only have 364 options, the third 363&lt;br/&gt;
options, and so on. So the probability of no common birthday is&lt;br/&gt;
365x364x363x....x(365-n)/365&lt;sup&gt;n&lt;/sup&gt;. Obviously, as n&lt;br/&gt;
increases, this number gets smaller and smaller, and the first time&lt;br/&gt;
it moves below ½ turns out to be already when n = 23.&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="http://cryptomathic.com/media/49629/randomness - bday paradox.jpg" width="455" height="256" alt="Bday Paradox" style="display: block; margin-left: auto; margin-right: auto;"/&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;This has the following implication for cryptographic&lt;br/&gt;
functions and in particular attacks on these: Consider a function f&lt;br/&gt;
that maps bit sequences to bit sequences of a fixed length n. So&lt;br/&gt;
the maximal number of images under this function is 2&lt;sup&gt;n&lt;/sup&gt;.&lt;br/&gt;
What we are after is the situation where two different sequences, x&lt;br/&gt;
and y, are mapped to the same image, i.e. f(x) = f(y), known as a&lt;br/&gt;
collision. The function f could be a hash function, or it could be&lt;br/&gt;
- - a key generation programme!&lt;/em&gt;&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;em&gt;The calculation given above can be generalised, and it turns&lt;br/&gt;
out that for large image spaces (e.g. n large), and a random&lt;br/&gt;
function f, we can expect collisions with probability ½ if we&lt;br/&gt;
calculate about&lt;/em&gt; 1.25∙2&lt;sup&gt;n/2&lt;/sup&gt; (and in the example above&lt;br/&gt;
comes out at 1.25∙√365 = 23.88) values. This means that in the&lt;br/&gt;
scenario above, if people would - sometimes and perhaps too often&lt;br/&gt;
even - take the caution and use a random timestamp down to&lt;br/&gt;
1/100&lt;sup&gt;th&lt;/sup&gt; of a second, we would amongst all keys generated&lt;br/&gt;
only need to choose about 1.25√8.6mil = 3665 keys to find a&lt;br/&gt;
collision with probability ½. A collision here would mean that&lt;br/&gt;
people were using the same secret key because of a lousy key&lt;br/&gt;
generation procedure.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;&lt;a href="/news-events/blog/the-weakest-link-in-many-cryptosystems-part-2-of-2"&lt;br/&gt;
title="The Weakest Link in Many Cryptosystems - Part 2 of 2"&gt;Continued&lt;br/&gt;
in part two...&lt;/a&gt;&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;h3&gt;References&lt;/h3&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;[MOV]&amp;nbsp;Menezes, Alfred J., van Oorschot, Paul C. &amp;amp;&lt;br/&gt;
Vanstone, Scott A., Handbook of Applied Cryptography, CRC Press,&lt;br/&gt;
1997.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;[S]&amp;nbsp;Shannon, Claude E. (July/October 1948). "A Mathematical&lt;br/&gt;
Theory of Communication". Bell System Technical Journal 27 (3):&lt;br/&gt;
379-423.&lt;/p&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;p&gt;[SW]&amp;nbsp;Shannon, Claude E. &amp;amp; Weaver, Warren. The&lt;br/&gt;
Mathematical Theory of Communication. Univ of Illinois Press,&lt;br/&gt;
1949.&lt;/p&gt;&lt;br/&gt;
</content:encoded></item><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>