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
    arrow-up
    3
    arrow-down
    7
    ·
    edit-2
    5 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
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      2
      ·
      edit-2
      5 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.