Linux/Ebury is a Linux and Unix server-side OpenSSH backdoor and credential-stealing malware family that served as the core component of Operation Windigo, a large-scale criminal campaign active since at least 2011. It was used to maintain covert root-level access to compromised servers, steal SSH credentials and key material, and support the broader monetization of infected infrastructure through spam operations, malicious web traffic redirection, and downstream malware delivery.
Linux/Ebury has appeared both as patched OpenSSH binaries and, more notably, as a trojanized shared library variant based on libkeyutils that is loaded into OpenSSH-related processes at runtime. The malware hooks authentication, logging, and network-related functions inside components such as ssh, sshd, ssh-agent, and ssh-add, allowing it to intercept successful and failed login passwords, passwords used from the infected host, private-key passphrases, unencrypted private keys, and keys added through SSH tooling. It also suppresses or alters logging to conceal unauthorized access and malware activity.
The backdoor supports covert operator access through specially crafted SSH protocol version strings. Once the embedded backdoor credential is validated, it can bypass normal authentication controls and enable otherwise disabled SSH authentication settings, including root login and password-based access. Linux/Ebury also supports operator commands for retrieving stored credentials and key material, reporting version or exfiltration configuration, and binding tunnel sockets to specific interfaces.
Credential theft is central to Linux/Ebury’s role. Stolen data has been exfiltrated through crafted DNS requests over UDP port 53, a technique likely intended to blend with ordinary network traffic and evade simplistic filtering. The malware also includes anti-monitoring behavior, including suppressing exfiltration when a network interface is in promiscuous mode. Later variants favored runtime patching and shared-library hooking over direct modification of OpenSSH binaries, improving stealth and resilience.
Linux/Ebury primarily targeted Linux servers, but infections were also documented on FreeBSD hosts, reflecting its focus on Unix-like systems running OpenSSH. The operators were assessed to rely mainly on stolen administrator credentials rather than exploitation of a new OpenSSH vulnerability, enabling lateral expansion across internet-facing infrastructure. Victims included hosting providers and prominent organizations, and the compromised servers were used as attacker-controlled infrastructure within the wider Windigo ecosystem.
13 distinct techniques documented for this family, organized by ATT&CK tactic.
The libkeyutils variant does not modify the OpenSSH files directly. Instead, it modifies a shared library against which all OpenSSH executable files are dynamically linked.
Trojanized sshd, ssh, ssh-add and the target of the libkeyutils.so.1 symbolic link.
The backdoor functionality consists of totally bypassing the regular password validation built into the non-trojanized sshd, allowing the operator to connect to the compromised system as any existing user, including root.
No configuration files are kept on disk
The libkeyutils variant does not modify the OpenSSH files directly. Instead, it modifies a shared library against which all OpenSSH executable files are dynamically linked.
Trojanized sshd, ssh, ssh-add and the target of the libkeyutils.so.1 symbolic link.
The backdoor functionality consists of totally bypassing the regular password validation built into the non-trojanized sshd, allowing the operator to connect to the compromised system as any existing user, including root.
Linux/Ebury – an OpenSSH backdoor used to keep control of the servers and steal credentials
The backdoor functionality consists of totally bypassing the regular password validation built into the non-trojanized sshd, allowing the operator to connect to the compromised system as any existing user, including root.
SSH user credentials leaks is the only technique we observed for expanding the Windigo operation.
The gang practices good operational security. They never directly connect to any of the compromised servers to perform an operation. They use one of the anonymizing tunnel services running on another compromised server part of the malicious infrastructure.
The second rule matches SSH credentials leaking out of the network. Any internal host sending DNS exfiltration packets will trigger the alert.
This server is the entry-point of a chain of reverse proxy servers terminating on an exploit serving machine.
First, the complete source code of the targeted web server is downloaded, along with a malicious “diff patch” coming from a server under the attacker’s control.
Table 3. Ebury v1.6 DGA
The second rule matches SSH credentials leaking out of the network. Any internal host sending DNS exfiltration packets will trigger the alert.
Credentials intercepted by Linux/Ebury are sent to the exfiltration servers through custom DNS queries.
114 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.