Skip to main content

New ‘Prime’ Meltdown, Spectre exploits outlined by Nvidia, Princeton University

Just one month after researchers exposed methods to extract sensitive data from a device’s memory through all modern processors, another research paper arrives to illustrate how the processor design flaw can be used in other attacks. The paper, dubbing the new exploits MeltdownPrime and SpectrePrime, derives from three researchers who work at at Princeton University and graphics chip manufacturer Nvidia. 

As reported last month, all processors dating back to at least 2011 have a flaw in the way they’re designed. Part of a processor’s speed comes from its ability to predict where the current list of instructions will go — they have “branch prediction units” that take an educated guess about what command will come next. To make these predictions, processors toss data back and forth from two memory sets: local on-chip memory called cache for fast access, and the PC’s system memory. This data isn’t secured, and that’s where the original Meltdown and Spectre attacks come in. 

Recommended Videos

The Meltdown approach applies to Intel and Apple processors. A hacker can create a malicious program to access that raw information, which could include usernames, passwords, credit card numbers, and so on. It taps into the privileged information typically only accessible by the root of an operating system, otherwise known as the kernel. 

Please enable Javascript to view this content

Meanwhile, Spectre applies to Intel, AMD, and all mobile chips based on ARM’s processor design, including Apple. Here hackers can create a program to trick the processor into executing instructions not built into legitimate programs and apps installed on the PC. In other words, your favorite apps and programs could be tricked into coughing up your sensitive data. 

Both methods are merely proof-of-concepts reported by Google Project Zero, and researchers from Cerberus Technology and various universities. Both are called side-channel attacks as they don’t target specific software, such as Adobe Flash. 

The new MeltdownPrime and SpectrePrime exploits rely on an attack called Prime+Probe that takes advantage of processor “cache invalidations,” which is a method of replacing or removing entries in the CPU’s cache. Whereas Meltdown and Spectre simply “pollute” this cache during the CPU’s path prediction (aka speculative execution), the new exploits take a different approach. 

“MeltdownPrime and SpectrePrime are caused by write requests being sent out speculatively in a system that uses an invalidation-based coherence protocol,” the paper states. A coherence protocol means that the PC is keeping all data stored in cache and memory consistent. But that protocol may “invalidate cache lines in sharer cores as a result of a speculative write access request even if the operation is eventually squashed.” 

The researchers validated their findings using a MacBook packing an Intel Core i7 processor, and MacOS Sierra v10.12.6. They ran the exploit 100 times on the machine, with a 99.95-percent success rate for SpectrePrime versus the 97.9-percent rate seen with the vanilla Spectre exploit. 

“We believe that any software techniques that mitigate Meltdown and Spectre will also be sufficient to mitigate MeltdownPrime and SpectrePrime. On the other hand, we believe that microarchitectural mitigation of our Prime variants will require new considerations,” the paper states. 

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…
This AMD-powered Zhic gaming PC is on sale for less than $500
The Zhic 1 gaming PC on a white background.

Is it possible to get a solid gaming desktop for less than $500? With the discounts from gaming PC deals, you sure can. Here's a great example: the Zhic 1 gaming PC is available from Walmart for only $489, following a $110 discount on its original price of $599. It's tagged on the platform as a best seller, which means there's a chance that stocks of the machine are already running low. If you don't want to miss out on this offer, you're going to have to complete your transaction for this gaming desktop as soon as you can.

Why you should buy the Zhic 1 gaming PC
The Zhic 1 gaming PC is relatively affordable, so you shouldn't expect it to match up to the top-of-the-line models of the best gaming PCs. It's going to be more than enough to run the best PC games though, as it's equipped with the AMD Ryzen 5 5600G processor, AMD Radeon Vega Graphics, and 16GB of RAM that's the best place to start for gaming, according to our guide on how much RAM do you need. The Zhic 1 gaming PC features a removable cover, which would make it easy to upgrade its components in the future.

Read more
The Dell XPS 16 laptop with 32GB of RAM is $600 off — hurry!
The open Dell XPS 16 on a table.

There's always high demand for Dell XPS deals because everyone wants to get the stylish and powerful laptop for a lower price than usual. That's why we think time is already running out on this offer from Dell for the Dell XPS 16 -- a $600 discount on this configuration that usually sells for $3,050, for a lowered price of $2,450. You better hurry if you want to pocket the savings, as there's a chance the stocks up for sale will already be gone by tomorrow.

Why you should buy the Dell XPS 16
The Dell XPS 16, which is now the largest model in the popular series of laptops following the Dell XPS reset early last year, received a rating of 3.5 stars out of 5 in our review. We described it as "one of the most beautiful and powerful laptops you can buy," and it all begins with its attractive and ultramodern aesthetic that houses a 16.3-inch OLED touchscreen with UHD+ resolution. The display is paired with four speakers -- wo upward-firing tweeters and two side-firing woofers -- that provide amazing volume, clear mids and highs, and legitimate bass, perfect for listening to your favorite playlists and watching streaming shows.

Read more
I tested the future of AI image generation. It’s astoundingly fast.
Imagery generated by HART.

One of the core problems with AI is the notoriously high power and computing demand, especially for tasks such as media generation. On mobile phones, when it comes to running natively, only a handful of pricey devices with powerful silicon can run the feature suite. Even when implemented at scale on cloud, it’s a pricey affair.
Nvidia may have quietly addressed that challenge in partnership with the folks over at the Massachusetts Institute of Technology and Tsinghua University. The team created a hybrid AI image generation tool called HART (hybrid autoregressive transformer) that essentially combines two of the most widely used AI image creation techniques. th result is a blazing fast tool with dramatically lower compute requirement.
Just to give you an idea of just how fast it is, I asked it to create an image of a parrot playing a bass guitar. It returned with the following picture in just about a second. I could barely even follow the progress bar. When I pushed the same prompt before Google’s Imagen 3 model in Gemini, it took roughly 9-10 seconds on a 200 Mbps internet connection.

A massive breakthrough
When AI images first started making waves, the diffusion technique was behind it all, powering products such as OpenAI’s Dall-E image generator, Google’s Imagen, and Stable Diffusion. This method can produce images with an extremely high level of detail. However, it is a multi-step approach to creating AI images, and as a result, it is slow and computationally expensive.
The second approach that has recently gained popularity is auto-regressive models, which essentially work in the same fashion as chatbots and generate images using a pixel prediction technique. It is faster, but also a more error-prone method of creating images using AI.
On-device demo for HART: Efficient Visual Generation with Hybrid Autoregressive Transformer
The team at MIT fused both methods into a single package called HART. It relies on an autoregression model to predict compressed image assets as a discrete token, while a small diffusion model handles the rest to compensate for the quality loss. The overall approach reduces the number of steps involved from over two dozen to eight steps.
The experts behind HART claim that it can “generate images that match or exceed the quality of state-of-the-art diffusion models, but do so about nine times faster.” HART combines an autoregressive model with a 700 million parameter range and a small diffusion model that can handle 37 million parameters.

Read more