• malware-analysis
  • meduza-stealer
  • kql
  • threat-hunting

Game Cheat Websites Are Spreading Malware: What Gamers Need to Know

We analyze a game cheat downloaded from a YouTube video and unravel its dark side. IOCs and KQL queries are included to help prevent or detect intrusions.

The cheat's installer window: a console showing the word CHEAT and an installation progress bar.
Figure 01

When I first started using computers, like many of my peers in the cyber-security industry one of my earliest introductions involved using cheats to improve my poor aim. This desire to enhance performance is timeless in today's gaming culture, which means threat actors will continue to exploit our vulnerabilities, whether it's the need to impress friends or to boost our kill/death ratio.

In today’s blog, we will analyze a game cheat downloaded from a YouTube video and unravel it's dark side.

IOC's and KQL queries will be included in the post, to help prevent or detect intrusions.

A YouTube video promoting a Deadlock hack tool, with a download link and a password in the description.
Figure 02

Above is a screenshot of a typical YouTube video promoting a game hack for the newly released game DeadLock.

These accounts are likely compromised YouTube accounts used to further the campaign.

The About page of the YouTube channel that posted the video: 1.71K subscribers and 1,081 videos.
Figure 03

The viewer is instructed to download the "cheat" and follow instructions.

The video description: a download link, the password 0303, and tips to disable antivirus and Windows SmartScreen.
Figure 04

When visiting the listed website, a archive is downloaded to the users browser.

The browser downloading RampageHack.zip after visiting the website from the video description.
Figure 05
PowerShell output of a web request to the website, with the response header showing the attachment RampageHack.zip.
Figure 06
PowerShell Get-FileHash output with the SHA256 hash of RampageHack.zip.
Figure 07

RampageHack.zip:CE9EE67A15407F6B2C78D02A2DB0D55D94629CE8593A2DD951F72BDD1FDC5A3C

DNS records for projecthygieia[.]com

DNS records for the website, with address records pointing to one IP address.
Figure 08

IP adress report for IOC 83[.]217[.]208[.]252

IP address report for that address, showing a data center and web hosting provider in Amsterdam.
Figure 09

The ISP is a russian registrant forgesys[.]ru take from this what you want 🤨

We follow the instructions provided and extract the archive using the passphrase "0303".

WinRAR asking for the password of RampageHack.zip, with 0303 entered.
Figure 10

The archive contained one executable, one text file and one folder.

The extracted archive: Rampage.exe, Instruction.txt and a folder called Privacy Policy.
Figure 11

The folder "Privacy Policy" only contains RTF files these are most likely not that interesting.

The contents of the Privacy Policy folder: only RTF files.
Figure 12

The text file "Instructions.txt" contains instructions from the author.

Instruction.txt in Notepad: open Rampage.exe and enter the password 0303.
Figure 13

The file "Rampage.exe" is an PE file.

PowerShell Get-FileHash output with the SHA256 hash of Rampage.exe.
Figure 14

Rampage.exe:139CD548F6D5BA5C817248D17021CCE6217CDBF5011B220A686AE8A65C12445C

When the executable is ran we are prompted with the SmartScreen.

The Microsoft Defender SmartScreen prompt for Rampage.exe from an unknown publisher.
Figure 15

Bahavioural Analysys

Process Monitor showing Rampage.exe starting.
Figure 16

Network activity

Process Monitor network events: Rampage.exe connects to a remote host on port 15666 and to another address over HTTPS.
Figure 17

deluxe-quicksand[.]aeza[.]network:15666

104[.]26[.]12[.]205:https

Terminal output listing DNS queries and network flows from the sandbox machine.
Figure 18

Using filters in procmon we observe what can only be described as information stealing behaviour

Process Monitor events: Rampage.exe tries to open the data folders of many Chromium browsers, such as Chrome and Edge.
Figure 19

Interestingly the malware is looking for predefined chromium browser extension strings, per example the program is looking for the presence of MetaMask.

C:\Users\Tammy\AppData\Local\Microsoft\Edge\User Data\Local Extension Settings\nkbihfbeogaeaoehlefnkodbefgpgknn

The MetaMask logo and website name, metamask.io.
Figure 20

C:\Users\Tammy\AppData\Local\Microsoft\Edge\User Data\Local Extension Settings\ejbalbakoplchlghecdalmeeeajnimhm

The malware is doing extensive enumeration of existing software

A list of browser data folders that the malware checks for, from dozens of different browsers.
Figure 21

After enumeration of files we can see network and command execution activity, this at first glance would appear as exfiltration activity

Process Monitor events after the file search: Rampage.exe sends data over the network and loads cmd.exe.
Figure 22

To get a better overview of the ongoing activity we will utilize Advanced Hunting as the sandbox is onboarded to defender for endpoint.

KQL Query:

kql
DeviceNetworkEvents
| where DeviceName contains "desktop-5o1n806"
| where InitiatingProcessCommandLine == @"""Rampage.exe"" "
| distinct RemoteIP, RemotePort, Protocol
Advanced Hunting results in Microsoft Defender: two remote IP addresses, on ports 15666 and 443.
Figure 23
A table of the addresses, ports and protocols the sample contacted.
Figure 24

Remote IP's

109[.]107[.]181[.]162 --> port 15666

172[.]67[.]74[.]152 --> port 443

Takes a screenshot:

Device timeline in Microsoft Defender for Endpoint, with the event "Rampage.exe used BitBlt API to capture screenshots" highlighted.
Figure 25

After the data has been collected and sent to the servers hosted by the threat actor, the malware is deleted:

text
"cmd.exe" /C ping 1.1.1.1 -n 1 -w 3000 > Nul & Del /f /q "C:\Users\Tammy\Downloads\Rampage.exe"
Microsoft Defender details of the cmd.exe process that pings 1.1.1.1 and then deletes Rampage.exe.
Figure 26

Following the TCP stream directed agains the port 15666 we can observe what looks like base64 encoded data:

A packet capture of the TCP traffic to port 15666, with the packet contents in hex.
Figure 27

Looking at the stream data we see this more clearly, and what can only be explained as a data/padding pattern:

The TCP stream as text: a long block of base64 data with a repeating padding pattern.
Figure 28

Exporting this data and uploading it to cyberchef and utilizing the base64 recipe will show a complete picture :

CyberChef decoding the exported stream with the From Base64 recipe. The output is readable JSON.
Figure 29
The end of the decoded data in CyberChef, including information about the infected computer.
Figure 30

Inspecting this data we can even extract the screenshot that we previously identified the malware taking:

CyberChef showing the decoded screenshot: a Downloads folder with Rampage.exe and RampageHack.zip.
Figure 31

Environment variables:

The environment variables of the infected computer, decoded in CyberChef.
Figure 32

Browser information such as passwords and history is exfiltrated:

CyberChef detecting the file type of the decoded browser data: SQLite.
Figure 33

The amount of data represented in this data exfiltration will of course differ depending on the data fetched during the enumeration process. But this stealer is deffinetly covering alot of information.

Stealer Portal

The login page of the stealer portal, with a snake-themed design and menu items such as Log List and Build.
Figure 34
text
Nmap scan report for deluxe-quicksand.aeza.network (109.107.181.162)
Host is up (0.024s latency).
Not shown: 65532 filtered tcp ports (no-response)
PORT      STATE SERVICE       VERSION
80/tcp    open  http          hypercorn-h11
|_http-title: Site doesn't have a title (text/html; charset=utf-8).
|_http-favicon: Unknown favicon MD5: 52546FCCC0F8DB6A86F70C4D39C6AA9A
|_http-server-header: hypercorn-h11
3389/tcp  open  ms-wbt-server Microsoft Terminal Services
| ssl-cert: Subject: commonName=WIN-4NFSE1QOBMS
| Issuer: commonName=WIN-4NFSE1QOBMS
| Public Key type: rsa
| Public Key bits: 2048
| Signature Algorithm: sha256WithRSAEncryption
| Not valid before: 2024-08-25T08:06:07
| Not valid after:  2025-02-24T08:06:07
| MD5:   21c7:1e47:d89b:5bb3:9473:bf6a:bc34:9672
|_SHA-1: 502f:b56c:d858:ff23:d1b3:52b9:d0b5:86fe:2644:861e
|_ssl-date: 2024-10-28T22:17:09+00:00; -1s from scanner time.
| rdp-ntlm-info:
|   Target_Name: WIN-4NFSE1QOBMS
|   NetBIOS_Domain_Name: WIN-4NFSE1QOBMS
|   NetBIOS_Computer_Name: WIN-4NFSE1QOBMS
|   DNS_Domain_Name: WIN-4NFSE1QOBMS
|   DNS_Computer_Name: WIN-4NFSE1QOBMS
|   Product_Version: 10.0.20348
|_  System_Time: 2024-10-28T22:16:53+00:00
15666/tcp open  unknown

The title of the portal website is "Meduza Stealer 2.15" which gives us a very clear understanding of what type of threat we are dealing with.

The portal title: Meduza Stealer 2.15.
Figure 35

Further reading on stealer can be found: https://www.uptycs.com/blog/threat-research-report-team/what-is-meduza-stealer-and-how-does-it-work

This diagram was found which generally shows stealer process:

The stealer process diagram, on the Uptycs site

When attempting to sign in on the stealer portal, we observe that the request goes to another server:

89[.]23[.]108[.]5

An HTTP POST request to /api/auth/login on another server, with a JSON body.
Figure 36
IP address report for the second server: a hosting provider in Frankfurt am Main, Germany.
Figure 37

Indicators Of Compromise

IOC’s
CE9EE67A15407F6B2C78D02A2DB0D55D94629CE8593A2DD951F72BDD1FDC5A3C
projecthygieia[.]com
83[.]217[.]208[.]252
139CD548F6D5BA5C817248D17021CCE6217CDBF5011B220A686AE8A65C12445C
deluxe-quicksand[.]aeza[.]network
104[.]26[.]12[.]205
109[.]107[.]181[.]162
172[.]67[.]74[.]152
89[.]23[.]108[.]5

KQL Threat Hunt for Meduza Stealer

kql
DeviceProcessEvents
| where ProcessCommandLine contains @"""cmd.exe"" /C ping 1.1.1.1 -n 1 -w 3000 > Nul & Del /f /q"
| where InitiatingProcessSignatureStatus == "Unsigned"
| summarize Process = make_set(InitiatingProcessFileName), InitProcId = make_set(InitiatingProcessId) by DeviceName
kql
DeviceNetworkEvents
| where RemotePort == 15666
| where ActionType == @"ConnectionSuccess"
| where RemoteIPType == @"Public"
| join kind=inner (DeviceProcessEvents) on InitiatingProcessSHA256
| where InitiatingProcessSignatureStatus == @"Unsigned"

Conclusion

As the digital landscape expands and trends like BYOD (Bring Your Own Device) and remote work grow more popular, information-stealing malware is becoming an increasingly effective tool for threat actors seeking access to corporate environments.

This post was first published on Nordic Offsec.