Dolphin
- Type
- Backdoor
- Capabilities
- Credential theftSession hijackingKeyloggingExfiltrationPersistencePost exploitationDefense evasionProcess injectionReconnaissance
- Delivery
- Watering hole
- Platforms
- Windows
Dolphin is a Windows backdoor used by the North Korean espionage group APT37, also known as ScarCruft or Reaper, in highly targeted intelligence-gathering operations. It has been observed since at least 2021 as a selective second-stage payload delivered after earlier compromise components such as BLUELIGHT, including in watering-hole activity against South Korean targets. Dolphin is implemented as a C++ executable and uses cloud storage, specifically Google Drive, for command-and-control and exfiltration, allowing operators to issue tasks and retrieve stolen data through a legitimate web service.
The malware provides broad surveillance and collection capabilities. It profiles infected hosts by gathering system and user information, inspects local, removable, and portable-device storage for files of interest, and exfiltrates collected data in encrypted archives while tracking prior uploads to avoid duplication. It supports keylogging, periodic screenshot capture, browser credential and cookie theft, shell command execution, and execution of additional shellcode, including in injected processes. Dolphin has also been observed accessing data on connected smartphones through the Windows Portable Device API, reflecting a focus on harvesting documents and other sensitive material beyond the primary host.
Dolphin is deployed through a multistage loader chain that has included a downloaded Python interpreter, encrypted shellcode stages, process injection, and persistence mechanisms such as Run-key execution and scheduled task creation. Multiple versions observed between 2021 and early 2022 show ongoing development and defense-evasion refinements, including dynamic API resolution, string obfuscation, and temporary removal or later restoration of credential-theft functionality. Earlier variants also modified Google account security-related settings to help preserve access to victim email accounts after compromise. The malware is associated with espionage targeting aligned with North Korean interests, particularly organizations and individuals in South Korea and other regional targets of intelligence value.
Associated vulnerabilities
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Although we did not recover a final payload for this campaign, we’ve previously observed the same group deliver a variety of implants like ROKRAT, BLUELIGHT, and DOLPHIN.
Security researchers found a previously unknown backdoor they call Dolphin that's been used by North Korean hackers in highly targeted operations for more than a year to steal files and send them to Google Drive storage.
Security researchers found a previously unknown backdoor they call Dolphin that's been used by North Korean hackers in highly targeted operations for more than a year to steal files and send them to Google Drive storage.
Techniques & procedures
36 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
According to the researchers, the malware was used in a watering-hole attack on a South Korean paper reporting on activity and events related to North Korea.
ScarCruft Indicators of Compromise A rigged game: ScarCruft compromises gaming platform in a supply-chain attack
Execution
5 techniques
Execution
To start the loading chain after installation, it creates a one-time scheduled task.
The installer downloads a CAB file from OneDrive, containing a legitimate Python 2.7 interpreter... Step 1, the Python script, reads a specified file, XOR-decrypts its contents, and executes the resulting shellcode.
MITRE ATT&CK techniques... ScarCruft used malicious JavaScript for a watering-hole attack.
MITRE ATT&CK techniques... Dolphin uses Windows API functions to execute files and inject processes.
These malicious documents exploited an Internet Explorer 0-day vulnerability in the JScript engine, CVE-2022-41128.
Persistence
2 techniques
Persistence
To start the loading chain after installation, it creates a one-time scheduled task.
The malware establishes persistence by modifying the Windows Registry.
Privilege Escalation
4 techniques
Privilege Escalation
To start the loading chain after installation, it creates a one-time scheduled task.
The Python loader includes a script and shellcode, launching a multi-step XOR-decryption, process creation, etc., eventually resulting in the execution of the Dolphin payload in a newly created memory process.
Step 2, shellcode, creates a host process (random CLI executable from %WINDIR%\System32\*.exe ), XOR-decrypts further shellcode carried within itself, and injects it into the created process.
The malware establishes persistence by modifying the Windows Registry.
Stealth
3 techniques
Stealth
Step 2 (embedded in the installer) containing the rest of the loading chain, including the payload, is encrypted with a one-byte XOR key... The content is encrypted using AES CBC... Most strings in this version are base64 encoded.
The Python loader includes a script and shellcode, launching a multi-step XOR-decryption, process creation, etc., eventually resulting in the execution of the Dolphin payload in a newly created memory process.
Step 2, shellcode, creates a host process (random CLI executable from %WINDIR%\System32\*.exe ), XOR-decrypts further shellcode carried within itself, and injects it into the created process.
Credential Access
3 techniques
Credential Access
Dolphin can record user keystrokes in Google Chrome by abusing the 'GetAsyncKeyState' API.
First, it enables access to Gmail via the IMAP protocol... It steals the existing cookie of the logged-in account from the browser and crafts requests that modify the settings.
Dolphin can retrieve credentials from browsers in the form of saved passwords and cookies. The following browsers are supported: Chrome Edge Internet Explorer
Discovery
8 techniques
Discovery
Dolphin logs keystrokes for windows with titles containing substrings specified in its configuration. The defaults are chrome and internet explore (sic). This is done via the GetAsyncKeyState API, with keystrokes being logged along with the window name and current time.
The following basic information about the computer and the backdoor is collected: ... Local and external IP address
Internet connection check added ( https://www.microsoft.com ); no malicious code is executed if offline
The following basic information about the computer and the backdoor is collected: ... Username
During the initial stage, Dolphin collects the following information from the infected machine: Username, Computer name, Local and external IP address, Installed security software, RAM size and usage, Presence of debugging or network packet inspection tools, OS version.
By default, Dolphin searches all non-fixed drives (USBs), creates directory listings and exfiltrates files by extension... Among regular drives, Dolphin also searches portable devices such as smartphones.
The following basic information about the computer and the backdoor is collected: ... Current time
The following basic information about the computer and the backdoor is collected: ... List of installed security products
Collection
9 techniques
Collection
The malware has an extended set of capabilities that includes scanning local and removable drives for various types of data (media, documents, emails, certificates) that is archived and delivered to Google Drive.
The malware has an extended set of capabilities that includes scanning local and removable drives for various types of data (media, documents, emails, certificates) that is archived and delivered to Google Drive.
Dolphin can record user keystrokes in Google Chrome by abusing the 'GetAsyncKeyState' API.
Data staging Dolphin exfiltrates data to Google Drive storage, staging the data in encrypted ZIP archives before upload.
it can take a snapshot of the active window every 30 seconds.
Dolphin now unconditionally creates directory listings and exfiltrates files by extension every 30 minutes for all drives and devices (fixed drives, removable drives, portable devices).
Its search capabilities extend to any phone connected to the compromised host by using the Windows Portable Device API.
The malware has an extended set of capabilities that includes scanning local and removable drives for various types of data (media, documents, emails, certificates) that is archived and delivered to Google Drive.
Data staging Dolphin exfiltrates data to Google Drive storage, staging the data in encrypted ZIP archives before upload.
Command and Control
4 techniques
Command and Control
Additionally it reports twice to the C2 server: before launching the exploit and after the exploit succeeds.
It communicates with Google Drive cloud storage, which is used as its C&C server... Dolphin uses HTTPS to communicate with Google Drive.
Dolphin downloads commands, issued by its operators, from Google Drive storage and executes them. After execution, the output of commands is uploaded.
The next stage is downloaded using the same cookie that was set when the server delivered the remote RTF.
Exfiltration
2 techniques
Exfiltration
Dolphin now unconditionally creates directory listings and exfiltrates files by extension every 30 minutes for all drives and devices
Security researchers found a previously unknown backdoor they call Dolphin that's been used by North Korean hackers in highly targeted operations for more than a year to steal files and send them to Google Drive storage.
Observables
12 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.