Security Experts:

Connect with us

Hi, what are you looking for?


Malware & Threats

APT-Style Evasion Techniques Spotted in “Kofer” Ransomware Campaign

Researchers have come across a massive ransomware campaign in which attackers continuously generate new variants of the same malware in an effort to evade detection.

Researchers have come across a massive ransomware campaign in which attackers continuously generate new variants of the same malware in an effort to evade detection.

Over the past two weeks, Israel-based security firm Cybereason has identified a large number of different ransomware samples that appear to be created by the same group using an automated algorithm to “mix and match” different components of the threat.

According to Cybereason, this campaign, dubbed “Operation Kofer,” is the first drive-by ransomware attack to incorporate a level of complexity usually seen in advanced persistent threat (APT) operations.

Experts say the attackers are mainly targeting users in Europe, including Spanish, Polish, Swiss and Turkish speakers. New ransomware variants are generated every few days — in some cases every few hours — and delivered to potential victims through spam campaigns that carry ransomware such as CryptoWall 3.0 and Crypt0L0cker disguised as PDF documents.

While there are many similarities between the ransomware variants used in the Kofer campaign, each sample has a unique hash and unique characteristics, which helps the malware evade signature- and hash-based detection.

Several anti-detection techniques have been observed by researchers, including the storage of the encrypted ransomware payload inside a PE file, the inclusion of junk resources to make the malware look benign, and execution of the malware as a child process in an effort to evade detection by sandboxes and dynamic detection solutions.

Some of the malware variants analyzed by Cybereason are designed to check for the presence of virtual environments before conducting any malicious activities.

As for persistence, the ransomware copies itself to random or preset paths that are added to autorun locations in the registry.

Some of the ransomware variants use the Tor anonymity network for command and control (C&C) communications. Experts have pointed out that network-only tools lacking an endpoint element will likely fail to detect the malicious Tor activity since they cannot distinguish legitimate Tor processes from the malware.

“If the Kofer variants are in fact coming from a single source, then this can indicate the commoditization of ransomware at a whole new scale,” said Uri Sternfeld, Senior Security Researcher at Cybereason. “Our best suggestion to minimize the impact of ransomware is to run frequent backups using an external drive and use endpoint monitoring and detection technologies to limit the scope of such attacks.”

Written By

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

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.

Expert Insights

Related Content

Malware & Threats

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


CISA, NSA, and MS-ISAC issued an alert on the malicious use of RMM software to steal money from bank accounts.


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...


Russia-linked cyberespionage group APT29 has been observed using embassy-themed lures and the GraphicalNeutrino malware in recent attacks.


Chinese threat actor DragonSpark has been using the SparkRAT open source backdoor in attacks targeting East Asian organizations.


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

Malware & Threats

Security researchers are warning of a new wave of malicious NPM and PyPI packages designed to steal user information and download additional payloads.


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