Saturday, May 25, 2024

New Linux Malware Attacking Apache, Docker, Redis & Confluence Servers

A sophisticated malware campaign targeting servers running popular web-facing services such as Apache Hadoop YARN, Docker, Confluence, and Redis has been identified.

This campaign is notable for using unique and previously unreported payloads, including four Golang binaries designed to automate the discovery and infection of vulnerable hosts.

The attackers deploy advanced techniques to exploit common misconfigurations and known vulnerabilities, such as CVE-2022-26134 in Confluence, to execute remote code and gain initial access to the servers.

Following this, they utilize shell scripts and Linux attack methodologies to deliver a cryptocurrency miner, establish a reverse shell, and ensure persistent access to the compromised systems.

Initial Access and Exploitation

The campaign was first uncovered following suspicious activity on a Docker Engine API honeypot.

Integrate ANY.RUN in your company for Effective Malware Analysis

Are you from SOC and DFIR teams? – Join With 400,000 independent Researchers

Malware analysis can be fast and simple. Just let us show you the way to:

  • Interact with malware safely
  • Set up virtual machine in Linux and all Windows OS versions
  • Work in a team
  • Get detailed reports with maximum data
  • If you want to test all these features now with completely free access to the sandbox: ..

The attackers issued commands to spawn a new container using the Alpine Linux image, creating a bind mount to access the host’s root directory.

This technique is a common tactic in Docker attacks. It allows the attacker to write files directly to the host and execute remote code via Cron jobs.

Wireshark output demonstrating Docker communication, including Initial Access commands
Wireshark output demonstrating Docker communication, including Initial Access commands

Researchers from Cado Security Labs have just discovered a growing malware campaign that targets systems that have been misconfigured.

Payload Delivery and Persistence

The primary payload is identified as cronb. sh, a shell script that prepares the system for further compromise by disabling security measures, deleting shell history, and installing user-mode rootkits like libprocesshider and diamorphine to hide malicious processes.

Additionally, the malware attempts to spread itself to other hosts by discovering SSH keys and executing remote commands.

The malware is particularly interested in cloud environments, with specific code designed to weaken systems and uninstall monitoring agents for Alibaba Cloud and Tencent.

This suggests a strategic focus on infiltrating and exploiting cloud-based infrastructure, a trend observed by threat actors such as WatchDog in previous campaigns.

Defense and Mitigation

The emergence of this campaign underscores the importance of securing web-facing services against known vulnerabilities and misconfiguration.

Organizations are advised to regularly update their software, monitor suspicious activity, and employ robust security measures to defend against such sophisticated attacks.

This new malware campaign represents a threat to servers running Apache, Docker, Redis, and Confluence, leveraging advanced techniques for exploitation, persistence, and lateral movement.

As the cyber threat landscape evolves, staying informed and vigilant is key to protecting valuable digital assets and infrastructure.



You can block malware, including Trojans, ransomware, spyware, rootkits, worms, and zero-day exploits, with Perimeter81 malware protection. All are incredibly harmful, can wreak havoc, and damage your network.

Stay updated on Cybersecurity news, Whitepapers, and Infographics. Follow us on LinkedIn & Twitter.


Latest articles

Hackers Weaponizing Microsoft Access Documents To Execute Malicious Program

In multiple aggressive phishing attempts, the financially motivated organization UAC-0006 heavily targeted Ukraine, utilizing...

Microsoft Warns Of Storm-0539’s Aggressive Gift Card Theft

Gift cards are attractive to hackers since they provide quick monetization for stolen data...

Kinsing Malware Attacking Apache Tomcat Server With Vulnerabilities

The scalability and flexibility of cloud platforms recently boosted the emerging trend of cryptomining...

NSA Releases Guidance On Zero Trust Maturity To Secure Application From Attackers

Zero Trust Maturity measures the extent to which an organization has adopted and implemented...

Chinese Hackers Stay Hidden On Military And Government Networks For Six Years

Hackers target military and government networks for varied reasons, primarily related to spying, which...

DNSBomb : A New DoS Attack That Exploits DNS Queries

A new practical and powerful Denial of service attack has been discovered that exploits...

Malicious PyPI & NPM Packages Attacking MacOS Users

Cybersecurity researchers have identified a series of malicious software packages targeting MacOS users.These...
Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Free Webinar

Live API Attack Simulation

94% of organizations experience security problems in production APIs, and one in five suffers a data breach. As a result, cyber-attacks on APIs increased from 35% in 2022 to 46% in 2023, and this trend continues to rise.
Key takeaways include:

  • An exploit of OWASP API Top 10 vulnerability
  • A brute force ATO (Account Takeover) attack on API
  • A DDoS attack on an API
  • Positive security model automation to prevent API attacks

Related Articles