June 14, 2017 By Mark Samuels 2 min read

Fraudsters have exploited a patched vulnerability to push a cryptocurrency miner to Linux machines and generate electronic cash. The attacks, detailed by researchers at security firms Kaspersky Lab and Cyphort, take advantage of a vulnerability in installations of the interoperability tool Samba. This news comes just days after the Samba team announced it had patched earlier versions of the software.

The vulnerability also comes in the wake of the recent WannaCry ransomware. SecurityWeek explained that, like its counterpart, the cryptocurrency miner — which some researchers have referred to as SambaCry — presents a significant risk to users and businesses.

Exploiting Samba

Samba, which runs on Linux and UNIX servers, is a tool that sets up filing and printing services over the SMB network protocol, integrating those services into a Windows environment. Attackers looking to run the cryptocurrency miner use a flaw in Samba to install a malicious plugin that allows super-user privileges.

Kaspersky warned users that the Samba vulnerability is like the bug that cybercriminals exploited during the recent outbreak of WannaCry ransomware. The first delivered file is a backdoor that provides a reverse shell, allowing attackers to remotely execute commands.

Threat actors then install a cryptocurrency miner to collect cash in the form of Monero, which is an alternative to bitcoin. Profits are sent to a wallet with a hardcoded address.

More Than Just a Cryptocurrency Miner

Kaspersky said the attackers received their first cryptocoins on April 30, when they gained about 1 XMR (about $55). After a month of mining, the attackers had gained 98 XMR, which means they had earned about $5,500.

Although the numbers are relatively small, the increase in profit suggested the botnet of devices mining on behalf of the attackers is growing at a significant rate. More troublesome, Kaspersky researchers said they do not yet have any information about the scale of the attack.

IT decision-makers should note that affected machines can act as more than a cryptocurrency miner. Cybercriminals can leverage the reverse shell left in the system to change the configuration of the existing miner, or they can infect the victim’s computer with other malware.

How to Respond

Security firm Rapid7 noted that many domestic and corporate storage systems run Samba. The tool is often installed by default on Linux systems, meaning companies could be running Samba without even knowing it. Its recent scan discovered more than 104,000 internet-exposed endpoints that appear to be running vulnerable versions of Samba.

Kaspersky explained that news of the vulnerability is another reminder about the importance of strong security policies. Researchers urged system administrators and ordinary Linux users to update their Samba software to the latest patched version, which was released at the end of May.

IT decision-makers should also note that SambaCry is not the only malware being used to run a cryptocurrency miner. Experts recently uncovered a new variant of the Mirai malware that has a built-in bitcoin mining component. All stakeholders, including businesses and IT suppliers, must work together to ensure devices are patched and secure in the connected age.

More from

FYSA – Adobe Cold Fusion Path Traversal Vulnerability

2 min read - Summary Adobe has released a security bulletin (APSB24-107) addressing an arbitrary file system read vulnerability in ColdFusion, a web application server. The vulnerability, identified as CVE-2024-53961, can be exploited to read arbitrary files on the system, potentially leading to unauthorized access and data exposure. Threat Topography Threat Type: Arbitrary File System Read Industries Impacted: Technology, Software, and Web Development Geolocation: Global Environment Impact: Web servers running ColdFusion 2021 and 2023 are vulnerable Overview X-Force Incident Command is monitoring the disclosure…

What does resilience in the cyber world look like in 2025 and beyond?

6 min read -  Back in 2021, we ran a series called “A Journey in Organizational Resilience.” These issues of this series remain applicable today and, in many cases, are more important than ever, given the rapid changes of the last few years. But the term "resilience" can be difficult to define, and when we define it, we may limit its scope, missing the big picture.In the age of generative artificial intelligence (gen AI), the prevalence of breach data from infostealers and the near-constant…

Airplane cybersecurity: Past, present, future

4 min read - With most aviation processes now digitized, airlines and the aviation industry as a whole must prioritize cybersecurity. If a cyber criminal launches an attack that affects a system involved in aviation — either an airline’s system or a third-party vendor — the entire process, from safety to passenger comfort, may be impacted.To improve security in the aviation industry, the FAA recently proposed new rules to tighten cybersecurity on airplanes. These rules would “protect the equipment, systems and networks of transport…

Topic updates

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