Attacks/Breaches
8/11/2011
02:42 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

'Operation Shady RAT' Attackers Employed Steganography

Digital images hid commands controlling infected machines

The attackers behind the "Operation Shady RAT" targeted cyberespionage hacks hid some of their activities behind digital images.

They used steganography, a relatively rarely deployed technique for hiding malicious code or data behind image files or other innocuous-looking files. In its analysis of Operation Shady RAT, Symantec found rigged images -- everything from images of a pastoral waterside scene to a suggestive photo of a woman in a hat -- that were masking commands ordering the infected machines to phone home to the command-and-control (C&C) server.

The commands are invisible to the human eye because the bits in the image are actually made up of those commands. They're "mathematically built into the data representing the image," according to Symantec researchers in a recent blog post that includes examples of the images its researchers found.

Operation Shady RAT is a massive advanced persistent threat (APT)-type attack campaign that has been ongoing worldwide for five years and has stolen intellectual property from 70 government agencies, international corporations, nonprofits, and others in 14 countries. It was revealed last week by McAfee, which conducted an in-depth study of one of the C&C servers used in the attack.

Remaining under the radar is crucial for APT attackers. The Shady RAT attackers also deployed a tool called HTran that helps disguise their locations. Joe Stewart, director of malware research for Dell SecureWorks' counter threat unit research team, recently discovered a pattern in APT malware in which many of these attackers use HTran -- including the Operation Shady RAT attackers, he says.

Stewart actually was able to glean more information on the attackers' servers after discovering an error they had made in deploying the tool. That led him to the actual C&C servers used by the attackers, and he was able to narrow down the location of the main hubs to Beijing and Shanghai. "They are coming back and conversing with just a few networks in China," he says.

Meanwhile, Ben Greenbaum, senior principle software engineer at Symantec, says the use of steganography is not widespread in most attacks. "We have seen it in some pieces of prominent malware, but it's still in the minority," Greenbaum says.

It's unclear whether ATP attackers, overall, are increasingly employing this masking technology, but it definitely offers them another way to cover their tracks, security experts say.

"I believe use of steg by either an outsider in this case -- or an insider -- is part of the APT," says James Wingate, director of the steganography analysis and research center at Backbone Security. "It is a highly effective technique because the commands are sent covertly, and that would be exceptionally difficult to detect. Our tools would not detect this unless the Trojan was using a known steg app for which we had discovered a signature."

The targeted attacks started with legitimate-looking phishing emails that contained a link to a malicious file or URL. In one case, Defense contractors were targeted with a phishing email that had a link to a rigged spreadsheet, which contained a real list of high-level defense industry executives who attended a recent Intelligence Advanced Research Projects Activity (IARPA) event; this was also part of Operation Shady RAT.

That particular attack was studied by researchers at Invincea and ThreatGrid, who discovered a legitimate-looking domain that provided a ZIP archive to the attendee roster, complete with names of directors, presidents, and CEOs at major Defense and intelligence companies. But the XLS-looking file was actually an executable that extracted another custom program -- an HTTP client that beacons out to the C&C server, according to Anup Ghosh, founder and CEO of Invincea.

Symantec, meanwhile, says the images and HTML files used by the Shady RAT attackers appear legit, and their commands are actually encrypted. "In the versions of the Trojans that are downloading HTML files, the commands are hidden in HTML comments that look like gibberish, but are actually encrypted commands that are further converted into base-64 encoding," according to Symantec.

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
Partner Perspectives
What's This?
In a digital world inundated with advanced security threats, Intel Security seeks to transform how we live and work to keep our information secure. Through hardware and software development, Intel Security delivers robust solutions that integrate security into every layer of every digital device. In combining the security expertise of McAfee with the innovation, performance, and trust of Intel, this vision becomes a reality.

As we rely on technology to enhance our everyday and business life, we must too consider the security of the intellectual property and confidential data that is housed on these devices. As we increase the number of devices we use, we increase the number of gateways and opportunity for security threats. Intel Security takes the “security connected” approach to ensure that every device is secure, and that all security solutions are seamlessly integrated.
Featured Writers
White Papers
Cartoon
Current Issue
Dark Reading's October Tech Digest
Fast data analysis can stymie attacks and strengthen enterprise security. Does your team have the data smarts?
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2014-0619
Published: 2014-10-23
Untrusted search path vulnerability in Hamster Free ZIP Archiver 2.0.1.7 allows local users to execute arbitrary code and conduct DLL hijacking attacks via a Trojan horse dwmapi.dll that is located in the current working directory.

CVE-2014-2230
Published: 2014-10-23
Open redirect vulnerability in the header function in adclick.php in OpenX 2.8.10 and earlier allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via a URL in the (1) dest parameter to adclick.php or (2) _maxdest parameter to ck.php.

CVE-2014-7281
Published: 2014-10-23
Cross-site request forgery (CSRF) vulnerability in Shenzhen Tenda Technology Tenda A32 Router with firmware 5.07.53_CN allows remote attackers to hijack the authentication of administrators for requests that reboot the device via a request to goform/SysToolReboot.

CVE-2014-7292
Published: 2014-10-23
Open redirect vulnerability in the Click-Through feature in Newtelligence dasBlog 2.1 (2.1.8102.813), 2.2 (2.2.8279.16125), and 2.3 (2.3.9074.18820) allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via a URL in the url parameter to ct.ashx.

CVE-2014-8071
Published: 2014-10-23
Multiple cross-site scripting (XSS) vulnerabilities in OpenMRS 2.1 Standalone Edition allow remote attackers to inject arbitrary web script or HTML via the (1) givenName, (2) familyName, (3) address1, or (4) address2 parameter to registrationapp/registerPatient.page; the (5) comment parameter to all...

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Follow Dark Reading editors into the field as they talk with noted experts from the security world.