Connect with us

Hi, what are you looking for?


Malware & Threats

CosmicDuke Variant Installs MiniDuke on Infected Systems: F-Secure

Researchers at F-Secure have been been monitoring the CosmicDuke, MiniDuke and OnionDuke cyber espionage campaigns and they’ve made some interesting discoveries.

Researchers at F-Secure have been been monitoring the CosmicDuke, MiniDuke and OnionDuke cyber espionage campaigns and they’ve made some interesting discoveries.

CosmicDuke, a piece of malware designed for information theft, was discovered by the Finland-based security firm in April 2014 during the analysis of MiniDuke. Experts noticed at the time that the documents used as lure in the CosmicDuke attacks contained references to Ukraine, Turkey, Poland and Russia.

Now, after analyzing some of the malicious documents uploaded to VirusTotal, researchers have determined that at least one Ministry of Foreign Affairs in Europe has been targeted by the threat actors. The documents, one of which references the EU sanctions against Russia over the crisis in Ukraine, trick users into enabling macros, which leads to the system getting infected with CosmicDuke.

This variant of CosmicDuke is designed to install MiniDuke malware on infected systems. CosmicDuke was initially linked to MiniDuke because they used the same loader, which had only been seen in the MiniDuke group’s operations. The fact that CosmicDuke downloads MiniDuke onto infected devices represents further evidence of a connection between the threats, experts said.

“CosmicDuke and MiniDuke complement each other. CosmicDuke is an infostealer – ideal for reconnaissance and data exfiltration. MiniDuke is a backdoor – it gives the attacker full control of the computer,” Timo Hirvonen, senior researcher at F-Secure, told SecurityWeek.

CosmicDuke has been observed in two types of operations: ones targeting government and other high-profile organizations, and ones targeting users involved in the trafficking of controlled and illegal substances.

Another piece of malware that has been used in two types of operations is OnionDuke, a threat discovered by F-Secure in November 2014. OnionDuke, which has been linked to MiniDuke through their command and control (C&C) infrastructure, has been used in attacks against government agencies, but also in mass infection operations aimed at Tor and torrent users.

Advertisement. Scroll to continue reading.

In advanced persistent threat (APT) campaigns, OnionDuke leverages a dedicated infrastructure that’s shared with MiniDuke. In these attacks, a complete version of the malware is utilized. On the other hand, in the mass infection campaigns, the C&C infrastructure is comprised of compromised servers and free hosting services, and the attackers have used a lighter version of OnionDuke, one that only downloads additional components onto infected machines, F-Secure noted.

CosmicDuke, MiniDuke and OnionDuke are said to have Russian roots. Based on the evidence discovered so far, F-Secure researchers believe a Russian state agency is behind the campaigns. That’s because the high-profile organizations targeted in the attacks are in countries that present an interest to Russia. Furthermore, the CosmicDuke operations against users of illegal substances have been aimed at Russians, which indicates that the tool might be leveraged as legal spying software by the country’s law enforcement agencies.

*Updated with additional details from F-Secure

Written By

Eduard Kovacs (@EduardKovacs) is a managing 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.

Join security experts as they discuss ZTNA’s untapped potential to both reduce cyber risk and empower the business.


Join Microsoft and Finite State for a webinar that will introduce a new strategy for securing the software supply chain.


Expert Insights

Related Content


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


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


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

Malware & Threats

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

Malware & Threats

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


The recent ransomware attack targeting Rackspace was conducted by a cybercrime group named Play using a new exploitation method, the cloud company revealed this...

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...

Malware & Threats

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