Nebulae
- Type
- Backdoor
- Capabilities
- ExfiltrationPersistenceDefense evasionReconnaissanceDLL sideloading
- Platforms
- Windows
Nebulae is a Windows backdoor used by the Naikon threat group in cyber-espionage operations against military organizations and telecommunications providers in Southeast Asia. It was observed in military-targeting campaigns conducted between June 2019 and March 2021 and alongside the Aria-Body loader and RainyDay backdoor. RainyDay has also been used to deploy Nebulae on compromised systems.
Nebulae supports system and drive information collection, file and directory enumeration, file movement and deletion, process execution, process listing and termination, and bidirectional file transfers with command-and-control servers. These functions enable remote control, host reconnaissance, and exfiltration of collected files. Its command-and-control communications use TCP with RC4-encrypted payloads, while samples also use XOR to obfuscate command-and-control configuration data.
Nebulae exists in executable and DLL forms. Attackers execute its DLL variants through side-loading by legitimate applications, including browser components and security software. Some variants imitate legitimate browser-library exports to appear benign. Persistence mechanisms include registry-based logon autostart entries and Windows services.
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 second backdoor, that we call Nebulae, is supposedly used as a measure of precaution to not lose the persistence in case any signs of infections gets detected.
BRONZE GENEVA is likely responsible for part of this activity based on overlap between the C2 infrastructure for the Nebulae malware family associated with BRONZE GENEVA and a ShadowPad sample analyzed by CTU researchers.
Techniques & procedures
29 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
6 techniques
Execution
After the tools were copied, the attackers were able to execute them remotely using WMI
CMD_MAJOR_CMD — Cmd shell
[Nebulae](https://attack.mitre.org/software/S0630) can use CMD to execute a process.(Citation: Bitdefender Naikon April 2021)
[Nebulae](https://attack.mitre.org/software/S0630) has the ability to use <code>CreateProcess</code> to execute a process.(Citation: Bitdefender Naikon April 2021)
System Services: Service Execution (T1569.002)
[Nebulae](https://attack.mitre.org/software/S0630) can use DLL side-loading to gain execution.(Citation: Bitdefender Naikon April 2021)
Persistence
3 techniques
Persistence
reg add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion Run /v narsris
[Nebulae](https://attack.mitre.org/software/S0630) can create a service to establish persistence.(Citation: Bitdefender Naikon April 2021)
[Nebulae](https://attack.mitre.org/software/S0630) can achieve persistence through a Registry Run key.(Citation: Bitdefender Naikon April 2021)
Privilege Escalation
2 techniques
Privilege Escalation
[Nebulae](https://attack.mitre.org/software/S0630) can create a service to establish persistence.(Citation: Bitdefender Naikon April 2021)
[Nebulae](https://attack.mitre.org/software/S0630) can achieve persistence through a Registry Run key.(Citation: Bitdefender Naikon April 2021)
Stealth
7 techniques
Stealth
the config section that appears to be obfuscated by XOR-ing with the 0x2D value.
The findings reveal their strategy to remain stealthy by mimicking legitimate applications that are running on individual infected machines.
[Nebulae](https://attack.mitre.org/software/S0630) has created a service named "Windows Update Agent1" to appear legitimate.(Citation: Bitdefender Naikon April 2021)
[Nebulae](https://attack.mitre.org/software/S0630) uses functions named <code>StartUserModeBrowserInjection</code> and <code>StopUserModeBrowserInjection</code> indicating that it's trying to imitate chrome_frame_helper.dll.(Citation: Bitdefender Naikon April 2021)
[Nebulae](https://attack.mitre.org/software/S0630) has the ability to delete files and directories.(Citation: Bitdefender Naikon April 2021)
the backdoor XORes each byte of the collected information with the value “183”, and saves the result in base64 encoding
[Nebulae](https://attack.mitre.org/software/S0630) can use DLL side-loading to gain execution.(Citation: Bitdefender Naikon April 2021)
Defense Impairment
1 technique
Defense Impairment
reg add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion Run /v narsris
Discovery
6 techniques
Discovery
the attackers used different built-in Windows tools such as net commands, queser, reg, systeminfo, tasklist, netstat, and ping for internal and external connectivity checks
[Nebulae](https://attack.mitre.org/software/S0630) can enumerate processes on a target system.(Citation: Bitdefender Naikon April 2021)
Getting LogicalDrive information (Drive type, FreeSpace, VolumeInformation)
[Nebulae](https://attack.mitre.org/software/S0630) can list files and directories on a compromised host.(Citation: Bitdefender Naikon April 2021)
Numerous entries mention enumerating drives, logical disks, disk type, free space, or volume information; examples include 'Babuk can enumerate disk volumes,' 'Cuba can enumerate local drives,' and 'TAINTEDSCRIBE can use DriveList to retrieve drive information.'
[Nebulae](https://attack.mitre.org/software/S0630) can discover logical drive information including the drive type, free space, and volume information.(Citation: Bitdefender Naikon April 2021)
Collection
1 technique
Collection
[Nebulae](https://attack.mitre.org/software/S0630) has the capability to upload collected files to C2.(Citation: Bitdefender Naikon April 2021)
Command and Control
5 techniques
Command and Control
Many entries describe XOR, XOR/ADD, bitwise NOT and XOR, ROR plus XOR, hexadecimal encoding after encryption, and custom encoding/obfuscation of HTTP traffic or beacons.
[Nebulae](https://attack.mitre.org/software/S0630) can use TCP in C2 communications.(Citation: Bitdefender Naikon April 2021)
[Nebulae](https://attack.mitre.org/software/S0630) can download files from C2.(Citation: Bitdefender Naikon April 2021)
The content is a catalog of malware and threat groups that encrypt command-and-control communications using algorithms such as DES, AES, RC4, XOR, Blowfish, RSA, Camellia, RC2, RC6, and custom ciphers.
[Nebulae](https://attack.mitre.org/software/S0630) can use RC4 and XOR to encrypt C2 communications.(Citation: Bitdefender Naikon April 2021)
Exfiltration
1 technique
Exfiltration
Downloading and uploading files from and to C&C
Impact
1 technique
Impact
Nebulae provides additional capabilities allowing attackers to ... execute, list, or terminate processes on compromised devices.
Observables
25 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
23 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.