New Mimic Ransomware Abuses Everything APIs for its Encryption Process

It is equipped with multiple capabilities such as deleting shadow copies, terminating multiple applications and services, and abusing Everything32.dll functions to query target files that are to be encrypted.

Mimic arrives as an executable that drops multiple binaries and a password-protected archive (disguised as Everything64.dll) which when extracted, contains the ransomware payload.

It also includes tools that are used for turning off Windows defender and legitimate sdel binaries.

7za.exe – Legitimate 7zip file that is used to extract the payload
Everything.exe – Legitimate Everything application
Everything32.dll – Legitimate Everything application
Everything64.dll – Password protected archive that contains the malicious payloads

When executed, it will first drop its components to the %Temp%/7zipSfx folder.
It will then extract the password protected Everything64.dll to the same directory using the dropped 7za.exe via the following command:

%Temp%7ZipSfx.0007za.exe” x -y -p20475326413135730160 Everything64.dll
It will also drop the session key file session.tmp to the same directory, which will be used for continuing the encryption in case the process is interrupted.

It will then copy the dropped files to “%LocalAppData%{Random GUID}”, after which the ransomware will be renamed to bestplacetolive.exe and the original files deleted from the %Temp% directory.
Mimic ransomware consists of multiple threads that employ the CreateThread function for faster encryption and render analysis more challenging for security researchers.

When executed, it will first register a hotkey (Ctrl + F1, using the RegisterHotKey API) that displays the status logs being performed by the ransomware.

The ransomware’s config is located at its overlay and is decrypted using the NOT Operation.
Mimic ransomware possesses a plethora of capabilities, including the following:

Collecting system information
Creating persistence via the RUN key
Bypassing User Account Control (UAC)
Disabling Windows Defender
Disabling Windows telemetry
Activating anti-shutdown measures
Activating anti-kill measures
Unmounting Virtual Drives
Terminating processes and services
Disabling sleep mode and shutdown of the system
Removing indicators
Inhibiting System Recovery

Mimic uses Everything32.dll, a legitimate Windows filename search engine that can return real time results for queries, in its routine.
It abuses the tool by querying certain file extensions and filenames using Everything’s APIs to retrieve the file’s path for encryption.

It uses the Everything_SetSearchW function to search for files to be encrypted or avoided using the following search format:

file:file:wholefilename

The following query is used by Mimic to search for files to be encrypted or avoided:

file: file: wholefilename:

It then appends the .QUIETPLACE file extension to the encrypted files and, finally, displays the ransom note.

From analysis, some parts of the code seemed to be based on, and share several similarities with the Conti ransomware builder that was leaked in March 2022.
For example, the enumeration of the encryption modes shares the same integer for both Mimic and Conti.

The code related to argument net is also based on Conti.
It will use the GetIpNetTable function to read the Address Resolution Protocol (ARP) cache and check if IP addresses contain “172.”, “192.168”, “10.”, or “169.” Mimic added a filter to exclude IP addresses that contain “169.254”, which is the IP range of Automatic Private IP Addressing (APIPA).

Mimic also uses the Conti code in Windows Share Enumeration, where it employs the NetShareEnum function to enumerate all shares on the gathered IP addresses.

Sign Up For Threat Alerts

Loading...
Threats Icon

Mar 23, 2023

HiatusRAT Targets SOHO Routers

Business grade routers are being infected with the HiatusRAT Remote Access Trojan a variant of...

Threats Icon

Mar 23, 2023

HiatusRAT Targets SOHO Routers

Business grade routers are being infected with the HiatusRAT Remote Access Trojan a variant of...

Threats Icon

Mar 21, 2023

Dotrunpex – Demystifying new virtualized .net injector...

DotRunpeX is a new injector written in .NET using the Process Hollowing technique and used...

Threats Icon

Mar 21, 2023

GlobeImposter Ransomware With MedusaLocker Spreading Via RDP

A GlobeImposter ransomware campaign was discovered being carried out by the attackers behind MedusaLocker. The...

Threats Icon

Mar 20, 2023

Common credential stealers

FortiGuard Threat Research has observed an increasing threat arising from credential stealers. The most common...

Threats Icon

Mar 20, 2023

Sirattacker And ALC Ransomware Analysis

The Sirattacker and ALC ransomware families continue to gain traction and compromise Microsoft Windows devices....

Threats Icon

Mar 19, 2023

Google Advertising Used To Distribute RedLine Stealer

A malvertising campaign was discovered mimicking websites belonging to well-known software such as Notepad++ and...

Threats Icon

Mar 16, 2023

Microsoft Outlook Elevation of Privilege Vulnerability Exploit

Microsoft has posted a security vulnerability CVE-2023-23397, exploiting it allows attackers to gain elevated privileges...

Threats Icon

Mar 16, 2023

ImBetter Information Stealer Targets Cryptocurrency Users

Threat actors are targeting cryptocurrency users with the ImBetter information stealer malware. Adversaries are hosting...

Threats Icon

Mar 16, 2023

ImBetter Information Stealer Targets Cryptocurrency Users

Threat actors are targeting cryptocurrency users with the ImBetter information stealer malware. Adversaries are hosting...

Threats Icon

Mar 15, 2023

US Cert Alert – Threat Actors Exploit...

CISA and authoring organizations assess that, beginning as late as November 2022, threat actors successfully...

Threats Icon

Mar 15, 2023

Threat Actors Use ParallaxRAT For Targeting Cryptocurrency...

Threat actors are targeting organization in the cryptocurrency sector with spam and phishing campaigns that...

Threats Icon

Mar 13, 2023

Exposing The Lazarus Arsenal WinorDLL64 Backdoor

In 2021 the researchers discovered and dissected a tool from the Lazarus APTs arsenal named...

Threats Icon

Mar 12, 2023

Clasiopa New Group Targets Materials Research

A campaign targeting the materials research sector with custom and commodity utilities and malware is...

Threats Icon

Mar 09, 2023

New Emotet campaign

Emotet is a type of malware that is designed to steal sensitive information from infected...