Rising Sun is a modular Windows backdoor associated with the North Korean Lazarus Group and deployed in Operation Sharpshooter in 2018. It has targeted nuclear, defense, energy, and financial services organizations worldwide. Its infection chain uses a malicious Microsoft Office document and a first-stage downloader that installs the implant in the Windows Startup folder, establishing execution at user logon.
Rising Sun performs host reconnaissance by enumerating running processes and process information, identifying the current username, collecting network adapter and IP address information, and querying the Windows Registry to identify the operating system product name. It sends collected data to command-and-control infrastructure through HTTP POST requests; some variants support SSL-encrypted communications. The backdoor can also delete files specified by its controller and modify file attributes to conceal files. Its evasion techniques include single-byte XOR encryption of its code, runtime decryption of configuration data, and dynamic resolution of Windows API functions using LoadLibrary and GetProcAddress. Rising Sun shares an HTTP wrapper library with other Lazarus-associated implants.
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
The attack graph begins with the downloading and saving of the malicious Office Document used for the deployment of the Rising Sun implant, which obtains persistence through the Startup folder.
Sharpshooter's first-stage downloader installed Rising Sun to the startup folder %Startup%\mssync.exe .
36 distinct techniques documented for this family, organized by ATT&CK tactic.
"The initial attack vector is a document that contains a weaponized macro to download the next stage"; "masquerading as legitimate industry job recruitment activity"
[Rising Sun](https://attack.mitre.org/software/S0448) has executed commands using `cmd.exe /c “<command> > <%temp%>\AM<random>. tmp” 2>&1`.(Citation: McAfee Sharpshooter December 2018)
[Rising Sun](https://attack.mitre.org/software/S0448) used dynamic API resolutions to various Windows APIs by leveraging `LoadLibrary()` and `GetProcAddress()`.(Citation: McAfee Sharpshooter December 2018)
"document that contains a weaponized macro to download the next stage"
The malicious Office Document used for the deployment of the Rising Sun implant, which obtains persistence through the Startup folder.
"MITRE ATT&CK™ techniques ... Process injection"
The malicious Office Document used for the deployment of the Rising Sun implant, which obtains persistence through the Startup folder.
BitPaymer has used dynamic API resolution to avoid identifiable strings within the binary, including RegEnumKeyW.
Configuration data used by [Rising Sun](https://attack.mitre.org/software/S0448) has been encrypted using an RC4 stream algorithm.(Citation: McAfee Sharpshooter December 2018)
During the 2016 Ukraine Electric Power Attack, DLLs and EXEs with filenames associated with common electric power sector protocols were used to masquerade files.
"MITRE ATT&CK™ techniques ... Process injection"
[Rising Sun](https://attack.mitre.org/software/S0448) can clear a memory blog in the process by overwriting it with junk bytes.(Citation: McAfee Sharpshooter December 2018)
[Rising Sun](https://attack.mitre.org/software/S0448) can delete files and artifacts it creates.(Citation: McAfee Sharpshooter December 2018)
[Rising Sun](https://attack.mitre.org/software/S0448) has decrypted itself using a single-byte XOR scheme. Additionally, [Rising Sun](https://attack.mitre.org/software/S0448) can decrypt its configuration data at runtime.(Citation: McAfee Sharpshooter December 2018)
[Rising Sun](https://attack.mitre.org/software/S0448) can modify file attributes to hide files.(Citation: McAfee Sharpshooter December 2018)
"leverages an in-memory implant to download and retrieve a second-stage implant"; "next stage, which runs in memory"
The HKCU\Software\Microsoft\Windows\CurrentVersion registry key contains information about Windows properties for the user account logged into the system.
Native Window’s commands like route, ipconfig, and net use are executed to collect details about the infected host and network shares.
[Rising Sun](https://attack.mitre.org/software/S0448) can test a connection to a specified network IP address over a specified port number.(Citation: McAfee Sharpshooter December 2018)
Living off the land by running whoami and users to gain details about the currently available accounts and permission groups.
"MITRE ATT&CK™ techniques ... System network connections discovery"
tasklist is executed as a command process and the results are saved to a temporary location.
The native hostname and systeminfo commands are used to get the infected host’s computer name and basic details about the system.
This scenario uses the native dir command to find files of interest and output to a temporary file.
"MITRE ATT&CK™ techniques Account discovery"
"MITRE ATT&CK™ techniques ... System time discovery"
[Rising Sun](https://attack.mitre.org/software/S0448) can detect drive information, including drive type, total number of bytes on disk, total number of free bytes on disk, and name of a specified volume.(Citation: McAfee Sharpshooter December 2018)
[Rising Sun](https://attack.mitre.org/software/S0448) has collected data and files from a compromised host.(Citation: McAfee Sharpshooter December 2018)
Files are collected and stored in a temporary directory so they can be exfiltrated later.
[Rising Sun](https://attack.mitre.org/software/S0448) can archive data using RC4 encryption and Base64 encoding prior to exfiltration.(Citation: McAfee Sharpshooter December 2018)
This scenario emulates the HTTP requests made by the Rising Sun backdoor by making an HTTP POST to an AttackIQ server.
This scenario downloads to memory and saves to disk in two separate scenarios to test network and endpoint controls.
The content repeatedly describes malware and threat actors using SSL, TLS, HTTPS, RSA, AES, Blowfish, RC4, ECIES, Diffie-Hellman, OpenSSL, WolfSSL, and mutual TLS to protect command and control traffic.
[Rising Sun](https://attack.mitre.org/software/S0448) variants can use SSL for encrypting C2 communications.(Citation: Bleeping Computer Op Sharpshooter March 2019)
"MITRE ATT&CK™ techniques ... Automated exfiltration"; "The victim’s data is sent to a control server"
[Rising Sun](https://attack.mitre.org/software/S0448) can send data gathered from the infected machine via HTTP POST request to the C2.(Citation: McAfee Sharpshooter December 2018)
Files are first encrypted using AES encryption and then transmitted over HTTPS using POST requests.
Attackers often use HTTP to exfiltrate data because this traffic is very common in enterprise networks and is always permitted.
12 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
52 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.