The magic toolbox: a new front in the crypto war?

On October 18 the European Commission has presented its agenda for counterterrorism.

On page 8-10 of this document the Commission outlines its approach to encryption: supporting law enforcement in criminal investigations.

At first sight it is a fairly balanced text that tries to reconcile water and fire. But the devil is in the details and one should read in between the lines.

First the good news. The communication repeatedly mentions that the Commission is committed to strong encryption and that encryption will not be “prohibited, limited or weakened” and that the measures should not have “an impact on a larger or indiscriminate number of people”. In other words, no backdoors. That is a good thing, as strong encryption is indeed essential to protect the digital society and the privacy of its citizens.

What does the Commission propose? More collaboration between EU member states and exchange of expertise at national level. Nothing controversial. But the Commission will also support Europol to further develop its decryption capability (including hiring 86 new staff). In addition, the Commission encourages the countries to collaborate in developing a toolbox with alternative investigation techniques. What could this involve?

Writing cryptographic standards is tricky. Think of the many subtle bugs in SSL/TLS or the news this week on flaws in the WPA2 protocol (https://www.krackattacks.com/ or https://www.esat.kuleuven.be/cosic/beyond-krack-attack/). Correctly implementing encryption standards is even harder. Think Heartbleed or Infineon’s problems generating RSA keys. Users often make mistakes in configuring encryption or in choosing strong passwords. All these weaknesses could be exploited by such a toolbox.

Moreover, information that is encrypted must at some moment be decrypted so the user can read it on her device. Hence, if you can hack the device, you get access to the encrypted information. That is what police services are already doing: think of the case of Apple versus the FBI or the German “Bundestrojaner”. Hacking end user devices requires finding security flaws (unpatched weaknesses or new flaws, the so-called 0-days) and writing malware to exploit the flaws.

The conclusion is that the toolbox with alternative investigation techniques raises many questions. Governments are facing a dilemma. Should they encourage the deployment of encryption tools that are easy to configure and that are robust even if passwords are not very long? The digital society needs this, but it will make the toolbox less useful. If government experts find new weaknesses in encryption solutions, they can decide to keep them secret to expand their toolbox, or they can make them public. In the first case, they make it easier to hack the bad guys. But they take the risk that the same weaknesses are exploited by others to hack critical infrastructure (with possible catastrophic consequences) or to undermine the privacy of the citizens. If the weaknesses are made public (under responsible disclosure), they can be addressed resulting in more secure standards and products. This is a complex decision with many stakeholders. Who will make that decision in Europe? And who’s going to check the people who make these decisions?

If governments write and spread malware, the problem is even more delicate, because – unfortunately – the analogy with biological viruses works. Once malware is deployed, it frequently spreads and leaks. Bad actors can now modify the malware and target the good guys. Will governments open this Pandora box? Moreover, with malware on a smart phone or in a smart home one can scoop up much more information than was ever available in the past, increasing the risk for abuse. Who will monitor and control the use of malware? And who will be liable when government malware seriously harms citizens or companies?

Most experts agree that extreme caution is required. Whether one calls it toolbox or backdoor, there is no miracle solution that allows governments to just read the information of the bad guys without any effects on everyone else. Collateral damage seems unavoidable.

Finally, one should question whether access to encrypted information is really as important as claimed. Today smart phones are ubiquitous; they collect and spread massive amounts of sensitive information about their users. The Internet of Things, with smart cameras (that automatically recognize people and cars), smart cars, smart houses, and smart cities…. seems unstoppable. There are few ways to protect “meta data” in this environment: what are we reading, whom are we meeting, whom are we talking to, which locations have we visited. As a consequence, governments can obtain much more information about citizens than they ever could. Storing massive amounts of data is dirt cheap. And using sophisticated data mining techniques, this information is much more valuable to governments fighting terrorism than the content of encrypted communications.

We can only hope that the Commission understand this dilemma. What is needed is a careful discussion on who shall watch the ever more powerful guards. And substantial investments are needed in protecting the data and meta data of citizens, so that we can build a digital society where we are all protected against abuse by other citizens, companies and governments.

This blog post was written by Bart Preneel, head of COSIC