Security Experts:

Connect with us

Hi, what are you looking for?


Malware & Threats

Cybercriminals Unleash MegaCortex Ransomware in Global Attack Campaign

Sophos security researchers have observed a spike in the number of attacks featuring a new ransomware family called MegaCortex.

Sophos security researchers have observed a spike in the number of attacks featuring a new ransomware family called MegaCortex.

The malware initially appeared in January this year, with the first signs of infection observed in early February, but no major attack was noticed until May 1, when the malware started hitting users worldwide, including Italy, the United States, Canada, the Netherlands, Ireland, and France. 

The infection methodology employed by the malware involves both automated and manual components, but relies heavily on automation to infect a large number of victims. 

The ransomware appears to be distributed through Emotet and Qbot (aka Qakbot) Trojans (they are usually found on networks where MegaCortex attacks happened). Both these malware families can drop malicious code, but the researchers found no evidence that either deployed MegaCortex. 

In at least one victim’s environment, the attack was launched from a compromised domain controller (DC), inside an enterprise network, after the attackers managed to obtain administrative credentials as part of “a hands-on break in,” the researchers reveal

As part of the attack, the credentials were used to execute a heavily obfuscated PowerShell script to open a Meterpreter reverse shell into the victim’s network. Commands were issued via the DC, which the attacker had access to via the reverse shell.

WMI was then used to push a malicious payload to other computers on the network. The payload included a copy of PsExec, the main malware executable, and a batch file. The batch file was executed remotely via PsExec.

“The batch file appears to be just a long list of commands to kill 44 processes, issue stop commands to 189 different services, and switch the Startup Type for 194 different services to Disabled, which prevents them from starting up again,” Sophos says. 

In the end, the batch file would launch the executable winnit.exe with a command flag to drop and execute a DLL payload. 

Although the malware has been active since February, over half of the confirmed MegaCortex attacks to date have been happening since May 1, Sophos says. Each attack targeted an enterprise environment, likely involving hundreds of machines.

The dropped ransom note doesn’t mention the ransom amount, but the cybercriminals behind the attacks demand the victim to contact them about the ransom and submit a file with a .tsv extension (which the ransomware generates). 

In an emailed comment to SecurityWeek, Brandon Levene, Head of Applied Intelligence at Chronicle, VirusTotal’s parent company, revealed that the same signer certificate (CN) has been used in both the Rietspoof loader and MegaCortex samples dating back to at least Jan. 22, 2019.

“This means it is highly likely that the people using Rietspoof with that signature are also using MegaCortex. I can’t say definitively that the same threat actors are behind both Rietspoof and Megacortex, but this finding solidifies a correlation,” Levene said. 

He also notes that the ‘big-game hunting’ technique used in the MegaCortex ransomware attacks has been spotted quite often since the beginning of the year. 

“As more and more lucrative targets remain accessible, I believe this trend will continue throughout the year. Organizations cannot ignore commodity malware anymore as attackers increasingly use their beachhead access to execute highly lucrative (and damaging) attacks,” Levene concluded. 

Related: New Multi-Stage Malware Updated Daily

Related: GandCrab Ransomware Detected Targeting Manufacturing Firm

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join this webinar to learn best practices that organizations can use to improve both their resilience to new threats and their response times to incidents.


Join this live webinar as we explore the potential security threats that can arise when third parties are granted access to a sensitive data or systems.


Expert Insights

Related Content


The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.


No one combatting cybercrime knows everything, but everyone in the battle has some intelligence to contribute to the larger knowledge base.


A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...

Malware & Threats

Threat actors are increasingly abusing Microsoft OneNote documents to deliver malware in both targeted and spray-and-pray campaigns.

Malware & Threats

Microsoft plans to improve the protection of Office users by blocking XLL add-ins from the internet.


More than 3,800 servers around the world have been compromised in recent ESXiArgs ransomware attacks, which also include an improved process.

Malware & Threats

A vulnerability affecting IBM’s Aspera Faspex file transfer solution, tracked as CVE-2022-47986, has been exploited in attacks.

Malware & Threats

Unpatched and unprotected VMware ESXi servers worldwide have been targeted in a ransomware attack exploiting a vulnerability patched in 2021.