Skip to main content
Mallory
Malware

Kobalos

Tracked since Nov 25, 2025 · Updated 2 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&CK18Techniques
IOCs0Tracked
Type
Backdoor
Capabilities
Credential theftExfiltrationPersistencePost exploitationDefense evasionReconnaissance
Platforms
Linux

Kobalos is a compact, cross-platform backdoor targeting Linux and other Unix systems, including BSD and Solaris. It has compromised high-performance computing clusters and scientific research networks, as well as an Asian internet service provider, a North American endpoint security vendor, and personal servers. It provides remote filesystem access, interactive terminal sessions, and connection proxying between infected hosts. Multiple compromised machines can be chained as proxies, and an infected server can be instructed to act as command-and-control infrastructure.

Kobalos is commonly embedded in the OpenSSH server executable, where connections originating from a specific TCP source port trigger backdoor access. Standalone variants either listen for inbound connections or connect to an intermediary command-and-control server. Authentication and key exchange use 512-bit RSA and a 32-byte password, with subsequent traffic encrypted using RC4. Encrypted strings, a single recursively invoked function implementing its logic, and timestamp manipulation of replaced executables complicate analysis and detection.

Many compromised systems also contain a trojanized SSH client that captures destination hostnames, ports, usernames, and passwords from outbound SSH connections. Early credential-stealer variants store captured credentials locally, while newer variants can exfiltrate them over the network. This credential theft can facilitate further compromises, although the initial infection mechanism and operators’ ultimate objectives remain undetermined. Kobalos activity has not been linked to the cryptocurrency-mining incidents separately reported against high-performance computing environments.

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

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

Execution

2 techniques
T1059.004Unix ShellEvidence3

[Kobalos](https://attack.mitre.org/software/S0641) can spawn a new pseudo-terminal and execute arbitrary commands at the command prompt.(Citation: ESET Kobalos Feb 2021)

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
T1205Traffic SignalingEvidence4

[Kobalos](https://attack.mitre.org/software/S0641) is triggered by an incoming TCP connection to a legitimate service from a specific source port.(Citation: ESET Kobalos Feb 2021)(Citation: ESET Kobalos Jan 2021)

T1554Compromise Host Software BinaryEvidence4

[Kobalos](https://attack.mitre.org/software/S0641) replaced the SSH client with a trojanized SSH client to steal credentials on compromised systems.(Citation: ESET Kobalos Jan 2021)

Stealth

7 techniques
T1027Obfuscated Files or InformationEvidence7

[Kobalos](https://attack.mitre.org/software/S0641) encrypts all strings using RC4 and bundles all functionality into a single function call.(Citation: ESET Kobalos Feb 2021)

T1027.002Software PackingEvidence1

“Kobalos’s code is flattened into a single function using a custom packer and its strings are encrypted.”

T1070.003Clear Command HistoryEvidence4

[Kobalos](https://attack.mitre.org/software/S0641) can remove all command history on compromised hosts.(Citation: ESET Kobalos Feb 2021)

T1070.006TimestompEvidence5

[Kobalos](https://attack.mitre.org/software/S0641) can modify timestamps of replaced files, such as <code>ssh</code> with the added credential stealer or <code>sshd</code> used to deploy [Kobalos](https://attack.mitre.org/software/S0641).(Citation: ESET Kobalos Jan 2021)

T1140Deobfuscate/Decode Files or InformationEvidence8

[Kobalos](https://attack.mitre.org/software/S0641) decrypts strings right after the initial communication, but before the authentication process.(Citation: ESET Kobalos Jan 2021)

T1205Traffic SignalingEvidence4

[Kobalos](https://attack.mitre.org/software/S0641) is triggered by an incoming TCP connection to a legitimate service from a specific source port.(Citation: ESET Kobalos Feb 2021)(Citation: ESET Kobalos Jan 2021)

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.

Credential Access

1 technique
T1056Input CaptureEvidence3

[Kobalos](https://attack.mitre.org/software/S0641) has used a compromised SSH client to capture the hostname, port, username and password used to establish an SSH connection from the compromised host.(Citation: ESET Kobalos Feb 2021)(Citation: ESET Kobalos Jan 2021)

Discovery

2 techniques
T1016System Network Configuration DiscoveryEvidence8

[Kobalos](https://attack.mitre.org/software/S0641) can record the IP address of the target machine.(Citation: ESET Kobalos Jan 2021)

T1082System Information DiscoveryEvidence10

[Kobalos](https://attack.mitre.org/software/S0641) can record the hostname and kernel version of the target machine.(Citation: ESET Kobalos Jan 2021)

Collection

2 techniques
T1056Input CaptureEvidence3

[Kobalos](https://attack.mitre.org/software/S0641) has used a compromised SSH client to capture the hostname, port, username and password used to establish an SSH connection from the compromised host.(Citation: ESET Kobalos Feb 2021)(Citation: ESET Kobalos Jan 2021)

T1074Data StagedEvidence3

[Kobalos](https://attack.mitre.org/software/S0641) can write captured SSH connection credentials to a file under the <code>/var/run</code> directory with a <code>.pid</code> extension for exfiltration.(Citation: ESET Kobalos Jan 2021)

Command and Control

5 techniques
T1090.003Multi-hop ProxyEvidence7

[Kobalos](https://attack.mitre.org/software/S0641) can chain together multiple compromised machines as proxies to reach their final targets.(Citation: ESET Kobalos Feb 2021)(Citation: ESET Kobalos Jan 2021)

T1205Traffic SignalingEvidence4

[Kobalos](https://attack.mitre.org/software/S0641) is triggered by an incoming TCP connection to a legitimate service from a specific source port.(Citation: ESET Kobalos Feb 2021)(Citation: ESET Kobalos Jan 2021)

T1573Encrypted ChannelEvidence2

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 CryptographyEvidence4

[Kobalos](https://attack.mitre.org/software/S0641)'s post-authentication communication channel uses a 32-byte-long password with RC4 for inbound and outbound traffic.(Citation: ESET Kobalos Feb 2021)(Citation: ESET Kobalos Jan 2021)

T1573.002Asymmetric CryptographyEvidence5

[Kobalos](https://attack.mitre.org/software/S0641)'s authentication and key exchange is performed using RSA-512.(Citation: ESET Kobalos Feb 2021)(Citation: ESET Kobalos Jan 2021)

Exfiltration

1 technique
T1048Exfiltration Over Alternative ProtocolEvidence3

[Kobalos](https://attack.mitre.org/software/S0641) can exfiltrate credentials over the network via UDP.(Citation: ESET Kobalos Jan 2021)

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 mapping18Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.