Skip to main content
Mallory
Malware2 associated actors2 associated CVEs

Rekoobe

Tracked since Feb 26, 2026 · Updated 24 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
Vulns2Associated
Actors2Associated
ATT&CK34Techniques
IOCs105Tracked
Type
Backdoor
Capabilities
ExfiltrationPost exploitationDefense evasion
Delivery
Cracked software
Platforms
LinuxNetwork device

Rekoobe is a Linux backdoor derived from the open-source Tiny SHell project and observed in the wild since at least 2015. Written in C, it supports x86, x64, and SPARC architectures. Its core functions are file upload, file download, and remote shell execution, enabling data theft and deployment of additional payloads. Variants either connect to an attacker-controlled server or wait for inbound connections. Rekoobe authenticates its command-and-control peer and protects communications using HMAC-SHA1-based key derivation and AES-128 encryption.

Rekoobe conceals its activity through process-name masquerading, including impersonation of shells, system services, and appliance-specific software. A BPF-enabled variant targeting South Korean systems passively inspects selected IPv4 and IPv6 traffic for authenticated activation and launches a reverse shell over the standard SMTP port. This variant impersonates SpamSniper email-security components and disables shell-history recording. Rekoobe has also been deployed alongside the Syslogk Linux kernel rootkit, which hides the user-space backdoor and can start or stop it in response to specially crafted network packets.

Rekoobe has been linked to the China-based threat group APT31 and observed in attacks against Korean Linux servers and South Korean telecommunications and email-security environments. Documented delivery chains include supply-chain compromises involving a WordPress plugin and a malicious Go cryptography module. In the Go-module campaign, separate credential-harvesting code and a shell-script stager precede installation of Rekoobe. Noodle RAT shares some Rekoobe code but is a distinct malware family.

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
Associated CVEs

Associated vulnerabilities

2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2022-42475via fortinet psirt blogUnauthenticated Remote Code Execution in Fortinet SSL-VPNThis malware bears similarities to Rekoobe Malware, which is commonly used by APT31.View vulnerability →Source ↗
CVE-2023-27997via fortinet psirt blogPre-authentication RCE in Fortinet FortiOS and FortiProxy SSL-VPNThis malware bears similarities to Rekoobe Malware, which is commonly used by APT31.View vulnerability →Source ↗
Threat actors

Associated threat actors

2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
Jewelbug

“Off-the-shelf Linux backdoor: A VMProtected Rekoobe/TinySHell derived backdoor (raw-TCP + OpenSSL + PTY shell) first seen in March 2024.”

via symantec blogsed-cms.broadcom.com
ZIRCONIUM

“Rekoobe is a backdoor based on Tiny SHell (aka tsh) ... It has been used for years in campaigns targeting Linux/Unix systems.”

via trendai security blogtrendaisecurity.com
MITRE ATT&CK

Techniques & procedures

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

Initial Access

3 techniques
T1195Supply Chain CompromiseEvidence1

Additionally, there have been reported cases of supply chain attacks where a threat actor targeted a popular WordPress plugin and installed Rekoobe to gain control over compromised systems.

T1195.001Compromise Software Dependencies and Development ToolsEvidence4

"A malicious Go module, disguised as a legitimate crypto library... exploits namespace confusion to appear routine in dependency graphs."

T1195.002Compromise Software Supply ChainEvidence1

“uncovered a malicious Go module, github[.]com/xinfeisoft/crypto, that imitates the legitimate golang.org/x/crypto codebase but inserts a backdoor…”

Execution

3 techniques
T1059Command and Scripting InterpreterEvidence2

The reverse shell command also has a simple format of redirecting the standard input and output to the socket connected to the C&C server and executing /bin/sh.

T1059.004Unix ShellEvidence7

912 Open an interactive shell session — up to ten concurrently.

T1204.005Malicious LibraryEvidence1

“Any application that vendors or imports this module and invokes ReadPassword becomes a credential collection point.”

Persistence

4 techniques
T1098.004SSH Authorized KeysEvidence1

"adding a threat actor's SSH key to the 'authorized_keys' file"

T1205Traffic SignalingEvidence2

BPFDoor and Rekoobe samples wait for a magic packet before opening interactive access.

T1205.001Port KnockingEvidence1

First, it checks whether the packet is a TCP packet and, in that case, it also checks the source port, which is expected to be 59318. Rekobee will be executed by the rootkit if the magic packet fits the mentioned criteria.

T1205.002Socket FiltersEvidence2

The BPFDoor variants create a raw PF_PACKET socket, attaching a classic BPF filter.

Privilege Escalation

1 technique
T1098.004SSH Authorized KeysEvidence1

"adding a threat actor's SSH key to the 'authorized_keys' file"

Stealth

16 techniques
T1014RootkitEvidence1

Adore-Ng is a relatively old, open-source, well-known kernel rootkit for Linux... It enables hiding processes, files, and even the kernel module... In this post, we refer to this rootkit as Syslogk rootkit.

T1027Obfuscated Files or InformationEvidence1

Strings are hidden with a rotating substitution alphabet.

T1036MasqueradingEvidence1

Rekoobe disguises itself by changing its process name to “/bin/bash”, which matches the name of a normal process.

T1036.004Masquerade Task or ServiceEvidence2

Malware can emulate that appearance in two ways. It can overwrite its own argv[0] ... or it can call prctl(PR_SET_NAME).

T1036.005Match Legitimate Resource Name or LocationEvidence1

The SpamSniper /var/run/spamsniper.pid mutex, together with the sample provenance, ties this build to the South Korean cluster.

T1036.008Masquerade File TypeEvidence1

“downloads additional payloads… while disguising them with the .mp5 extension”

T1070Indicator RemovalEvidence1

"executes them, and deletes them from disk to reduce forensic evidence."

T1070.003Clear Command HistoryEvidence1

VIMINIT="set viminfo=", HISTFILE=/dev/null, HISTSIZE=0, and HISTFILESIZE=0.

T1070.004File DeletionEvidence1

“then deletes the dropped files to reduce on disk artifacts”

T1140Deobfuscate/Decode Files or InformationEvidence1

That key seeds RC4's key-scheduling algorithm, and the resulting S-box is used directly as a keystream.

T1205Traffic SignalingEvidence2

BPFDoor and Rekoobe samples wait for a magic packet before opening interactive access.

T1205.001Port KnockingEvidence1

First, it checks whether the packet is a TCP packet and, in that case, it also checks the source port, which is expected to be 59318. Rekobee will be executed by the rootkit if the magic packet fits the mentioned criteria.

T1205.002Socket FiltersEvidence2

The BPFDoor variants create a raw PF_PACKET socket, attaching a classic BPF filter.

T1564Hide ArtifactsEvidence1

The malicious payload is hidden from tools like Netstat; when running, it will not appear in the list of services. For this purpose, the rootkit uses the function hk_t4_seq_show.

T1564.001Hidden Files and DirectoriesEvidence1

The hk_proc_readdir function of the rootkit hides directories containing malicious files... Syslogk rootkit hooks the VFS functions for hiding the Rekoobe payload stored in the file /etc/rc-Zobk0jpi/PgSD93ql.

T1564.009Resource ForkingEvidence1

The malicious processes are hidden via hk_getpr – a mix of Adore-Ng functions for hiding processes... the Syslogk rootkit is prepared for hiding a process called PgSD93ql.

Defense Impairment

1 technique
T1686Disable or Modify System FirewallEvidence1

"loosening firewall restrictions by setting iptables policies to ACCEPT"

Credential Access

1 technique
T1056.001KeyloggingEvidence2

"injects malicious code into the 'ssh/terminal/terminal.go' file... within the 'ReadPassword()' function... capture sensitive credentials entered by users at terminal password prompts"

Collection

2 techniques
T1005Data from Local SystemEvidence1

"...steal files..."

T1056.001KeyloggingEvidence2

"injects malicious code into the 'ssh/terminal/terminal.go' file... within the 'ReadPassword()' function... capture sensitive credentials entered by users at terminal password prompts"

Command and Control

10 techniques
T1071Application Layer ProtocolEvidence3

Based on this, a reverse shell connects to the C&C server.

T1071.001Web ProtocolsEvidence1

“exfiltrates passwords via HTTP POST… fetches a GitHub hosted ‘update’ resource”

T1105Ingress Tool TransferEvidence5

Depending on the value of this 1 byte, three different commands can be performed: file upload, file download, or reverse shell execution.

T1205Traffic SignalingEvidence2

BPFDoor and Rekoobe samples wait for a magic packet before opening interactive access.

T1205.001Port KnockingEvidence1

First, it checks whether the packet is a TCP packet and, in that case, it also checks the source port, which is expected to be 59318. Rekobee will be executed by the rootkit if the magic packet fits the mentioned criteria.

T1205.002Socket FiltersEvidence2

The BPFDoor variants create a raw PF_PACKET socket, attaching a classic BPF filter.

T1219Remote Access ToolsEvidence1

It is a compiled backdoor trojan written in C programming language... widely known as the Rekoobe malware family... embedded in a fake SMTP server, which spawns a shell when it receives a specially crafted command.

T1572Protocol TunnelingEvidence1

It looks like an innocent SMTP server, but there is a backdoor command on it that can be executed when handling the starttls command... For triggering the Rekoobe backdoor command (spawning a shell), the attacker must send the byte 0x03 via TLS...

T1573Encrypted ChannelEvidence2

Both Tiny SHell and Rekoobe utilize the HMAC SHA1 algorithm to generate an AES-128 key. This key is then used to encrypt the communication data with the C&C server.

T1573.001Symmetric CryptographyEvidence1

The command interface relies on the same cryptography (HMAC-SHA1, AES-CBC) and opcodes as the standard Tinyshell/Rekoobe.

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence2

21 Download a file from the host, with resume support.

Indicators of compromise

Observables

105 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

22 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
malware newsNews · Oct 20, 2026Fake Kernel Threads Are Hiding Backdoors on Linux Servers and Appliances - Malware News - Malware Analysis, News and IndicatorsOlder backdoor mentioned as a code comparison for Noodle RAT’s process-name spoofing. No separate Rekoobe deployment is described.Read more ↗eclypsium blogNews · Oct 20, 2026Linux Malware Hiding as Kernel Threads: How to Spot ItOlder backdoor mentioned as a code comparison for Noodle RAT’s process-name spoofing. No separate Rekoobe deployment is described.Read more ↗mkd cirtNews · Oct 7, 2026Linux бекдорите се претставуваат како алатки за безбедност на е-пошта за да избегнат детекција во Кореја и Тајван | MKD-CIRT | Национален центар за одговор на компјутерски инцидентиA BPF-enabled Rekoobe variant observed against South Korean targets. It intercepts IPv4 TCP, UDP and SCTP traffic and IPv6 UDP traffic with source and destination ports equal to 25, and disguises its processes as SpamSniper components. Rekoobe logic is also described as integrated into the modular BPFDoor framework.Read more ↗the hacker newsNews · Oct 6, 2026Linux Backdoors Impersonate Email Security Tools to Evade Detection in Korea and TaiwanA Rekoobe-based Linux BPF backdoor deployed against South Korean targets. The observed build intercepts specified IPv4 and IPv6 traffic using port 25 and disguises its processes as SpamSniper components. Rekoobe logic is also described as integrated into BPFDoor's modular framework to support exfiltration.Read more ↗
+17 more in the timeline. Sign up to see them
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
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 matching105Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors2Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities2CVEs 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 mapping34Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.