Skip to main content

New Spectre attack lets hackers steal data without having to run local code on PCs

A recent white paper released by researchers at the Graz University of Technology in Austria reveals a new attack called NetSpectre. Unlike the internet-based Spectre attack that requires a hacker to run code locally on the target PC, this version can steal data from the target PC’s memory without running any local code.

The basic method of attack is nothing new. It’s based on how a CPU speculates where its current processing path will go. A chunk of its speed stems from how it can think ahead and test different routes (branches) to determine the quickest avenue to completion. While it’s testing these routes, the chip stores data in its local cache in an unprotected way.

Unfortunately, this is a problem that resides in all modern processors. In most cases, data can only be stolen if a hacker has physical access to the target PC to run malicious code. Hackers can also attack PCs remotely by running malicious JavaScript on their websites that you download as browser cache.

But with NetSpectre, there’s nothing to download. Instead, the attacker bombards the network ports of a target PC with malicious code. The good news is that this method takes an extremely long time to extract data from memory due to the noisy environment of the internet. For instance, one method directly targets the CPU’s cache at 15 bits per hour, while another method targets a specific module (AVX2) at 60 bits per hour.

Of course, hackers don’t want everything stored in memory: They want the juicy bits. In addition to the slow data leak, they must sift through the garbage to pull out valuable, privileged items. Finding an encryption key in the slow data flow could take days versus accessing the same key by running malicious code locally on the target PC.

According to the paper, the NetSpectre attack consists of two components. The first is a leak gadget that pulls one or multiple bytes of data from memory, although single-bit gadgets are “most versatile.” The second component is the transmit gadget that makes the CPU’s state visible over the network, so the hacker can retrieve the data.

Hackers carry out the attack in four stages. First, they send the leak gadget to “mis-train” the processor’s predictive capability and then reset the environment to enable the encoding of leaked bits. After that, hackers exploit the Spectre Variant 1 vulnerability to leak data and use the transmit gadget to deliver the goods.

“As the network latency varies, the four steps have to be repeated multiple times to eliminate the noise caused by these fluctuations,” the report states. “Typically, the variance in latency follows a certain distribution depending on multiple factors, such as distance, number of hops, network congestion.”

But don’t worry, because this isn’t a vulnerability that requires a new patch. According to Intel, it’s mitigated through the same techniques used to patch Meltdown and the two Spectre variants: code inspection and modification of software. That places a speculation stopping barrier where appropriate.

“We provide guidance for developers in our whitepaper, Analyzing Potential Bounds Check Bypass Vulnerabilities, which has been updated to incorporate this method,” Intel says. “We are thankful to Michael Schwarz, Daniel Gruss, Martin Schwarzl, Moritz Lipp, & Stefan Mangard of Graz University of Technology for reporting their research.”

Updated July 27, 2018 to reflect Intel’s response.

Kevin Parrish
Former Digital Trends Contributor
Kevin started taking PCs apart in the 90s when Quake was on the way and his PC lacked the required components. Since then…
Get up to $900 off the Dell XPS 15 and Dell XPS 17 today
A Dell XPS 15 laptop on an office desk next to a monitor.

It’s all change at Dell this year with the Dell XPS 16 replacing the Dell XPS 17 and the Dell XPS 15 gradually seeing fewer updates. That means if you’re still keen to snag a Dell XPS 15 or 17, your chance to do so is running out. That’s why it’s great to see some excellent laptop deals for both models with up to $900 to be saved at the moment. If you’re looking for a new laptop, read on while we guide you through what each laptop has to offer.
Dell XPS 17 -- $1,949, was $2,849

The Dell XPS 17 remains a good option for anyone seeking a powerful laptop that works well as a desktop replacement. It has a 13th-generation Intel Core i7-13700H processor with a massive 32GB of memory so it’s ideal for all kinds of productivity-based tasks such as if you need to manage many spreadsheets at once or if you just prefer to have a lot of windows open at once. It also has 1TB of SSD storage while it can handle plenty of gaming too thanks to its Nvidia GeForce RTX 4070 graphics card. Its display is a 17-inch full HD+ model with 1920 x 1200 resolution, anti-glare properties, and 500 nits of brightness so it looks great. Other quality of life improvements include plenty of USB-C ports, up to 14 hours of battery life, a great cooling system, and a form factor that means it squeezes a 17-inch display into a 15-inch form size. It also has a large edge-to-edge backlit keyboard, comfortable touchpad, and large keycaps so it feels good to work on as you’d expect from the makers of some of the best laptops.

Read more
This Dell gaming laptop with an RTX 3050 is discounted to $700
Dell G15 gaming laptop on a table.

You don't need to spend thousands of dollars to be able to get a decent gaming laptop, as there are budget-friendly options like the Dell G15 with the Nvidia GeForce RTX 3050 graphics card. It's currently even cheaper at just $700, following a $200 discount on its original price of $900. We're not sure how much time is remaining on this offer though, so if you think this is the perfect gaming laptop for you, stop hesitating and proceed with the purchase immediately to make sure that you don't miss out on the savings.

Why you should buy the Dell G15 gaming laptop
The Dell G15 is highlighted in our list of the best gaming laptops as the best budget gaming laptop under $1,000, as it provides dependable performance while staying affordable for most gamers. It's equipped with the Nvidia GeForce RTX 3050 graphics card, which is perfect for budget gaming, and pairs it with the 13th-generation Intel Core i5 processor and 8GB of RAM. These specifications are more than enough to be able to play the best PC games, though you may have to dial down the settings for the more demanding titles.

Read more
Intel’s big bet on efficient GPUs might actually work
An Intel Meteor Lake processor socketed in a motherboard.

Intel has a lot riding on its next-gen Battlemage graphics architecture, and a very early benchmark shows some promising signs for performance. An Intel Lunar Lake CPU packing a low-power integrated Battlemage GPU was reportedly spotted in the SiSoftware benchmark database. It boasts not only higher performance than Intel's Meteor Lake chips, but also much better efficiency.

User @miktdt on X (formerly Twitter) spotted the result, which appears to come from an early qualification sample of the HP Spectre x360 14. The benchmark picked up that the laptop was using a Lunar Lake CPU, which is said to come with the Xe2-LPG architecture, a lower-power version of Battlemage.

Read more