this post was submitted on 11 Jun 2025
384 points (97.5% liked)

Gaming

5776 readers
33 users here now

!gaming is a community for gaming noobs through gaming aficionados. Unlike !games, we don’t take ourselves quite as serious. Shitposts and memes are welcome.

Our Rules:

1. Keep it civil.


Attack the argument, not the person. No racism/sexism/bigotry. Good faith argumentation only.


2. No sexism, racism, homophobia, transphobia or any other flavor of bigotry.


I should not need to explain this one.


3. No bots, spam or self-promotion.


Only approved bots, which follow the guidelines for bots set by the instance, are allowed.


4. Try not to repost anything posted within the past month.


Beyond that, go for it. Not everyone is on every site all the time.



Logo uses joystick by liftarn

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] Kolanaki@pawb.social 92 points 2 months ago

I have many non pirated games that do that, too.

[–] OmegaLemmy@discuss.online 73 points 2 months ago (1 children)

To be fair, if it was actually malware it could easily have done it hidden and in the background with no need for it to open cmd

[–] lime@feddit.nu 39 points 2 months ago* (last edited 2 months ago) (2 children)

it opens automatically for programs without guis that forget to set the "please don't show cmd" flag. i made a program for my grandmother to automatically sort her photos and it would always flicker that damn window because i couldn't figure out haw to set the flag from Go :(

[–] Allero@lemmy.today 10 points 2 months ago

Now, that's sweet

[–] owl@infosec.pub 4 points 2 months ago (1 children)

go build "-ldflags -H=windowsgui"
Or do you mean with exec?

[–] lime@feddit.nu 3 points 2 months ago (1 children)

that is what i used but i could not get it to work, possibly because the program did not have a gui either. it was just supposed to be a "button" in the file explorer.

[–] owl@infosec.pub 1 points 2 months ago (1 children)

Huh, strange. That sounds really annoying if every time I press a button a terminal flashes on screen.

[–] lime@feddit.nu 2 points 2 months ago (1 children)

for a poweruser yeah but this is my grandmother we're talking about. she only used the program once every six months, when her camera ran out of space and she emptied it onto the computer.

[–] owl@infosec.pub 1 points 2 months ago

You wrote an add-on for your grandma? That's cool

[–] ouch@lemmy.world 37 points 2 months ago (4 children)

I hope WINEPREFIX is thick enough for a condom.

[–] MTK@lemmy.world 39 points 2 months ago (2 children)
[–] SkaveRat@discuss.tchncs.de 11 points 2 months ago

Run wine with sudo. Yolo

[–] OmegaLemmy@discuss.online 5 points 2 months ago (1 children)

Not if I don't give it access to my Linux files

[–] MTK@lemmy.world 1 points 2 months ago

Not exactly true but for simple malware yeah

[–] nesc@lemmy.cafe 12 points 2 months ago (1 children)

I think wine maps at least your home directory into prefix, so your data would be in danger.

[–] baguettefish@discuss.tchncs.de 13 points 2 months ago* (last edited 2 months ago) (1 children)

yup, home (or was it root actually?) is commonly mapped to the Z: drive, and it's writeable too. Wine isn't meant to be a security layer.

[–] DarkDarkHouse@lemmy.sdf.org 4 points 2 months ago (1 children)

Wine, in Bottles, in Flatpak. Worst IKEA experience I've had.

[–] baguettefish@discuss.tchncs.de 1 points 2 months ago

is that some kind of newfangled swedish fetish?

[–] MonkderVierte@lemmy.zip 4 points 2 months ago

There's a Bubblewrap wrapper for wine: https://github.com/hartwork/sandwine

[–] Aceticon@lemmy.dbzer0.com 3 points 2 months ago* (last edited 2 months ago) (1 children)

Windows applications can still access the Linux functionality when running under Wine, though of course that has to have been purposefully coded in.

However you can run wine itself inside something like firejail to properly sandbox the whole thing - I have Lutris in my Linux gaming machine configured to do just that for all games by default (my firejail config even blocks networking).

[–] ouch@lemmy.world 2 points 2 months ago (1 children)

How do you configure that by default?

[–] Aceticon@lemmy.dbzer0.com 4 points 2 months ago* (last edited 2 months ago)

There is a launch configuration option under each game (under System Options tabs, if I'm not mistaken) called "command prefix" were you can put the firejail stuff (so if you put just "firejail -someoption" there your game gets launched with, for example "firejail -someoption wine ...") or whatever other sandboxing command you want to use (such as bubblewrap).

In the main Lutris options, there's a section with the default values for all those launch options for games, so if you put it in the "command prefix" there, all games get launched with that command prefix unless you override it in that game's launch options (so, for example, if you're blocking networking for all games but want to run a game for multiplayer over the net, you override the sandboxing wrapper options in that game's launch options specifically, which won't affect any other game).

[–] Clanket@lemmy.world 24 points 2 months ago (1 children)

I dont pirate games, and I see them sneaky command windows opening and closing a bit. Mainly on startup

[–] sem@lemmy.blahaj.zone 2 points 2 months ago* (last edited 2 months ago) (1 children)

Same, on Windows 11. Not sure what causes it. Someone should make a utility that logs every time a cmd window was opened.

[–] darkstar@sh.itjust.works 1 points 2 months ago* (last edited 2 months ago) (1 children)

You know you can check the actual windows logs right?

Edit: you can also enable CMD logging, you don't need someone to write you a program

[–] sem@lemmy.blahaj.zone 1 points 2 months ago

I tried to learn how to do that with event viewer and then some other power tool thing but I could never figure out.

[–] MonkderVierte@lemmy.zip 10 points 2 months ago* (last edited 2 months ago)

Malware installation tool crashed, because call not supported in Wine. Good.

Important: https://wiki.archlinux.org/title/Wine#Prevent_Wine_from_creating_filetype_associations

They should really create a simple cli switch for that.

[–] nesc@lemmy.cafe 10 points 2 months ago (3 children)

My windows is installed on separate ssd and snapshotted regularly, opening browser on windows without ad blocker probably is more dangerous.

[–] pivot_root@lemmy.world 12 points 2 months ago (1 children)

Unless you have the other SSDs physically disconnected, you're still running the risk of having your other installations affected by ransomware.

[–] nesc@lemmy.cafe 3 points 2 months ago (1 children)

Probably, yeah, but I have exported snapshots and backups for such cases, and data itself is encrypted. So at worst a few hours lost. They can be easily disconnected i just never actually do it.

[–] lazynooblet@lazysoci.al 11 points 2 months ago (3 children)

Many malicious actors don't trigger their payload that you would notice until after data has been mined.

I've visited businesses to help put together basic infrastructure after their systems were encrypted and ransomed. We would bring up a backup from the night before only to find the system still infected. We would go back a week, 2 weeks, a month.

These things lie in wait and only as the final nuclear option do they get noticed.

load more comments (3 replies)
[–] SubArcticTundra@lemmy.ml 3 points 2 months ago

It would still need ti be an immutable install

[–] 474D@lemmy.world 2 points 2 months ago (1 children)

Same, I just threw windows on a 1tb ssd and it does nothing but play pirated games. Go ahead and collect what you want lol

[–] aubeynarf@lemmynsfw.com 8 points 2 months ago (2 children)

yeah, that’s all good until your pwned pirate PC roots your router and printer and baby monitor, and your LAN becomes a DDoS source.

[–] tdawg@lemmy.world 4 points 2 months ago

Jokes on u I can't afford internet

[–] 474D@lemmy.world 2 points 2 months ago (1 children)

Why would I connect it to the Internet?

[–] tyler@programming.dev 2 points 2 months ago (1 children)

How are you downloading the games

[–] 474D@lemmy.world 1 points 2 months ago* (last edited 2 months ago) (1 children)

Windows is a second ssd specifically for the purpose of playing the games, I just download them on Linux to that SSD and switch over to play it

[–] tyler@programming.dev 1 points 2 months ago

So they’re still both plugged in at the same time, right?

[–] the_q@lemmy.zip 6 points 2 months ago (2 children)
[–] Appoxo@lemmy.dbzer0.com 4 points 2 months ago (1 children)
  • Replace with a shell window
[–] unhrpetby@sh.itjust.works 5 points 2 months ago

Malware would explicitly have to be executing a terminal for a window to popup. They can just call a shell directly.

[–] Honytawk@lemmy.zip 1 points 2 months ago (1 children)
[–] TrickDacy@lemmy.world 6 points 2 months ago

Ah yes, for windows to suck, Linux would have to be invulnerable to any issue

[–] Jimmycakes@lemmy.world 6 points 2 months ago

Amd over clocking tool thing does that and I hate it

[–] BenLeMan@lemmy.world 3 points 2 months ago

Fortunately, ours is a world in which virustotal.com exists.

[–] elucubra@sopuli.xyz 2 points 2 months ago

Thats why you virtualize. I have a program that I must use from time to time because of legacy issues, and much content in their propietary format. The solution was either pay out the wazoo for accesing my own content a few times a month, or arrr it. A download, and a VM does the trick. And bonus, I can use it in Linux, too.

load more comments
view more: next ›