Attacks/Breaches
7/26/2012
08:53 AM
Connect Directly
RSS
E-Mail
50%
50%

Mahdi Malware Makers Push Anti-American Update

Spy malware, seemingly built by Iranians, gets update that searches for "USA" and "gov" on targeted machines, security researcher says at Black Hat.

Mounting evidence suggests that the Mahdi malware was built by Iranians, for the primary purpose of spying on people inside Iran.

Notably, while the four command-and-control (C&C) servers controlling Mahdi-infected PCs are based in Canada, the oldest sample of the Mahdi malware discovered thus far--dating from December 2011--interfaced with a C&C server located in Tehran, Iran.

What accounts for the Iran-based C&C server? "I think it was a mistake," said Aviv Raff, CTO of Israel-based Seculert, in an interview at Black Hat 2012 in Las Vegas. That is, whoever developed Mahdi may have inadvertently released into the wild versions which still connected to a test server, rather than production servers that had been set up overseas and meant to disguise the malware's origins.

But the target of Mahdi could be changing. According to Kasperksy, whoever is behind the malware launched a new variant Wednesday, which appeared to have been compiled the same day. "Following the shutdown of the Madi command and control domains last week, we thought the operation is now dead. Looks like we were wrong," said Nicolas Brulez, a security researcher at Kaspersky Lab, in a blog post. (Kaspersky refers to the malware as "Madi.")

[ Strengthen corporate security with tips from the FBI's terrorism-combating campaign. See Black Hat: 6 Lessons To Tighten Enterprise Security. ]

The new malware contains a number of refinements, such as not waiting for instructions from a C&C server. Instead, the malware simply grabs all targeted information and uploads it to a designated server, which, as with previous versions of the malware, is also hosted in Canada. In addition, the malware has been revamped to watch for a number of keywords, including "USA" and "gov."

"The Madi campaign is still ongoing and its perpetrators are busy shipping out new versions with improved features and new tricks," said Brulez. "The additional checks for 'USA' and 'gov' might indicate a shift of focus from targets in Israel to the USA."

Seculert first spotted Mahdi several months ago, as a malicious Trojan application hidden inside a Word document that was distributed via a spear-phishing attack. The email claimed that the attachment contained information about Israel's potential electronic warfare capabilities against Iran. The malware earned its name via a string of text inside the code, spotted by Seculert researchers, that included the word "Mahdi," which in Islamic eschatology is synonymous with Messiah.

After Kaspersky Lab went public last month with its discovery of the Flame malware, Seculert reached out, asking whether Mahdi might in any way relate to Flame, which researchers later linked to Stuxnet. The two companies' researchers then worked together, sinkholing the botnet to study it, and announced their Mahdi-related findings last week.

"The Madi info-stealing Trojan enables remote attackers to steal sensitive files from infected Windows computers, monitor sensitive communications such as email and instant messages, record audio, log keystrokes, and take screenshots of victims' activities," according to Kaspersky. "Common applications and websites that were spied on include accounts on Gmail, Hotmail, Yahoo Mail, ICQ, Skype, Google+, and Facebook."

The two security firms found no apparent connections between Mahdi and Flame. "We started sinkholing Mahdi and we found that most of the targeted entities were coming from Iran and Israel, very similar to Flame, but that was it with the similarities," said Raff. "But we didn't find anything specific about the malware itself that would say there was something similar between those campaigns."

Wednesday, Seculert also released a blog post with updated Mahdi research, based on its ongoing teardown of the Mahdi malware and its associated C&C servers, as well as a free tool for spotting whether a PC is infected by the malware.

Previous
1 of 2
Next
Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
White Papers
Flash Poll
Current Issue
Cartoon
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2014-4725
Published: 2014-07-27
The MailPoet Newsletters (wysija-newsletters) plugin before 2.6.7 for WordPress allows remote attackers to bypass authentication and execute arbitrary PHP code by uploading a crafted theme using wp-admin/admin-post.php and accessing the theme in wp-content/uploads/wysija/themes/mailp/.

CVE-2014-4726
Published: 2014-07-27
Unspecified vulnerability in the MailPoet Newsletters (wysija-newsletters) plugin before 2.6.8 for WordPress has unspecified impact and attack vectors.

CVE-2014-2363
Published: 2014-07-26
Morpho Itemiser 3 8.17 has hardcoded administrative credentials, which makes it easier for remote attackers to obtain access via a login request.

CVE-2014-2625
Published: 2014-07-26
Directory traversal vulnerability in the storedNtxFile function in HP Network Virtualization 8.6 (aka Shunra Network Virtualization) allows remote attackers to read arbitrary files via crafted input, aka ZDI-CAN-2023.

CVE-2014-2626
Published: 2014-07-26
Directory traversal vulnerability in the toServerObject function in HP Network Virtualization 8.6 (aka Shunra Network Virtualization) allows remote attackers to create files, and consequently execute arbitrary code, via crafted input, aka ZDI-CAN-2024.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Sara Peters hosts a conversation on Botnets and those who fight them.