News for hackers. Stuff that matters.
Re:Improved Process Isolation in Firefox 100 by tinus_hn on Friday May 13, 2022 @03:29AM (#31364440)
But how do they prevent an attacker from simply opening his own connection? They can just look up the keys in the other processes.
Re:Improved Process Isolation in Firefox 100 by pcwalton on Friday May 13, 2022 @04:02PM (#31371969)
The syscalls necessary to do so are blocked by seccomp-bpf.
Re:Improved Process Isolation in Firefox 100 by scratcheee on Friday May 13, 2022 @04:44AM (#31364888)
The isolated content processes shouldn't have access to the other processes memory. There might be shared memory regions, but it seems unlikely they'd store the keys to the kingdom in shared memory.
Re:Improved Process Isolation in Firefox 100 by tinus_hn on Friday May 13, 2022 @06:33AM (#31365554)
They are owned by the same user so they probably have access to everything the other processes have. And they can probably just read the access token from the environment which is accessible through the /proc filesystem.
Re:Improved Process Isolation in Firefox 100 by rockdoe on Friday May 13, 2022 @08:31AM (#31366690)
Neither of these things are possible in a sandboxed browser: the syscalls are blocked, and the filesystem isn't (fully) accessible.
Re:Improved Process Isolation in Firefox 100 by tinus_hn on Friday May 13, 2022 @10:04AM (#31367770)
What is the mechanism for this kind of sandboxing?
Re:Improved Process Isolation in Firefox 100 by staticassertion on Friday May 13, 2022 @12:31PM (#31369651)
Namespaces let you create isolated views of the file system, isolated views of processes (ex: if you are in a new pid namespace and run 'ps' you only see yourself), users, network interfaces, etc.

I'm not sure what Firefox does, I believe they use the Chromium sandbox, and I'm way out of date on that. It used to do some filesystem setup like hardened chroots, but I would assume that's been supplanted by fs namespacing.

Re:Improved Process Isolation in Firefox 100 by tinus_hn on Saturday May 14, 2022 @05:59AM (#31376435)
Looks cool, I clearly haven’t kept up with this.
Re:Improved Process Isolation in Firefox 100 by pcwalton on Friday May 13, 2022 @04:01PM (#31371966)
Google [seccomp bpf].