News for hackers. Stuff that matters.
Re:Why is the Zoom app listening on my microphone when not i... by user-the-name on Wednesday February 09, 2022 @06:06AM (#30271327)
> On linux I have no issues installing "native" apps whatsoever

You should. Linux provides pretty much zero protection for your data. Any app you install can spy on the data of any other app you're using, and all your personal files.

Other OSes are slowly introducing some limitations and protections here, but Linux is really not doing much at all.

Re:Why is the Zoom app listening on my microphone when not i... by periheli0n on Wednesday February 09, 2022 @07:50AM (#30272003)
Well, there is AppArmor and SELinux which AFAIU could fence in individual apps. It's just not exactly trivial to set up without breaking the app.
Re:Why is the Zoom app listening on my microphone when not i... by CorrectHorseBat on Wednesday February 09, 2022 @06:28AM (#30271451)
On Linux there's Flatpak and Wayland which aim to introduce more protection
Re:Why is the Zoom app listening on my microphone when not i... by ncmncm on Wednesday February 09, 2022 @06:40AM (#30271524)
Not meaningfully. If you have to install an app, only putting it in a VM can ever help much.

If you run X (except on Qubes!) any program can see everything every other X program is doing -- all keystrokes, all mouse clicks, all pixels.

Re:Why is the Zoom app listening on my microphone when not i... by nicce on Wednesday February 09, 2022 @07:48AM (#30271984)
This is not true. You can write AppArmor rules which can restrict pretty much everything. SELinux is also a thing, and introduces a lot of features that you can't see in the Windows for example.

> X program is doing -- all keystrokes, all mouse clicks, all pixels.

Parent was mentioning Wayland specifically to remove this threat.

Re:Why is the Zoom app listening on my microphone when not i... by drran on Wednesday February 09, 2022 @08:38AM (#30272455)
In Linux, just run an app as separate user. Linux is a multi-tenant OS, so users are well protected from each other. If you need to share files with program, share them via a shared folder, e.g. `/tmp`.
Re:Why is the Zoom app listening on my microphone when not i... by CorrectHorseBat on Wednesday February 09, 2022 @09:10AM (#30272766)
Doesn't sound very practical, especially for grahical programs.
Re:Why is the Zoom app listening on my microphone when not i... by drran on Wednesday February 09, 2022 @11:37AM (#30274683)
Security is compromise. You can share your whole home directory, if you trust the software, but it will make any kind of protection useless, or you can write a helper tool, which will grant access to a single selected file using a hard link, to make alias for file content, or synchronize files between directories, or mount a shared directory to both container and your home directory, or use SELinux to grant access to a selected directory only. Chose your own compromise.
Re:Why is the Zoom app listening on my microphone when not i... by CorrectHorseBat on Wednesday February 09, 2022 @01:49PM (#30276674)
But it doesn't have to be such a shitty compromise. Most desktop applications could be made such that you have all the security and the convenience.
Re:Why is the Zoom app listening on my microphone when not i... by drran on Thursday February 10, 2022 @01:42PM (#30290602)
Separate user for untrusted apps is the proven way to do that in UNIX. :-/
Re:Why is the Zoom app listening on my microphone when not i... by CorrectHorseBat on Friday February 11, 2022 @03:30PM (#30306640)
That can happen under the hood, but the user should not have to deal with that
Re:Why is the Zoom app listening on my microphone when not i... by periheli0n on Wednesday February 09, 2022 @01:42PM (#30276552)
This is how Android does security AFAIK — every app is run as a different user.
Re:Why is the Zoom app listening on my microphone when not i... by boring_twenties on Wednesday February 09, 2022 @03:24PM (#30277976)
If they connect to the same X display, it doesn't matter what user they run as.
Re:Why is the Zoom app listening on my microphone when not i... by drran on Thursday February 10, 2022 @01:44PM (#30290636)
So, give separate X server (Xephyr, Xnest, Xvnc) per app for increased security. They will be isolated from clipboard, window titles, and broadcasted key events.
Re:Why is the Zoom app listening on my microphone when not i... by boring_twenties on Thursday February 10, 2022 @05:35PM (#30293707)
Yes, but in my experience at least, Firefox is not usable running under Xephyr. It's simply too slow for regular web browsing, forget about trying to watch any kind of video.

In theory, the X11 Security Extension would seem to provide a middle ground. On the plus side, I don't notice any performance impact when running Firefox as an untrusted client. However, most programs aren't coded correctly to coexist with it. For example, Firefox crashes regularly when running as such (via SIGSEGV no less, which is its own yikes). Not only that but many programs that are themselves trusted (i.e. normal/default X11 clients) will misbehave if they are simply near an untrusted client: LibreOffice Calc, for example, will lock up hard if the untrusted clipboard is in use.

Re:Why is the Zoom app listening on my microphone when not i... by user-the-name on Wednesday February 09, 2022 @09:28AM (#30272994)
That is nowhere near practical.
Re:Why is the Zoom app listening on my microphone when not i... by drran on Wednesday February 09, 2022 @11:39AM (#30274719)
All system daemons are running this way. It's the standard way to isolate networking services on UNIX.
Re:Why is the Zoom app listening on my microphone when not i... by user-the-name on Wednesday February 09, 2022 @04:51PM (#30279065)
And no user-facing UI apps do this or are built for it, and no desktop environment has any kind of support for doing it.

It just doesn't work in practice.

Re:Why is the Zoom app listening on my microphone when not i... by drran on Thursday February 10, 2022 @02:08PM (#30290950)
Desktop environments have nothing to do with that: it's the job of distribution. `gksu` is popular to run graphical apps under root or another user, for example, until it was removed from distributions because distributions don't want to allow users to run untrusted apps as root.
Re:Why is the Zoom app listening on my microphone when not i... by drran on Wednesday February 09, 2022 @08:31AM (#30272390)
You can run each program in full screen on a separate instance of Xephyr or Xnest, so the program will have a whole separate X server to play with in isolation. Good for running Raspberry Pi desktop via `ssh -X` or `ssh -Y`.
Re:Why is the Zoom app listening on my microphone when not i... by drran on Wednesday February 09, 2022 @08:24AM (#30272316)
Linux distributions are FOSS. They provide as much protection as I need. I can run untrusted applications in a container, if I WANT that level of protection. For FOSS software, I don't want it.
Re:Why is the Zoom app listening on my microphone when not i... by jjav on Wednesday February 09, 2022 @02:16PM (#30277076)
The standard (and ubiquitous) way on UNIX/Linux is to run each program as a different dedicated user. Complete separation.
Re:Why is the Zoom app listening on my microphone when not i... by boring_twenties on Wednesday February 09, 2022 @03:23PM (#30277960)
Even if you do that, they all connect to the same X server.

There's the X11 security extension, which offers the concept of "untrusted" clients, but many programs won't work with it. For example, Firefox segfaults regularly if run as an untrusted client.