Welcome Guest. | Log In | Register | Membership Benefits

'Operation Shady RAT' Attackers Employed Steganography

Digital images hid commands controlling infected machines

Aug 11, 2011 | 02:42 PM | 

By Kelly Jackson Higgins
Dark Reading
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.



Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dark Reading encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dark Reading moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing/SPAM. Dark Reading further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
Subscribe to RSS



Advanced Threats Reports

report How Did They Get In? A Guide to Tracking Down The Source of an APT
If you think that your organization hasn't been affected by an advanced persistent threat, you probably haven't looked hard enough. Identifying that your organization is under attack is difficult enough; determining the scope of infiltration and damage presents a whole new level of challenge. To effectively protect against APTs, security pros will need to employ an arsenal of tools in a coordinated fashion, as well as develop new understandings of and approaches to system and data exploits. Here's a short and simple guide to this challenge.

report Detecting and Defending Against Advanced Persistent Threats
APTs are a growing problem for enterprises big and small. Protecting your organization from these targeted threats requires constant vigilance, ongoing employee training and a concerted effort to align security systems to address every phase of an APT. Companies also need to develop a remediation and response plan if, despite best efforts, defenses are breached.

report Smarter, Stealthier, Sneakier Malware
Increasingly sophisticated and targeted attacks are making it more difficult for organizations to detect and defend against the latest malware. In this compendium of recent coverage from Dark Reading, you?ll get a look at some of the newest -- and most dangerous -- malware on the Web, and what you can do to stop it.

Other reports from the Advanced Threats Tech Center:

Related Content

MOBILE SECURITY - Mapping an Ecosystem of Risk
This white paper highlights the various considerations for defending mobile applications-from the mobile application architecture itself to the myriad testing technologies needed to properly assess mobile applications risk.

Software Security Delivered in the Cloud
This Solution Guide details the automated, turnkey service that requires no special security assessment expertise. It details HP's market-leading static and dynamic analysis technologies that help organizations worldwide gain insight into the security state of their essential business applications.

SANS Mobility/BYOD Security Survey
This survey, which includes input from more than 500 IT professionals, explores how organizations are managing risk around their end user mobile devices as well as what level of policies and controls enterprises have around mobile usage.

Expert Guide to Application Security - Real-time Hybrid Analysis
Explore the next generation of hybrid security analysis - what it is, how it works, and its benefits. This white paper details how hybrid application security enables organizations to resolve critical software security issues faster and at a lower cost than any other available technology.

A Mainstay Partners Study: Does Application Security Pay?
Measuring the Business Impact of Software Security Assurance Solutions: a study of 17 organizations that implemented solutions from Fortify Software, combining industry research and benchmark analysis to identify, qualify, and quantify the full range of benefits seen from their SSA investments.




Featured Webcasts
Featured Whitepapers
Featured Reports