Skip to main content
Mallory
Malware

Bonadan

Tracked since Dec 5, 2025 · Updated 3 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors0Associated
ATT&CK15Techniques
IOCs0Tracked
Type
Backdoor
Capabilities
ExfiltrationPersistencePost exploitationDefense evasionReconnaissanceCrypto theft
Platforms
Linux

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.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
MITRE ATT&CK

Techniques & procedures

15 distinct techniques documented for this family, organized by ATT&CK tactic.

Execution

3 techniques
T1059Command and Scripting InterpreterEvidence3

[Bonadan](https://attack.mitre.org/software/S0486) can create bind and reverse shells on the infected system.(Citation: ESET ForSSHe December 2018)

T1059.001PowerShellEvidence1

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.

T1574Hijack Execution FlowEvidence1

During the 2016 Ukraine Electric Power Attack, Sandworm Team used a trojanized version of Windows Notepad to add a layer of persistence for Industroyer.

Persistence

2 techniques
T1505.003Web ShellEvidence1

A popular method used by attackers to maintain persistence on compromised Linux servers is to backdoor the OpenSSH server and client already installed.

T1554Compromise Host Software BinaryEvidence3

[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)

Stealth

1 technique
T1574Hijack Execution FlowEvidence1

During the 2016 Ukraine Electric Power Attack, Sandworm Team used a trojanized version of Windows Notepad to add a layer of persistence for Industroyer.

Discovery

4 techniques
T1016System Network Configuration DiscoveryEvidence8

[Bonadan](https://attack.mitre.org/software/S0486) can find the external IP address of the infected host.(Citation: ESET ForSSHe December 2018)

T1033System Owner/User DiscoveryEvidence8

[Bonadan](https://attack.mitre.org/software/S0486) has discovered the username of the user running the backdoor.(Citation: ESET ForSSHe December 2018)

T1057Process DiscoveryEvidence7

[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)

T1082System Information DiscoveryEvidence11

[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)

Command and Control

5 techniques
T1001Data ObfuscationEvidence1

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.

T1105Ingress Tool TransferEvidence4

[Bonadan](https://attack.mitre.org/software/S0486) can download additional modules from the C2 server.(Citation: ESET ForSSHe December 2018)

T1219Remote Access ToolsEvidence1

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.

T1573Encrypted ChannelEvidence1

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.

T1573.001Symmetric CryptographyEvidence3

[Bonadan](https://attack.mitre.org/software/S0486) can XOR-encrypt C2 communications.(Citation: ESET ForSSHe December 2018)

Impact

1 technique
T1496.001Compute HijackingEvidence3

[Bonadan](https://attack.mitre.org/software/S0486) can download an additional module which has a cryptocurrency mining extension.(Citation: ESET ForSSHe December 2018)

Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matchingMatch every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping15Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.