Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Threat Intelligence

12/18/2018
05:22 PM
Connect Directly
Twitter
LinkedIn
RSS
E-Mail
50%
50%

Memes on Twitter Used to Communicate With Malware

Steganography via tweet images gave attackers a way to pass on malicious instructions to Trojan, researchers say.

A new and otherwise ordinary malware tool is garnering some attention from security researchers for its ability to retrieve malicious commands via code hidden in a couple of Twitter memes.

The malware (TROJAN.MSIL.BERBOMTHUM.AA) targets Windows systems and, like more than 90% of all malicious code, is distributed via phishing attacks. Once installed on a system, the malware can perform several common functions like capturing local screen shots, enumerating applications on the system, checking for vulnerabilities in them, capturing clipboard content, and sending files back to the attacker.

What's noteworthy about the new Trojan is its use of the Twitter memes to retrieve malicious instructions, according to Trend Micro, the first to report on the threat. The authors of the malware—currently unknown—posted two tweets featuring the malicious memes in late October using a Twitter account that appears to have been created last year.

Embedded in the memes is a /print command that basically instructs the infected computer to take screen shots and perform other malicious functions. The malware extracts the command after first downloading the malicious memes to the infected system. The malware supports a variety of other commands including /processos for retrieving a list of running processes, /clip for capturing clipboard contents, and /username for grabbing the username from the infected system.

The screenshots and other captured data are then sent to a control server whose address the malware obtains via a hard-coded URL on pastebin.com, Trend Micro said in a report on the attack.

This is not the first time that attackers have used steganography—a method for hiding code and malicious payloads in images—to try and sneak malware and malicious activity past threat detection tools. Neither is the new Trojan the first example of malware using a popular social media platform for command and communication purposes. In fact, Trend Micro itself last year had warned about the growing abuse, by cybercriminals, of chat platform APIs for command and communication purposes.

But by combining the two techniques—steganography and the use of Twitter—the attackers are making it harder for defenders to discover and take down the malicious activity says Mark Nunnikhoven, Trend Micro’s vice president of cloud research.

TROJAN.MSIL.BERBOMTHUM.AA is a relatively standard piece of malware. "There's nothing particularly unique about it beyond how it is set up to retrieve commands," Nunnikhoven says. "If the infected organization is analyzing network traffic, it's unlikely that they would count traffic to and from Twitter.com as out of the ordinary."  

Hiding in Plain Sight

Using the steganography technique, the attackers are hiding their C&C channel in a stream of legitimate activity associated with a commonly used social media tool, he notes. "The takeaway for enterprises is that attackers are growing more sophisticated with how they avoid traditional security techniques and controls," he says.

Trend Micro has no specific intel on the attacker and its motivation, nor are there hints or indicators in the malware itself that make attribution possible, Nunnikhoven adds.

Travis Smith, principal security researcher at Tripwire, says the use of social media for command and communication is not uncommon. However, sophisticated attackers tend to avoid it since it's a known technique and relatively easily detectable via social media scanning tools. At the same time, malicious code hidden in images posted to social media can be hard to detect, he says.

"When you do not own the original image that is being used to hide data within, it can become increasingly difficult to detect the usage of steganography," especially when the payload is small, such as the test for C2, he says.

Currently there are no tools available that continuously scan social media images for malware. "The amount of images being posted to social media on a daily basis would make that type of analysis impractical," he says.

Related Content:

Jai Vijayan is a seasoned technology reporter with over 20 years of experience in IT trade journalism. He was most recently a Senior Editor at Computerworld, where he covered information security and data privacy issues for the publication. Over the course of his 20-year ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
7 Truths About BEC Scams
Ericka Chickowski, Contributing Writer,  6/13/2019
DNS Firewalls Could Prevent Billions in Losses to Cybercrime
Curtis Franklin Jr., Senior Editor at Dark Reading,  6/13/2019
Can Your Patching Strategy Keep Up with the Demands of Open Source?
Tim Mackey, Principal Security Strategist, CyRC, at Synopsys,  6/18/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Building and Managing an IT Security Operations Program
As cyber threats grow, many organizations are building security operations centers (SOCs) to improve their defenses. In this Tech Digest you will learn tips on how to get the most out of a SOC in your organization - and what to do if you can't afford to build one.
Flash Poll
The State of IT Operations and Cybersecurity Operations
The State of IT Operations and Cybersecurity Operations
Your enterprise's cyber risk may depend upon the relationship between the IT team and the security team. Heres some insight on what's working and what isn't in the data center.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-3896
PUBLISHED: 2019-06-19
A double-free can happen in idr_remove_all() in lib/idr.c in the Linux kernel 2.6 branch. An unprivileged local attacker can use this flaw for a privilege escalation or for a system crash and a denial of service (DoS).
CVE-2019-3954
PUBLISHED: 2019-06-19
Stack-based buffer overflow in Advantech WebAccess/SCADA 8.4.0 allows a remote, unauthenticated attacker to execute arbitrary code by sending a crafted IOCTL 81024 RPC call.
CVE-2019-10085
PUBLISHED: 2019-06-19
In Apache Allura prior to 1.11.0, a vulnerability exists for stored XSS on the user dropdown selector when creating or editing tickets. The XSS executes when a user engages with that dropdown on that page.
CVE-2019-11038
PUBLISHED: 2019-06-19
When using gdImageCreateFromXbm() function of gd extension in versions 7.1.x below 7.1.30, 7.2.x below 7.2.19 and 7.3.x below 7.3.6, it is possible to supply data that will cause the function to use the value of uninitialized variable. This may lead to disclosing contents of the stack that has been ...
CVE-2019-11039
PUBLISHED: 2019-06-19
Function iconv_mime_decode_headers() in versions 7.1.x below 7.1.30, 7.2.x below 7.2.19 and 7.3.x below 7.3.6 may perform out-of-buffer read due to integer overflow when parsing MIME headers. This may lead to information disclosure or crash.