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 Executive 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 ... View Full Bio

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
White Papers
Cartoon
Current Issue
Dark Reading Tech Digest, Dec. 19, 2014
Software-defined networking can be a net plus for security. The key: Work with the network team to implement gradually, test as you go, and take the opportunity to overhaul your security strategy.
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2014-7241
Published: 2014-12-19
The TSUTAYA application 5.3 and earlier for Android allows remote attackers to execute arbitrary Java methods via a crafted HTML document.

CVE-2014-7249
Published: 2014-12-19
Buffer overflow on the Allied Telesis AR440S, AR441S, AR442S, AR745, AR750S, AR750S-DP, AT-8624POE, AT-8624T/2M, AT-8648T/2SP, AT-8748XL, AT-8848, AT-9816GB, AT-9924T, AT-9924Ts, CentreCOM AR415S, CentreCOM AR450S, CentreCOM AR550S, CentreCOM AR570S, CentreCOM 8700SL, CentreCOM 8948XL, CentreCOM 992...

CVE-2014-7267
Published: 2014-12-19
Cross-site scripting (XSS) vulnerability in the output-page generator in the Ricksoft WBS Gantt-Chart add-on 7.8.1 and earlier for JIRA allows remote authenticated users to inject arbitrary web script or HTML via unspecified vectors, a different vulnerability than CVE-2014-7268.

CVE-2014-7268
Published: 2014-12-19
Cross-site scripting (XSS) vulnerability in the data-export feature in the Ricksoft WBS Gantt-Chart add-on 7.8.1 and earlier for JIRA allows remote attackers to inject arbitrary web script or HTML via unspecified vectors, a different vulnerability than CVE-2014-7267.

CVE-2014-8272
Published: 2014-12-19
The IPMI 1.5 functionality in Dell iDRAC6 modular before 3.65, iDRAC6 monolithic before 1.98, and iDRAC7 before 1.57.57 does not properly select session ID values, which makes it easier for remote attackers to execute arbitrary commands via a brute-force attack.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Join us Wednesday, Dec. 17 at 1 p.m. Eastern Time to hear what employers are really looking for in a chief information security officer -- it may not be what you think.