Say, you downloaded a pirated game that happened to be malicious, and you run it on linux using compatibility layers like WINE/Proton, does your linux installation get infected?
It’s covered in the FAQ of WineHQ
Submitted 9 hours ago by DeathByBigSad@sh.itjust.works to nostupidquestions@lemmy.world
Say, you downloaded a pirated game that happened to be malicious, and you run it on linux using compatibility layers like WINE/Proton, does your linux installation get infected?
If you have other apps and games inside that wine prefix they will get infected but no the host machine won't be affected
Can the malware somehow target the hosting Linux via wine?
at that point it’d be Linux malware
I wiuld guess that if it could, nobody would program it.
The chances of the scenario is too low. Hacking is a numbers game.
Yes. There’s no sandboxing in Wine/Proton. It’s just another application running with the privileges of the user running it. So it can do anything any other process could do with that user’s credentials. This is one reason why Wine recommends that you never run it as root.
That’s not true. By default the host filesystem is available in Wine. And even if this feature is disabled there are no active safeguards in Wine to prevent access.
Only Linux file permissions prevent access to Linux system files. But everything your user has access to can be tampered with.
Ransomware is incredibly common and designed to encrypt everything it can touch.
Given WINE’s focus on gaming, the execution of the malware could run into issues with system calls which the malware relies on not being fully implemented or acting in unexpected ways. That said, if the if the execution works, the malware may run to completion and have some impact, depending on what the malware was designed to do.
That’s just three possible classes of malware, though it’s most of what I run into professionally (I work in Incident Response). Overall, I’d recommend not relying on Linux to keep you safe from malware bundled into pirated games. While I don’t expect that the infostealer parts of the malware would work correctly (for now), a lot of malware does more than one thing. The attacker may not get your credentials with the initial infection, but you could be opening yourself up to other malware. And, if the attacker includes a RAT, he could come back later and ruin your day.
So ya, be very, very careful about running stuff which you don’t know is safe.
You confused wine with proton
Proton is Wine.
Plus some other stuff like DXVK (which is available in vanilla Wine as well). But the heavy lifting is done by Wine.
Your asshole explodes.
WILSOOON@programming.dev 8 hours ago
Yes wine and proton is malware compatible