Bonadan is a Linux malware family built by maliciously modifying OpenSSH binaries to implant a backdoor on compromised systems. It is associated with trojanized OpenSSH server software used for covert persistence on internet-exposed Linux hosts. Bonadan has been documented as part of the broader ecosystem of Linux OpenSSH backdoors that provide stealthy access while also supporting credential interception opportunities inherent to tampered SSH components.
Bonadan supports remote shell access by creating bind and reverse shells on infected machines, enabling interactive post-compromise control. It can download additional modules from command-and-control infrastructure, indicating extensibility beyond its core backdoor functionality. The malware performs host reconnaissance by discovering the username under which it is running, identifying the external IP address of the infected host, and using process enumeration via the ps command to look for other cryptocurrency miners already active on the system. Its command-and-control communications can be obfuscated with XOR encryption.
Available reporting also links Bonadan to cryptocurrency-mining functionality, distinguishing it from OpenSSH backdoors focused solely on persistence and credential theft. The family targets Linux systems, especially servers where OpenSSH is commonly deployed and reachable from the internet. Infection vectors for trojanized OpenSSH malware families are often difficult to determine from malware samples alone, but such families are commonly associated with compromised SSH access, brute-force activity, or exploitation of exposed services.
15 distinct techniques documented for this family, organized by ATT&CK tactic.
[Bonadan](https://attack.mitre.org/software/S0486) can create bind and reverse shells on the infected system.(Citation: ESET ForSSHe December 2018)
Bonadan can create bind and reverse shells on the infected system. Kessel can create a reverse shell... WINERACK can create a reverse shell... P.A.S. Webshell has the ability to create reverse shells with Perl scripts.
During the 2016 Ukraine Electric Power Attack, Sandworm Team used a trojanized version of Windows Notepad to add a layer of persistence for Industroyer.
A popular method used by attackers to maintain persistence on compromised Linux servers is to backdoor the OpenSSH server and client already installed.
[Bonadan](https://attack.mitre.org/software/S0486) has maliciously altered the OpenSSH binary on targeted systems to create a backdoor.(Citation: ESET ForSSHe December 2018)
During the 2016 Ukraine Electric Power Attack, Sandworm Team used a trojanized version of Windows Notepad to add a layer of persistence for Industroyer.
[Bonadan](https://attack.mitre.org/software/S0486) can find the external IP address of the infected host.(Citation: ESET ForSSHe December 2018)
[Bonadan](https://attack.mitre.org/software/S0486) has discovered the username of the user running the backdoor.(Citation: ESET ForSSHe December 2018)
[Bonadan](https://attack.mitre.org/software/S0486) can use the <code>ps</code> command to discover other cryptocurrency miners active on the system.(Citation: ESET ForSSHe December 2018)
[Bonadan](https://attack.mitre.org/software/S0486) has discovered the OS version, CPU model, and RAM size of the system it has been installed on.(Citation: ESET ForSSHe December 2018)
Many entries describe XOR, XOR/ADD, bitwise NOT and XOR, ROR plus XOR, hexadecimal encoding after encryption, and custom encoding/obfuscation of HTTP traffic or beacons.
[Bonadan](https://attack.mitre.org/software/S0486) can download additional modules from the C2 server.(Citation: ESET ForSSHe December 2018)
Bonadan can create bind and reverse shells on the infected system. gh0st RAT is able to open a remote shell to execute commands. Whitefly has used a simple remote shell tool that will call back to the C2 server and wait for commands.
The content is a catalog of malware and threat groups that encrypt command-and-control communications using algorithms such as DES, AES, RC4, XOR, Blowfish, RSA, Camellia, RC2, RC6, and custom ciphers.
[Bonadan](https://attack.mitre.org/software/S0486) can XOR-encrypt C2 communications.(Citation: ESET ForSSHe December 2018)
[Bonadan](https://attack.mitre.org/software/S0486) can download an additional module which has a cryptocurrency mining extension.(Citation: ESET ForSSHe December 2018)
15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.