Security Market Segment LS
Tuesday, 27 November 2018 08:44

Linux malware of no use unless it gains access through SSH

Linux malware of no use unless it gains access through SSH Pixabay

A script that mines for cryptocurrencies on Linux systems first needs to infect these systems, either by using brute force to guess SSH passwords or else by gaining entry through the use of stolen credentials that can be bought on dark web forums.

Security researcher Alexander Vurasko, who runs the Dr Web anti-virus firm, told iTWire in response to queries that the malware itself — which he has named Linux.BtcMine.174 — was a long and complicated script that could do a number of things, including upping its privileges if the system was still vulnerable to a two-year-old flaw known as the Dirty Cow vulnerability.

The malware has been reported by some without offering any perspective as to how it first gains entry to a system, with a bid to apparently portray it as a weakness in Linux itself.

Asked about how the malware could gain access to systems, Vurasko responded, "In the first place it works like this: somebody searches for servers with [the] SSH port open; he is trying to brute [force] servers he found; if the brute force attack was successful, he connects to the compromised server using brute-forced credentials and starts the malware."

He added that brute-forced and stolen credentials were widely available for sale on hacker forums.

"Therefore, you don't have to brute [force] servers, You can buy credentials and install malware for mining via SSH."

Varusko said the malware could also gain entry to a Linux box by using credentials saved on the local drive of an infected system and spread like a worm. But, he added, for this it "surely must have a lot of luck to find saved logins and passwords to SSH sessions".

Once an attacker managed to gain access through SSH, then another vulnerability, which affected kernels from 2.6.37 to 3.8.8, could be exploited to raise the privileges of the attacker.

The mining script was then downloaded from another server. After that a trojan was downloaded and this could be used to stage DDoS attacks.

A third component downloaded was a rootkit that was able to steal passwords which are entered for the su command and hide them.

The mining script was then started and used to mine for monero.

But nothing of this is possible, unless an attacker manages to first gain access to a Linux box through SSH. Which means that weak passwords are a security risk, something that is rather widely known.

Subscribe to ITWIRE UPDATE Newsletter here


The much awaited iTWire Shop is now open to our readers.

Visit the iTWire Shop, a leading destination for stylish accessories, gear & gadgets, lifestyle products and everyday portable office essentials, drones, zoom lenses for smartphones, software and online training.

PLUS Big Brands include: Apple, Lenovo, LG, Samsung, Sennheiser and many more.

Products available for any country.

We hope you enjoy and find value in the much anticipated iTWire Shop.



iTWire TV offers a unique value to the Tech Sector by providing a range of video interviews, news, views and reviews, and also provides the opportunity for vendors to promote your company and your marketing messages.

We work with you to develop the message and conduct the interview or product review in a safe and collaborative way. Unlike other Tech YouTube channels, we create a story around your message and post that on the homepage of ITWire, linking to your message.

In addition, your interview post message can be displayed in up to 7 different post displays on our the site to drive traffic and readers to your video content and downloads. This can be a significant Lead Generation opportunity for your business.

We also provide 3 videos in one recording/sitting if you require so that you have a series of videos to promote to your customers. Your sales team can add your emails to sales collateral and to the footer of their sales and marketing emails.

See the latest in Tech News, Views, Interviews, Reviews, Product Promos and Events. Plus funny videos from our readers and customers.


Sam Varghese

Sam Varghese has been writing for iTWire since 2006, a year after the site came into existence. For nearly a decade thereafter, he wrote mostly about free and open source software, based on his own use of this genre of software. Since May 2016, he has been writing across many areas of technology. He has been a journalist for nearly 40 years in India (Indian Express and Deccan Herald), the UAE (Khaleej Times) and Australia (Daily Commercial News (now defunct) and The Age). His personal blog is titled Irregular Expression.

Share News tips for the iTWire Journalists? Your tip will be anonymous




Guest Opinion

Guest Reviews

Guest Research

Guest Research & Case Studies

Channel News