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."

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