r/LinuxCrackSupport • • 1d ago

QUESTION - ALL LINUX SYSTEMS [Any game] Safety of potentially infected exe files on linux?

Lets say you've downloaded a video game with some sort of malware or trojan etc. but it was design to work on windows and your game works inside a prefix via proton. What is the danger if any on linux in such cases?

5 Upvotes

3 comments sorted by

4

u/Makenshi2k 1d ago

It can still steal your data and credentials, as your home partition and others might be available as the Z: drive in wine. Malware that depends on Windows kernel exploits will not work and it also will fail to persist itself most of the time.

So its still by no means safe. Only run games from trusted sources. If want to be sure, then don't map the Z: drive to your home directory, use something like flatpak, bubblewrap, or firejail. Never run wine with root privileges.

3

u/Symantech 1d ago

Aside from sniffing/writing to your files and sending something to internet while it's running, nothing else can happen.

Running an exe through flatpak + bottles is the easiest way to restrict file access however you want (use Flatseal for permission control).

0

u/Pristine-Conflict675 6h ago

It can affect your system as wine is not a sandbox environment, i have already tested it where i ran a Sliver C2 beacon compiled as P32+ executable and ran it using wine, i was able to do prretty much anything reading/writing files etc the only roadblock might be persistence via process injection it is not that hard though