r/computerviruses • u/Schwwish • 8d ago
Discussion Shouldn't there be more safeguards for programs like Renpy which can be abused to run Python scripts that can steal all your sensitive information?
Windows warns you when you are running a suspicious .exe but what about when the .exe is legitimate but the underlying function of the program is not?
102
Upvotes
25
u/szekelydiegis 8d ago edited 8d ago •
Firefox + uBlock Origin + common sense + don't pirate stuff + always check how big the downloaded file should be (i.e. Total Commander's installer is 7,13 MB, if the installer's way bigger than that then it's a HUGE red flag).
There are no safe places for piracy anymore.
Note: Ren'Py games don't have a setup screen, or a setup.exe file.
These fake Ren'Py installers are overinflated to evade AV engines + sandboxes. They can range between ~700MB to ~890MB depending on payload. This is also the reason why these "installers" download very quickly in browsers.
The common url scheme for these fake installers is <file(dot)random letters and numbers>(dot)<8-10letters and numbers>(dot)<funky termination (i.e. icu,cyou,sbs,mom...) or <cloud/file[4letters&numbers]>(dot)<8-10letters and numbers>(dot)<funky termination (i.e. icu,cyou,sbs,mom...). They will always impersonate a legitimate hosting service such as WeTransfer,MEGA,GDrive,OneDrive... and call their "cloud provider" something similar like DriveFiles, or ZipCloud. Also, they look like a generic Claude Code webpage template.
If you're ever suspicious about an executable file (it doesn't necessarily have to be an .exe, it can be anything, a .lnk, .iso, .pif, .scr, .bat, .cmd, .img...) instead of solely relying on VT, create a free Joe Sandbox account or a free Anyrun account and drop that suspicious file there and observe its behavior.
19
u/HobbyQuestionThrow 8d ago
Windows tried this, consumers threw a shitfit about UAC back in Windows Vista.
Strict folder level access control is also something Windows has (or had in Windows 7?) I bet no one uses it because the typical user does not have the patience for dealing with the 400 "Can program X access folder Y?" prompts.
On linux you can use things like firejail or apparmor to do similar things.
23
u/Antique_Door_Knob 8d ago
What are you talking about, man? There's nothing special about renpy, it's just a game engine like any other, you can do the same thing with every game engine, same as you can create a normal exe with no game engine behind it.
10
u/LifeReignite 8d ago
If you get it, its your fault almost 100% of the time.
4
u/Vadioxy 8d ago
In my case, I experienced what I believe was a zero-day Chrome exploit. My browser was fully updated, and it started with what appeared to be an innocent click. Neither AdGuard nor my other protections blocked the initial attack.
The exploit eventually allowed a malicious
setup.exeto execute a Lumma Stealer infection. I didn't notice anything until Discord started issuing community bans.Luckily, I noticed the attack approximately 2–3 minutes after the attacker started running their scripts. I immediately began securing my accounts, revoking sessions and resetting credentials. However, by then, several of my Discord communities had already been affected.
The aftermath has honestly been worse than the infection itself.
Discord has terrible post-compromise account management. There is no convenient centralized way to review which servers banned you, identify all affected communities, or clean up malicious messages left behind in DMs and channels. Even after securing your account, the damage can remain.
Interestingly, Microsoft Defender actually detected and quarantined the Trojan/Stealer.
The problem was timing.
My timeline was approximately:
This raises an important question: how do we protect users when malware detection happens too late?
There are several technologies that I think deserve much more attention:
1. Application-Bound Encryption (ABE)
Chrome already uses this protection on Windows to make extracting sensitive browser data, particularly cookies, significantly harder.
Instead of relying exclusively on Windows user-level encryption, Chrome binds encryption to the identity of the application. This raises the difficulty for infostealers attempting to extract and decrypt browser credentials from disk.
It is not foolproof, especially against malware capable of operating inside the browser's security context, but it adds another layer of protection.
2. Device Bound Session Credentials (DBSC)
This addresses another part of the problem: what happens after session cookies have been stolen?
Traditional session cookies can potentially be copied and replayed from another machine. DBSC introduces cryptographic device binding, making the attacker prove possession of a device-bound private key when continuing a protected session.
In other words, stealing the cookie alone should no longer be sufficient to hijack the session.
Google has already worked on and deployed this technology, including support for Google Workspace.
3. Demonstrating Proof of Possession (DPoP)
This is particularly interesting for services such as Discord.
DPoP binds authentication tokens to a cryptographic key pair. Instead of accepting a bearer token alone, the server requires a cryptographic proof of possession of the corresponding private key for each request.
This means that simply stealing an authentication token should not be enough to impersonate the user from another device.
For example, Discord could use this approach as part of a more secure authentication architecture, potentially alongside its transition from Electron to Rust.
However, changing the desktop application framework alone does not solve the authentication problem. The client, API and backend authentication system would all need to support this architecture.
Reference: https://datatracker.ietf.org/doc/html/rfc9449
These technologies address different stages of the attack:
None of these is a silver bullet. A sufficiently capable attacker can still compromise an active browser session, execute code in the legitimate application context, or compromise the device itself.
But security should be layered. We shouldn't rely exclusively on antivirus detection when an infostealer can exfiltrate credentials before the security software even finishes responding.
I've contacted several major online services to recommend adopting these protections.
I genuinely think device-bound authentication and proof-of-possession mechanisms should become much more common security standards.
Some interesting reading:
3
u/Efficient_Ad_6979 8d ago
Renpy-chan
1
u/Friendly_Recover286 8d ago
Please ask yourself a serious question. If this was possible and easy as you make it sound why do viruses in general exist?
1
u/Octoomy 8d ago
The main issue is… renpy works because of python, and those games use functions that could be used for malicious reasons. Don’t blame the engine. People use unity in the past for malware, and people made tons of malware with millions of different programming languages. But you can’t exactly blame the language or engine.
1
u/NoRespectingAnyone 8d ago
u/Schwwish
Renphy engine itself does not cause any harm.
I mean I used it for about since it's introduction. Also used multiple games which was build on this engine.
When you run any game, from whatever third party website, don't be suprised if it have malicious payload added as additional "feature".
1
u/clockeat 8d ago
I think you're getting confused here, there's 2 possibilities:
1
u/mildly_perturbed31 8d ago
did a vm or what szekelydiegis said fail you?
1
u/kaytin911 7d ago
That girl will haunt a generation.
1
u/tagbthw 7d ago
You can put malware into anything that let's you code lol, any game from any game engine can have malware
-6
u/AnArmoredPony 8d ago
I mean that's what you get for 'playing' in these 'games'
-3
u/Natural-Inspector-25 8d ago
Nope because generally people get them from downloading illegal/pirated content……
That’s like saying we should have safe houses for drug dealers who get into fights with other drug dealers
If you are stupid enough to download renpy, you shouldn’t be pirating shit.