News for hackers. Stuff that matters.
Re:Qubes Air: Generalizing the Qubes Architecture by kakarot on Monday January 29, 2018 @04:17AM (#16256361)
This was an awesome read. These guys are doing some of the most groundbreaking work in computing right now.

The idea of having an "operating system" made up of components dispersed across the globe seems like a fantasy that is too good to be true.

If Qubes can finally provide a method for passing through NVIDIA GPUs with this kind of architecture, Xen or not, that would be incredible. It's the only reason I had to leave Qubes.

Re:Qubes Air: Generalizing the Qubes Architecture by hawski on Monday January 29, 2018 @04:46AM (#16256482)
It did not help Plan 9 to conquer the world.

I found a good introduction to Plan 9 architecture in this comment:

https://news.ycombinator.com/item?id=15989697#15990077

Re:Qubes Air: Generalizing the Qubes Architecture by Cthulhu_ on Monday January 29, 2018 @05:38AM (#16256687)
Why would you want something like that though? What are the benefits that are worth the huge amount of overhead of having to pass through the internet to connect components?

I mean I get cloud computing and such, but this seems to be aimed as a consumer OS, which is very sensitive to delays and whatnot.

Re:Qubes Air: Generalizing the Qubes Architecture by rectang on Monday January 29, 2018 @06:57AM (#16256952)
One reason: the prospect of an endless stream of unpatchable Spectre-like hardware vulnerabilities.

The "real problem" exposed by Meltdown and Spectre is running untrusted software on the same hardware where sensitive information resides. Moving away from physical coupling defends against potential sidechannel attacks.

The Qubes approach of "careful decomposition of various workflows, devices, apps across securely compartmentalized containers" seems to point a way forward after this sobering assessment:

http://robert.ocallahan.org/2018/01/long-term-consequences-o...

Re:Qubes Air: Generalizing the Qubes Architecture by blattimwind on Monday January 29, 2018 @12:04PM (#16258743)
> The "real problem" exposed by Meltdown and Spectre is running untrusted software on the same hardware where sensitive information resides.

Well obviously. Which is why people try to avoid that as much as they can when they are handling actually sensitive information.

> Moving away from physical coupling defends against potential sidechannel attacks.

... is a correct deduction, but using cloud VMs hardly qualifies as following the principle (except if they are only used for lowest-privilege stuff, but even then, the system now requires connectivity). Now you don't know who else is on your hardware, and you don't even control the hardware in the first place.

Re:Qubes Air: Generalizing the Qubes Architecture by kakarot on Monday January 29, 2018 @07:05AM (#16256989)
Qubes aims to provide both consumer and enterprise workflows, and everything in between. People use computers for all sorts of things. A full Qubes system delivered to a tablet/phone interface is also a fine tradeoff for millisecond GUI delays.
Re:Qubes Air: Generalizing the Qubes Architecture by eptcyka on Monday January 29, 2018 @05:15AM (#16256589)
Passing through GPUs is problematic, as it's a massive attack surface.
Re:Qubes Air: Generalizing the Qubes Architecture by effie on Monday January 29, 2018 @06:22AM (#16256839)
Could you elaborate on the 'massive'? Let's say you let the VM see the GPU. What kind of attack would that enable? Let's suppose that a virus inside VM manipulates GPU outside of what applications are allowed to do. What worst thing could happen?
Re:Qubes Air: Generalizing the Qubes Architecture by pjc50 on Monday January 29, 2018 @07:13AM (#16257020)
The GPU is a PCIe/AGP "bus master", so it can usually initiate DMA transfers from host memory and read anything it likes. IOMMU blocks some of this, but is not a perfect defence. https://security.stackexchange.com/questions/150386/does-iom...
Re:Qubes Air: Generalizing the Qubes Architecture by effie on Monday January 29, 2018 @07:39AM (#16257112)
Thanks, according to [1], it seems DMA is quite a 'backdoor', bypassing any memory management the kernel would do. But it is not clear to me whether this allows the attacker inside VM also to write into the forbidden regions of memory and thus either modify behaviour of the hypervisor or send information out via Internet.

[1] https://en.wikipedia.org/wiki/DMA_attack

Re:Qubes Air: Generalizing the Qubes Architecture by gmueckl on Monday January 29, 2018 @08:46AM (#16257429)
GPUs can definitely write to host memory. In some situations, this is the only way to the results of some operations that the GPU performed (e.g. grab framebuffer for screenshots or video recordings). Usually, it's the job of the driver to check for illegal copy target addresses.
Re:Qubes Air: Generalizing the Qubes Architecture by kakarot on Monday January 29, 2018 @07:58AM (#16257205)
The primary objective would be exfiltration, executive control is only secondary. If you can exfiltrate keys or hashes then you might not even need to use DMA to gain access to a system.
Re:Qubes Air: Generalizing the Qubes Architecture by kakarot on Monday January 29, 2018 @07:05AM (#16256986)
It's unavoidable for me.

It provides no drawback for users who don't utilize it, and the alternative is me remaining with KVM which is a vastly larger attack surface, so your argument defeats itself.

Re:Qubes Air: Generalizing the Qubes Architecture by pikchurn on Monday January 29, 2018 @06:17AM (#16256825)
> The idea of having an "operating system" made up of components dispersed across the globe seems like a fantasy that is too good to be true.

Read up on Amoeba and Sprite in the 80's.