Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
MalwareUsed by 3 actorsExploits 2 CVEs

ROKRAT

RokRAT is a custom remote access trojan/backdoor consistently associated with the North Korea-linked threat group APT37, also known as ScarCruft and RedEyes. It has been used in espionage campaigns including Operation ToyBox Story and other spearphishing operations targeting South Korean activists, media, academics, and North Korea-focused experts. Delivery methods directly mentioned in the content include spearphishing emails with malicious Hangul Office or Microsoft Word documents, Dropbox download links leading to weaponized ZIP/LNK files, and oversized Windows shortcut files that launch multi-stage infection chains. Reported chains open decoy PDF, HWP, or HWPX documents while dropping staged files such as BAT and DAT components, decrypting shellcode, and executing RokRAT entirely in memory as a fileless payload; one report also notes injection into cmd.exe and another describes injection into the PowerShell process.

The malware is described as a fully featured backdoor for surveillance and data theft. Capabilities directly mentioned include collecting the username, computer name, Windows version, system architecture, hardware model, system manufacturer, screenshots, files, clipboard contents, browser credentials from SQLite databases, user credentials, and machine fingerprinting data. Additional collection noted in the content includes operating system version, running processes, USB usage information, file listings for numerous document and media extensions, cookies and saved passwords from Chrome, Firefox, Internet Explorer, Edge, Opera, and Naver Whale, as well as data from Outlook, Thunderbird, Wi-Fi, WinSCP, and FileZilla. RokRAT can execute arbitrary commands, download secondary payloads or additional malware, and send collected files and data back over its command-and-control channel.

RokRAT has repeatedly abused legitimate cloud and social platforms for command and control and exfiltration, including Dropbox, pCloud, Yandex Cloud, MediaFire, Twitter, and OneDrive-related infrastructure. In the March 2025 Operation ToyBox Story reporting, RokRAT authenticated to Dropbox using hardcoded access tokens and used Dropbox API functions such as /files/list_folder, /files/download, /files/upload, and /files/delete via api.dropboxapi[.]com and content.dropboxapi[.]com. Other analyses observed communication attempts to api.pcloud.com, pcloud.com, cloud-api.yandex.net, api.dropbox.com, and content.dropboxapi.com, sometimes using a Googlebot-like User-Agent and bearer-token authorization headers. The malware has also been reported to encrypt stolen data before exfiltration, with one report noting the hardcoded marker 0xFADEADBA appended to encrypted packets.

Technical behaviors described in the content include staged DLL loading, API hashing, PEB walking for dynamic API resolution, resource unpacking, JPEG steganography to conceal later-stage payloads, registry-based infection checks using HKCU\SOFTWARE\DefaultEdit\Installed, anti-VM and anti-debugging logic, temporary file creation, and fileless in-memory execution. Reported indicators include the malicious LNK hkais_1e9ce53a18e24ebc01b539ba7ba6bedd.lnk; dropped files toy03.bat, toy02.dat, and toy01.dat; registry key HKCU\SOFTWARE\DefaultEdit\Installed; network endpoints api.dropboxapi[.]com, content.dropboxapi[.]com, api.pcloud.com, pcloud.com, cloud-api.yandex.net, and api.dropbox.com; campaign-associated IPs 89.147.101[.]65, 89.147.101[.]71, and 37.120.210[.]2; and sample hashes including MD5 81c08366ea7fc0f933f368b120104384 and 723f80d1843315717bc56e9e58e89be5, plus SHA-256 7d514021c472e6e17f587ed30555d3f120653e6c7f8dc25d2331514b92ffd7bc, 3fa06c290c477c133ca58512c7852fc998632721f2dc3a0984f18fbe86451e18, and 7537f0e9da88e5dced70328cb0110ef8e9a60eaed10bd4a4d863501caef9d643.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

EXPLOITED CVES

Vulnerabilities exploited

2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each row links to the full Mallory page for that vulnerability.

2 CVES
CVE-2024-38178RCE in Microsoft Windows Scripting Engine (Edge IE Mode)Exploited in the wild

Once the vulnerability was exploited, a multi-stage malware chain was deployed, culminating in the execution of a variant of RokRAT, a known malicious tool used by TA-RedAnt. | The group leveraged a previously unknown vulnerability (CVE-2024-38178) in IE’s legacy Chakra engine (jscript9.dll). Delivered via seemingly innocuous toast ads—pop-up windows displayed in free software—the attack exploited the vulnerability to execute remote commands.

via security online infosecurityonline.info
CVE-2022-41128Windows JScript9 Remote Code Execution VulnerabilityExploited in the wild

Vulnerability Exploited CVE-2022-41128 (Internet Explorer Vulnerability) Malware and Tools RokRAT

via ahnlab asec blogasec.ahnlab.com
THREAT ACTORS

Groups observed using it

3 distinct threat actors attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
APT37

The campaign is known as Operation ToyBox Story, the malware is called RokRAT ... Their signature tool, RokRAT, is a highly sophisticated RAT (Remote Access Trojan).

via osint team blogosintteam.blog
TA-RedAnt

Once the vulnerability was exploited, a multi-stage malware chain was deployed, culminating in the execution of a variant of RokRAT, a known malicious tool used by TA-RedAnt.

via security online infosecurityonline.info
RedEyes

ASEC confirmed that the RedEyes threat group (also known as APT37, ScarCruft) has also recently distributed the RokRAT malware through LNK files. RokRAT is malware that is capable of collecting user credentials and downloading additional malware.

via ahnlab asec blogasec.ahnlab.com
MITRE ATT&CK

Techniques & procedures

39 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

3 techniques
T1078.001Default AccountsEvidence1

RokRAT logs into a legitimate Dropbox account using an embedded access token (a hardcoded, pre-saved password string).

T1566.001Spearphishing AttachmentEvidence1

The email contains an attached archive file named December 13th announcement.zip ... Among the nine files, seven are benign Hangul Word Processor (HWP) and PowerPoint documents, while two are malicious LNK files.

T1566.002Spearphishing LinkEvidence1

the emails didn’t carry the malware as a direct attachment ... Instead, they carried a download link dressed up with a familiar Naver Mail icon ... The link led directly to Dropbox

Execution

6 techniques
T1059Command and Scripting InterpreterEvidence1

Arbitrary Execution: Executes any command sent down by its handlers

T1059.003Windows Command ShellEvidence1

Hidden Files Dropped — toy03.bat, toy02.dat, toy01.dat placed in % Temp %

T1059.005Visual BasicEvidence1

No RokRAT binary is ever written to disk.

T1106Native APIEvidence1

The called function actually resolves an API called ‘RtlMoveMemory’... This API is a native API so it may bypass some API hooks... Also interesting to note that the malware resolves another native winAPI ‘RtlFillMemory’ to corrupt the PE header of the file located in the dump.

T1129Shared ModulesEvidence1

myprofile[.]zip implements a shellcode that deploys the RokRAT backdoor.

T1204.002Malicious FileEvidence3

Inside the downloaded archive was a shortcut file (a .lnk file). While a shortcut looks harmless, it can be quietly rigged to run hidden command strings the moment you double-click it.

Persistence

2 techniques
T1078.001Default AccountsEvidence1

RokRAT logs into a legitimate Dropbox account using an embedded access token (a hardcoded, pre-saved password string).

T1112Modify RegistryEvidence1

In this export we can see the malware push the string ‘SOFTWARE\\DefaultEdit\\’ to the API ‘RegOpenKeyExA’... We then see a call to ‘RegQueryKeyValueExW’ where it searches for the value ‘Installed’ — this is used to determine if the system is already infected or not.

Privilege Escalation

2 techniques
T1055.012Process HollowingEvidence1

Taking a look at this function we see straight away that the malware is moving the PEB (fs: [30]) into the EAX register. This is likely how the author identifies the address of the hashed APIs, by walking the PEB.

T1078.001Default AccountsEvidence1

RokRAT logs into a legitimate Dropbox account using an embedded access token (a hardcoded, pre-saved password string).

Stealth

12 techniques
T1027Obfuscated Files or InformationEvidence1

rule Scarcruft_Reverse_BS64_Loader ... $require_base64 ... $bs64_decode64 = {4261736536342e6465636f64653634} ... $reverse = {2e72657665727365}

T1027.003SteganographyEvidence1

We can see from the magic bytes that the resource is in fact a ‘jpeg’ file (Exif). The resource also makes up over 98% of the file size, which tells me that this is no ordinary jpeg and is probably using steganography to mask the next payload.

T1027.007Dynamic API ResolutionEvidence1

We see these hashed APIs passed as a parameter to a function that accesses the PEB which may indicate a dynamic API resolution technique known as ‘PEB Walking’. This technique is used to avoid static signatures for risky APIs and to make analysis more difficult for analysts.

T1027.009Embedded PayloadsEvidence1

We identified our next payload and what appears to be the main functionality of this sample, the dll is a dropper which holds an embedded second stage payload.

T1036MasqueradingEvidence1

This sample was once again pulled from MalwareBazaar and is a Dynamic Link Library (DLL)... we have one export called ‘WNetGetConnectionW’. This particular function... does appear to be part of a legitimate dll known as ‘mpr.dll’.

T1055.012Process HollowingEvidence1

Taking a look at this function we see straight away that the malware is moving the PEB (fs: [30]) into the EAX register. This is likely how the author identifies the address of the hashed APIs, by walking the PEB.

T1070.004File DeletionEvidence1

/files/delete — Deletes the files afterward to clean up its operational track.

T1078.001Default AccountsEvidence1

RokRAT logs into a legitimate Dropbox account using an embedded access token (a hardcoded, pre-saved password string).

T1140Deobfuscate/Decode Files or InformationEvidence3

The execution loader applies a simple XOR decryption to toy01.dat and spawns a thread to run the resulting shellcode. This shellcode in turn XOR-decrypts an embedded Portable Executable (PE) and launches RokRAT entirely in-memory.

T1497.001System ChecksEvidence1

The majority of these strings are referenced in the function ‘FUN_100011c0’... This is the anti-analysis/anti-vm technique the sample uses.

T1620Reflective Code LoadingEvidence2

Decrypted shellcode assembles RokRAT directly in RAM; no malware binary touches the disk

T1622Debugger EvasionEvidence1

I was single stepping through the program then and came across a loop that used XOR to resolve debugger detection APIs. For example I seen the malware reference the NtGlobalFlag here which can be used to detect debugger presence.

Defense Impairment

1 technique
T1112Modify RegistryEvidence1

In this export we can see the malware push the string ‘SOFTWARE\\DefaultEdit\\’ to the API ‘RegOpenKeyExA’... We then see a call to ‘RegQueryKeyValueExW’ where it searches for the value ‘Installed’ — this is used to determine if the system is already infected or not.

Credential Access

2 techniques
T1539Steal Web Session CookieEvidence1

5) 브라우저 정보 탈취 : 저장된 비밀번호, 쿠키정보

T1555Credentials from Password StoresEvidence1

5) 브라우저 정보 탈취 : 저장된 비밀번호, 쿠키정보 - 브라우저 목록 : 크롬, 파이어폭스, IE, 엣지, 오페라, 네이버 웨일

Discovery

8 techniques
T1016.001Internet Connection DiscoveryEvidence1

7) WiFi 관련 정보

T1033System Owner/User DiscoveryEvidence1

The content repeatedly describes malware and threat actors collecting usernames, identifying logged-in users, running whoami/query user/quser, checking whether the current user is an administrator, enumerating user sessions, and gathering account details from compromised hosts.

T1082System Information DiscoveryEvidence2

Machine Fingerprinting: Collects the computer name, active username, Windows OS version, system architecture, and hardware model.

T1083File and Directory DiscoveryEvidence2

2) 파일 목록 doc mdb xls ppt txt amr 3gp csv vcf hwp pdf eml msg m4a rtf url key der

T1120Peripheral Device DiscoveryEvidence1

4) USB 사용 정보

T1497.001System ChecksEvidence1

The majority of these strings are referenced in the function ‘FUN_100011c0’... This is the anti-analysis/anti-vm technique the sample uses.

T1518Software DiscoveryEvidence1

8) 파일 전송 클라이언트 정보 : WinSCP, FileZilla 9) 설치 프로그램 목록 : L“Software\Classes\Installer\Products”

T1622Debugger EvasionEvidence1

I was single stepping through the program then and came across a loop that used XOR to resolve debugger detection APIs. For example I seen the malware reference the NtGlobalFlag here which can be used to detect debugger presence.

Collection

4 techniques
T1113Screen CaptureEvidence1

Screen Surveillance: Quietly captures real-time screenshots and saves them as temporary local files before exfiltrating them.

T1114Email CollectionEvidence1

6) 메일 클라이언트 정보 탈취 : MS 아웃룩, Thunderbird

T1115Clipboard DataEvidence2

3) 클립보드

T1560Archive Collected DataEvidence1

Before any stolen data leaves the computer, it is scrambled twice

Command and Control

3 techniques
T1071.001Web ProtocolsEvidence2

This creates a connection to the url... hxxps[:]//api[.]pcloud[.]com/listfolder?path=/ ... A GET request is then sent to the following using the API ‘WinHttpOpenRequest’: api[.]pcloud[.]com/listfolder?path=/

T1102Web ServiceEvidence2

RokRAT logs into a legitimate Dropbox account using an embedded access token ... From there, it speaks Dropbox’s own standard API language to execute commands

T1105Ingress Tool TransferEvidence2

the sample appears to locate the embedded resource in the file, format a string, use the formatted string as a parameter to create a file and then write data to that file so this is likely going to be the unpacking technique used here — we can see in the above image that the string ’version1.0.tmp’ is also passed in above the call to CreateFileW so that is likely going to be our second stage file. | The JPEG was using steganography to mask the dll embedded within which was our next stage.

Exfiltration

2 techniques
T1567Exfiltration Over Web ServiceEvidence1

Searching the hash on VirusTotal shows that is has also never been uploaded... in here we can see a bunch of URLs which are possibly used for data exfiltration from compromised systems/networks using APIs.

T1567.002Exfiltration to Cloud StorageEvidence1

Their malware would quietly open that folder, read the orders waiting inside, execute them, and leave the stolen files behind for its handlers to collect.

Impact

1 technique
T1486Data Encrypted for ImpactEvidence1

[4BYTE HEX]15 : 암호화 된 파일 (주요 복호화 알고리즘으로 복호화 가능)

INDICATORS OF COMPROMISE

IOCs tracked for this family

122 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.

View more in app
Network
69 tracked

IPs, domains, and DNS infrastructure linked to this family.

Hashes
38 tracked

File hashes (MD5, SHA-1, SHA-256) from samples and reports.

Other
15 tracked

Other indicator types observed in public reporting.

TypeValueLatest sighting
domain●●●●●●●●●●●●View more in app2 days ago
domain●●●●●●●●●●●●View more in app2 days ago
email●●●●●●●●●●●●View more in app2 days ago
hash.md5●●●●●●●●●●●●View more in app2 days ago
ip.v4●●●●●●●●●●●●View more in app2 days ago
email●●●●●●●●●●●●View more in app2 days ago
What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching122

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution3

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities2

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping39

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.