NightSky
- Type
- Ransomware
- Capabilities
- ExtortionDefense evasion
- Platforms
- Windows
NightSky is a file-encrypting ransomware family associated with China-based ransomware operator DEV-0401. Beginning as early as January 4, 2022, the operator exploited CVE-2021-44228 in internet-facing VMware Horizon systems, with successful intrusions leading to NightSky deployment. NightSky has also appeared in operations involving HUI Loader.
Analyzed Windows samples use VMProtect to hinder reverse engineering and implement multithreaded file encryption with statically linked Mbed TLS cryptographic routines. NightSky generates a victim-specific RSA-2048 key pair and encrypts the victim's private key using an embedded attacker RSA-2048 public key. It generates a unique 16-byte AES key for each file, encrypts file data using AES-128-CBC with a hardcoded initialization vector, and encrypts the per-file AES key with the victim's RSA public key. The encrypted per-file key is stored in the encrypted file's footer. Encryption is capped at 1.5 MiB per file.
NightSky shares extensive code, threading and synchronization logic, key-management routines, and encrypted-file structure with Rook ransomware. A notable distinction is NightSky's use of AES-CBC rather than Rook's intermittent AES-ECB encryption. These technical similarities establish a close code relationship but do not independently establish common authorship.
Associated vulnerabilities
1 CVE 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
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.
Successful intrusions in these campaigns led to the deployment of the NightSky ransomware.
Techniques & procedures
3 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
The infection sequence initiates with the transmission of a meticulously crafted HTTP request by an attacker to a designated system employing Log4j.
Stealth
1 technique
Stealth
What could be quite tricky thing for analysts is that NightSky is delivered as VMProtected and with combination of statically linked Mbed TLS crypto library it could be let´s say “unpleasant”.
Impact
1 technique
Impact
NightSky ransomware encryption is AES128 CBC mode with hardcoded IV where max encrypted size is the same as in Rook case - 524288*3.
Observables
7 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.