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
 

Recommended Reading:

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.
COVID-19: Latest Security News & Commentary
Dark Reading Staff 8/10/2020
Pen Testers Who Got Arrested Doing Their Jobs Tell All
Kelly Jackson Higgins, Executive Editor at Dark Reading,  8/5/2020
Researcher Finds New Office Macro Attacks for MacOS
Curtis Franklin Jr., Senior Editor at Dark Reading,  8/7/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Special Report: Computing's New Normal, a Dark Reading Perspective
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
The Changing Face of Threat Intelligence
The Changing Face of Threat Intelligence
This special report takes a look at how enterprises are using threat intelligence, as well as emerging best practices for integrating threat intel into security operations and incident response. Download it today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-4533
PUBLISHED: 2020-08-10
IBM Jazz Reporting Service 6.0.6, 6.0.6.1, and 7.0 is vulnerable to cross-site scripting. This vulnerability allows users to embed arbitrary JavaScript code in the Web UI thus altering the intended functionality potentially leading to credentials disclosure within a trusted session. IBM X-Force ID: ...
CVE-2020-4539
PUBLISHED: 2020-08-10
IBM Jazz Reporting Service 6.0.2, 6.0.6, 6.0.6.1, 7.0, and 7.0.1 is vulnerable to cross-site scripting. This vulnerability allows users to embed arbitrary JavaScript code in the Web UI thus altering the intended functionality potentially leading to credentials disclosure within a trusted session.
CVE-2020-4541
PUBLISHED: 2020-08-10
IBM Jazz Reporting Service 7.0 and 7.0.1 is vulnerable to cross-site scripting. This vulnerability allows users to embed arbitrary JavaScript code in the Web UI thus altering the intended functionality potentially leading to credentials disclosure within a trusted session. IBM X-Force ID: 183039.
CVE-2020-12777
PUBLISHED: 2020-08-10
A function in Combodo iTop contains a vulnerability of Broken Access Control, which allows unauthorized attacker to inject command and disclose system information.
CVE-2020-12778
PUBLISHED: 2020-08-10
Combodo iTop does not validate inputted parameters, attackers can inject malicious commands and launch XSS attack.