Johanna Baehr, research assistant at the Chair of Security in Information Technology
A team at the Chair of Security in Information Technology has developed a chip with particularly secure encryption technology. Johanna Baehr heads a second team at the chair that has hidden four hardware Trojans on this chip - malicious functions that are integrated directly into the circuits.
Image: Astrid Eckert / TUM

Chip with secure encryption will help in fight against hackersA post-quantum chip with hardware trojans

A team at the Technical University of Munich (TUM) has designed and commissioned the production of a computer chip that implements post-quantum cryptography very efficiently. Such chips could provide protection against future hacker attacks using quantum computers. The researchers also incorporated hardware trojans in the chip in order to study methods for detecting this type of “malware from the chip factory”.

Hacker attacks on industrial operations are no longer science fiction – far from it. Attackers can steal information on production processes or shut down entire factories. To prevent this, communication between the chips in the individual components is encrypted. Before long, however, many encryption algorithms will become ineffective. The established processes that can fight off attacks launched with today’s computer technologies will be defenseless against quantum computers. This is especially critical for equipment with a long lifespan such as industrial facilities.

For this reason, security experts around the world are working to develop technical standards for “post-quantum cryptography”. One of the challenges is posed by the enormous processing power needed for these encryption methods. A team working with Georg Sigl, Professor of Security in Information Technology at TUM, has now designed and commissioned a highly efficient chip for post-quantum cryptography.

Speed and flexibility through a combination of hardware and software

Professor Sigl and his team took an approach based on hardware/software co-design, in which specialized components and the control software complement one another. “Ours is the first chip for post-quantum cryptography to be based entirely on a hardware/software co-design approach,” says Prof. Sigl.

“As a result, it is around 10 times as fast when encrypting with Kyber – one of the most promising candidates for post-quantum cryptography - as compared to chips based entirely on software solutions. It also uses around eight times less energy and is almost as flexible.”

 

  • Tim Fritzmann, a research assistant at the chair of Security in Information Technology
    Tim Fritzmann, a research assistant at the chair, checks the power supply and the measuring resistor of the chip. He played a key role in designing the chip. Image: Astrid Eckert / TUM
  • Georg Sigl is Professor for Security in Information Technology.
    Georg Sigl is Professor for Security in Information Technology. Image: Astrid Eckert / TUM
  • A chip developed at TUM
    The chip relies on a tight combination of hardware and software to apply post-quantum encryption performant and energy-efficiently. Image: Astrid Eckert / TUM

Based on an open source standard

 The chip is an application-specific integrated circuit (ASIC). This kind of specialized microcontroller is often manufactured in large numbers according to specifications of companies. The TUM team modified an open source chip design based on the open source RISC-V standard. It is used by increasing numbers of chip makers and could replace proprietary approaches of big companies in many areas. The chip’s post-quantum cryptography capabilities are facilitated by a modification of the processor core and special instructions that speed up the necessary arithmetic operations.

The design also incorporates a purpose-designed hardware accelerator. It not only supports lattice-based post-quantum cryptography algorithms such as Kyber, but could also work with the SIKE algorithm, which requires much more computing power. According to the team, the chip developed at TUM could implement SIKE 21 times faster than chips using only software-based encryption. SIKE is seen as the most promising alternative if the time comes when lattice-based approaches are no longer secure. Precautions of this kind make sense in applications where chips will be used for extended periods.

Hardware trojans evade post-quantum cryptography

Another potential threat, alongside the rise in conventional attacks, is posed by hardware trojans. Computer chips are generally produced according to companies’ specifications and made in specialized factories. If attackers succeed in planting trojan circuitry in the chip design before or during the manufacturing stage, this could have disastrous consequences. As in the case of external hacker attacks, entire factories could be shut down or production secrets stolen. What’s more: Trojans built into the hardware can evade post-quantum cryptography.

“We still know very little about how hardware trojans are used by real attackers,” explains Georg Sigl. “To develop protective measures, we need to think like an attacker and try to develop and conceal our own trojans. In our post-quantum chip we have therefore developed and installed four hardware trojans, each of which works in an entirely different way.”

Chip to be tested and then dismantled

Over the coming months, Prof. Sigl and his team will intensively test the chip’s cryptography capabilities and functionality and the detectability of the hardware trojans. The chip will then be destroyed – for research purposes. In a complex process, the circuit pathways will be shaved off incrementally while photographing each successive layer. The goal is to try out new machine learning methods developed at Prof. Sigl’s chair for reconstructing the precise functions of chips even when no documentation is available. “These reconstructions can help to detect chip components that perform functions unrelated to the chip’s actual tasks and which may have been smuggled into the design,” says Georg Sigl. “Processes like ours could become the standard for taking random samples in large orders of chips.  Combined with effective post-quantum cryptography, this could help us to make hardware more secure – in industrial facilities as well as in cars.”

 

Publications:

Fritzmann, T., Sigl, G., & Sepúlveda, J. RISQ-V: Tightly Coupled RISC-V Accelerators for Post-Quantum Cryptography. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2020(4), 239-280. DOI: 10.13154/tches.v2020.i4.239-280

Roy, D. B. , Fritzmann, T., Sigl G. 2020. Efficient hardware/software co-design for post-quantum crypto algorithm SIKE on ARM and RISC-V based microcontrollers. In Proceedings of the 39th International Conference on Computer-Aided Design (ICCAD '20), Article 35, 1–9. DOI:10.1145/3400302.3415728

Hepp, A., Sigl G. Tapeout of a RISC-V crypto chip with hardware trojans: a case-study on trojan design and pre-silicon detectability. In Proceedings of the 18th ACM International Conference on Computing Frontiers (CF '21).213–220. DOI: 10.1145/3457388.3458869

More information:

Two integrative research projects funded by the Federal Ministry for Education and Research (BMBF) participated in the project.

  • In the integrative project “Aquorypt”, TUM is exploring new safeguards for the quantum computing age with partners in research and the private sector.
  • The “Resec” project is developing methods for analyzing and reconstructing the layout of highly integrated circuits.

High-resolution images:

https://mediatum.ub.tum.de/1618653

Technical University of Munich

Corporate Communications Center Paul Hellmich
paul.hellmich(at)tum.de

Contacts to this article:

Prof. Dr. Georg Sigl
Technical University of Munich (TUM)
Chair of Security in Information Technology
Tel: +49 89 289-28250
sigl(at)tum.de

Related articles at www.tum.de

A chip card

IT security for the quantum computing age

Quantum computers will make current security mechanisms vulnerable to new types of cyber attacks – this is a problem for chip cards as well as for complex technological systems like networked vehicles or industrial control…

Prof. Thomas F. Hofmann, President of TUM a the opening ceremony for the Fraunhofer Institute for Cognitive Systems.

Expanded artificial intelligence research under TUM leadership

The secure use of artificial intelligence (AI) is a key issue in research and practical applications. The new Fraunhofer Institute for Cognitive System, now opened in Munich, will study how AI applications can interact…

AISEC cornerstone ceremony: Fraunhofer President, Prof. Reimund Neugebauer, Bavarian Minister Ilse Aigner, TUM Professor and AISEC co-director, Prof. Georg Sigl, TUM President Wolfgang Herrmann, TUM Professor and AISEC co-director, Prof. Claudia Eckert (from left to right). (Photo: Fraunhofer)

More room for cybersecurity

The Fraunhofer Institute for Applied and Integrated Security (AISEC) celebrated a cornerstone ceremony on October 26, 2017, for a new cybersecurity research center at the Garching campus. Established in 2008, Fraunhofer…

An industrial robot superimposed with a stylized computer chip.

Updatable chips for a safer Internet of Things

Whether it's Industrie 4.0, self-driving cars or smart home solutions – connected machines and high-value goods need security mechanisms that can be updated. The objective of the ALESSIO research is to develop and assess…