NOKKI
- Type
- Backdoor
- Capabilities
- ReconnaissancePersistenceDefense evasion
- Platforms
- Windows
NOKKI is a Windows malware family with host reconnaissance, data collection, persistence, and defense-evasion capabilities. It collects the current username, victim IP address, and system timestamp, and stages collected information in a local temporary file. It establishes persistence through per-user Registry autostart entries, allowing its payload to execute at user logon. NOKKI places its executable in a user-local application-data directory and uses naming that imitates Microsoft update components to appear legitimate. It has also used the Windows Rundll32 utility for execution. Its evasion behavior includes a custom deobfuscation routine and deletion of files to conceal operational traces. NOKKI shares significant code overlap with KONNI, although this relationship alone does not establish common operator attribution.
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.
Techniques & procedures
21 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
"The North Korean hacker group distributes Konni RAT via phishing messages or emails... detected targeting the Russian diplomatic sector in January 2022, employing a spear phishing theme for New Year's Eve festivities as bait. When the malicious email attachment is opened..."
Persistence
1 technique
Persistence
[NOKKI](https://attack.mitre.org/software/S0353) has established persistence by writing the payload to the Registry key <code>HKCU\Software\Microsoft\Windows\CurrentVersion\Run</code>.(Citation: Unit 42 NOKKI Sept 2018)
Privilege Escalation
1 technique
Privilege Escalation
[NOKKI](https://attack.mitre.org/software/S0353) has established persistence by writing the payload to the Registry key <code>HKCU\Software\Microsoft\Windows\CurrentVersion\Run</code>.(Citation: Unit 42 NOKKI Sept 2018)
Stealth
6 techniques
Stealth
[NOKKI](https://attack.mitre.org/software/S0353) uses Base64 encoding for strings.(Citation: Unit 42 NOKKI Sept 2018)
actors used the following command to rename one of their tools to a benign file name: ren "%temp%\upload" audiodg.exe ... APT1 ... used ... AcroRD32.exe ... as a name for malware ... APT28 ... changed extensions on files containing exfiltrated data to make them appear benign ... APT32 has renamed a NetCat binary to kb-10233.exe to masquerade as a Windows update.
[NOKKI](https://attack.mitre.org/software/S0353) is written to %LOCALAPPDATA%\MicroSoft Updatea\svServiceUpdate.exe prior being executed in a new process in an apparent attempt to masquerade as a legitimate folder and file.(Citation: Unit 42 NOKKI Sept 2018)
[NOKKI](https://attack.mitre.org/software/S0353) can delete files to cover tracks.(Citation: Unit 42 NOKKI Sept 2018)
[NOKKI](https://attack.mitre.org/software/S0353) uses a unique, custom de-obfuscation technique.(Citation: Unit 42 NOKKI Sept 2018)
[NOKKI](https://attack.mitre.org/software/S0353) has used rundll32 for execution.(Citation: Unit 42 NOKKI Sept 2018)
Credential Access
2 techniques
Credential Access
Malware development trick 46: simple Windows keylogger. Simple C example. MyDoom Nokki RokRAT
[NOKKI](https://attack.mitre.org/software/S0353) uses the Windows call SetWindowsHookEx and begins injecting it into every GUI process running on the victim's machine.(Citation: Unit 42 NOKKI Sept 2018)
Discovery
6 techniques
Discovery
[NOKKI](https://attack.mitre.org/software/S0353) can gather information on the victim IP address.(Citation: Unit 42 NOKKI Sept 2018)
[NOKKI](https://attack.mitre.org/software/S0353) can collect the username from the victim’s machine.(Citation: Unit 42 NOKKI Sept 2018)
[NOKKI](https://attack.mitre.org/software/S0353) can gather information on the operating system on the victim’s machine.(Citation: Unit 42 NOKKI Sept 2018)
Examples include: "Babuk can enumerate disk volumes," "Confucius has used a file stealer that can examine system drives," and "XAgentOSX contains the getInstalledAPP function to run ls -la /Applications to gather what applications are installed."
[NOKKI](https://attack.mitre.org/software/S0353) can collect the current timestamp of the victim's machine.(Citation: Unit 42 NOKKI Sept 2018)
[NOKKI](https://attack.mitre.org/software/S0353) can gather information on drives on the victim’s machine.(Citation: Unit 42 NOKKI Sept 2018)
Collection
4 techniques
Collection
Malware development trick 46: simple Windows keylogger. Simple C example. MyDoom Nokki RokRAT
[NOKKI](https://attack.mitre.org/software/S0353) uses the Windows call SetWindowsHookEx and begins injecting it into every GUI process running on the victim's machine.(Citation: Unit 42 NOKKI Sept 2018)
The content repeatedly describes adversaries and malware storing collected data, command output, credentials, archives, or files in local temporary folders, working directories, hidden directories, registry locations, recycle bins, or specific files prior to exfiltration.
[NOKKI](https://attack.mitre.org/software/S0353) can collect data from the victim and stage it in <code>LOCALAPPDATA%\MicroSoft Updatea\uplog.tmp</code>.(Citation: Unit 42 NOKKI Sept 2018)
Command and Control
3 techniques
Command and Control
[NOKKI](https://attack.mitre.org/software/S0353) has used HTTP for C2 communications.(Citation: Unit 42 NOKKI Sept 2018)
[NOKKI](https://attack.mitre.org/software/S0353) has used FTP for C2 communications.(Citation: Unit 42 NOKKI Sept 2018)
[NOKKI](https://attack.mitre.org/software/S0353) has downloaded a remote module for execution.(Citation: Unit 42 NOKKI Sept 2018)
Observables
6 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
32 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.