Magniber Ransomware Being Distributed via Edge and Chrome

The ASEC analysis team has been continuously monitoring Magniber, ransomware that is distributed via Internet Explorer (IE) vulnerabilities. For the last couple of years, the attacker behind Magniber has been exploiting IE vulnerabilities to deploy ransomware. And as shown in the previous blog below, it is still being distributed by exploiting the IE vulnerabilities. What’s new, however, is that Magniber’s distribution has been confirmed on browsers other than IE: Edge and Chrome. This blog post aims to explain the distribution process of Magniber in browsers: Edge and Chrome.

Change in Magniber Ransomware Vulnerability (CVE-2021-40444)

Figure 1 and Figure 2 show distribution pages accessed from Edge, Chrome, respectively. Both pages prompt users to install Windows application package file (.appx) to update the corresponding browser.

Figure 1. Distribution page on Edge browser

Figure 2. Distribution page on Chrome browser

Note that the APPX file disguised as Chrome or Edge’s Windows update application internally contains a valid certificate (see Figure 3). This means that the Windows application (.appx) is sorted as a trusted application, therefore allowing its installation.

Figure 3. Valid certificate info

Figure 4 shows the result of executing the downloaded APPX file which is the creation of malicious EXE and DLL in the child paths of C:\Program Files\WindowsApps.

Figure 4. Malicious EXE and DLL created upon installing APPX file

Figure 5 shows the code of the created EXE file (wjoiyyxzllm.exe). It loads the DLL file (wjoiyyxzllm.dll) that was created together and executes a specific function (mbenooj).

Figure 5. Code of wjoiyyxzllm.exe

Figure 6 is a part of the DLL code that downloads the ransomware’s encoded payload and decodes it.

Figure 6. Part of DLL code (download and execute ransomware)

Ultimately, Magniber is executed from the memory of wjoiyyxzllm.exe, encrypting the user’s files and creating a ransom note demanding the user to send money if they wish to restore the files (Figure 7).

Figure 7. Ransom note that is created following file encryption (Magniber)

Magniber’s distributor signed the APPX file with a trusted certificate to disguise it as an innocuous app to deceive the system. Users must refrain from accessing untrusted websites and maintain security software such as V3 to the latest version.

[File Detection]
exe loader: Trojan/Win.Loader.R462129 (2022.01.03.02)
Magniber dll: Ransomware/Win.Magniber.R462664 (2022.01.06.00), Ransomware/Win.Magniber.X2130 (2022.01.06.02)

[Behavior Detection]
Ransom/MDP.Decoy.M1171

[Memory Detection]
Ransomware/Win.Magniber.XM135 (2022.01.06.02)

[IOC]
cf16310545bf91d3ded081f9220af7cc (exe)
12a12ea3b7d84d1bd0aad215d024665c (dll)
hxxp://b5305c364336bqd.bytesoh.cam
hxxp://hadhill.quest/376s53290a9n2j

The post Magniber Ransomware Being Distributed via Edge and Chrome appeared first on ASEC BLOG.

Article Link: Magniber Ransomware Being Distributed via Microsoft Edge and Google Chrome - ASEC BLOG