LokiLocker
- Type
- Ransomware
- Capabilities
- ExtortionPersistenceDefense evasion
- Delivery
- Cracked software
- Platforms
- Windows
LokiLocker is a Windows-targeting ransomware-as-a-service family first observed in mid-August 2021. It operates through a limited-access network of vetted affiliates and has affected victims worldwide, with observed activity concentrated in Eastern Europe and Asia, including confirmed distribution in South Korea. Early samples were distributed through trojanized account-checking and brute-checker tools. LokiLocker is distinct from both Locky ransomware and the LokiBot information stealer; BlackBit ransomware is derived from LokiLocker.
LokiLocker encrypts files on local drives and network shares using AES and protects encryption keys with RSA. It creates ransom notes directing victims to contact the operators by email for payment instructions and deletes volume shadow copies to impede recovery. It also includes a configurable destructive function that can delete non-system files after a payment deadline, attempt to overwrite the system drive's Master Boot Record, and force a Blue Screen of Death to render the system unusable.
Written in .NET, LokiLocker uses obfuscation and virtualization to hinder analysis. Observed protections include NETGuard, a modified ConfuserEX, with the KoiVM virtualization plugin, while other samples use .NET Reactor. It establishes persistence through scheduled tasks and the Windows registry and can masquerade as a legitimate Windows service process.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
A relatively new ransomware-as-a-service (RaaS) family known as LokiLocker is targeting Microsoft Windows users globally through a small, distributed network of affiliates... The bug enters the victim’s network, encrypts files, and demands a monetary ransom to restore access.
Techniques & procedures
29 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
3 techniques
Execution
The following figure shows that the LokiLocker ransomware registers itself to the task scheduler and registry under the name”Loki” before it starts its encryption process.
The ransomware creates a Task Scheduler for the " winlogon.exe " file to ensure it is able to execute each time a user logs into the system for persistence.
These include: "C:\Windows\System32\cmd.exe" /C vssadmin delete shadows /all /quiet
Persistence
5 techniques
Persistence
The following figure shows that the LokiLocker ransomware registers itself to the task scheduler and registry under the name”Loki” before it starts its encryption process.
The ransomware creates a Task Scheduler for the " winlogon.exe " file to ensure it is able to execute each time a user logs into the system for persistence.
the malware creates a batch file that contains a code of registry modification to disable the task manager.
the attacker takes an additional step by creating a new local user account, assigning it the name ' Microsoft '
The following figure shows that the LokiLocker ransomware registers itself to the task scheduler and registry under the name”Loki” before it starts its encryption process.
Privilege Escalation
4 techniques
Privilege Escalation
The following figure shows that the LokiLocker ransomware registers itself to the task scheduler and registry under the name”Loki” before it starts its encryption process.
The ransomware creates a Task Scheduler for the " winlogon.exe " file to ensure it is able to execute each time a user logs into the system for persistence.
The following figure shows that the LokiLocker ransomware registers itself to the task scheduler and registry under the name”Loki” before it starts its encryption process.
if the privilege is not available, the malware will attempt to request administrative access through the User Account Control (UAC).
Stealth
5 techniques
Stealth
The malware is written in .NET and protected with NETGuard ... while also using KoiVM, a virtualization plugin. The use of KoiVM as a protector is an unusual method for complicating analysis of the malware...
The malware... may have the ability to display a false flag tactic that blames Iranian actors... it's not clear if the bug actually originates from Iran or the authors are trying to feint tracking.
Afterward, it carries out actions such as deleting volume shadows to prevent recovery, as well as behaviors aimed at obstructing detection and leaking information.
Upon execution, the malware initiates a function where it checks for the presence of any existing mutex within the compromised host.
Then the malware set the copied file as hidden to conceal it from the victim or user
Defense Impairment
3 techniques
Defense Impairment
the malware creates a batch file that contains a code of registry modification to disable the task manager.
The attacker first added exclusion folders in Windows Defender for " Program Files " and the user folder, allowing malware to execute without being blocked
the ransomware attempts to disable the firewall through the following commands: "C:\Windows\System32\cmd.exe" /C netsh advfirewall set currentprofile state off
Credential Access
2 techniques
Credential Access
The threat actor initiates the breach by employing a brute force attack, successfully compromising the user " Administrator ".
It’s possible that the LokiLocker version via brute-checker hacking tools used to automate validation of stolen accounts and gain access to other accounts with credential stuffing.
Discovery
5 techniques
Discovery
the malware initiates by retrieving a comprehensive list of all services running on the system.
The ransomware proceeds with the next activity, terminating several processes... The ransomware enumerates all running processes
The malware made POST request communication, with information such as unique-id, disk-size, affiliate username, CPU-name, ram-size, and os-name
Атакующие используют консольную утилиту NS ... для сканирования общих ресурсов сети и подключения их как сетевых дисков.
Upon execution, the malware initiates a function where it checks for the presence of any existing mutex within the compromised host.
Lateral Movement
1 technique
Lateral Movement
During the initial access phase, the attacker with IP Address 87.251.75.145 started brute-forcing activities targeting the RDP machine and successfully login as a local user named Administrator.
Command and Control
2 techniques
Command and Control
The malware made POST request communication ... to the url path /api/index.php hosted on the command-and-control (C2) server hosted on domain application-api.xyz.
the attacker utilizes the copy-and-paste feature available in the Windows RDP software to place a malicious file named " svchost.exe " directly into the Desktop folder
Impact
6 techniques
Impact
The ransomware uses a combination of AES for file encryption and RSA for key protection to encrypt documents on victims' local hard drives and network shares.
Once the potentially disruptive services are identified, the malware takes action by stopping the services.
In addition, after overwriting the MBR, the ransomware will try to crash the system by forcing a Blue Screen of Death.
the ransomware changes the compromised host's wallpaper background, replacing it with their custom wallpaper.
Should the victim refuse to pay, LokiLocker also has wiper functionality to delete non-system files to make the system unusable.
However, if configured to do so, the malware also includes a wiper function that will erase the data if the payment deadline passes. It will delete files on all of the victim's drives, except for the system files.
Observables
15 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.