Stop/djvu
- Type
- Ransomware
- Capabilities
- ExtortionPersistenceProcess injectionDefense evasionReconnaissance
- Delivery
- Cracked software
- Platforms
- Windows
STOP/Djvu is a Windows file-encrypting ransomware family that primarily affects individual consumers and small businesses, including students downloading pirated commercial software. Cracked and pirated software is a major infection vector, and the family has also circulated through pay-per-install malware distribution networks. It has been observed spreading alongside Vidar Stealer, often accompanied by SmokeLoader.
STOP/Djvu encrypts files on local drives, removable storage, and accessible network shares, then leaves ransom notes demanding cryptocurrency payment for decryption. Analyzed variants use Salsa20 to encrypt file contents and RSA to protect per-file key material. They obtain a public key and victim identifier from command-and-control infrastructure and can use an embedded RSA public key when that infrastructure is unreachable. Selected system files and directories are excluded from encryption.
Analyzed variants establish persistence through a user-logon registry entry and a recurring scheduled task, use process hollowing to execute malicious code, and conceal strings with XOR encoding. They query the victim's geolocation and skip encryption in a predefined set of countries. Some variants attempt to stop a MySQL service and download additional malware, including Vidar and Ursnif. These accompanying payloads introduce separate information-stealing and banking-malware risks beyond the ransomware's file-encryption behavior.
Techniques & procedures
23 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
3 techniques
Execution
A second persistence mechanism consists of creating a scheduled task (using COM objects) that will run the ransomware every 5 minutes.
The binary denies “Everyone” to delete the folder created above using the icacls command... A batch file called “delself.bat” is created in the %TEMP% directory.
The criminals even told the victims that if their antivirus software detected anything, that it was a false positive alarm and to ignore it.
Persistence
2 techniques
Persistence
A second persistence mechanism consists of creating a scheduled task (using COM objects) that will run the ransomware every 5 minutes.
The ransomware establishes persistence on the host by creating an entry called “SysHelper” under the Run registry key, which will run the executable with the “–AutoStart” parameter whenever the user logs on.
Privilege Escalation
3 techniques
Privilege Escalation
A second persistence mechanism consists of creating a scheduled task (using COM objects) that will run the ransomware every 5 minutes.
The ransomware creates a copy of itself in a suspended state via a call to CreateProcessA... The malicious binary unmaps a view of a section from the address of the newly created process using ZwUnmapViewOfSection... writes data to the area allocated above using multiple calls to ZwWriteVirtualMemory... SetThreadContext... ResumeThread.
The ransomware establishes persistence on the host by creating an entry called “SysHelper” under the Run registry key, which will run the executable with the “–AutoStart” parameter whenever the user logs on.
Stealth
7 techniques
Stealth
The binary performs a lot of XOR operations (key = 0x80) in order to decrypt relevant strings.
The malware calls the LoadLibraryW function... The GetProcAddress API is utilized to retrieve the address of the “VirtualProtect” function... The binary retrieves the address of the following functions using GetProcAddress...
KryptoCibule, cryptocurrency-focused malware that targeted Czech and Slovak users, was spread through a popular local file sharing service, masquerading as pirated games or downloadable content (DLC) for them.
The ransomware creates a copy of itself in a suspended state via a call to CreateProcessA... The malicious binary unmaps a view of a section from the address of the newly created process using ZwUnmapViewOfSection... writes data to the area allocated above using multiple calls to ZwWriteVirtualMemory... SetThreadContext... ResumeThread.
The file from above is deleted in any case... After the batch file finishes its execution, the malicious file and the script are deleted.
From our perspective, the malware developers have implemented some actions that don’t influence the main execution flow as an anti-analysis mechanism.
The malware performs a GET request to https[:]//api.2ip.ua/geo.json... The “country_code” element is compared with “RU” ... “SY”. The systems that have one of the languages enumerated above will not be encrypted.
Discovery
7 techniques
Discovery
The executable retrieves the user name associated with the current thread by calling the GetUserNameW API.
All process IDs that correspond to the processes on the system are retrieved by calling the EnumProcesses API.
GetAdaptersInfo is utilized to retrieve adapter information (including the MAC address) for the localhost.
The files are enumerated using the FindFirstFileW and FindNextFileW APIs... The directories mentioned under figure 89 will not be encrypted.
The malware enumerates all resources on the network via a function call to WNetOpenEnumW... WNetEnumResourceW is utilized to further enumerate the network resources.
From our perspective, the malware developers have implemented some actions that don’t influence the main execution flow as an anti-analysis mechanism.
The malware performs a GET request to https[:]//api.2ip.ua/geo.json... The “country_code” element is compared with “RU” ... “SY”. The systems that have one of the languages enumerated above will not be encrypted.
Lateral Movement
1 technique
Lateral Movement
Both local drives and network shares are targeted by the malware.
Command and Control
3 techniques
Command and Control
The binary performs a GET request to the C2 server securebiz[.]org with the parameter pid = MD5(MAC address).
The binary also acts as a downloader for 2 malicious files called build2.exe and build3.exe... The binary performs a GET request to http[:]//znpst[.]top/dl/build2.exe... The binary performs a GET request to http[:]//securebiz[.]org/files/1/build3.exe
The Salsa20 matrix used for encrypting files is based on a UUID generated using the UuidCreate API, which is encrypted using an embedded RSA public key (if the C2 server is unreachable) or a public key downloaded from the C2 server.
Impact
3 techniques
Impact
After the batch file finishes its execution, the malicious file and the script are deleted.
Both local drives and network shares are targeted by the malware, and the files are encrypted using the Salsa20 algorithm.
A service called “MYSQL” is opened by the process via a function call to OpenServiceW... the ransomware would stop it using the ControlService API.
Observables
17 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.