News for hackers. Stuff that matters.
Re:Firejail now supports X11 sandboxing by Jasper_ on Monday May 02, 2016 @12:10PM (#11612671)
Reminder that this breaks basic features like copy/paste, drag-and-drop, and a lot of applications that spawn helper applications and expect them to be on the same display.

There is a reason that the general Linux desktop camp is not adopting solutions like this and instead preferring Wayland, and that's that these systems can never be production ready and support the featureset that traditional X11 can support.

Also, I tested my keylogger [0] on this setup, and it still got through. Oops. They're proxying through XRecord and XTest it seems.

https://github.com/magcius/keylog

Re:Firejail now supports X11 sandboxing by the8472 on Monday May 02, 2016 @02:03PM (#11613843)
That's probably worth an issue?
Re:Firejail now supports X11 sandboxing by cm3 on Monday May 02, 2016 @09:49AM (#11611271)
This is sorely needed as part of mainstream desktops due to the extended power of APIs available to web pages like file access for instance.
Re:Firejail now supports X11 sandboxing by MajesticHobo on Monday May 02, 2016 @09:55AM (#11611340)
Aren't those already sandboxed browser-local filesystems?
Re:Firejail now supports X11 sandboxing by keeperofdakeys on Monday May 02, 2016 @10:14AM (#11611516)
The browser can still access your disk though, so any vulnerability in your browser means arbitrary access. An example from last year https://blog.mozilla.org/security/2015/08/06/firefox-exploit.... That's the reason that I decided to use firejail myself.
Re:Firejail now supports X11 sandboxing by MajesticHobo on Monday May 02, 2016 @10:24AM (#11611587)
Okay. So it's a protection against browser exploits, not overreaching web APIs.
Re:Firejail now supports X11 sandboxing by koolba on Monday May 02, 2016 @10:55AM (#11611831)
Good security has layers. That way if one falls through, hopefully the next layer will catch it.
Re:Firejail now supports X11 sandboxing by cm3 on Monday May 02, 2016 @04:52PM (#11615491)
It's more a boundary for the browser not to pass because it has no business. I've seen an alternative approach which used a separate user account for Firefox and then SSH forwarding of X.
Re:Firejail now supports X11 sandboxing by cm3 on Monday May 02, 2016 @04:51PM (#11615481)
WebTorrent is something I'm afraid to try due to the laws in the place I live and nobody answered me when I asked if WebRTC p2p connections first show a permission popup like Microphone or Speaker access. I don't know how the file access APIs work in JavaScript, but it's scary to think a random website could have a random JS snippet that uploads a file from $HOME.
Re:Firejail now supports X11 sandboxing by orf on Monday May 02, 2016 @05:08PM (#11615624)
There will of course be a permission pompt.
Re:Firejail now supports X11 sandboxing by cm3 on Monday May 02, 2016 @08:43PM (#11616999)
Come to think of it, why doesn't a WebRTC connection on something like appear.in prompt for Network permission?
Re:Firejail now supports X11 sandboxing by cm3 on Monday May 02, 2016 @06:18PM (#11616172)
Good to know, I might try it the next time I'm in another country.
Re:Firejail now supports X11 sandboxing by gcb0 on Monday May 02, 2016 @11:14AM (#11612011)
don't forget that binary blobs and plug ins are more present than ever. before you only had flash, now there's hangouts, flash, silverligth, etc
Re:Firejail now supports X11 sandboxing by cm3 on Monday May 02, 2016 @04:48PM (#11615466)
Hangouts work without plugins and just WebRTC, or at least that's what I thought. Does it not?
Re:Firejail now supports X11 sandboxing by gcb0 on Monday May 02, 2016 @09:59PM (#11617278)
You wish. Just because you sold your info and control to google by using chrome doesn't mean everyone have. :)

Chrome have it pre-installed, just like microsoft had flash pre-installed. All perfect and dandy until the 0-days start to show up.

this is what i get if i try to start a hangout conference:

https://www.google.com/tools/dlpage/hangout?hl=en#hangouthtt...

Re:Firejail now supports X11 sandboxing by edwintorok on Monday May 02, 2016 @12:03PM (#11612583)
Could similar results be achieved with (x)wayland by spawning a separate X server for each application? IIUC xwayland spawns an X server on demand, but just one (so X applications can spy on each-other while wayland apps cannot, and X cannot spy on wayland apps).