Rising Sun
- Type
- Backdoor
- Capabilities
- PersistenceReconnaissanceExfiltrationDefense evasion
- Platforms
- Windows
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.
Associated threat actors
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 .
Techniques & procedures
36 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
"The initial attack vector is a document that contains a weaponized macro to download the next stage"; "masquerading as legitimate industry job recruitment activity"
Execution
3 techniques
Execution
[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"
Persistence
1 technique
Persistence
The malicious Office Document used for the deployment of the Rising Sun implant, which obtains persistence through the Startup folder.
Privilege Escalation
2 techniques
Privilege Escalation
"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.
Stealth
9 techniques
Stealth
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"
Discovery
11 techniques
Discovery
The HKCU\Software\Microsoft\Windows\CurrentVersion registry key contains information about Windows properties for the user account logged into the system.
[Rising Sun](https://attack.mitre.org/software/S0448) can detect network adapter and IP address information.(Citation: McAfee Sharpshooter December 2018)
[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)
[Rising Sun](https://attack.mitre.org/software/S0448) can detect the username of the infected host.(Citation: McAfee Sharpshooter December 2018)
"MITRE ATT&CK™ techniques ... System network connections discovery"
[Rising Sun](https://attack.mitre.org/software/S0448) can enumerate all running processes and process information on an infected machine.(Citation: McAfee Sharpshooter December 2018)
[Rising Sun](https://attack.mitre.org/software/S0448) can detect the computer name and operating system.(Citation: McAfee Sharpshooter December 2018)
[Rising Sun](https://attack.mitre.org/software/S0448) can enumerate information about files from the infected system, including file size, attributes, creation time, last access time, and write time. [Rising Sun](https://attack.mitre.org/software/S0448) can enumerate the compilation timestamp of Windows executable files.(Citation: McAfee Sharpshooter December 2018)
"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)
Collection
3 techniques
Collection
[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)
Command and Control
4 techniques
Command and Control
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)
Exfiltration
4 techniques
Exfiltration
"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.
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
52 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.