AhnLab Security Intelligence Center (ASEC) has recently uncovered a significant evolution in the tactics employed by the threat actors behind RokRAT, a notorious remote access trojan (RAT) widely used in cyber-espionage operations focused on Korean targets.
Traditionally, RokRAT campaigns have relied on shortcut (LNK) files to execute payloads under the guise of legitimate documents.
However, recent analysis reveals a shift towards leveraging Hangul Word Processor (.hwp) files, a format widely adopted in South Korea, thereby allowing cybercriminals to circumvent common security controls and more effectively deceive victims.
RokRAT Deployment
ASEC’s analysis of several HWP documents, including those titled “250615_Operation status of grain store.hwp,” “Recent major portal site.hwpx,” and “[Notice] Q1 VAT Return Filing Deadline (Final),” reveals that the attackers are embedding OLE objects directly within the documents.

These files are designed to appear benign, drawing on politically charged or government-themed decoy content, such as North Korea’s grain distribution status, to reassure recipients and entice interaction.
A key component of this campaign involves a cleverly embedded hyperlink presented as an appendix link at the bottom of the document.
When a recipient clicks the hyperlink to view “[Appendix] Reference Materials.docx,” the system displays a standard warning before attempting to execute a file named ShellRunas.exe from the Windows %TEMP% directory.
Crucially, ShellRunas.exe is not externally downloaded but is included as a hidden OLE object inside the document.
Upon accessing the relevant page within the document, the embedded ShellRunas.exe and an associated malicious DLL (credui.dll) are written to the %TEMP% directory by the Hangul process itself.
DLL Side-Loading
The attackers exploit DLL side-loading, a technique involving legitimate signed executables and malicious dynamic-link libraries, to bypass security monitoring.
In this case, ShellRunas.exe a legitimate Microsoft-signed utility is executed so that it loads the attacker-supplied credui.dll from the same directory.
The malicious credui.dll then acts as the next-stage loader. ASEC also notes that the threat actors have previously utilized similar side-loading tricks with other legitimate Windows binaries, such as accessenum.exe paired with mpr.dll and hhc.exe accompanied by hha.dll.
Once executed, the credui.dll module initiates communication with a remote Dropbox location, where it retrieves a file named Father.jpg.
Although appearing to be an innocuous JPEG image, this file conceals embedded shellcode designed to inject RokRAT directly into the system memory, further complicating detection by anti-virus solutions.

This shellcode-driven in-memory execution stage enables the threat actors to conduct data exfiltration, system reconnaissance, and command-and-control operations without dropping additional artifacts to disk.
This campaign underscores the growing sophistication of threat actors in exploiting trusted document formats not only as lures but also as vehicles for direct malware execution and defense evasion.
By embedding both executable and auxiliary payload components within .hwp documents, attackers are increasingly able to bypass conventional detection mechanisms reliant on file extension filtering or attachment scanning.
ASEC strongly advises organizations and users to exercise heightened vigilance when handling Hangul document files, especially those with enticing filenames or from untrusted sources.
System administrators should also consider tightening user execution permissions, monitoring for anomalous process behavior in user temp directories, and deploying advanced endpoint protection capable of identifying side-loading attacks and suspicious OLE objects.
Indicators of Compromise (IOCs)
| File Name | MD5 | Description |
|---|---|---|
| 250615_Operation status of grain store.hwp | a2ee8d2aa9f79551eb5dd8f9610ad557 | Malicious HWP document |
| Recent major portal site.hwpx | d5fe744b9623a0cc7f0ef6464c5530da | Malicious HWP document |
| [Notice] Q1 VAT Return Filing Deadline | e13c3a38ca58fb0fa9da753e857dd3d5 | Malicious HWP document |
| ShellRunas.exe (embedded) | e4813c34fe2327de1a94c51e630213d1 | Legitimate executable, side-loaded |
Find this Story Interesting! Follow us on LinkedIn and X to Get More Instant Updates