this post was submitted on 26 Jun 2024
20 points (83.3% liked)

Linux Gaming

14771 readers
213 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
[–] [email protected] -5 points 1 month ago* (last edited 1 month 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.

[–] [email protected] 9 points 1 month ago* (last edited 1 month 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.

[–] [email protected] 3 points 1 month ago

Best practice is to create a user just for gaming.