I downloaded “GTA 6” so you don’t have to

GTA 6 isn’t out on PC. So when a “GTA 6” torrent showed up in my qBittorrent search, I knew it was fake. The download didn’t even contain GTA. It held a PS4 football game and the shadPS4 emulator. What I wanted to know was what it actually did. This post covers what I found, how I found it, and what happened when I tried to get it shut down.

I never ran the sample. Everything below comes from static analysis: unpacking, decrypting and deobfuscating the files.

TL;DR

  • The “installer” is a legitimate Electron runtime. The malicious code sits in JavaScript archives next to it.
  • It installs a persistent backdoor that checks in with its server every week and runs whatever code it gets back.
  • It forces a fake adblock extension into Chrome, Edge, Brave, Opera, Opera GX and Yandex Browser. It even gets around Chrome’s App-Bound Encryption to do it.
  • The extension reports which sites you visit, injects the operator’s JavaScript into websites and rewrites their security headers.
  • It changes your search engine to Yandex with an affiliate ID, so the operator gets paid for your searches.
  • When I wrote this, the backdoor server was still online. The hosting provider had told me three times that it was “removed”.

What’s in the box

The torrent contains a Setup.exe, an en/ folder full of .dat/.dll files and a datasetup/ folder with the game and emulator.

Setup.exe has zero detections on VirusTotal, and that makes sense: it’s the unmodified Electron runtime. Electron runs whatever JavaScript it finds in resources/default_app.asar, and that file is where the malware lives. It’s obfuscated with javascript-obfuscator. After running it through webcrack, the logic was readable.

Several files are not what their names suggest:

FileActually
resources/default_app.asarObfuscated dropper
en/en1.datThe backdoor (another Electron archive)
en/lang.dllEncrypted JavaScript: the browser hijacker
en/en2.datEncrypted EXE that extracts Chrome’s App-Bound encryption key
en/en3.dllThe malicious extension (a zip)
datasetup/avformat-384.dllJavaScript: fake “Vulkan installer” with a UAC prompt

All the encrypted pieces use plain XOR with the same key.

The infection chain

  1. The decoy. You get a fake “Installing Vulkan” window (the title is in Russian), a UAC prompt, and then the emulator starts with the bundled game. Everything looks like it worked.
  2. Persistence. It copies itself to %APPDATA%\VideoUpdate\update.exe, along with the encrypted payloads under harmless-sounding names (libGLESv3.dll, v9_context_snapshot.bin…). It also registers a scheduled task, \VideoUpdate, that runs at every logon with highest privileges.
  3. The backdoor. At every logon it decrypts and eval()s its payload. Once a week it POSTs the MD5 of its current payload to hxxps://asjenfasjknfka[.]me/u[.]php. If the server sends back something new, that gets saved and run. In other words, the operator can run any code on any infected PC whenever they like.
  4. The browser hijack. This stage is the most interesting technically:
    • Kills all browser processes.
    • Chromium protects its settings with HMACs (the “Secure Preferences” file). The malware recomputes them using the browser’s seed and your Windows SID, so the browser accepts the changes it makes.
    • For Chrome’s newer App-Bound Encryption (v20), it drops a helper EXE into the browser’s own install folder, runs it and reads the key it prints. The helper’s hash is randomised on every drop.
    • Installs the extension (“AdBlock”/“LiteBlock”, version 28.1147.22), deletes any real adblockers, turns on developer mode and turns off extension sync.
    • Sets the search engine to Yandex with affiliate ID clid=13051862.
    • Edge warns you about developer-mode extensions. The malware checks every 10 ms and closes that warning, and it recognises the warning in 26 languages.

The extension

The extension talks to one of five servers. It checks each candidate by fetching /style.css and comparing a hash, then uses the first one that passes. It sends everything to /napi/<command>, XOR-encrypted and base64-encoded:

  • /napi/hit: the domain of every site you visit (once per domain per day, counted in Moscow time)
  • /napi/config: header-rewrite rules, plus background code. That code runs through a JavaScript interpreter bundled inside the extension (acorn plus a custom VM), which gets around Manifest V3’s ban on eval.
  • /napi/content: JavaScript to inject into specific sites

So the extension can watch your browsing and change any page you visit, including login pages.

Trying to get it shut down

I reported everything:

  • Hosting provider for the backdoor server (Hostinger): replied “removed” three times. The server kept answering every time.
  • Registrars (PDR / Regway, Namecheap): no visible action yet.
  • ThreatFox, Spamhaus, VirusTotal, Google Safe Browsing: submitted.

Am I infected?

Check for:

  • The folder %APPDATA%\VideoUpdate\
  • The scheduled task \VideoUpdate (open Task Scheduler)
  • A browser extension called AdBlock / AdBlock Plus / LiteBlock with version 28.1147.22
  • Developer mode turned on in chrome://extensions without you doing it
  • Your search engine suddenly being ya.ru / Yandex
  • Files named browser_cache or browser_dse in your browser’s User Data folder

If you find any of these: delete the scheduled task and the folder, remove the extension, reset the browser settings, and change your passwords from a different, clean device. An extension that can inject scripts into login pages can steal what you type. If you can, reinstall Windows. A backdoor that runs arbitrary code means you can’t know what else ended up on the machine.

IOCs

Domains

asjenfasjknfka[.]me      backdoor C2   (hxxps://asjenfasjknfka[.]me/u[.]php)
rtyudsa[.]shop           extension C2 (active)
kotodver[.]shop          extension C2
newernewer[.]shop        extension C2
stizzzzzer[.]online      extension C2
weree[.]shop             extension C2

IP

2.24.161[.]74            asjenfasjknfka[.]me

SHA-256

d07d3dbf847233423f1b31448a1de07e3c201e65bb0b53af17b46352be8b970e  default_app.asar
9cd047e419c4d345afa98f08cc6401d06658b50771795029a7871908bb0ad854  en1.dat
ad1ebb5d67ecee555c00d4ae1f47f1049ad24f15923fe119366216b0e2577b8f  lang.dll
3b915cd7c1a92fe331596151f07c0f787c79c5ed360aacb299f5a9d22ca9b681  en2.dat
45b31a59cc9df6bcf122a906e0a9bb145e71e70d58efab43936108b05a5a6b90  en3.dll
3a7d2535250d23b471c1c6c919ba4b9becb2001a897de46360720c5b10181d3b  avformat-384.dll
bcf2d75aa9556889ab974858666e20b3655b6055a0db704ccb47279ff33b5bfe  vulkan.exe
ab7e72131b1ff1b7c1d99afd32474fc7f000754a552c7f280f44a8d4c951d18d  Setup.exe (legit Electron, context only)

Host

%APPDATA%\VideoUpdate\update.exe
Scheduled task: \VideoUpdate
Extension version folder: 28.1147.22_0
Search affiliate: clid=13051862

Lessons

  • “0/70 on VirusTotal” doesn’t mean safe. The EXE really was clean. The payload was in data files next to it.
  • Pirated “unreleased” games are malware. There’s no GTA 6 for PC.
  • Abuse reporting is slow and frustrating, but blocklists help. Even while the server stays up, getting the domains onto ThreatFox and Spamhaus protects a lot of people.

Code comments and messages in the malware are in Russian, and the active extension server is hosted in Moscow. That’s an indication, not attribution.