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.

Endpoint

11/11/2015
04:10 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

Tool Controls Botnet With Twitter Direct Messages

'Twittor' exploits the expanded capacity of Twitter DMs to replace traditional botnet command-and-control server infrastructure.

Turns out Twitter's expansion of Direct Message capacity beyond 140 characters inadvertently gives botnet operators a stealthy and streamlined way to control their bots.

A new backdoor tool built by white hat security researcher Paul Amar uses Twitter DMs as a botnet command-and-control infrastructure. Amar says his so-called "Twittor" tool was inspired by a Gmail-based botnet C&C tool called "Gcat."

"I was looking at how third-party services could hide malicious traffic" and how botnets could maintain a command-and-control infrastructure that could avoid takedowns, for example, says Amar, a security analyst with SensePost Information Security.

His Python-based Twittor backdoor tool basically allows a botnet to operate and hide in plain sight. The machines would already be infected with the malware, and then controlled by the attacker via his or her malicious Twitter DMs. "It uses just one Twitter account that sends" the DMs, Amar says. "Everything is going through private messaging" of the attacker's account, he says.

Amar says an attacker likely would use Tor to create the new Twitter account. With DMs longer than 140 characters, it leaves plenty of headroom for controlling the bots, he says. "It allows for more malicious activity."

Some security experts have called out the potential for abuse of DMs with Twitter's move in August to remove the 140-character limit, as well as the new option for any Twitter user to DM any other Twitter user even if they are not following one another.

Bad guys will use most any possible channel for C&C, notes Dan Kaminsky, chief scientist with WhiteOps, who points out that social networks long have been abused that way. Researchers at DC949 created Twitter FS, a file system tool that used just the 140-character limit to store files, he notes. "Small channels have always been attractive to C&C, which never needs much bandwidth to prosper," Kaminsky says.

Kaminsky's 2005 OzymanDNS project, meanwhile, demonstrated the potential for abuse of DNS by moving files and tunneling traffic over DNS.

Twit Bot Limit

Twitter limits users to 1,000 DMs per day, so Amar estimates that a Twittor botnet would max out at somewhere around 100 bot machines. "The best way to bypass that limitation would be to use different accounts and mesh them all together. So with three accounts, we can do around 3,000 DMs daily, which would be enough to control a few hundred boxes," Amar says.

Since they communicate via the Twitter API, the bots don't need their own Twitter accounts to be controlled, he notes. And since it uses the API, there's no worries of IP-filtering for the attacker, he says. And "nothing's public, [since it's] only using Direct Messages, so there's no public malicious activity," he says.

A DM-controlled botnet complicates a bot-infected company's defenses. "It's quite complicated. You would have to block Twitter in a corporate environment," says Amar, noting that such a ban obviously wouldn't be realistic in most companies. The DM traffic would be difficult to distinguish from legitimate communications, he says.

Amar says he's looking at adding a data exfiltration toolkit for his Twittor tool. Twittor is available on Github.

Kelly Jackson Higgins is the Executive Editor of Dark Reading. 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
 

Recommended Reading:

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 9/21/2020
Hacking Yourself: Marie Moe and Pacemaker Security
Gary McGraw Ph.D., Co-founder Berryville Institute of Machine Learning,  9/21/2020
Startup Aims to Map and Track All the IT and Security Things
Kelly Jackson Higgins, Executive Editor at Dark Reading,  9/22/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Special Report: Computing's New Normal
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
How IT Security Organizations are Attacking the Cybersecurity Problem
How IT Security Organizations are Attacking the Cybersecurity Problem
The COVID-19 pandemic turned the world -- and enterprise computing -- on end. Here's a look at how cybersecurity teams are retrenching their defense strategies, rebuilding their teams, and selecting new technologies to stop the oncoming rise of online attacks.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-25596
PUBLISHED: 2020-09-23
An issue was discovered in Xen through 4.14.x. x86 PV guest kernels can experience denial of service via SYSENTER. The SYSENTER instruction leaves various state sanitization activities to software. One of Xen's sanitization paths injects a #GP fault, and incorrectly delivers it twice to the guest. T...
CVE-2020-25597
PUBLISHED: 2020-09-23
An issue was discovered in Xen through 4.14.x. There is mishandling of the constraint that once-valid event channels may not turn invalid. Logic in the handling of event channel operations in Xen assumes that an event channel, once valid, will not become invalid over the life time of a guest. Howeve...
CVE-2020-25598
PUBLISHED: 2020-09-23
An issue was discovered in Xen 4.14.x. There is a missing unlock in the XENMEM_acquire_resource error path. The RCU (Read, Copy, Update) mechanism is a synchronisation primitive. A buggy error path in the XENMEM_acquire_resource exits without releasing an RCU reference, which is conceptually similar...
CVE-2020-25599
PUBLISHED: 2020-09-23
An issue was discovered in Xen through 4.14.x. There are evtchn_reset() race conditions. Uses of EVTCHNOP_reset (potentially by a guest on itself) or XEN_DOMCTL_soft_reset (by itself covered by XSA-77) can lead to the violation of various internal assumptions. This may lead to out of bounds memory a...
CVE-2020-25600
PUBLISHED: 2020-09-23
An issue was discovered in Xen through 4.14.x. Out of bounds event channels are available to 32-bit x86 domains. The so called 2-level event channel model imposes different limits on the number of usable event channels for 32-bit x86 domains vs 64-bit or Arm (either bitness) ones. 32-bit x86 domains...