Thank you Lemmy devs for just allowing to download videos and images. Fuck reddit
linuxmemes
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
- Don't get baited into back-and-forth insults. We are not animals.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry of any kind will not be tolerated. This is an LGBTQ+-friendly community -- if that is a problem for you, you should leave.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudoin Windows. - No porn, no politics, no trolling or ragebaiting.
- Don't come looking for advice, this is not the right community.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves / tolerates / hates> systemd, and wants to interject for a moment. You can stop now.
5. π¬π§ Language/ΡΠ·ΡΠΊ/Sprache
- This is primarily an English-speaking community. π¬π§π¦πΊπΊπΈ
- Comments written in other languages are allowed.
- The substance of a post should be comprehensible for people who only speak English.
- Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures
We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations. - Keep discussions polite and free of disparagement.
- We are never in possession of all of the facts. Defamatory comments will not be tolerated.
- Discussions that get too heated will be locked and offending comments removed. Β
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
New user?
Here's a careful reminder that Linux viruses can come in Windows executables.
When it comes to hacking in the modern day it's all about escaping the box - whether that box is a container, a VM, a sandbox or indeed even an emulated environment. So we should still fear the binary blob.
Remember: update early, update often - no matter how painful that sounds.
Remember: update early, update often - no matter how painful that sounds.
Not anymore! Supply chain attacks have become so common that it's prudent to wait at least 7 days before updating to prevent installing malware from compromised update infrastructure.
So, what's the solution? Debian Stable?
Debian + unattended upgrades + modern package managers for non-system-installed software covers your bases very well.
Debian packages are downstream enough from their sources that the packaging delay keeps you safe (and means the updates have had human eyes on them before they hit you). Unattended upgrades means you donβt have to worry about running the upgrades yourself.
Pip, npm, and the other big package managers now also support dependency cooldowns on their recent releases, but uv and pnpm pioneered that and cover you for older release environments.
uv is owned by openai fun fact
Also I would heavily advocate for Debian Testing if you need a rolling release distro. It is less vetted than stable but is still more vetted than many other rolling release options and you can just stay on testing as versions change while getting features pretty fast compared to stable.
N-1
I really like Arch because I have a very custom setup and like to try the newest things, but this really worries me as Arch-based user-friendly distros that use the same packages make the repos a bigger target.
On the other hand, AI has made the patch to exploit code as short as 45 minutes.
What if you use for example ubuntu and wait 3 years?
I switched from Debian to an arch based distro. holy shit is it weird reading about some new things latest release only to have it pushed to the repo the same month or even the same day! I use btrfs so when things break its a 5 minute rollback and reboot.
Youβd still be fine if youβre not exposing public services or visiting actively-malicious websites.
You are underestimating things. Unmalicious websites can still host malicious content by users, for example.
Okay, wanna give me a link to a PoC example you set up?
Iβll reimage my laptop to an old Ubuntu ISO of your choice, and visit your link. Happy to be proven wrong.
No, I will not spend hours of my time to win an irrelevant internet argument. :P
Fair enough!
But I can tell you as a cybersecurity expert that youβd have a hard time finding a way to get any sort of remote execution from user-generated content on any major site, much less an exploitable browser sandbox escape.
Compatibility layer. Wine Is Not an Emulator.
Which is what makes the situation much worse
I read a hilarious article, probably 2 decades ago by now, where a guy decided to try running Windows viruses on Linux in Wine.
If this really is a threat today, I would say that Wine has become a pretty damn impressive project. Here's the link in case anyone else wants to read it: https://entertainment.slashdot.org/story/05/01/26/219201/running-windows-viruses-under-linux
Thereβs never been an instance of widespread malware built with a dedicated ability to persist on a Linux host through Wine.
It wouldnβt be hard at all for a hacker to manually wire up linux-specific malware on a computer once they had a RAT running in Wine, but thereβs no credible risk of windows malware automatically installing βlinux virusesβ at present.
This makes me miss r/shittyreactiongifs
Isn't your user data available in Wine on Z:\ though? I laughed at the meme but I'd still be worried info stealer malware or similar would have no problem grabbing the data it's looking for as Wine does no sandboxing at all.
Flatpak bottles can use wine in a sandboxed environment. Both flatpak and bottles have ways to restrict access to parts of the filesystem.
you can remove the Z drive letter, but that's not enough. Nothing prevents a windows program from attempting to call linux syscalls
Yeah, I'm sure some malware would fail on wine but some could still be just as bad compared to running windows natively.

This is pure gold
Meanwhile innocent looking Z:/ drive

Yeah, Wine is not a secure container. Don't count on it for security.
Isn't a way possible to prevent z:/ mapping while creating wine prefix ?
It's not just the drive letter mapping, Wine doesn't make any attempt to secure software.
You can run Wine inside an actual security solution.
All my Windows games that I launch from Lutris (which are most, since I tend to avoid Steam and prefer GOG) are launched by default inside a Firejail container configured amongst other things to have no networking enabled.
All you need to do for it is to setup a "command prefix" with firejail and its launch parameters at the Lutris level and it becomes the default one for all games.
So yeah, this runs Wine inside an actual security solution and since it's setup at the level or the launcher I use, it does it for all the games I launch from it.
I guess not allowing flatpak wine to access anything that is not necessary is the easiest way to achieve it. No idea if it is also the most secure solution.
runs wine as root yolo
unless you have it sandboxed in a flatpack container
Jokes on them, even when I ran windows my os wasn't on C, I think it was like E
kinky.
Well I'm known to be a certified freak in the hard drive
"Okay i'il look in to other drives"
Wine is a flatpak
yea, I play pirated games via flatpak bottles in hopes that getting out of the sandbox would be far too much work for the possible gains.
That sounds perfectly reasonable.
My linus virus trying to fuck up my disk on nixos (coreutils isn't in the path)
I'm sorry Linus Torvalds is personally trying to destroy your PC
Proton for some reason insists in mounting root on Z. Plain wine doesn't care. So I had to use firejail.
doesn't every game have its own c_drive?
more correctly every wineprefix. Depending on how you install games, they might not be running in separate wineprefixes, but I believe steam does it that way
Yea im pretty sure thats the point. The virus will get a drive that has nothing but the infected game on it.