Security Market Segment LS
Sunday, 24 February 2013 12:32

SSHD rootkit in the wild, cPanel affected


An SSHD rootkit is in the wild, targeting mainly RPM-based Linux distributions, according to information published by the Internet Storm Centre.

RPM is the packaging format used by Red Hat-based distributions like CentOS and CloudLinux.

SSHD is the daemon that implements the secure shell (SSH) protocol; SSH is is a program used to log into another computer over a network, to execute commands in a remote machine, and to move files from one machine to another. It provides strong authentication and secure communications over insecure channels.

The ISC note said there was as yet no indication as to the actual attack vector. It said the rootkit was a trojanised library that linked with SSHD "and does a lot of nasty things to the system".

The advisory said that the rootkit used shared memory for communication between processes.

cPanel, an easy-to-use control panel for web hosts, has reported that it has been compromised by this rootkit.

In a message to its users, cPanel said: "cPanel, Inc. has discovered that one of the servers we utilize in the technical support department has been compromised. While we do not know if your machine is affected, you should change your root level password if you are not already using ssh keys. If you are using an unprivileged account with "sudo" or "su" for root logins, we recommend you change the account password. Even if you are using ssh keys we still recommend rotating keys on a regular basis."

The most common version of SSH used in Linux distributions is OpenSSH that is developed by the team that runs the OpenBSD operating system.

OpenBSD chief Theo de Raadt told iTWire: "I have not looked into it at all, because it is not a problem with our code. Someone built some nasty code, merged it as a change to a custom ssh, and fooled people into installing it."

He said it was hardly surprising that nobody yet knew the attack vector. "If I broke into someone's machine, and wanted to backdoor it, I would backdoor the sshd binary. ssh (port 22) is the most unfiltered port on the internet, after DNS. Other protocols are filtered much more, for instance, http or such."

De Raadt said it appeared that the rogue code was arriving in a library called "Note that libkeyutils is not part of official ssh," he added. "The Linux people are adding all sorts of extra stuff to the 'ssh versions' they give to their customer base. Stuff that we've never looked at; it is their own 'value add', and it is not related to us."


26-27 February 2020 | Hilton Brisbane

Connecting the region’s leading data analytics professionals to drive and inspire your future strategy

Leading the data analytics division has never been easy, but now the challenge is on to remain ahead of the competition and reap the massive rewards as a strategic executive.

Do you want to leverage data governance as an enabler?Are you working at driving AI/ML implementation?

Want to stay abreast of data privacy and AI ethics requirements? Are you working hard to push predictive analytics to the limits?

With so much to keep on top of in such a rapidly changing technology space, collaboration is key to success. You don't need to struggle alone, network and share your struggles as well as your tips for success at CDAO Brisbane.

Discover how your peers have tackled the very same issues you face daily. Network with over 140 of your peers and hear from the leading professionals in your industry. Leverage this community of data and analytics enthusiasts to advance your strategy to the next level.

Download the Agenda to find out more


Sam Varghese

website statistics

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.



Recent Comments