Researchers: How 'leaky' smart phones give up their crypto keys

By eavesdropping on signals leaking from smart phones, researchers show how they extract cryptographic keys from as far away as 30 feet.

SAN FRANCISCO — Smart phones being used for sensitive transactions leak data that can be used to recover the cryptographic keys securing connections, researchers say.

Tests using about $1,000 worth of off-the-shelf equipment were able to pick up power usage information from phones’ CPUs from as far away as 30 feet, said Benjamin Jun, vice president of technology at Cryptography Research Inc. The data can be analyzed to reveal the cryptographic keys being generated and used.

“That distance was a surprise to me,” said Jun, who is presenting results of the research at this week’s RSA Conference. Picking off the signals at that distance required a fairly bulky cell base station antenna. But smaller loop and e-field antennas were able to pick up usable signals at distances of a few inches or a few feet.


More from RSA:

Offense must be the new defense, RSA chief says

Tony Bennett left his heart, others leave mobile devices in San Francisco


“What we’re trying to do here is not show the limits of what can be done,” but to determine the amount of data leakage and demonstrate the dangers it poses, Jun said.

By analyzing power consumption in the CPU during cryptographic processes, data — including crypto keys — could be extracted.

Passive power analysis attacks against cryptography are not new. They were documented in the 1990s by Cryptography Research, and practical countermeasures are available. They include reducing or obfuscating the signals being leaked, masking them with noise, adding randomness to the crypto processes, or changing protocol usages to make the keys less obvious.

Unfortunately, some of these measures can have performance impacts of from 10 to 400 percent, depending on the countermeasures and the algorithm being used.

Fixes can be implemented in the smart-phone hardware, operating systems and applications. Manufacturers and developers are responding to the threat, Jun said.

“This is a bit of an eye-opener,” he said. “We’re getting a lot of response at all three levels.” Although security has not often been a priority in smart-phone design and application development, “there are mobile devices shipping today with countermeasures, so I think it is a matter of when, not if, it is done.”

Smart, Internet-enabled cell phones can use cryptography in a variety of tasks, including Virtual Private Networking, SSL Web traffic, securing financial transactions and encrypting data stored on the phone. Typically these functions are enabled with an eye toward convenience.

“The whole point is to get you to your data as quickly as possible,” Jun said. “We are asking these devices to do computations with secrets that were traditionally done in more secure environments.”

Cryptographic computations are not being broadcast on the cellular signal but can be picked up through electromagnetic emanations generated by electrical activity in a phone’s chips. The phones exploited in the tests meet Federal Communications Commission requirements that leakage not cause harmful interference with communications.

Jun and Gary Kenworthy demonstrated an attack against elliptic curve cryptography on a PDA from 10 feet away, and against an Android app on an HTC Evo 4G phone using a loop antenna placed against the back of the phone. They used a $400 receiver and analyzed signals using well-known power analysis tools.

“We found we were able to see emissions from the devices that were associated with what the phone was doing,” Jun said.

That information can be used to identify keys using two methods. Simple Power Analysis can be used with slow cryptographic functions on a single trace, or intercepted process. For faster or more complex functions and in situations with a lower signal-to-noise ratio, Differential Power Analysis is used on up to several thousand traces. Although this sounds like a lot, an algorithm using block encryption could go through several thousand processes in one session. “A large e-mail attachment would do that,” Jun said.

In either case, extracting a key from the data is relatively straightforward using existing analysis tools. The value of the key depends on how it is being used in the communications protocols. A long-lived key that is frequently reused can decrypt future communications. A static key being used to generate separate session keys can effectively compromise all cryptography used by a phone’s application.

Permanent protection against power analysis attacks can be provided through chip design and hardened operating systems. But in the short term, protection for phones now in use is likely to come from more secure application development.

“There are protocols that exist that minimize the effects of leaked information when you are writing at the application level,” Jun said.

 

X
This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
Accept Cookies
X
Cookie Preferences Cookie List

Do Not Sell My Personal Information

When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

Allow All Cookies

Manage Consent Preferences

Strictly Necessary Cookies - Always Active

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data, Targeting & Social Media Cookies

Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

Save Settings
Cookie Preferences Cookie List

Cookie List

A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Functional Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Performance Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Social Media Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Targeting Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.