Sodinokibi

Sodinokibi, also called Revil, is dangerous ransomware-type malware. Among other tools, it uses advanced encryption techniques and can operate without connection to control servers. Sodinokibi is among the most complex Ransomware in the world.

Type
Ransomware
Origin
ex-USSR
First seen
1 April, 2019
Last seen
5 October, 2022
Also known as
REvil
Sodin
Global rank
27
Week rank
28
Month rank
32
IOCs
554

What is Sodinokibi ransomware?

Sodinokibi, sometimes also called REvil, is ransomware-type malware - it encrypts files on infected machines and demands a ransom from the victims to restore the files. Sodinokibi is distributed with a Ransomware-as-a-Service business model, allowing anybody who can pay can become an operator of the virus.

Sodinokibi is very sophisticated ransomware, seemingly developed by a group with vast experience in the field. It bears a lot of similarities to another malware called GandCrab - so much so, in fact, that it is believed to be created by the same group of cybercriminals. However, Sodinokibi can be considered a much-upgraded version than previous ones.

Sodinokibi ransomware is capable of encrypting files with curve25519/Salsa20 and encrypting keys with curve25519/AES-256-CTR. The malware uses 2 public keys to encrypt the private key of the user. In addition, this virus utilizes command and control server obfuscation and can operate using the asymmetric key scheduling algorithm, which allows the malware to function without connection to the C2.

General description of Sodinokibi

Sodinokibi first appeared on the radar of cybersecurity researchers in April of 2019, when the malware was featured in a campaign that exploited the Oracle WebLogic Server vulnerability.

The campaign began shortly before another similar malware called GandCrab was officially shut down for good. Some researchers believe that Sodinokibi is a “spiritual successor” of that malware, while others support the theory that it is, in fact, the next generation of the same virus. Some evidence suggests the theory to be correct.

Among such evidence are the vast similarities in the code of both malware and the fact that in the early stages of the Sodinokibi life cycle, criminals used to deploy GandCrab after running Sodinokibi on all infected machines as a precaution, likely because Sodinokibi wasn’t yet thoroughly tested in operation.

Another piece of evidence in favor of this theory is an attack that took place in February 2019, when GandCrab was used to infect victims by compromising Managed Service Providers. Sometime after, the same attack took place, and it featured Sodinokibi ransomware.

In addition, the fact that Sodinokibi malware became popular as its predecessor started to cease operations can not be ignored, and it would be strange to think about it as a coincidence. In addition to that, both malware use very similar distribution methods - something we will explore later in the article.

Finally, it is thought that GandCrab authors started “feeling the heat” and, while worried that their operation can be uncovered, decided to go under the radar by terminating sales in favor of a more advanced malware that could be sold to private parties.

Of course, neither of these points is solid evidence, and we can only imagine that both viruses result from the work of the same people.

Let’s talk about the behavior of Sodinokibi ransomware.

At the beginning of the execution process, the malware generates a mutex that has a hardcoded name. Then, it decrypts a configuration that is embedded. At this stage, Sodinokibi tries to get system privileges by exploiting CVE-2018-8453. In some cases, this step can be omitted in configuration or may not be successful. Then, it tries to obtain privileges by running as an admin.

Following the privilege escalation stage, the ransomware collects basic system and user data. If it finds that the UI or keyboard layout is set to one of the pre-programmed languages, the execution will be terminated. Many of these languages originate from post-USSR territories, suggesting that the malware authors also come from ex-USSR lands.

When the target PC lacks the specified UX or keyboard layout languages, the virus terminates processes by PRC value and proceeds to erase shadow copies. At this point, the data encryption process begins. The ransomware encrypts all user files unless some exceptions are found in the configuration. This is where an attacker can customize their campaign. An extension is then added to all encrypted documents, and a README text is placed in directories. The wallpaper is changed to the ransom demand message.

The attackers can customize the contents of the ransom note and the README file in the config file, which, once again, provides the malware with flexibility which allows it to operate as ransomware-as-a-service since different attackers can demand ransoms of various sums and provide custom instructions to victims.

Sodinokibi ransomware analysis

ANY.RUN provides the ability to watch the Sodinokibi in action and perform the ransomware analysis via an interactive virtual sandbox simulation.

sodiokibi execution process graph Figure 1: illustrates the processes launched by Sodinokibi during its life cycle.

workstation desktop after Sodinokibi infection Figure 2: Wallpapers with ransom message set by Sodinokibi

Sodinokibi execution process

Sodinokibi won't run malicious activity on systems where UI and keyboard languages are set to a specific value, such as Russian, Ukrainian, and 18 others. Although Sodinokibi is a "qualitative" type of malware, its execution, and system infection process, in general, is quite straightforward and similar to other ransomware - it decrypts files, erases shadow copies, and places ransom notes across the file system. Process tree also doesn't look very exciting because all main activities are provided by a single executable. For all infected files, the ransomware changes extensions to generated. The added extension is the same as an ID which is unique and made by combining the hash of the value given by CPUID instruction and the volume serial number. It should be noted that Sodinokibi will also try to encrypt files on network shares. After completion of the decryption process, the ransomware sets the background wallpaper to a ransom message.

Interestingly, the authors of Sodinokibi created a high-quality website available at the domain decryptor.top, where victims can use a trial decryptor and have the opportunity to decrypt three images for free. Besides the decryption function, this website provides information such as the countdown (after time runs out, the ransom amount will be set to 5 000 dollars), instructions on how to buy bitcoins, and where to send them as well as information about the decryption process. If decryptor.top is not available, there is a possibility for victims to visit its .onion clone through the Tor web browser.

How does Sodinokibi spread?

To infiltrate the machines of its victims, Sodinokibi takes advantage of quite some infection vectors, most of which are very similar to its predecessor - GandCrab.

The RAAS is known to utilize the CVE-2019-2725 vulnerability and use the RIG exploit kit. Additionally, Sodinokibi also spreads via compromised managed service providers. And, like icing on the cake, on top of the attack vectors mentioned above, this ransomware is often distributed in malicious spam campaigns.

Sodinokibi communication with C&C

Interestingly, while many ransomware needs to connect to C2 for exchanging encryption keys, for example Maze, Sodinokibi uses something called an asymmetric key scheduling algorithm.

It enables the RAAS to operate without any network connection and not giving the user any chance to get their hands on data that could help with file decryption. However, attackers can optionally establish a connection with the control server to retrieve general system data from infected machines by tweaking the config file.

System and user data then will be transmitted to a broad list of web domains, many of which look completely real and legal - possibly compromised WordPress websites, many of which can be included to hide the real C&C web address. In return, Sodinokibi can receive and read the response from the server, but it is not being saved or used in any way during the operation.

How to prevent Sodinokibi attacks?

While the use of vulnerabilities allows this ransomware to infected machines without active user actions, basic rules of online hygiene can still greatly decrease the probability of “catching” this virus.

In particular, not downloading attachments in suspicious emails or emails that arrived from unknown senders and keeping the macros disabled in Microsoft Office completely guarantees that one won’t be infected with Sodinokibi via a malicious spam email campaign.

How to get more information from Sodinokibi ransomware analysis?

Since crooks behind Sodinokibi offer decryption of three images for free, you can use the interactivity of ANY.RUN to take additional steps in your ransomware analysis. Open the website specified in a ransom note in the browser and follow all steps to decrypt images to get a bigger picture of a ransomware infection process.

Sodinokibi payment website Figure 3: Sodinokibi payment website

Conclusion

Since its introduction in 2019, thousands of computers were already infected with Sodinokibi, and this malware is continuing to be an ongoing danger.

Borrowing much of the functionality from already quite powerful GandCrab ransomware, Sodinokibi improves on it even further to become a real powerhouse of ransomware. Unfortunately, evidence suggests that this malware is developed by experienced cybercriminals who know how to build and distribute a virus. Its accessibility, thanks to malware as a service business model, makes it a real threat to businesses and individuals worldwide.

Thankfully, malware analysis services like ANY.RUN allow cybersecurity researchers to study such threats and prepare their defenses accordingly.

IOCs

IP addresses

No IP adresses found

Hashes
d91f951bdcf35012ac6b47c28cf32ec143e4269243d8c229f6cb326fd343df95
fc5b75fdaced81d3c86db1859c5dd1cbd0bfffa569e7e9fd1c48c63d1f962c02
b5e73c65a92abd6d8ea6040739e6b71a207035f1517f3813c56fbac937b8ff06
ffae85401d87052ef22aaabf8e941c5f9096056e0b586f0b463cc6b0254463ea
d04c7efff113ea3b882beffee52c3a3e41ce6a204440e708f4a4aebe7fa321db
ba76db6dc7d7045db201d4a8dba17f17dc91d735490976fbd1ef9a0b1dcc38a7
a91948ce235c8a43e0d5f3915dd6dd7482ecd50aaaa423849ae4857d8504bc60
d191761ac8a7b0a3525764664609a8fccfa3732d331c525e9c1c9eb0a7068a9c
0b0b2fdff74516db18bb37a91372792e0887c8730f4f7f44b3d880f79699a0a1
0a8e37f435974e898215e0dcc10628d4a18e996e13b268f8e787ee03d722bcc1
dd59a759331f7d6c46ed43cba3d55b8325985e215b94027972006c06b1ec1f1c
12d8bfa1aeb557c146b98f069f3456cc8392863a2f4ad938722cd7ca1a773b39
861bc212241bcac9f8095c8de1b180b398057cbb2d37c9220086ffaf24ba9e08
8161225680dbb5c52e0192230c0d1b9b87120d92b289e14f93479e38024be17d
d54ddcfe200693cfec78b6e416bff79b9a448ed4494f06979a688a2c2ec96dd4
06b323e0b626dc4f051596a39f52c46b35f88ea6f85a56de0fd76ec73c7f3851
b55dc0761b87ca24dcd30e7f0f9a28bf1602dcc5215fcf9b83c63d5d10b23004
d74f04f0b948d9586629e06e2a2a21bdf20d678e47058afb637414eb3701c1f6
ecac12520eaa08addb97ed05c2ac1406d56e58eb422954b704ef5c5516e02397
a29f63484f53d2cf832b2bc70d6b66378b87b86221f885d0f43166503d631ef3
Domains

No hashes found

HAVE A LOOK AT

Adwind screenshot
Adwind
adwind trojan
Adwind RAT, sometimes also called Unrecom, Sockrat, Frutas, jRat, and JSocket, is a Malware As A Service Remote Access Trojan that attackers can use to collect information from infected machines. It was one of the most popular RATs in the market in 2015.
Read More
Agent Tesla screenshot
Agent Tesla
agenttesla trojan rat stealer
Agent Tesla is spyware that collects information about the actions of its victims by recording keystrokes and user interactions. It is falsely marketed as a legitimate software on the dedicated website where this malware is sold.
Read More
Ave Maria screenshot
Ave Maria
avemaria stealer trojan rat
Ave Maria malware is a Remote Access Trojan that is also called WARZONE RAT. Hackers use it to control the PCs of their victims remotely and steal information from infected PCs. For example, they can remotely activate the camera to take pictures of a victim and send them to a control server.
Read More
Azorult screenshot
Azorult
azorult trojan rat
AZORult can steal banking information, including passwords and credit card details, as well as cryptocurrency. This constantly updated information stealer malware should not be taken lightly, as it continues to be an active threat.
Read More
Crimson RAT screenshot
Crimson RAT
crimson rat trojan
Crimson is a Remote Access Trojan — a malware that is used to take remote control of infected systems and steal data. This particular RAT is known to be used by a Pakistani founded cybergang that targets Indian military objects to steal sensitive information.
Read More
Danabot screenshot
Danabot
danabot trojan stealer
Danabot is an advanced banking Trojan malware that was designed to steal financial information from victims. Out of the Trojans in the wild, this is one of the most advanced thanks to the modular design and a complex delivery method.
Read More