Attacks/Breaches
2/10/2014
01:43 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

Researchers Uncover 'The Mask' Global Cyberspying Operation

Rare Spanish-speaking cyberespionage campaign usurps Flame as most sophisticated spy attack to date

KASPERSKY LAB SECURITY ANALYST SUMMIT -- Punta Cana, Dominican Republic -- Move over, Flame and Duqu: A newly discovered cyberespionage operation waged by Spanish-speaking attackers against government, energy, oil, and gas organizations around the globe employs the most sophisticated array of tools seen yet, according to researchers here.

Kaspersky Lab researchers disclosed "The Mask" here today, an advanced cyberespionage operation that went undetected for about five years, using a rootkit, bootkit, and Windows, Mac OS X, and Linux versions of the malware. There is evidence pointing to Android and iOS versions of the malware, as well, and The Mask also targets government entities, diplomatic offices and embassies, research institution,s and activists across Europe, the Middle East, Africa, and the Americas, including victims in the U.S.

Costin Raiu, director of the global research and analysis team at Kaspersky Lab, says a Spanish-speaking cyberespionage attack is unusual. The Mask has all the earmarks of an elite nation-state campaign; sophistication-wise, it basically usurps the Flame campaign associated with Stuxnet. "This is one of the best I have seen. Previously, the best APT group was the one behind Flame, but now that changes my opinion because of the way [Mask operators] manage the infrastructure and the way they react to threats and the speed of reaction and professionalism ... beyond Flame and anything else we have seen so far," he says.

The Mask, a.k.a. Careto, steals documents and encryption keys, VPN configuration information, SSH keys, and Remote Desktop Client files, and wipes log traces of its activity. Another unique feature: It exploits an older vulnerability in Kaspersky's antivirus software.

There are some 380 victims among more than 1,000 IPs in Algeria, Argentina, Belgium, Bolivia, Brazil, China, Colombia, Costa Rica, Cuba, Egypt, France, Germany, Gibraltar, Guatemala, Iran, Iraq, Libya, Malaysia, Mexico, Morocco, Norway, Pakistan, Poland, South Africa, Spain, Switzerland, Tunisia, Turkey, the United Kingdom, the United States, and Venezuela.

Raiu says Kaspersky has shut down the command-and-control servers it found, and Apple shut down the domains associated with the Mac OS X exploit, but this is only a "snapshot" of the operation -- there is likely more the researchers have not seen. "I suspect we are seeing a very narrow window into their operation," he says. There are several known domains that remain alive as well, he says.

The exploit used against Kaspersky's security software was a first and came as a bit of a surprise, he says. "Frankly, I was surprised to see someone attacking our products. It does not prevent us from removing [the malware] from the system ... it was kind of half-baked," Raiu says of the exploit used against older versions of Kaspersky's software.

"It's trying to abuse one of our components to hide," he says.

Interestingly, the attackers shut down much of their activity after Kaspersky Lab last week posted a teaser blog about its plans to unveil the mask this week. "Four hours later, they began a massive cleanup. That indicates they knew we were referencing their operation," Raiu says.

The attackers also use an exploit for the patched Adobe Flash Player exploit that bypasses the Google Chrome sandbox, which was first used by VUPEN in the 2012 Pwn2Own contest at CanSecWest. VUPEN, which sells private zero-day exploits, did not publicly release details of how it performed the attack. "Maybe someone [built] the [Adobe] exploit themselves," Raiu says of The Mask's similar attack. "I'm not sure if it's the same exploit, but I'm sure it's the same vulnerability."

The Mask begins its attack with spear-phishing emails with links to a malicious URL that contains various exploits. It ultimately redirects users to the legitimate site it lures them with, such as a news website or YouTube. The attack captures the infected machine's communications and is difficult to detect given the stealth rootkit and other advanced modules.

According to Kaspersky, the malware is based on a modular architecture with support for plug-ins and configuration files, and can be updated with new modules.

The Spanish slang word "Careto," means "mask" or "ugly face," which provided one of the clues of the language spoken by the attackers, which is rare among known targeted attack activity. But it's possible that the Spanish language elements could instead be a false flag meant to make the attack appear to originate from a Spanish-speaking operation, according to Kaspersky.

Have a comment on this story? Please click "Add Your Comment" below. If you'd like to contact Dark Reading's editors directly, send us a message. Kelly Jackson Higgins is Senior Editor at DarkReading.com. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise Magazine, ... View Full Bio

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-0103
Published: 2014-07-29
WebAccess in Zarafa before 7.1.10 and WebApp before 1.6 stores credentials in cleartext, which allows local Apache users to obtain sensitive information by reading the PHP session files.

CVE-2014-0475
Published: 2014-07-29
Multiple directory traversal vulnerabilities in GNU C Library (aka glibc or libc6) before 2.20 allow context-dependent attackers to bypass ForceCommand restrictions and possibly have other unspecified impact via a .. (dot dot) in a (1) LC_*, (2) LANG, or other locale environment variable.

CVE-2014-0889
Published: 2014-07-29
Multiple cross-site scripting (XSS) vulnerabilities in IBM Atlas Suite (aka Atlas Policy Suite), as used in Atlas eDiscovery Process Management through 6.0.3, Disposal and Governance Management for IT through 6.0.3, and Global Retention Policy and Schedule Management through 6.0.3, allow remote atta...

CVE-2014-2226
Published: 2014-07-29
Ubiquiti UniFi Controller before 3.2.1 logs the administrative password hash in syslog messages, which allows man-in-the-middle attackers to obtains sensitive information via unspecified vectors.

CVE-2014-3020
Published: 2014-07-29
install.sh in the Embedded WebSphere Application Server (eWAS) 7.0 before FP33 in IBM Tivoli Integrated Portal (TIP) 2.1 and 2.2 sets world-writable permissions for the installRoot directory tree, which allows local users to gain privileges via a Trojan horse program.

Best of the Web
Dark Reading Radio