Saturday, December 9, 2023

Hackers use Rekoobe Backdoor to Attack Linux Systems

Rekoobe is a notorious backdoor that primarily targets Linux environments, and it’s actively exploited by the threat actors, mainly a Chinese threat group, APT31.

This notorious backdoor was discovered in 2015 for the first time, while an updated version of it resurfaced in 2018 that was exploited by the threat actors in several attacks.

AhnLab Security Emergency Response Center (ASEC) recently identified and analyzed several Rekoobe variants actively targeting Linux environments that are vulnerable. 

Apart from this, Rekoobe, in ELF format, primarily targets Linux servers based on its following supported architectures:-

  • x86
  • x64
  • SPARC

Rekoobe Backdoor to Attack Linux Systems

Rekoobe is derived from the open-source program Tiny SHell, utilizing its source code available on GitHub, and it offers essential and basic features only.

Apart from process name changing, it also boasts three additional features, and here they are mentioned below:-

  • Downloading
  • Uploading
  • Executing C&C server commands

While organizing the Rekoobe and similar variants is quite difficult due to their open-source roots.

Details on Rekoobe’s installation methods and specific Linux system targets remain limited. Linux server-targeting malware preys on unattended or outdated servers. 

Notably, Rekoobe has no proven instances of threat actors exploiting it to execute brute-force attacks across numerous Linux servers.

Rather than targeting the systems that have weak account credentials, it primarily targets the Linux servers that lack regular updates or have poor configurations.

Here below we have mentioned the analysis report of one of the Rekoobe malware samples that was reported in Korea:-

  • MD5: 8921942fb40a4d417700cfe37cce1ce7
  • C&C Server: resolv.ctmailer[.]net:80 (103.140.186.32)
  • Download URL: hxxp://103.140.186[.]32/mails

To hide its identity, Rekoobe disguises itself as “/bin/bash,” mimicking a legitimate process, due to which it becomes challenging for users to detect it. 

Implementation involves manipulating program arguments through the strcpy() function, a unique feature that is absent in the original codebase of Tiny SHell.

Altered process name (Source – AhnLab)

The lack of command-line options for C&C server address or password input distinguishes the Rekoobe from Tiny SHell. Since these options are missing, so, the C&C server address in the malware is hard-coded.

Tiny SHell and Rekoobe comparison (Source – AhnLab)

For AES-128 key generation, the Tiny SHell and Rekoobe leverage the HMAC SHA1 algorithm that ensures secure communication with the C&C server, since the key encrypts the communication data.

Initially, this Rekoobe variant establishes a connection to a hard-coded C&C server. However, other variations adopt a bind shell form, opening ports and waiting for the C&C server to connect. Here Tiny SHell supports both methods, due to which it becomes possible.

C&C communication in bind shell form (Source – AhnLab)

It’s believed there is a distinct builder tool that Rekoobe has that generates each malware instance with a threat actor-designated password for individual attacks.

Rekoobe Malware Samples Used Against Korea

Here below, we have mentioned all the Rekoobe malware samples that are based on the x64 architecture and used by the threat actors against Korea:-

  • java
  • rmicd(123)
  • mails
  • service

Recommendations

Here below we have mentioned all the recommendations offered by the security experts at AhnLab:-

  • Make sure to examine vulnerable configuration settings.
  • Ensure proper verification of the authentication credentials.
  • Always keep the systems up to date with the latest patch and updates.
  • Ensure that you have the latest version of V3 installed to safeguard against malware infections.

“AI-based email security measures Protect your business From Email Threats!” – Request a Free Demo.

Website

Latest articles

WordPress POP Chain Flaw Exposes Over 800M+ Websites to Attack

A critical remote code execution vulnerability has been patched as part of the Wordpress...

Russian Star Blizzard New Evasion Techniques to Hijack Email Accounts

Hackers target email accounts because they contain valuable personal and financial information. Successful email...

Exploitation Methods Used by PlugX Malware Revealed by Splunk Research

PlugX malware is sophisticated in evasion, as it uses the following techniques to avoid...

TA422 Hackers Attack Organizations Using Outlook & WinRAR Vulnerabilities

Hackers exploit Outlook and WinRAR vulnerabilities because these widely used software programs are lucrative...

Bluetooth keystroke-injection Flaw: A Threat to Apple, Linux & Android Devices

An unauthenticated Bluetooth keystroke-injection vulnerability that affects Android, macOS, and iOS devices has been...

Atlassian Patches RCE Flaw that Affected Multiple Products

Atlassian has been discovered with four new vulnerabilities associated with Remote Code Execution in...

Reflectiz Introduces AI-powered Insights on Top of Its Smart Alerting System

Reflectiz, a cybersecurity company specializing in continuous web threat management, proudly introduces a new...
Tushar Subhra Dutta
Tushar Subhra Dutta
Tushar is a Cyber security content editor with a passion for creating captivating and informative content. With years of experience under his belt in Cyber Security, he is covering Cyber Security News, technology and other news.

Endpoint Strategies for 2024 and beyond

Converge and Defend

What's the pulse of Unified Endpoint Management and Security (UEMS) in Europe? Join us live to uncover the strategies that are defining endpoint security in the region.

Related Articles