this post was submitted on 26 Jun 2024
23 points (84.8% liked)

Linux Gaming

15292 readers
150 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 1 year ago
MODERATORS
 

I was just wondering what would happen if I downloaded a game that was infected by a computer virus and ran it in Linux using Proton.

Has this happened to anyone? How would the virus behave? What files, connections or devices would it have access to? Could it be as damaging as running in in Windows?

you are viewing a single comment's thread
view the rest of the comments
[–] minoscopede@lemmy.world -5 points 4 months ago* (last edited 4 months ago) (1 children)

Theoretically, the virus is made for Windows, so it would have different effects on Wine.

It probably wouldn't do anything dangerous. But still, scan it with VirusTotal.

[–] dingdongitsabear@lemmy.ml 9 points 4 months ago* (last edited 4 months ago) (1 children)

what's this "probability" based on?

wine exposes the user's home directory as drive Z: and has full read/write access to it. so, the user's proper fucked.

edit: I misspoke, Z: exposes the entire root file system, whereas only the /home/user/ has full r/w access.

[–] thedaemon@lemmy.sdf.org 3 points 4 months ago

Best practice is to create a user just for gaming.