Nokoyawa
- Type
- Ransomware
- Capabilities
- ExtortionExfiltrationPrivilege escalationDefense evasionLateral movement
- Delivery
- Phishing
- Platforms
- Windows
Nokoyawa is a ransomware family targeting 64-bit Windows systems that emerged in February 2022. It is used in double-extortion operations in which attackers steal organizational data before encrypting files and threaten publication unless a ransom is paid. Its code lineage traces through Karma to Nemty. Early activity was concentrated in South America, particularly Argentina; subsequent campaigns targeted Windows servers belonging to small and medium-sized businesses in the Middle East, North America, and Asia. The ransomware affiliate cluster ShadowSyndicate has been linked to Nokoyawa campaigns.
Early versions were written in C/C++ and combined SECT233R1 elliptic-curve cryptography with per-file Salsa20 encryption. Nokoyawa 2.0, introduced in September 2022, was rewritten in Rust and uses Curve25519 with Salsa20. It partially encrypts larger files to improve speed. Versions 1.1 and 2.0 accept a Base64-encoded JSON configuration that controls ransom notes, encryption parameters, exclusions, and network-encryption options. The family supports encryption of individual files, directories, and network shares. Analyzed variants delete Windows Volume Shadow Copies through a DeviceIoControl operation to inhibit recovery. Version-specific features include Safe Mode execution, runtime API-name resolution, and language-based exclusions. Nevada is a closely related Rust-based variant that adds self-deletion after encryption.
Nokoyawa attack chains have used Cobalt Strike for staging, GMER and PC Hunter for defense evasion, and PsExec for lateral ransomware deployment. Operators exploited the Windows Common Log File System vulnerability CVE-2023-28252 as a zero-day to obtain SYSTEM privileges before deploying the ransomware; Microsoft patched it in April 2023. This exploitation requires an existing foothold rather than providing initial access. IcedID infections have also led to Nokoyawa deployment.
Associated vulnerabilities
4 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
6 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Entre 2020 et 2023, ils auraient utilisé les rançongiciels Ryuk et Conti, avant de prendre part aux programmes de Ransomware-as-a-Service (RaaS) des rançongiciels Hive, BlackCat et Nokoyawa.
Nokoyawa ransomware campaigns occurred in October 2022, November 2022, and March 2023.
CVE-2023-28252 is actively exploited in the wild by cybercriminals to escalate privileges and deploy the Nokoyawa ransomware payload.
In May 2022, DEV-0237 started to routinely deploy Nokoyawa, a payload that we observed the group previously experimenting with when they weren’t using Hive.
Five minutes after transferring the files to hosts in the domain, the Nokoyawa ransomware binary was executed on a domain controller... The time to ransomware (TTR) was just over 12 hours from the initial infection.
Techniques & procedures
19 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
攻撃者たちは悪用可能な脆弱性の情報を調べ、素早く攻撃に組み込みます。
Execution
3 techniques
Execution
After the scan, both PsExec and WMIC were used to move files across systems in the network.
Nokoyawa 2.0 cannot be executed without providing the required command-line arguments.
However, Nokoyawa 2.0 requires a configuration file to execute the ransomware via the --config command-line argument.
Privilege Escalation
1 technique
Privilege Escalation
Microsoft disclosed a zero-day vulnerability in the Windows Common Log File System (CLFS), which cybercriminals are actively exploiting to deploy Nokoyawa ransomware payloads. The vulnerability, tracked as CVE-2023-28252 ... is a Privilege Escalation vulnerability in the Windows Common Log File System Driver ... Successful exploitation enables threat actors to gain SYSTEM privileges
Stealth
3 techniques
Stealth
In addition, Nokoyawa 1.1 is the only variant that obfuscates the Windows API functions that are called during runtime by resolving each name via CRC32 hash.
In order to reduce the risk of law enforcement actions, Both Nokoyawa 2.0 and Nevada check whether the infected system is located in a former Commonwealth of Independent States (CIS) country. The former calls the Windows API GetSystemDefaultLCID... and the latter calls GetUserDefaultUILanguage... to determine the system's locale and language, respectively.
The configuration parameter is a Base64 encoded JSON object that has the following keys and values shown in Table 2... LOAD_HIDDEN_DRIVES Unhide hidden drives and encrypt files
Defense Impairment
1 technique
Defense Impairment
Nokoyawa 1.1 also has a --safe-mode command-line option to reboot the system into Windows safe mode prior to file encryption to maximize the number of files that can be encrypted by loading the minimal set of applications, and therefore, minimize the number of open file handles that may interfere with encryption.
Discovery
3 techniques
Discovery
The configuration parameter is a Base64 encoded JSON object that has the following keys and values shown in Table 2... ENCRYPT_NETWORK Encrypt network shares
In order to reduce the risk of law enforcement actions, Both Nokoyawa 2.0 and Nevada check whether the infected system is located in a former Commonwealth of Independent States (CIS) country. The former calls the Windows API GetSystemDefaultLCID... and the latter calls GetUserDefaultUILanguage... to determine the system's locale and language, respectively.
Both Nokoyawa 2.0 and Nevada check whether the infected system is located in a former Commonwealth of Independent States (CIS) country. The former calls the Windows API GetSystemDefaultLCID for language IDs ... and the latter calls GetUserDefaultUILanguage ... to determine the system's locale and language, respectively.
Lateral Movement
2 techniques
Lateral Movement
During the RDP session, 1.dll (Cobalt Strike DLL) was transferred from the beachhead via the Windows File Explorer.
After that, the threat actor copied over a Cobalt Strike beacon to the domain controller and executed it.
Command and Control
1 technique
Command and Control
After exploitation, attackers must still establish command and control (C2) communications before finally delivering and deploying the Nokoyawa strain of ransomware. The report provides additional indicators of compromise (IoCs) related to these and other stages of the campaign, including the Cobalt Strike Beacon domains used for C2.
Exfiltration
2 techniques
Exfiltration
Finally, researchers focused on the largest transfers of data in the traffic sample because large data transfers are a common feature of ransomware and other data extortion attacks, and could represent data exfiltration.
The threat group behind Nokoyawa performs double extortion ransomware attacks: exfiltrating sensitive information from organizations, followed by file encryption and a ransom payment demand.
Impact
3 techniques
Impact
Threat actors deploying Nokoyawa ransomware are known to employ the double extortion technique, where data is exfiltrated prior to ransomware deployment | Microsoft disclosed a zero-day vulnerability in the Windows Common Log File System (CLFS), which cybercriminals are actively exploiting to deploy Nokoyawa ransomware payloads.
There are a few commonalities between all Nokoyawa variants such as being compiled only for 64-bit versions of Windows and using a relatively obscure method to delete Windows Shadow Copies. The latter entails calling the function DeviceIoControl ... with the undocumented control code parameter IOCTL_VOLSNAP_SET_MAX_DIFF_AREA_SIZE (0x53C028) with a maximum size of 1, which causes Windows to delete all shadow copies as a result.
Threat actors deploying Nokoyawa ransomware are known to employ the double extortion technique, where data is exfiltrated prior to ransomware deployment, and used to extort victims with the threat of data sale or public release.
Observables
23 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
26 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.