6 ms·
Let's say every attack vector exposed by wayland involves user being root or somehow having sudo access or somehow being exempt in pam or somehow having special
by nurettin 8y ago
Let's say every attack vector exposed by wayland involves user being root or somehow having sudo access or somehow being exempt in pam or somehow having special access to input devices or being promoted through an ssh config or being promoted through a vpn config.
That is still a huge attack vector considering that the userbase is desktop users and not companies with security teams.
- ddevault 8y agoIf you expect Wayland to protect users who give arbitrary programs root access, I have nothing more to say to you.
- nurettin 8y agoI expect attack vectors to be equal or less than X. Also consider what I wrote instead of repeating the same mantra of full root access.
- mort96 8y agoI don't quite understand. A rouge root user in X can just replace the /usr/bin/X binary with their own version which records the screen and logs user input or does whatever they want the next time the user restarts X, or better yet, install a kernel module of their own and have arbitrary code running in ring 0. What exact attack vectors do you see in X which you don't see in Wayland, which actually makes a difference and isn't completely overshadowed by all the other things a root user can do?
- coldtea 8y ago>That is still a huge attack vector considering that the userbase is desktop users and not companies with security teams. Because the default in Linux is for Desktop users to login as roots? Where have you seen that?
- nurettin 8y agoBecause after you use linux for a couple of years you become dangerously knowledgeable and apply workarounds to make things more convenient, such as allowing no password with sudo. Surprised I had to explain this, though.
- girst 8y agoIf you leave your keys in your front door and get robbed, your insurance will laugh you out the window when you try to file a claim. Surprised I had to explain this, though.
- bdowling 8y agoWhether a particular theft is covered would depend on the specific language of your insurance contract. For example, a theft might be covered where leaving the keys in the door was a rare lapse in otherwise good security (reasonable), but not in the case where it was the the regular procedure (negligent). Coverage might also depend on how the specific contract language has been interpreted by courts in your jurisdiction in the past.
- coldtea 8y ago>Surprised I had to explain this, though. I'm surprised you even think taking such shortcuts has any bearing to wether Wayland is secure. People that "become dangerously knowledgeable and apply workarounds to make things more convenient, such as allowing no password with sudo" should not have much expectations for security. The same way if you leave your front door open in a street level inner city apartment, don't be surprised to be robbed.
- 8y ago