February 2, 2016 By Larry Loeb 2 min read

Kaspersky Lab has once again found a nasty little piece of malware that started out in Linux and made the jump to Windows. These cross-platform backdoors spy on the user and are by no means the first backdoor virus of this kind.

Cross-Platform Backdoors Start With Linux

Stefan Ortloff posted a detailed breakdown of the malware on Securelist. According to that information, the malware was named DropboxCache (also called Backdoor.Linux.Mokes.a). It has a number of features that can monitor the victim’s activities, including code to record audio and take screen shots. It’s written in C++ and Qt, a cross-platform application framework.

The cross-platform backdoors connect to a command-and-control (C&C) server and then issue an HTTP request to the C&C every minute. Images are sent to the infected machine in response.

After the malware executes for the first time, it copies itself to one of two locations. To make itself persistent, it creates a desktop file in $HOME/.config/autostart/$filename.desktop.

Once functioning, it collects information from its keylogger, along with audio captures and screenshots. It will upload this collected data to the C&C at a later time. There has been no attempt by the criminals to obfuscate the code at all; Ortloff noted in his blog post that this made his job much easier.

32-Bit Windows Is Next

Ortloff also found the malware in 32-bit Windows systems, though there are differences in how things work. For instance, DropboxCache randomly chooses one of nine different locations in %AppData% to persistently install itself on the machine. The SetWindowsHook API is utilized to establish keylogger functionality and to monitor mouse inputs and internal messages posted to the message queue. In a manner similar to the Linux version, it connects to the C&C server via port 443 and communicates at one-minute intervals.

In order not to alert the user that bad things are happening, the malware tries to masquerade as a normal program. DropboxCache does this by using Trusted Code Signing Certificates. The authors managed to sign the binary with a legitimate certificate from “COMODO RSA Code Signing CA.” Kaspersky did not post the name of the entity that was originally given the cert.

Will Mac OS X Get Hit?

Because of the platform-independent nature of the code, Ortloff thinks the malware’s migration to OS X might happen. But the actual mechanism of the malware would have to be totally recoded to even have a chance to work on Mac, and the rootless security system in newer versions of OS X might make persistence of action very hard to obtain.

Only time will tell if this occurs, but it seems less likely. In the meantime, users will have to be aware of the malware operating on Windows and Linux machines.

More from

When ransomware kills: Attacks on healthcare facilities

4 min read - As ransomware attacks continue to escalate, their toll is often measured in data loss and financial strain. But what about the loss of human life? Nowhere is the ransomware threat more acute than in the healthcare sector, where patients’ lives are literally on the line.Since 2015, there has been a staggering increase in ransomware attacks on healthcare facilities. And the impacts are severe: Diverted emergency services, delayed critical treatments and even fatalities. Meanwhile, the pledge some ransomware groups made during…

AI and cloud vulnerabilities aren’t the only threats facing CISOs today

6 min read - With cloud infrastructure and, more recently, artificial intelligence (AI) systems becoming prime targets for attackers, security leaders are laser-focused on defending these high-profile areas. They’re right to do so, too, as cyber criminals turn to new and emerging technologies to launch and scale ever more sophisticated attacks.However, this heightened attention to emerging threats makes it easy to overlook traditional attack vectors, such as human-driven social engineering and vulnerabilities in physical security.As adversaries exploit an ever-wider range of potential entry points…

4 trends in software supply chain security

4 min read - Some of the biggest and most infamous cyberattacks of the past decade were caused by a security breakdown in the software supply chain. SolarWinds was probably the most well-known, but it was not alone. Incidents against companies like Equifax and tools like MOVEit also wreaked havoc for organizations and customers whose sensitive information was compromised.Expect to see more software supply chain attacks moving forward. According to ReversingLabs' The State of Software Supply Chain Security 2024 study, attacks against the software…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today