Defeating the smartcard code-crackers

Smart as they are, the protective codes of smart cards can be cracked using off-the-shelf technology. But the latest secure chips developed by one European team may soon frustrate hackers and thieves. Produced using a new and much faster design process, these chips can withstand more attacks than before.

Some two million new smartcards are rolled out every month, so the encrypted personal data that people store on these cards must be safe. And to date it has been. Yet the security threat is growing, as the electronic devices capable of breaking the card codes become cheaper and more powerful.

"It takes little more than an oscilloscope and a standard PC to mount a digital attack on an unprotected smartcard," says Klaus-Michael Koch. He is coordinator of the IST project SCARD, which aims to increase the security of chips on smart cards.

With equipment like this and some know-how, attackers can expose the content that a smart card is supposed to protect. Using techniques such as side-channel analysis (SCA), they can reveal part of a secret key, notably by examining a chip's power leakage as it performs computations or by scrutinising its thermal or electromagnetic radiation. If the card's owner is the attacker, he or she could upload money to an electronic purse, access a satellite TV system for free or claim to be someone else.

Improved design flow
Under SCARD, the partners wanted to put together a 'design flow' that allows semi-automatic implementation of countermeasures. The design flow is the digital design of a chip – the specifications, modelling of performance, algorithms and functionality up until the stage when the chip developer can start the synthesizer and compiler. Typically, this design process is costly and may take several years.

In-chip countermeasures must be included during the design period. They cannot be simulated, so developers must experiment with the shielding of a card's chip to limit temperature and voltage variations, or they must laboriously place transistors on it by hand.

For the hardware security issue, the partners developed prototypes of a design flow and carried out chip testing. They also paved the way for an automatic chip design process which would allow other companies to develop new and more secure chips.

"We succeeded in making the hardware more secure against side-channel analysis (SCA)," says Koch. "The chip we built was used to deduce the measurability limits, enabling us to assess the sort of countermeasures necessary against differential power attacks."

Countermeasures mask chip contents
To tackle leaky circuits, the SCARD partners developed two main countermeasures. The first introduces circuits with constant power consumption, irrespective of the tasks being performed. Says Koch, "Each clock cycle has the same energy. But these circuits must be perfectly executed, since even a three or four percent difference in energy can be seen." The second involves adding random values to the chip, masking the circuit's real values. Noise could also be added, though this is not currently feasible in smartcards due to energy-loss restrictions.

They have also developed an eight-bit test chip, featuring both unprotected and (seven) protected versions of the same circuit. The chip includes a microcontroller, is fully programmable and has reduced leakage. It is also capable of resisting over 500,000 attempted measurements, as opposed to the 15,000-measurement threshold for an ordinary (unprotected) chip. As a result, researchers can for the first time directly compare the effect of certain countermeasures on unprotected or protected versions of the same circuit on the same chip.

"Our new chip is not one hundred percent secure," acknowledges Koch. "However, it is far more difficult to crack than existing unprotected versions and represents a quantum leap forward in security." Though the project is now over, further research will be conducted on the remaining 25 test chips.

The new chip was produced using the project's own design flow, taking just one year from specification to production. "We demonstrated that our chip design flow – our set of tools and methods – really works," he notes.

Patents applied for
Two partners, Institut für Angewandte Informationsverarbeitung und Kommunikationstechnologie (IAIK, Austria) and Infineon, have applied for international patents stemming from their project work. These include countermeasures with new secure logic styles that cover innovative transistor circuits. Some of the countermeasure technology developed is also being used in IAIK's security crypto-modules.

The project results are now being disseminated through teaching – since some of the project partners are universities or technical small and medium-sized enterprises. A recent workshop in Louvain-la-Neuve, Belgium, to present SCARD's results attracted some 100 security-industry experts.

Contact:
Klaus-Michael Koch
Director of Research and Development
Technikon Forschungs- und Planungsgesellschaft mbH
Richard-Wagner-Str. 7
A-9500 Villach
Austria
Tel: +43 424 223355
Fax: +43 424 223355-77
Email: This email address is being protected from spambots. You need JavaScript enabled to view it.

Source: IST Results Portal

Most Popular Now

MRI Predict Intelligence Levels in Child…

A group of researchers from the Skoltech Center for Computational and Data-Intensive Science and Engineering (CDISE) took 4th place in the international MRI-based adolescent intelligence prediction competition. For the first...

Finally, Machine Learning Interprets Gen…

In this age of "big data," artificial intelligence (AI) has become a valuable ally for scientists. Machine learning algorithms, for instance, are helping biologists make sense of the dizzying number...

Pros and Cons of Mommy Mobile Apps

Mobile phone apps are increasingly being used to support breastfeeding decisions - sometimes at a cost, a Flinders University study indicates. The objective approach of most infant feeding (IF) apps...

Philips Expands its Range of Consumer-Fo…

At CES 2020, Royal Philips (NYSE: PHG, AEX: PHIA), a global leader in health technology, today announced its expansion of personalized consumer health solutions that help shape the industry of...

Artificial Intelligence (AI) can Detect …

A new technology for detecting low glucose levels via ECG using a non-invasive wearable sensor, which with the latest Artificial Intelligence can detect hypoglycaemic events from raw ECG signals has...

Bayer and Exscientia Collaborate to Leve…

Bayer and Exscientia Ltd., a UK-based Artificial Intelligence (AI)-driven drug discovery company, have entered into a three-year, multi-target collaboration. The partners will work on early research projects combining Exscientia's proprietary...

Gloucestershire Hospitals Announce Signi…

Gloucestershire Hospitals NHS Foundation Trust has gone live with the first elements of its Allscripts Sunrise electronic patient record just five months after signing a contract with the company. The trust...

A Better Testing Method for Patients wit…

Parkinson's disease is a neurodegenerative disorder that manifests through symptoms such as tremor, slow movements, limb rigidity and gait and balance problems. As such, nearly all diagnostic testing revolves around...

Smartphone Cameras can Speed Up Urinary …

Biological Engineers at the University of Bath have developed a test that could help medics quickly diagnose urinary tract infections (UTIs), using a normal smartphone camera. Similar in principle to...

Siemens Healthineers Celebrates 125 Year…

Today it's commonplace, but at the time it was a medical-technical revolution - the discovery of X-rays by Wilhelm Conrad Röntgen 125 years ago in Würzburg. His discovery on November...