X

Chrome has a new way to stop Spectre hackers. Too bad it takes more memory

The Chrome change paves the way for more browser security improvements.

Stephen Shankland Former Principal Writer
Stephen Shankland worked at CNET from 1998 to 2024 and wrote about processors, digital photography, AI, quantum computing, computer science, materials science, supercomputers, drones, browsers, 3D printing, USB, and new computing technology in general. He has a soft spot in his heart for standards groups and I/O interfaces. His first big scoop was about radioactive cat poop.
Expertise Processors, semiconductors, web browsers, quantum computing, supercomputers, AI, 3D printing, drones, computer science, physics, programming, materials science, USB, UWB, Android, digital photography, science. Credentials
  • Shankland covered the tech industry for more than 25 years and was a science writer for five years before that. He has deep expertise in microprocessors, digital photography, computer hardware and software, internet standards, web technology, and more.
Stephen Shankland
3 min read
Google's Chrome logo

Google's Chrome browser logo

Stephen Shankland/CNET

By adding new compartmentalization technology, Google's Chrome browser has taken a step to keep websites from stealing sensitive data -- but the change means Chrome will need even more memory.

Since Google first released Chrome publicly in 2008, the web browser has divided work among multiple computing processes. That approach helps keep one tab's work from interfering with what's happening in another. Google has been testing a stricter variation of this sort of partitioning to protect against Spectre, a new type of attack that Google and other researchers revealed in January.

Google released the new security feature, called site isolation, to a limited number of Chrome users starting with the Chrome 67 release in May. Now it's "enabled for 99 percent of users on Windows, Mac, Linux and Chrome OS," Chrome team member Charlie Reis said in a blog post on Wednesday.

The move shows just how complicated Spectre and the related Meltdown attacks are to thwart. Tech companies that make processors, operating systems and browsers all scrambled to block attackers from using the vulnerabilities to snatch sensitive data like passwords or encryption keys. The problem is severe enough to have risen to the US Congress, where senators griped on Wednesday that they hadn't heard about Spectre sooner.

It also shows a new way that Spectre -- which took advantage of a processor feature that increased chip speeds -- is dogging computer performance. Intel's initial low-level Spectre fixes taxed computer speeds modestly, and Chrome using more memory is another drag.

But site isolation will help future versions of Chrome with more problems besides just Spectre.

"The best part is coming in a few releases, when site isolation will provide a general mitigation" against two classes of computer attack, remote code execution and universal cross-site scripting, in a key part of Chrome, tweeted Justin Schuh, Chrome's lead security leader, on Thursday.

Chrome's site isolation technology partitions some computing processes to make  it harder for attackers using Spectre to snoop for sensitive data.
Enlarge Image
Chrome's site isolation technology partitions some computing processes to make  it harder for attackers using Spectre to snoop for sensitive data.

Chrome's site isolation technology partitions some computing processes to make  it harder for attackers using Spectre to snoop for sensitive data.

Google

Uses more memory

Google's site isolation feature is a major change to Chrome. It affects a core part of the browser called the renderer, which turns website programming code into actual pixels on your phone or laptop screen. With site isolation, Chrome splits renderers into separate computing processes more often to wall off data better.

Unfortunately, that means Chrome needs more memory. The increase is about 10 to 13 percent for people with lots of tabs open, Google said in a project document. The good news, though, is that site isolation lets Google relax earlier restrictions on monitoring precise timing of browser actions it had adopted to make Spectre attacks harder.

"Our team continues to work hard to optimize this behavior to keep Chrome both fast and secure," Reis said in the blog post. And it's also working to bring site isolation to Chrome for Android, he said.

Site isolation, a ten-year project

Reis has been working on the site isolation technology for a decade, starting with his Ph.D. research, and the Chrome team began about six years ago, Chrome security leader Justin Schuh tweeted.

Eric Lawrence, a former Chrome security team member who now works on Microsoft's rival Edge browser, called the move "an extremely impressive achievement."

"Google invested many engineer-years in a feature that initially seemed hopelessly out of whack from cost/benefit POV [point of view]," he tweeted. Then when Spectre arrived, site isolation suddenly became "an essential defense against a class of attack."

First published July 11, 12:09 p.m. PT.

Update July 13, 9:43 a.m. PT: Adds that site isolation will improve Chrome security beyond addressing Spectre problems.