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

Cloud Threat Landscape Report: AI-generated attacks low for the cloud

2 min read - For the last couple of years, a lot of attention has been placed on the evolutionary state of artificial intelligence (AI) technology and its impact on cybersecurity. In many industries, the risks associated with AI-generated attacks are still present and concerning, especially with the global average of data breach costs increasing by 10% from last year.However, according to the most recent Cloud Threat Landscape Report released by IBM’s X-Force team, the near-term threat of an AI-generated attack targeting cloud computing…

Testing the limits of generative AI: How red teaming exposes vulnerabilities in AI models

4 min read - With generative artificial intelligence (gen AI) on the frontlines of information security, red teams play an essential role in identifying vulnerabilities that others can overlook.With the average cost of a data breach reaching an all-time high of $4.88 million in 2024, businesses need to know exactly where their vulnerabilities lie. Given the remarkable pace at which they’re adopting gen AI, there’s a good chance that some of those vulnerabilities lie in AI models themselves — or the data used to…

FBI, CISA issue warning for cross Apple-Android texting

3 min read - CISA and the FBI recently released a joint statement that the People's Republic of China (PRC) is targeting commercial telecommunications infrastructure as part of a significant cyber espionage campaign. As a result, the agencies released a joint guide, Enhanced Visibility and Hardening Guidance for Communications Infrastructure, with best practices organizations and agencies should adopt to protect against this espionage threat. According to the statement, PRC-affiliated actors compromised networks at multiple telecommunication companies. They stole customer call records data as well…

Topic updates

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