Skip to main content

Researchers bypass Intel's Software Guard Extensions to access RSA keys

Close-up of hands on a laptop keyboard in a dark room.
Dmitry Tishchenko/123RF
Intended to help users keep their systems safe and secure, Intel Software Guard Extensions is a set of CPU instructions that can make particular portions of code and data private. However, a new paper suggests that SGX could in fact be used to facilitate a malicious attack.

Samuel Weiser and four collaborators from the Graz University of Technology in Austria have published research that demonstrates how SGX can be used to conceal a piece of malware. Within minutes, this technique was used to gain access to RSA keys hidden in SGX enclaves, according to a report from The Register.

The researchers developed a method of monitoring vulnerable cache sets that allowed them to spot the telltale signature of an RSA key calculation. “Key recovery comes in three steps,” reads the paper. “First, traces are preprocessed. Second, a partial key is extracted from each trace. Third, the partial keys are merged to recover the private key.”

Tests were run on an SGX-capable Lenovo ThinkPad T460S, which was running Ubuntu version 16.10. The team found that a single cache trace offered access to 96 percent of a 4,096-bit RSA key, and it only took eleven traces for the complete key to be assembled. The process took less than five minutes.

The authors of the paper said it’s possible to block the type of attack that they’ve demonstrated. However, the responsibility of addressing the vulnerability falls to Intel, as changes made to operating systems could end up causing further damage to the SGX model.

This isn’t the first time that Weiser has gone public with evidence that SGX is vulnerable. In January 2017, he was part of a group of researchers that published a paper that demonstrated how its input-output protections could be abused to gain access to private user data.

Digital Trends was given the following statement by Intel:

There have been many academic articles looking at the security of SGX, including side-channel attacks. In general these papers do not demonstrate anything new or unexpected about the Intel SGX architecture.

Preventing side channel attacks is a matter for the enclave developer. Intel makes this clear In the security objectives for SGX, which are well documented. The types of side-channel attacks identified on the RSA implementation used in the Graz paper were well-known for some time and are addressed by other crypto libraries available to developers (e.g. OpenSSL).

Updated on 03-17-2017 by Brad Jones: Added statement from Intel.

Editors' Recommendations

Brad Jones
Former Digital Trends Contributor
Brad is an English-born writer currently splitting his time between Edinburgh and Pennsylvania. You can find him on Twitter…
Best Dell laptop deals: Cheap laptops starting at $280
The Dell XPS 13 9315 on a table against a window.

If you're looking to pick up a new laptop, then Dell is one of the best laptop brands out there and has a multitiude of optoins for you to pick from depending on your needs. For example, Dell has both Alienware and G-Series which are some of the best gaming laptops on the market, and the Dell XPS lineup are some of the best laptops on the market and are made to compete with the MacBook. But that doesn't mean that Dell only has high-end gear for you to pick, and there are absolutely some great budget laptops and starter options.
Of course, having so many options can be a bit overwhelming for somebody who isn't familiar with Dell or the laptop market, which is why we scoured the Dell website for our favorite picks and listed them below. So, be sure to see if there's anything in here that tickles your fancy, and if not, check out some of these other great laptop deals as well.

Dell Inspiron 15 -- $280, was $330

Read more
iMac deals: New, renewed and refurbished iMac computers
Apple iMac with Retina 5K Display review close

If you're in the Apple ecosystem and need a desktop computer rather than something like a MacBook, then you'll want to go for the Apple iMac, which is one of the best all-in-one computers on the market. There are quite a few screen sizes and specs to pick from, and if you're willing to go for a renewed option, you can get some older, yes still powerful, iMacs for a great price. Even if you aren't, there are still some great Apple deals you can take advantage of to save yourself some money, which is why we went out and scoured the internet for the best deals we could find.
Apple 21.5-inch iMac (2018) Renewed -- $409, was $460

Even cheaper than any of the MacBook deals going on, this Apple 21.5-inch iMac (2018) might be a few years old but it offers plenty of juice for the price. That's the beauty behind many iMacs -- they last a long time thanks to offering reliable hardware and the benefits of MacOS, which tends to mean they stay fast for awhile. In the case of the 2018 21.5-inch iMac, you get a 2.7GHz Quad-Core Intel Core i5 processor paired up with 16GB of memory which is a great set of specs for ensuring you can get plenty of work done.

Read more
How to transfer photos from an iPhone to a computer
The Apple iPhone 15 Plus's gallery app.

As the old saying goes, the best camera is the one you always have with you. If you're like most iPhone users, that means you've likely amassed a sizeable collection of photos on your device. However, while Apple's Photos app is a great way to manage and view your photo library, it's never a good idea to keep all your eggs in one basket. After all, suffering a lost or broken iPhone is painful enough without also losing all your precious digital memories in the process.

Even if you're backing up your iPhone to iCloud or your computer, it's a good idea to keep your photos backed up separately. After all, opening a folder or a photo management app is a much easier way to get at your photos than trying to extract them from an iCloud or iTunes/Finder backup, which requires either restoring them to another iPhone or relying on special software tools.

Read more