Attacks/Breaches
7/18/2012
12:23 PM
Connect Directly
RSS
E-Mail
50%
50%

Mahdi Malware Hits Middle Eastern Targets

Despite attacking critical infrastructure, financial services, and government embassy targets in Iran and Israel, the "Messiah" malware doesn't appear to tie directly to Flame.

Two security firms this week disclosed that they're working to eradicate a malware campaign that targets users in several Middle Eastern countries and which has been active for at least eight months.

The attackers used malware that's been dubbed "Mahdi"--which in Islamic eschatology is synonymous with Messiah--by Seculert, which said it discovered the malware several months ago, and found the word Mahdi used in multiple strings of code. Interestingly, the malware was introduced via a spear-phishing attack that included a fake Microsoft Word document. Opening the attachment would execute the malware, as well as open a copy of a Daily Beast article analyzing Israel's potential electronic warfare capabilities against Iran.

After Kaspersky Lab announced in May 2012 that it had discovered the Flame malware, Seculert said it reached out to the security firm to help it ascertain whether Flame and Mahdi might be connected. But so far, the security firms said there's no evidence of a link, although the targets are similar.

"While we couldn't find a direct connection between the campaigns, the targeted victims of Mahdi include critical infrastructure companies, financial services, and government embassies, which are all located in Iran, Israel, and several other Middle Eastern countries," according to a blog post from Seculert. So far, victim systems have been located as being in Iran (387 infected systems found), Israel (54), Afghanistan (14), United Arab Emirates (6), and Saudi Arabia (4).

[ Learn One Secret That Stops Hackers: Girlfriends. ]

"Large amounts of data collection reveal the focus of the campaign [is] on Middle Eastern critical infrastructure engineering firms, government agencies, financial houses, and academia," and some targets appear to have been monitored by attackers for extended periods of time, according to an analysis published by the global research and analysis team at Kaspersky Lab. "The campaign relied on a couple of well-known, simpler attack techniques to deliver the payloads, which reveals a bit about the victims' online awareness"--or lack thereof, it said.

As of Tuesday, the malware campaign appeared to still be operating. "We are working with various organizations to clean up and prevent further infections," said Kaspersky. According to Seculert, to date it's identified four command-and-control servers running the Mahdi-related malware.

Mahdi's authors preferred to distribute their malware via social-engineering attacks, disguising their malware as legitimate PowerPoint file slideshows, or sending out executables with filenames that were disguised to make them look like images or PDF files. Running the executable or paging through the PowerPoint slideshow, meanwhile, would trigger a malicious Trojan dropper file to download further malware onto the targeted device, giving attackers a backdoor to the system.

"The backdoors that were delivered to approximately 800 victim systems were all coded in Delphi," said Kaspersky. "This would be expected from more amateur programmers, or developers in a rushed project." Furthermore, the malicious executables appear to be repackaged--using legitimate compression software--on a regular basis, which means the "quickly shifting code will get the code past some gateway security products."

What's interesting about Mahdi is that the attack only appears to be as complex as it needed to be. "Most of the components are simple in concept, but effective in practice," according to Kaspersky. "No extended zero-day research efforts, no security researcher commitments or big salaries were required. In other words, attacking this set of victims without zero-day--in this region--works well enough."

That differentiates the malware from Flame, which was built using world-class cryptographic expertise. Notably, Flame's creators found a way to spoof the Microsoft signing service, allowing them to install entire copies of the malicious application automatically, using the Windows Update functionality built into all versions of Microsoft Windows.

While Mahdi is simple by comparison, it still offers attackers a range of monitoring capabilities, including logging all keystrokes on the device, capturing screenshots at preset intervals or when triggered by specified events, such as the user actively using Facebook, Gmail, Google+, Hotmail, Skype, or Yahoo Mail. In addition, the backdoor software could download additional functionality; analyze the disk structure of the infected PC; and record audio as a .WAV file. Additional functionality, including enabling the malware to automatically delete itself, appears to have been added in but not finalized.

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
White Papers
Cartoon
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-3352
Published: 2014-08-30
Cisco Intelligent Automation for Cloud (aka Cisco Cloud Portal) 2008.3_SP9 and earlier does not properly consider whether a session is a problematic NULL session, which allows remote attackers to obtain sensitive information via crafted packets, related to an "iFrame vulnerability," aka Bug ID CSCuh...

CVE-2014-3908
Published: 2014-08-30
The Amazon.com Kindle application before 4.5.0 for Android does not verify X.509 certificates from SSL servers, which allows man-in-the-middle attackers to spoof servers and obtain sensitive information via a crafted certificate.

CVE-2010-5110
Published: 2014-08-29
DCTStream.cc in Poppler before 0.13.3 allows remote attackers to cause a denial of service (crash) via a crafted PDF file.

CVE-2012-1503
Published: 2014-08-29
Cross-site scripting (XSS) vulnerability in Six Apart (formerly Six Apart KK) Movable Type (MT) Pro 5.13 allows remote attackers to inject arbitrary web script or HTML via the comment section.

CVE-2013-5467
Published: 2014-08-29
Monitoring Agent for UNIX Logs 6.2.0 through FP03, 6.2.1 through FP04, 6.2.2 through FP09, and 6.2.3 through FP04 and Monitoring Server (ms) and Shared Libraries (ax) 6.2.0 through FP03, 6.2.1 through FP04, 6.2.2 through FP08, 6.2.3 through FP01, and 6.3.0 through FP01 in IBM Tivoli Monitoring (ITM)...

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
This episode of Dark Reading Radio looks at infosec security from the big enterprise POV with interviews featuring Ron Plesco, Cyber Investigations, Intelligence & Analytics at KPMG; and Chris Inglis & Chris Bell of Securonix.