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.

Vulnerabilities / Threats

7/11/2012
08:32 PM
50%
50%

Stealing Documents Through Social Media Image-Sharing

Innocent-looking vacation pictures on Facebook could conceivably traffic exfiltrated documents, Black Hat researchers warn

Security researchers will unveil at Black Hat USA a new method of hiding sensitive information in the encoding of seemingly safe images shared on social media sites to avoid security mechanisms. The method employed by a new tool they developed called SNScat can not only be used to exfiltrate data off networks without detection, but to also run covert botnets through the type of social media network traffic allowed by most businesses today.

Click here for more of Dark Reading's Black Hat articles.

Developed by Dan Gunter and Solomon Sonya, post-graduate students at University of Louisville and Western International University, respectively, SNScat and its underlying operational methods take advantage of the opacity of traffic running through third-party social media sites, such as Facebook, Twitter, and YouTube.

"If you now get rid of the actual adversary's IP address, if you get rid of all his information from a network, and then you just have a third party or different medium that everyone is talking to, and then I am now taking to that same medium -- unless you have access to the third party, you can never determine where I'm actually sitting or where I'm coming from," Sonya says.

Couple that with steganography, and a whole world of attacks open up, Sonya says. At Black Hat he and Gunter will demonstrate how they were able to break up sensitive data files, scatter their bits and bytes in the coding of image files, transmit those images undetected through social media sites, and then reconstitute them outside of the test network.

"Any single file on your system is all composed of bits; it's all composed of bytes. If I can take away some bytes -- or just one bit -- randomly throughout an image file, the image is still going to be encoded the same," Sonya says, explaining that it might make the difference between one shade of blue or another if you took away a particular piece of encoding for color and replaced it with something else.

In the case of exfiltration, that something else could be any number of things, including the formula for whatever special sauce an organization produces.

"If I have that secret formula, I cannot just upload that formula into an email and send it out because I'm assuming that network security is in place that's looking for keywords in that formula file," Sonya says. "If now I take apart that entire file -- say it's the secret formula in a [100-byte] text file -- [and] fragment that text file into pieces five or six bytes each, it's all the same file, just now in 20 fragments. Now, if within each of the 20 fragments I convert all the bytes into bits and take those fragmented bits and scatter them into images and send those images up onto Twitter, all [an admin sees] is people uploading images."

But the attacker sees something very different. Once the attacker loads each of the 20 images, it is just a matter of composing all of the bits together to reconstitute the files.

"Now I've just created the original document extracted from a protected network without anyone ever knowing that I just sent a protect file off," he says.

The tool that Sonya and Gunter developed through their research not only can be used to exfiltrate data, but also to set up two-way communication between a network and a botnet command-and-control server through virtually undetectable social media traffic.

"They are in near real-time executing the commands that we give it and executing commands that we send to it easily -- just as you would have done with any other remote access tool or RAT -- but now you don't see anything different [on the network]," Sonya explains. "Using steganography, we're embedding our information into images [and] setting it onto the site. The implant downloads images, extracts the commands from it, executes the commands, and either does what you told it to or places messages back into images and back onto social networking sites."

Sonya says that by promoting SNScat, he and Gunter hope to give security researchers and white hats the tools needed to look into these types of social networking vulnerabilities, which has wide-ranging applicability not only through use of images, but also audio and video files.

"If we stop looking at files as 'this file is an image, this is a text file, this is a video,' we'll see that all files are bytes," he says. "That means the same algorithm we use to embed information and extract what's on any file applies not just to images."

While he did have reservations in offering a tool that could potentially be used as a new undetectable method of exfiltration in the wild, Sonya says he and his research partner believed that the release of SNScat was necessary to get the industry prepared for these type of potential attacks from malicious adversaries.

"We're working together on this project in our free time -- and we both work and go to school full-time," he says. "So now imagine the motivated attacker who is paid to do this eight or 10 hours a day. We can only imagine the already advanced tools that they've already developed. We're just bringing this attack method to light."

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.

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win a Starbucks Card! Click Here
Latest Comment: Our Endpoint Protection system is a little outdated... 
Current Issue
The Year in Security: 2019
This Tech Digest provides a wrap up and overview of the year's top cybersecurity news stories. It was a year of new twists on old threats, with fears of another WannaCry-type worm and of a possible botnet army of Wi-Fi routers. But 2019 also underscored the risk of firmware and trusted security tools harboring dangerous holes that cybercriminals and nation-state hackers could readily abuse. Read more.
Flash Poll
Rethinking Enterprise Data Defense
Rethinking Enterprise Data Defense
Frustrated with recurring intrusions and breaches, cybersecurity professionals are questioning some of the industrys conventional wisdom. Heres a look at what theyre thinking about.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-2319
PUBLISHED: 2019-12-12
HLOS could corrupt CPZ page table memory for S1 managed VMs in Snapdragon Auto, Snapdragon Compute, Snapdragon Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon Mobile, Snapdragon Wired Infrastructure and Networking in MDM9205, QCS404, QCS605, SDA845, SDM670, SDM710, SDM84...
CVE-2019-2320
PUBLISHED: 2019-12-12
Possible out of bounds write in a MT SMS/SS scenario due to improper validation of array index in Snapdragon Auto, Snapdragon Compute, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon IoT, Snapdragon Mobile, Snapdragon Voice & Music, Snapdragon Wearables in APQ8009, APQ8017, APQ805...
CVE-2019-2321
PUBLISHED: 2019-12-12
Incorrect length used while validating the qsee log buffer sent from HLOS which could then lead to remap conflict in Snapdragon Auto, Snapdragon Compute, Snapdragon Connectivity, Snapdragon Consumer Electronics Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon IoT, Snapdra...
CVE-2019-2337
PUBLISHED: 2019-12-12
While Skipping unknown IES, EMM is reading the buffer even if the no of bytes to read are more than message length which may cause device to shutdown in Snapdragon Auto, Snapdragon Compute, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon Mobile, Snapdragon Wearables in APQ8053, APQ809...
CVE-2019-2338
PUBLISHED: 2019-12-12
Crafted image that has a valid signature from a non-QC entity can be loaded which can read/write memory that belongs to the secure world in Snapdragon Auto, Snapdragon Compute, Snapdragon Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon Mobile, Snapdragon Wired Infrastruc...