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?

  • @minoscopede@lemmy.world
    link
    fedilink
    English
    -5
    edit-2
    6 months ago

    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
      link
      fedilink
      English
      9
      edit-2
      6 months ago

      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.

      • thedæmon
        link
        English
        36 months ago

        Best practice is to create a user just for gaming.