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.

Attacks/Breaches

10/3/2014
04:45 PM
50%
50%

New Mac Botnet Leverages Reddit

According to the security firm Dr. Web, the botnet was more than 18,000 strong as of Sept. 29.

Security researchers have identified a Mac OS X botnet of thousands of compromised computers.

According to the antivirus company Dr. Web, the botnet is built on the back of the Mac.BackDoor.iWorm malware. As of Sept. 29, 18,519 unique IP addresses were used by infected computers to connect to the botnet.

The malware was developed using C++ and Lua, and the backdoor makes extensive use of encryption in its routines. When Mac.BackDoor.iWorm is initially launched, it saves its configuration data in a separate file and tries to read the contents of the /Library directory to determine which of the installed applications the malware will avoid.

"If 'unwanted' directories can't be found, the bot uses system queries to determine the home directory of the Mac OS X account under which it is running, checks the availability of its configuration file in the directory, and writes the data needed for it to continue to operate into the file," according to researchers at Dr. Web. "Then Mac.BackDoor.iWorm opens a port on an infected computer and awaits an incoming connection. It sends a request to a remote site to acquire a list of control servers, and then connects to the remote servers and waits for instructions."

To get the addresses of the command and control servers, the malware determines the current date and calculates its value in days. The backdoor then applies the MD5 hash function to the value and sends a query to reddit.com. "Here MD5_hash_first8 is the value of the first 8 bytes of the MD5 hash value from the current date," according to Dr. Web's technical analysis of the malware.

"The reddit.com search returns a web page containing the list of botnet C&C servers and ports published by criminals in comments to the post minecraftserverlists under the account vtnhiaovyd. The server list is retrieved repeatedly at five-minute intervals," according to the company's post about the botnet. "In fact, the bot picks a random server from the first 29 addresses on the list and sends queries to each of them. Once a connection is established, Mac.BackDoor.iWorm checks whether the site is on the exceptions list."

None of this is really Reddit's fault, the security researcher Graham Cluley wrote in a blog post. "They've done nothing wrong as such, and even if they shut down the accounts that are communicating with the botnet there would be nothing to stop the hackers behind the campaign [from] creating new accounts or using an alternative service (Twitter, perhaps?) to communicate with the compromised computers," he wrote. "And it's important to stress that Reddit isn't spreading the infection -- it's simply providing a platform that is helping the botmasters communicate with the Mac computers they have managed to infect."

According to Dr. Web, the backdoor is unpacked into the directory /Library/Application Support/JavaW. Using a specially generated p-list file, it disguises itself as the application com.JavaW and sets itself to autostart via /Library/LaunchDaemons/.

"Mac.BackDoor.iWorm uses encryption extensively," according to Dr. Web. "When launched, the backdoor initialises the context (to be used later for encryption) and writes two bytes at zero offset which will later be used as a key for decrypting strings."

The basic backdoor commands for Lua-scripts can be used for a number of actions, including getting the OS type, downloading a file, and executing a nested Lua-script. Most of the infections appear to be in the United States, Canada, and the UK.

"This isn't, of course, the first time that we have seen Mac computers infected by malware and hijacked into a criminal botnet, and it isn't anything like as big so far as the notorious Flashback worm which hit more than 600,000 Mac computers in early 2012," Cluley blogs. "But it is another timely warning that Mac users shouldn't be fooled into thinking they are somehow immune from computer security threats. An anti-virus product should be part of your arsenal, if you value your privacy and the data you store on your Apple computer."

Brian Prince is a freelance writer for a number of IT security-focused publications. Prior to becoming a freelance reporter, he worked at eWEEK for five years covering not only security, but also a variety of other subjects in the tech industry. Before that, he worked as a ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
securityaffairs
50%
50%
securityaffairs,
User Rank: Ninja
10/4/2014 | 10:06:14 AM
it's very common
Explotation of legitimate social media platforms for the botnet management is not rare. In this case, the use of Reddit as a repository for the list of C&C servers allows malware designers to masquerade a portion of traffic generated by the bot agents, defensive mechanisms will be fooled into thinking it is a legitimate traffic directed to Reddit portal.

In the past, other botnet exploited the use of other social media platforms to implement some of the basic functions of their malicious architecture, we had seen botnet using Twitter and EverNote to coordinate infected machines.
Microsoft Patches Wormable RCE Vulns in Remote Desktop Services
Kelly Sheridan, Staff Editor, Dark Reading,  8/13/2019
The Mainframe Is Seeing a Resurgence. Is Security Keeping Pace?
Ray Overby, Co-Founder & President at Key Resources, Inc.,  8/15/2019
GitHub Named in Capital One Breach Lawsuit
Dark Reading Staff 8/14/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
7 Threats & Disruptive Forces Changing the Face of Cybersecurity
This Dark Reading Tech Digest gives an in-depth look at the biggest emerging threats and disruptive forces that are changing the face of cybersecurity today.
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-15113
PUBLISHED: 2019-08-16
The companion-sitemap-generator plugin before 3.7.0 for WordPress has CSRF.
CVE-2019-15114
PUBLISHED: 2019-08-16
The formcraft-form-builder plugin before 1.2.2 for WordPress has CSRF.
CVE-2019-15115
PUBLISHED: 2019-08-16
The peters-login-redirect plugin before 2.9.2 for WordPress has CSRF.
CVE-2019-15116
PUBLISHED: 2019-08-16
The easy-digital-downloads plugin before 2.9.16 for WordPress has XSS related to IP address logging.
CVE-2017-18547
PUBLISHED: 2019-08-16
The nelio-ab-testing plugin before 4.6.4 for WordPress has CSRF in experiment forms.