55
submitted 1 day ago by nootux@lemmy.ml to c/linux@lemmy.ml

I am looking for help on how to run closed source / pirated games on linux within a virtual machine. I would like to start by saying if I could walk into a shop and buy with cash, a game on a CD like in the old days I would. I have recently become very privacy conscious and until I figure out a way to anonymously and privately purchase things like this I am going to stick with pirating. Also, it is helping me to archive content as everything seems to be moving online and I want to stick with offline applications / media etc in my control.

Now, I am familiar with virtualbox but of course, it is no good for gaming. I have read about other applications that offer much better performance with support for GPU passthrough or similar (but how does this affect the security side of things when running pirated games). Forgive me, this is all quite new to me.

What I want is a virtual machine capable of gaming so that I can more safely run pirated games on linux. Also, I am very new to linux and some help in how I should actually go about running games on linux in the first place. I do not want to just install steam because it has closed source elements and being more privacy conscious now, I’m not sure I want to. Though I am aware I can use the proton layer to enable gaming support which I believe is fully open source. For my purposes lutris sounds like it may be the route to go. Thoughts on this welcome.

As a side note, I am thinking of signing up to GOG as they, to me, seem like a better alternative to steam where I can actually own a DRM free copy of a game that I buy. On a pirating note I thought locating signed, hash checked GOG installers to be a good option for security for dipping my toe into pirating games on linux. I am much, much more comfortable with detecting and removing malware in a windows ecosystem. Linux, completely foreign. So I am trying to be careful.

Once I get fully set up I plan to buy the games I enjoy on GOG, I think that will be the path I can be most comfortable with. At the end of the day I will own a DRM free copy of the game itself. That is the best I can do where I cannot get it on physical media I think. I already do this for CD’s and DVD’s etc.

Any help would be appreciated, thank you.

top 50 comments
sorted by: hot top controversial new old
[-] throwaway403@programming.dev 3 points 13 hours ago

OP, FYI: GPU passthrough isn't riskless (OpSec-wise), unfortunately. This Hacker News thread contains pointers if you'd wish to read up on that.

[-] LiveLM@lemmy.zip 6 points 10 hours ago

I'd like to think that attackers making malicious pirate releases will focus on the large Windows userbase rather than the 1% of the 1% running them inside passthrough VMs but I get the point.

[-] borax7385@lemmy.world 8 points 20 hours ago

I just use a different user with no privileges to run any pirated or suspicious software.

[-] nootux@lemmy.ml 2 points 20 hours ago

Thank you, that is something to consider. What are your thoughts on sandboxing vs using a user with no privileges?

[-] borax7385@lemmy.world 6 points 19 hours ago

Flatpak sandboxing is weak. For truly untrusted software like pirated games I'd definitely go for a different user which in Linux provides a very strong isolation.

[-] nootux@lemmy.ml 1 points 19 hours ago

What about firejail vs a separate limited user account?

[-] borax7385@lemmy.world 2 points 18 hours ago

I'm not familiar with firejail, sorry. I guess that firejail (or regular containers with podman) can be ok for CLI tools which only need access to very specific paths, if any. But for graphical applications like games you probably have to grant a lot of access.

Using a separate user is simpler and it's guaranteed that the software can only write to the home dir of the user (and other temp paths like /tmp that you don't care). In case of problems, just wipe the home dir and you are good.

[-] Kory@lemmy.ml 5 points 21 hours ago

I'm running everything that is proprietary (Steam for example) on a second user that is a not an admin account. Heroic and the like are installed via Flatpak that is sandboxed. Sometimes games contain malware, even on Steam. If something goes badly wrong, I purge that second user.

[-] nootux@lemmy.ml 2 points 20 hours ago

Sounds like a good idea, thank you for the suggestion.

[-] eclipse7@feddit.nu 2 points 18 hours ago

QubesOS? :D

[-] Obnomus@lemmy.ml 2 points 21 hours ago

If piratded games have malicious files its most likely for windows users, you can install repacks on Linux very easily though.

[-] prole 1 points 17 hours ago

I had trouble with fitgirl repacks the last couple of times I tried

[-] mysterious_cake@feddit.nl 1 points 16 hours ago

What problems?

[-] nootux@lemmy.ml 1 points 20 hours ago

When you say repacks, are these repacks of files designed to be used in windows with pre-installed cracks etc or is it more specifically a repack designed to be run under linux?

[-] edinbruh@feddit.it 44 points 1 day ago* (last edited 1 day ago)

First of all, don't expose yourself to danger. Get your pirated games from reputable sources.

Most games only need a Steam emulator like Goldberg's to run without license, and you can get clean steam files from cs.rin.ru. You don't need VMs for this, it's literally the original game.

If you need an actual crack, you can also look up on cs.rin.ru and try to gauge the reputation of the uploader. You can also check fitgirl or dodirepacks, they are both highly reliable. These are unlikely to have malware, but it's not impossible.

If you want to use a vm because you still don't trust the pirated game in question (reasonable), then there is no shortcut. Use the arch wiki to learn how to setup a VM with GPU passthrough, even if you don't use arch it's always a good place to get started.

[-] placebo@lemmy.zip 1 points 18 hours ago

You don’t need VMs for this, it’s literally the original game.

How can you validate that if you don't have the original game to calculate and compare hashes?

[-] edinbruh@feddit.it 2 points 17 hours ago

You don't. That's why it must be reputable sources

load more comments (16 replies)
[-] umbrella@lemmy.ml 6 points 1 day ago

you can with GPU passthrough. not a simple process though, and not all hardware supports it.

plus you need a dedicated gpu for the VM.

[-] DecentM 5 points 22 hours ago

It's actually possible to do it with a single gpu but it's trickier than if you had two. You can use libvirt hooks to stop all graphical processes (and log your gui session out), unload the kernel drivers for the gpu, and start the VM with the now unused primary gpu. Then do the reverse when the VM stops and you're back to your login screen.

[-] LiveLM@lemmy.zip 2 points 10 hours ago

Pain in the ass, fickle as hell, most GPUs fuck up the Reset, in the end it is barely more practical than a dual boot.

[-] umbrella@lemmy.ml 2 points 22 hours ago
[-] DecentM 4 points 20 hours ago* (last edited 20 hours ago)

On machines with just one gpu it's either that or no passthrough tbf

I set it all up as an automated step before a VM named "win" boots, and I can just start the vm and these steps happen on their own

[-] umbrella@lemmy.ml 2 points 9 hours ago* (last edited 9 hours ago)

oh for sure. upside is maybe it's an easier and better documented process now a few years later from my last attempt.

might be worth it for the annoying anticheat games.

[-] helix@feddit.org 11 points 1 day ago* (last edited 1 day ago)

tldr: use firejail. I already answered in your other thread: https://feddit.org/comment/13927222

You know you can cross-post so it shows up as cross-posted in other communities? You just need to hit that "copy" button once you posted the first one.

I'd have answered here instead of !piracy if I had seen that it's a crosspost.

load more comments (1 replies)
[-] Shimitar@downonthestreet.eu 6 points 1 day ago

Quit thinking as a windows user now you are on Linux.

You running a pirated game with proton? Or looking to run windows inside Linux?

In any case run the game offline, disconnect the PC from internet and you should be safe.

What? It's an on line game? It's a game that need internet access to run? Then what are you complaining about? There is nothing you can do to be "safe".

Anyway running a windows game on linux with wine or proton should be safe enough from most of the possible threats (environment is too different). Running in a VM would be a serious hit on performances even if you use qemu+KVM (forget about virtual box) with all drivers set to passtrough and you give up your video card on Linux and pass it to windows

At that point, you are again at risk because e you are again running windows ...

Define your threat at least. That would make a response easier

My guess you are overthinking stuff.

[-] helix@feddit.org 12 points 1 day ago

Linux isn't inherently safer than Windows when running untrusted binaries, i.e. games.

There is a real possibility of user data being extracted or a virus infecting a WINE prefix. If you get a crypto trojan it doesn't matter if you're cool and on Linux, they still can encrypt all your precious family photos.

Please do not hand out potentially dangerous advice like "you should be safe". Sure, the architecture of Linux distributions make it harder for criminals to do things, but you're certainly not safe running untrusted binaries, even though Steam does some security analysis before games can be uploaded, and malware games are usually reported quickly.

[-] umbrella@lemmy.ml 2 points 1 day ago* (last edited 1 day ago)

while the risk you mention is very real and we should not be too complacent with it, i haven't seen any attack targeting linux users from pirated games in the wild.

hell, scene releases from trusted sources are usually slightly safer than the original game because of removed DRM phone-home bullshit.

plus wine and flatpak are enough to fuck with malware targeting only windows if you don't keep all permissions enabled, which you shouldn't.

[-] helix@feddit.org 2 points 21 hours ago

Wine doesn't sandbox things though.

[-] umbrella@lemmy.ml 2 points 21 hours ago

i know, but it may be different enough to break stuff.

[-] placebo@lemmy.zip 2 points 18 hours ago

Doesn't wine expose your system disk as disk Z to programs? Any info stealer can potentially find your .mozilla or .chromium directory and upload it to some server.

The point is, none of this is a security layer. The risk is probably low, but it should be properly understood and mitigated - which OP is trying to do.

[-] helix@feddit.org 2 points 10 hours ago

Exactly my thoughts. If the credential stealer is coded halfway competently, it doesn't matter if the creds lay on C: or Z:

After all, WINE is trying to emulate Windows with all its quirks and features, which will also mean that it runs Windows viruses perfectly fine. Heck, I think WINE can probably run Windows viruses better than Windows itself.

[-] umbrella@lemmy.ml 1 points 9 hours ago

that's where a system like flatpak comes in. you shouldn't have easy rw access to you entire home directory.

i know flatpak has holes but if that complicates malware made for windows, that'd be it for now.

not saying the risk doesn't exist though. maybe firejail or something would be more complete security.

load more comments (6 replies)
load more comments
view more: next ›
this post was submitted on 12 Jul 2026
55 points (100.0% liked)

Linux

66388 readers
316 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS