Skip to main content
  1. Home
  2. Computing
  3. Mobile
  4. Web
  5. News

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

Add as a preferred source on Google

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.

Recommended Videos

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
Kevin started taking PCs apart in the 90s when Quake was on the way and his PC lacked the required components. Since then…
Google Earth’s AI misadventure lasted only a day. It was a tale of dangerous ignorance.
Nuclear reactors, tanks, and historical destruction on a life-like satellite map? Yeah, that's bad.
Nano Banana AI image generator representation.

Technology behemoths are clearly not reading the room, or they are just moving faster than they should when it comes to AI deployment. Google has already stuffed its Gemini AI in every corner of its software stack, from Android to daily productivity tools like Gmail that are used by hundreds of millions of users every day. AI is everywhere. Not all of it is bad, mind you. But in a few places, it just feels forced.

In its latest AI-fication experiment, the company targeted Google Earth. The idea was to let the audience use its Nano Banana 2 AI image generator and make images that can be placed on the map view. On paper, it's a cool idea. What would the Colosseum of Rome look like in your urban neighborhood? Yeah, fun stuff like that.

Read more
AMD is apparently gearing up to raise GPU prices right after Nvidia’s steep hike
AMD has reportedly told AIB partners about a price hike that goes into effect in. August.
AMD RX 7800

AMD is next in line to raise the asking price of its Radeon GPUs, merely days after the news of a similar hike coming for Nvidia graphics cards started making waves. As per ChannelGate on Weibo (h/t VideoCardz), AMD has informed its board partners that the price of GPU and memory bundles will go up by at least 10% in August.

Is a similar price hike coming for standalone graphics cards? I won't be surprised if that happens. The situation is so bad that AMD is planning to bring back graphics cards with 4GB of onboard memory. AMD just introduced the RX 9050 GPU, which costs $279. Notably, it's just $20 less than the RX 9060 XT that offers double the graphics memory.

Read more
Microsoft will make Windows work well with just 8GB RAM. We desperately need it
The dream of a reliable and affordable Windows laptop hinges on the next milestone at Microsoft.
Surface laptop on wooden table

The year 2026 has marked a huge course correction for Microsoft after years of frustrating users with plenty of confusing processes, unoptimized UI elements, and just the generous bloatware that can bring any Windows system to a crawl. Microsoft has finally shifted into a new phase. From fixing the right-click behavior to speeding up the Search system, the company has fixed plenty of papercuts.

The next major milestone is making Windows 11 run smoothly on Windows PCs with just 8GB of RAM. That directly means entry-level and budget laptops will at least get the basics right, even if that means sacrificing the on-device AI bells and whistles. Let's face it. The increasingly AI-first approach to computing on a Windows 11 machine is a little too taxing on the hardware at hand.

Read more