QubesOS allows arbitrary sudo in AppVM. The usual argument is that the AppVM its...

@niconiconi@mk.absturztau.be

QubesOS allows arbitrary sudo in AppVM. The usual argument is that the AppVM itself is a security boundary enforced by Xen, and it's pointless to lock the OS down. But locking down root forces an attacker to use an additional exploit before Xen is attacked, so there's still a point of not allowing sudo, isn't it?

Today I found the real argument. Apparently, Joanna Rutkowska and Solar Designer
had a conversation about it. The catch is that AppVM relies on its X server to forward all windows to the Dom0 screen, so the user can see anything at all. So, even if you protect sudo, as soon as you open any window as root, an attacker can just arbitrarily attach itself to that root terminal, making the protected sudo pointless. The mitigation would be running two instances of the window systems in each AppVM, and that would make the system pretty convoluted, and the developers don't want to implement that. So we have it, the actual reason that QubesOS allows arbitrary sudo in AppVM.