This one is just a custom OpenSSH version with a backdoor.
"A rootkit is a stealthy type of software, typically malicious, designed to hide the existence of certain processes or programs from normal methods of detection and enable continued privileged access to a computer"
...continued privileged access. In the *nix world, this is understood to mean root.
These are the primary characteristic of a rootkit. To wit, from that same article:
> Rootkit detection is difficult because a rootkit may be able to subvert the software that is intended to find it. Detection methods include using an alternative and trusted operating system, behavioral-based methods, signature scanning, difference scanning, and memory dump analysis. Removal can be complicated or practically impossible, especially in cases where the rootkit resides in the kernel; reinstallation of the operating system may be the only available solution to the problem.[2] When dealing with firmware rootkits, removal may require hardware replacement, or specialized equipment.
These problems are what rootkits are associated with. The backdoored SSH described in the paper does not qualify. Detecting it is fairly straightforward, and on its own it makes no attempt to hide any programs that it spawns. EDIT: further, as described it makes no efforts to avoid removal.
> enable continued privileged access to a computer
If you strip away the rest of the definition and only look at this part, then by your definition the vanilla SSH server is a rootkit.
Stefan Sperling Sat, 17 Jan 2015 14:44:15 -0800
On Sat, Jan 17, 2015 at 10:59:19PM +0100, Daniel Cegiełka wrote:
> http://www.spiegel.de/media/media-35663.pdf
>
> "PANT SPARTY is a backdoor in the SSH daemon for *NIX, based on
> OpenSSH portable"
They are not talking about the official OpenSSH code.
To save everyone a bit of time (and hassle with a PDF), from the same document:
"It allows a public key to be embedded in the sshd binary and will then always grant a root login shell if presented with the proper key pair for that key. [...] authorized_keys as a quick-and-easy method of persistence [...] obviously isn't very stealthy [...] The goal for this project was to provide the same level of persistence but embedded in the sshd binary itself (obviously, assuming root access, as before)"
In other works, no backdoor in sshd unless the system has already been rooted by other means and sshd replaced with a bugged binary. Boohoo.
[1] http://www.mail-archive.com/[email protected]/msg135510.html
Title should be "NSA Employee Reports Developing OpenSSH Rootkit".