RetroFed Forums
Your home away from modern life.
windows virus from the game played through proton on linux finding itself on an empty c drive
Post Reply
AuthorMessage
blibla
slrpnk.net

blibla@slrpnk.net
Joined: 2023-09-12
Posted:   Subject: windows virus from the game played through proton on linux finding itself on an empty c drive Quote

726   Original
adarza
lemmy.ca
adarza@lemmy.ca
Joined: 2024-05-29
#2 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

doesn't every game have its own c_drive?

18
Ghoelian
piefed.social
Ghoelian@piefed.social
Joined: 2025-03-19
#3 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

doesn't every game have its own c_drive?

Yea im pretty sure thats the point. The virus will get a drive that has nothing but the infected game on it.

70
CaptainBasculin
lemmy.dbzer0.com
CaptainBasculin@lemmy.dbzer0.com
Joined: 2026-01-17
#4 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Meanwhile innocent looking Z:/ drive

214
TropicalDingdong
lemmy.world

TropicalDingdong@lemmy.world
Joined: 2023-07-29
#5 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

228
zurohki
aussie.zone
zurohki@aussie.zone
Joined: 2023-06-21
#6 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Meanwhile innocent looking Z:/ drive

Yeah, Wine is not a secure container. Don't count on it for security.

140
RustyNova
lemmy.world

RustyNova@lemmy.world
Joined: 2023-11-24
#7 Posted: · edited   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

My linus virus trying to fuck up my disk on nixos (coreutils isn't in the path)

37
AliOski
feddit.nl
AliOski@feddit.nl
Joined: 2023-07-03
#8 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

This is pure gold

40
TheSyndZ
lemmy.dbzer0.com
TheSyndZ@lemmy.dbzer0.com
Joined: 2023-06-14
#9 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Yeah, Wine is not a secure container. Don't count on it for security.

Isn't a way possible to prevent z:/ mapping while creating wine prefix ?

8
Artemis_Mystique
lemmy.ml
Artemis_Mystique@lemmy.ml
Joined: 2023-08-02
#10 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Meanwhile innocent looking Z:/ drive

unless you have it sandboxed in a flatpack container

10
mysterious_cake
feddit.nl
mysterious_cake@feddit.nl
Joined: 2026-04-30
#11 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Isn't a way possible to prevent z:/ mapping while creating wine prefix ?

I guess not allowing flatpak wine to access anything that is not necessary is the easiest way to achieve it. No idea if it is also the most secure solution.

11
Axolotl.cpp
lemmy.dbzer0.com

Axolotl_cpp@lemmy.dbzer0.com
Joined: 2026-10-01
#12 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

"Okay i'il look in to other drives"

Wine is a flatpak

38
zurohki
aussie.zone
zurohki@aussie.zone
Joined: 2023-06-21
#13 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Isn't a way possible to prevent z:/ mapping while creating wine prefix ?

It's not just the drive letter mapping, Wine doesn't make any attempt to secure software.

You can run Wine inside an actual security solution.

28
Big Baby Thor
sopuli.xyz

thorhop@sopuli.xyz
Joined: 2025-04-10
#14 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Here's a careful reminder that Linux viruses can come in Windows executables.

When it comes to hacking in the modern day it's all about escaping the box - whether that box is a container, a VM, a sandbox or indeed even an emulated environment. So we should still fear the binary blob.

Remember: update early, update often - no matter how painful that sounds.

138
SkaveRat
discuss.tchncs.de
SkaveRat@discuss.tchncs.de
Joined: 2023-07-09
#15 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Meanwhile innocent looking Z:/ drive

runs wine as root yolo

14
KernelTale
programming.dev
KernelTale@programming.dev
Joined: 2025-03-12
#16 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

"Okay i'il look in to other drives" Wine is a flatpak

yea, I play pirated games via flatpak bottles in hopes that getting out of the sandbox would be far too much work for the possible gains.

16
Taasz/Woof
piefed.social

MangoPenguin@piefed.social
Joined: 2025-06-05
#17 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Isn't your user data available in Wine on Z:\ though? I laughed at the meme but I'd still be worried info stealer malware or similar would have no problem grabbing the data it's looking for as Wine does no sandboxing at all.

22
MrSoup
lemmy.zip

MrSoup@lemmy.zip
Joined: 2024-03-21
#18 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Proton for some reason insists in mounting root on Z. Plain wine doesn't care. So I had to use firejail.

5
diaphragmwp
discuss.tchncs.de
diaphragmwp@discuss.tchncs.de
Joined: 2026-06-03
#19 Posted: · edited   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

"Okay i'il look in to other drives" Wine is a flatpak

Hmmmmmm, maybe then the virus shouldn't use GTK dialogs for opening files and call open(3)? hmmmmmmmmmmmmmmmmmm

1
capital5
discuss.tchncs.de
capital5@discuss.tchncs.de
Joined: 2026-08-20
#20 Posted: · edited   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Here's a careful reminder that Linux viruses can come in Windows executables. When it comes to hacking in the modern day it's all about escaping the box - whether that box is a container, a VM, a sandbox or indeed even an emulated environment. So we should still fear the binary blob. Remember: update early, update often - no matter how painful that sounds.

I read a hilarious article, probably 2 decades ago by now, where a guy decided to try running Windows viruses on Linux in Wine.

If this really is a threat today, I would say that Wine has become a pretty damn impressive project. Here's the link in case anyone else wants to read it: https://entertainment.slashdot.org/story/05/01/26/219201/running-windows-viruses-under-linux

14
dgdft
lemmy.world
dgdft@lemmy.world
Joined: 2025-03-26
#21 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

I read a hilarious article, probably 2 decades ago by now, where a guy decided to try running Windows viruses on Linux in Wine. If this really is a threat today, I would say that Wine has become a pretty damn impressive project. Here's the link in case anyone else wants to read it: https://entertainment.slashdot.org/story/05/01/26/219201/running-windows-viruses-under-linux

There’s never been an instance of widespread malware built with a dedicated ability to persist on a Linux host through Wine.

It wouldn’t be hard at all for a hacker to manually wire up linux-specific malware on a computer once they had a RAT running in Wine, but there’s no credible risk of windows malware automatically installing “linux viruses” at present.

4
Maestro
fedia.io

Maestro@fedia.io
Joined: 2024-03-17
#22 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Here's a careful reminder that Linux viruses can come in Windows executables. When it comes to hacking in the modern day it's all about escaping the box - whether that box is a container, a VM, a sandbox or indeed even an emulated environment. So we should still fear the binary blob. Remember: update early, update often - no matter how painful that sounds.

Remember: update early, update often - no matter how painful that sounds.

Not anymore! Supply chain attacks have become so common that it's prudent to wait at least 7 days before updating to prevent installing malware from compromised update infrastructure.

77
ThunderComplex
lemmy.today
ThunderComplex@lemmy.today
Joined: 2023-10-08
#23 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

My linus virus trying to fuck up my disk on nixos (coreutils isn't in the path)

I'm sorry Linus Torvalds is personally trying to destroy your PC

25
Axolotl.cpp
lemmy.dbzer0.com

Axolotl_cpp@lemmy.dbzer0.com
Joined: 2026-10-01
#24 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Hmmmmmm, maybe then the virus shouldn't use GTK dialogs for opening files and call open(3)? hmmmmmmmmmmmmmmmmmm

I don't get what you mean

1
Aceticon
lemmy.dbzer0.com
Aceticon@lemmy.dbzer0.com
Joined: 2024-12-06
#25 Posted: · edited   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

It's not just the drive letter mapping, Wine doesn't make any attempt to secure software. You can run Wine inside an actual security solution.

All my Windows games that I launch from Lutris (which are most, since I tend to avoid Steam and prefer GOG) are launched by default inside a Firejail container configured amongst other things to have no networking enabled.

All you need to do for it is to setup a "command prefix" with firejail and its launch parameters at the Lutris level and it becomes the default one for all games.

So yeah, this runs Wine inside an actual security solution and since it's setup at the level or the launcher I use, it does it for all the games I launch from it.

20
diaphragmwp
discuss.tchncs.de
diaphragmwp@discuss.tchncs.de
Joined: 2026-06-03
#26 Posted: · edited   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

I don't get what you mean

Type man 3 open.

That's what most Flatpak apps may do instead of asking permission via a fancy menu, which actually just does the same thing.

4
signalsayge
infosec.pub
signalsayge@infosec.pub
Joined: 2025-06-04
#27 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Remember: update early, update often - no matter how painful that sounds. Not anymore! Supply chain attacks have become so common that it's prudent to wait at least 7 days before updating to prevent installing malware from compromised update infrastructure.

On the other hand, AI has made the patch to exploit code as short as 45 minutes.

4
Speiser0
feddit.org
Speiser0@feddit.org
Joined: 2024-06-27
#28 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Remember: update early, update often - no matter how painful that sounds. Not anymore! Supply chain attacks have become so common that it's prudent to wait at least 7 days before updating to prevent installing malware from compromised update infrastructure.

What if you use for example ubuntu and wait 3 years?

3
captainlezbian
lemmy.world
captainlezbian@lemmy.world
Joined: 2023-06-29
#29 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Jokes on them, even when I ran windows my os wasn't on C, I think it was like E

12
dgdft
lemmy.world
dgdft@lemmy.world
Joined: 2025-03-26
#30 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

What if you use for example ubuntu and wait 3 years?

You’d still be fine if you’re not exposing public services or visiting actively-malicious websites.

0
nroth
lemmy.world
nroth@lemmy.world
Joined: 2024-08-09
#31 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Remember: update early, update often - no matter how painful that sounds. Not anymore! Supply chain attacks have become so common that it's prudent to wait at least 7 days before updating to prevent installing malware from compromised update infrastructure.

I really like Arch because I have a very custom setup and like to try the newest things, but this really worries me as Arch-based user-friendly distros that use the same packages make the repos a bigger target.

8
nroth
lemmy.world
nroth@lemmy.world
Joined: 2024-08-09
#32 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Remember: update early, update often - no matter how painful that sounds. Not anymore! Supply chain attacks have become so common that it's prudent to wait at least 7 days before updating to prevent installing malware from compromised update infrastructure.

So, what's the solution? Debian Stable?

13
DevDave
piefed.social
DevDave@piefed.social
Joined: 2026-04-06
#33 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

What if you use for example ubuntu and wait 3 years?

I switched from Debian to an arch based distro. holy shit is it weird reading about some new things latest release only to have it pushed to the repo the same month or even the same day! I use btrfs so when things break its a 5 minute rollback and reboot.

5
rumba
lemmy.zip
rumba@lemmy.zip
Joined: 2024-09-24
#34 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

yea, I play pirated games via flatpak bottles in hopes that getting out of the sandbox would be far too much work for the possible gains.

That sounds perfectly reasonable.

2
dgdft
lemmy.world
dgdft@lemmy.world
Joined: 2025-03-26
#35 Posted: · edited   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

So, what's the solution? Debian Stable?

Debian + unattended upgrades + modern package managers for non-system-installed software covers your bases very well.

Debian packages are downstream enough from their sources that the packaging delay keeps you safe (and means the updates have had human eyes on them before they hit you). Unattended upgrades means you don’t have to worry about running the upgrades yourself.

Pip, npm, and the other big package managers now also support dependency cooldowns on their recent releases, but uv and pnpm pioneered that and cover you for older release environments.

16
zane
infosec.pub
zane@infosec.pub
Joined: 2024-05-05
#36 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

So, what's the solution? Debian Stable?

N-1

1
WhyJiffie
sh.itjust.works
WhyJiffie@sh.itjust.works
Joined: 2023-07-11
#37 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Isn't your user data available in Wine on Z:\ though? I laughed at the meme but I'd still be worried info stealer malware or similar would have no problem grabbing the data it's looking for as Wine does no sandboxing at all.

you can remove the Z drive letter, but that's not enough. Nothing prevents a windows program from attempting to call linux syscalls

7
WhyJiffie
sh.itjust.works
WhyJiffie@sh.itjust.works
Joined: 2023-07-11
#38 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

doesn't every game have its own c_drive?

more correctly every wineprefix. Depending on how you install games, they might not be running in separate wineprefixes, but I believe steam does it that way

5
motruck
lemmy.zip
motruck@lemmy.zip
Joined: 2025-08-23
#39 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Here's a careful reminder that Linux viruses can come in Windows executables. When it comes to hacking in the modern day it's all about escaping the box - whether that box is a container, a VM, a sandbox or indeed even an emulated environment. So we should still fear the binary blob. Remember: update early, update often - no matter how painful that sounds.

Compatibility layer. Wine Is Not an Emulator.

20
XiJinpingStanAccount
lemmy.ml

XiJinpingStanAccount@lemmy.ml
Joined: 2026-10-08
#40 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Debian + unattended upgrades + modern package managers for non-system-installed software covers your bases very well. Debian packages are downstream enough from their sources that the packaging delay keeps you safe (and means the updates have had human eyes on them before they hit you). Unattended upgrades means you don’t have to worry about running the upgrades yourself. Pip, npm, and the othe...

Also I would heavily advocate for Debian Testing if you need a rolling release distro. It is less vetted than stable but is still more vetted than many other rolling release options and you can just stay on testing as versions change while getting features pretty fast compared to stable.

8
Speiser0
feddit.org
Speiser0@feddit.org
Joined: 2024-06-27
#41 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

You’d still be fine if you’re not exposing public services or visiting actively-malicious websites.

You are underestimating things. Unmalicious websites can still host malicious content by users, for example.

2
Taasz/Woof
piefed.social

MangoPenguin@piefed.social
Joined: 2025-06-05
#42 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

you can remove the Z drive letter, but that's not enough. Nothing prevents a windows program from attempting to call linux syscalls

Yeah, I'm sure some malware would fail on wine but some could still be just as bad compared to running windows natively.

3
dgdft
lemmy.world
dgdft@lemmy.world
Joined: 2025-03-26
#43 Posted: · edited   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

You are underestimating things. Unmalicious websites can still host malicious content by users, for example.

Okay, wanna give me a link to a PoC example you set up?

I’ll reimage my laptop to an old Ubuntu ISO of your choice, and visit your link. Happy to be proven wrong.

0
ourselves
slrpnk.net

ourselves@slrpnk.net
Joined: 2025-02-02
#44 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

This makes me miss r/shittyreactiongifs

5
Damage
slrpnk.net
Damage@slrpnk.net
Joined: 2023-08-03
#45 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Jokes on them, even when I ran windows my os wasn't on C, I think it was like E

kinky.

10
Allero
lemmy.today
Allero@lemmy.today
Joined: 2023-12-20
#46 Posted: · edited   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Compatibility layer. Wine Is Not an Emulator.

Which is what makes the situation much worse

12
Speiser0
feddit.org
Speiser0@feddit.org
Joined: 2024-06-27
#47 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Okay, wanna give me a link to a PoC example you set up? I’ll reimage my laptop to an old Ubuntu ISO of your choice, and visit your link. Happy to be proven wrong.

No, I will not spend hours of my time to win an irrelevant internet argument. :P

3
dgdft
lemmy.world
dgdft@lemmy.world
Joined: 2025-03-26
#48 Posted: · edited   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

No, I will not spend hours of my time to win an irrelevant internet argument. :P

Fair enough!

But I can tell you as a cybersecurity expert that you’d have a hard time finding a way to get any sort of remote execution from user-generated content on any major site, much less an exploitable browser sandbox escape.

2
blibla
slrpnk.net

blibla@slrpnk.net
Joined: 2023-09-12
#49 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Debian + unattended upgrades + modern package managers for non-system-installed software covers your bases very well. Debian packages are downstream enough from their sources that the packaging delay keeps you safe (and means the updates have had human eyes on them before they hit you). Unattended upgrades means you don’t have to worry about running the upgrades yourself. Pip, npm, and the othe...

uv is owned by openai fun fact

6
captainlezbian
lemmy.world
captainlezbian@lemmy.world
Joined: 2023-06-29
#50 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

kinky.

Well I'm known to be a certified freak in the hard drive

5
DragonOracleIX
lemmy.ml
DragonOracleIX@lemmy.ml
Joined: 2023-08-07
#51 Posted:   Subject: Re: windows virus from the game played through proton on linu... Quote Reply

Isn't your user data available in Wine on Z:\ though? I laughed at the meme but I'd still be worried info stealer malware or similar would have no problem grabbing the data it's looking for as Wine does no sandboxing at all.

Flatpak bottles can use wine in a sandboxed environment. Both flatpak and bottles have ways to restrict access to parts of the filesystem.

1
Post Reply Page 1   Next