News for hackers. Stuff that matters.
Re:Improving Xwayland window resizing by orangeboats on Tuesday October 29, 2024 @10:24AM (#41984144)
>newbs from Windows aren't being directed to setups like that either. They're all installing Mint or Ubuntu where the security of Wayland is nullified by the absense of sandboxing.

This cannot be more further from the truth. Amongst the newcomers, it is rather popular nowadays for them to use Flatpak-bundled apps, especially with the rise of SteamOS (the Deck essentially) lots of Linux newcomers are in fact first exposed to Flatpak and running untrusted executables in a sandbox.

And the most prominent "untrusted executable" today to those newcomers has to be Bottles, which is a nice GUI wrapper for Wine and is sandboxed (if you enable wine-wayland, of course).

Re:Improving Xwayland window resizing by asveikau on Tuesday October 29, 2024 @11:03AM (#41984558)
I wouldn't trust flatpak enough to run a truly untrusted executable. I am sure flatpak's isolation is full of holes unrelated to windowing.

But I don't think a game purchased through steam counts as untrusted.

Re:Improving Xwayland window resizing by orangeboats on Tuesday October 29, 2024 @01:08PM (#41986736)
>I wouldn't trust flatpak enough to run a truly untrusted executable. I am sure flatpak's isolation is full of holes unrelated to windowing.

As compared to running untrusted programs completely naked?

>But I don't think a game purchased through steam counts as untrusted.

Bottles is there for people to run any Win32 program, not just Steam games. And I shouldn't have to tell you how many malicious Win32 programs there are.

Re:Improving Xwayland window resizing by asveikau on Tuesday October 29, 2024 @01:56PM (#41987451)
Just google the criticisms of flatpak from a security perspective. They're out there.

Containerization on Linux was never intended to be a security feature for totally untrusted, malicious code. It's isolation for trusted code. If your scenario relies on securely running untrusted executables in a Linux container you are doing stupid things.

Re:Improving Xwayland window resizing by orangeboats on Tuesday October 29, 2024 @02:42PM (#41987953)
I am well aware of the weak points of Flatpak. But are you suggesting that running applications in a container is not more secure than running an executable completely naked?

You see: If you want absolute security, for sure, go for a full-fledged VM! Or run something like QubesOS. It is a completely reasonable decision.

However, malice certainly has degrees, and the "mildly malicious" programs most likely cannot take advantage of sandbox escaping exploits. If Flatpak can stop 95% of all attacks (relative to running a program completely without sandboxing), that is already a win in my book.

But I will note again that X11 is a big hole (as in, almost a complete free-for-all) for sandbox escaping in Flatpak.

Re:Improving Xwayland window resizing by asveikau on Tuesday October 29, 2024 @03:00PM (#41988137)
You seem to think a lot of things that aren't security boundaries are security boundaries. There have been VM escapes too. VMs are not for running untrusted OS images you get from end users.

I'm done with this thread, have a nice day.

Re:Improving Xwayland window resizing by lupusreal on Tuesday October 29, 2024 @12:03PM (#41985607)
Has there ever been a single instance of a game from Steam including an X11 keyloggers? These threats are off in fantasy land.
Re:Improving Xwayland window resizing by orangeboats on Tuesday October 29, 2024 @01:12PM (#41986808)
I am not sure where you got the impression of me talking about only "Steam games". Bottles allows you to run any Win32.

And besides that, "these threats are off in fantasy land" is an invalid defense in my opinion, considering the (quite sophisticated) XZ Utils backdoor happened not too long ago! Like I said, if such an attack towards X11 hasn't been deployed in the wild, it can only suggest such endeavor is unprofitable, not because the threats are fantastical.

Re:Improving Xwayland window resizing by lupusreal on Tuesday October 29, 2024 @06:11PM (#41989958)
XZ utils backdoor could have exploited X11, but didn't. And the most common Wayland configurations wouldn't have protected people from the backdoored utility; only extremely paranoid and therefore esoteric setups might have.
Re:Improving Xwayland window resizing by orangeboats on Thursday October 31, 2024 @02:46AM (#42004092)
> And the most common Wayland configurations wouldn't have protected people from the backdoored utility

If the attacker decided to backdoor an utility and make use of X11, it is most likely the backdoored utility will listen to keyboard events, read the bitmaps of other X11 clients.

And there's nothing that can stop the backdoor from doing so on X11...

Anyways, if you are saying the Wayland security policies are unneeded because there hasn't been an attack on X11 (this is the fundamental disagreement between us), consider the following: You don't install doors in your premise, because there hasn't been a case of burglary in your neighborhood?