Attacks/Breaches
2/28/2013
11:08 AM
50%
50%

MiniDuke Espionage Malware Uses Twitter To Infect PCs

Online espionage campaign sends malicious PDF documents to victims, and the infected PCs use Twitter to install malware that can copy and delete files.

Who Is Anonymous: 10 Key Facts
Who Is Anonymous: 10 Key Facts
(click image for larger view and for slideshow)
Security researchers have spotted an online espionage campaign that infects targeted systems with malware that's only 20KB in size and controlled via Twitter accounts.

According to Russian security firm Kaspersky Lab and Budapest-based CrySyS Lab, which both discovered the attack code -- named MiniDuke -- the campaign appears to remain active, because recovered malware used by attackers was created as recently as Feb. 20.

"To compromise the victims, the attackers used extremely effective social engineering techniques which involved sending malicious PDF documents to their targets," according to an overview of MiniDuke published by Kaspersky Lab. "The PDFs were highly relevant and well-crafted content that fabricated human rights seminar information and Ukraine's foreign policy and NATO membership plans."

[ Malware is everywhere, but here's how one attacker was shut down. Read Virut Malware Botnet Torpedoed By Security Researchers. ]

The malicious PDFs exploited a bug, since patched, in Adobe Reader versions 9, 10 and 11, which allowed the attackers to bypass Reader's sandbox and install a small dropper, or downloader, onto the PC that gives an attackers a backdoor for remotely accessing the now-compromised system.

The attack used same the zero-day vulnerability in Adobe Reader discovered by FireEye and first publicly detailed on Feb. 12, after the security firm spotted malicious PDFs disguised as a Turkish visa application. But it's not clear if MiniDuke was launched by the same group, or whether it just purchased a crimeware toolkit from the same vendor that included an exploit for the vulnerability.

Interestingly, each MiniDuke backdoor is custom coded to work only on the targeted machine, meaning if it's moved to a different PC it won't execute. "This downloader is unique per system and contains a customized backdoor written in Assembler," said Kaspersky Lab. "When loaded at system boot, the downloader uses a set of mathematical calculations to determine the computer's unique fingerprint, and in turn uses this data to uniquely encrypt its communications later."

"The backdoor is written in 'old school' assembler and is tiny by current standards -- only 20 KB," according to "The MiniDuke Mystery: PDF 0-day Government Spy Assembler 0x29A Micro Backdoor" research report released Wednesday by Kaspersky and CrySys Lab. "This is most unusual for modern malware, which can be several megabytes in size."

After infecting a PC, the attack code first checks to see if it's infected a desired system. If so, then the PC will surreptitiously contact Twitter accounts created by MiniDuke command-and-control (C&C) servers, which contain tweets which list encrypted URLs -- in the form of hash tags -- to which the infected PC can connect to receive further instructions. These instructions are received in the form of GIF files that are "disguised as pictures that appear on a victim's machine," according to Kaspersky Lab, and enable the downloader to then grab another executable -- one recovered sample was a 300KB file disguised as a GIF -- from a server in either Panama or Turkey. This larger piece of malware then serves as a platform for conducting cyber-espionage, including not just copying and removing files, but also running new malware and spreading malware onto other systems connected to the same network.

The malware includes backup capabilities in the event that Twitter can't be reached or the malnet's Twitter accounts get deleted, such as using Google to search for encrypted URL strings. "This model is flexible and enables the operators to constantly change how their backdoors retrieve further commands or malcode as needed," said the Kaspersky report.

The malware's creators have tried to make their attack code difficult to detect, in part by using disguised JavaScript. "The available malware samples are highly obfuscated, and compiled by a polymorphic compiler. The attackers were able to produce new variants with only a few minutes difference between compile times. Therefore, the number of distinct samples could be very large," said a blog post from the CrySyS lab, which also released a report that includes more detailed information on the malware, as well as tips for how to spot PCs that have been infected.

Based on the logs of command-and-control servers accessed by researchers, MiniDuke has been used only in a small number of targeted attacks. To date, just 59 infected systems have been found in 23 countries, including the United States and much of Europe, as well as Brazil, Israel, Japan, Romania, the Russian Federation and Ukraine.

Attend Interop Las Vegas, May 6-10, and attend the most thorough training on Apple Deployment at the NEW Mac & iOS IT Conference. Use Priority Code DIPR02 by March 2 to save up to $500 off the price of Conference Passes. Join us in Las Vegas for access to 125+ workshops and conference classes, 350+ exhibiting companies, and the latest technology. Register for Interop today!

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
PJS880
50%
50%
PJS880,
User Rank: Ninja
3/15/2013 | 5:10:10 PM
re: MiniDuke Espionage Malware Uses Twitter To Infect PCs
This sounds like one bad little piece of malware, small in size and packing a punch. There seems to be a trend that I am reading about as far as the way these breeches are occurring and that is through the user clicking on some piece of malware, weather it be a .pdf file, email, or a link. I think the knowledge to walk away with here is donG«÷t open it, once again; of you donG«÷t know the sender or where it came from. Very creative going in through the Twitter hash tags. Does the infected system have to already have some associated Twitter account or does that not even matter?

Paul Sprague
InformationWeek Contributor
Register for Dark Reading Newsletters
White Papers
Cartoon
Latest Comment: nice post
Current Issue
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2014-1750
Published: 2015-07-01
Open redirect vulnerability in nokia-mapsplaces.php in the Nokia Maps & Places plugin 1.6.6 for WordPress allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via a URL in the href parameter to page/place.html. NOTE: this was originally reported as cross-sit...

CVE-2014-1836
Published: 2015-07-01
Absolute path traversal vulnerability in htdocs/libraries/image-editor/image-edit.php in ImpressCMS before 1.3.6 allows remote attackers to delete arbitrary files via a full pathname in the image_path parameter in a cancel action.

CVE-2015-0848
Published: 2015-07-01
Heap-based buffer overflow in libwmf 0.2.8.4 allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted BMP image.

CVE-2015-1330
Published: 2015-07-01
unattended-upgrades before 0.86.1 does not properly authenticate packages when the (1) force-confold or (2) force-confnew dpkg options are enabled in the DPkg::Options::* apt configuration, which allows remote man-in-the-middle attackers to upload and execute arbitrary packages via unspecified vecto...

CVE-2015-1950
Published: 2015-07-01
IBM PowerVC Standard Edition 1.2.2.1 through 1.2.2.2 does not require authentication for access to the Python interpreter with nova credentials, which allows KVM guest OS users to discover certain PowerVC credentials and bypass intended access restrictions via unspecified Python code.

Dark Reading Radio
Archived Dark Reading Radio
Marc Spitler, co-author of the Verizon DBIR will share some of the lesser-known but most intriguing tidbits from the massive report