Friday, January 24, 2025
HomeCyber Security NewsEmbargo Ransomware Actors Abuses Safe Mode To Disable Security Solutions

Embargo Ransomware Actors Abuses Safe Mode To Disable Security Solutions

Published on

SIEM as a Service

Follow Us on Google News

In July 2024, the ransomware group Embargo targeted US companies using the malicious loader MDeployer and EDR killer MS4Killer.

MDeployer deployed MS4Killer, which disabled security products, before executing the Embargo ransomware. 

The ransomware encrypted files with a random six-letter extension and dropped a ransom note, while Embargo, operating as a RaaS provider, used double extortion to pressure victims into paying.

Embargo ransom note
Embargo ransom note

Embargo ransomware group has deployed new Rust-based tools, MDeployer and MS4Killer, to target US companies, where MDeployer acts as a loader, decrypting and executing MS4Killer. This EDR killer abuses a vulnerable driver to disable security solutions. 

Protecting Your Networks & Endpoints With UnderDefense MDR – Request Free Demo

Both tools are actively developed and tailored to each victim’s environment. Embargo’s use of Rust for its ransomware payloads and sophisticated operations suggests its status as a well-resourced and dangerous threat actor.

MDeployer execution diagram
MDeployer execution diagram

The DLL variant of MDeployer, when executed with admin privileges, leverages Safe Mode to evade security solutions, which modifies system settings to boot into Safe Mode and disables Windows Defender, then creates a persistence service to execute the loader post-reboot. 

Once in Safe Mode, it disables selected security tools by renaming their directories.

After deploying the Embargo ransomware payload, it cleans up Safe Mode configurations. It reboots the system back to normal mode, which is commonly employed by ransomware groups, and exploits Safe Mode’s limited functionality to bypass security measures.

DLL MDeployer execution flow
DLL MDeployer execution flow

The MDeployer ransomware loader employs a multi-stage attack process. It begins by targeting specific security solutions, leveraging a BAT script to reboot the system into Safe Mode, and renaming the installed security software’s directory. 

If errors occur during payload decryption, ransomware execution, or MS4Killer execution, the loader logs them in the fail.txt file and creates the stop.exe file. 

After successful execution, the loader performs a cleanup routine, terminating MS4Killer, deleting payloads and the vulnerable driver, and creating stop.exe. If stop.exe already exists, the loader deletes its PE file before rebooting the system.

Scheduled task Perf_sys by BITCH\Administrator executing the loader
Scheduled task Perf_sys by BITCH\Administrator executing the loader

According to ESET researchers, the loader used by the Embargo threat group is a persistent threat that is executed by a scheduled task created by an elevated system user. 

The loader is likely delivered by a tool like WinRM-fs. It is still under active development, as evidenced by inconsistencies and bugs in the code, which uses a vulnerable driver, MS4Killer, to terminate security product processes. 

MS4Killer is based on an existing proof-of-concept tool and has been extended with additional features such as scanning for running processes, hardcoded process names, and encrypted strings.

MDeployer in IDA Pro—the highlighted section shows attempted execution after deletion
MDeployer in IDA Pro—the highlighted section shows attempted execution after deletion

MS4Killer, a ransomware affiliate tool, leverages a vulnerable minifilter driver, probmon.sys, to disable security solutions, which embeds the driver as an encrypted blob and loads it into the system after decrypting and dropping. 

The tool then compares running processes against an embedded list of security software process names to identify and terminate those that pose a threat. 

Analysis reveals that only a subset of process names is actively monitored, suggesting that MS4Killer is tailored to target specific security solutions in compromised environments.

Run private, Real-time Malware Analysis in both Windows & Linux VMs. Get a 14-day free trial with ANY.RUN!

Aman Mishra
Aman Mishra
Aman Mishra is a Security and privacy Reporter covering various data breach, cyber crime, malware, & vulnerability.

Latest articles

Critical Vulnerability in Next.js Framework Exposes Websites to Cache Poisoning and XSS Attacks

A new report has put the spotlight on potential security vulnerabilities within the popular...

New Cookie Sandwich Technique Allows Stealing of HttpOnly Cookies

The "Cookie Sandwich Attack" showcases a sophisticated way of exploiting inconsistencies in cookie parsing...

GhostGPT – Jailbreaked ChatGPT that Creates Malware & Exploits

Artificial intelligence (AI) tools have revolutionized how we approach everyday tasks, but they also...

Tycoon 2FA Phishing Kit Using Specially Crafted Code to Evade Detection

The rapid evolution of Phishing-as-a-Service (PhaaS) platforms is reshaping the threat landscape, enabling attackers...

API Security Webinar

Free Webinar - DevSecOps Hacks

By embedding security into your CI/CD workflows, you can shift left, streamline your DevSecOps processes, and release secure applications faster—all while saving time and resources.

In this webinar, join Phani Deepak Akella ( VP of Marketing ) and Karthik Krishnamoorthy (CTO), Indusface as they explores best practices for integrating application security into your CI/CD workflows using tools like Jenkins and Jira.

Discussion points

Automate security scans as part of the CI/CD pipeline.
Get real-time, actionable insights into vulnerabilities.
Prioritize and track fixes directly in Jira, enhancing collaboration.
Reduce risks and costs by addressing vulnerabilities pre-production.

More like this

GhostGPT – Jailbreaked ChatGPT that Creates Malware & Exploits

Artificial intelligence (AI) tools have revolutionized how we approach everyday tasks, but they also...

Tycoon 2FA Phishing Kit Using Specially Crafted Code to Evade Detection

The rapid evolution of Phishing-as-a-Service (PhaaS) platforms is reshaping the threat landscape, enabling attackers...

Nnice Ransomware Attacking Windows Systems With Advanced Encryption Techniques

CYFIRMA's Research and Advisory team has identified a new strain of ransomware labeled "Nnice,"...