Saturday, December 21, 2024
HomecryptocurrencyKinsing Malware Attacking Apache Tomcat Servers To Deploy Cryptominers

Kinsing Malware Attacking Apache Tomcat Servers To Deploy Cryptominers

Published on

SIEM as a Service

Kinsing malware, known for exploiting vulnerabilities on Linux cloud servers to deploy backdoors and cryptominers, has recently expanded its target to include Apache Tomcat servers. 

The malware utilizes novel techniques to evade detection by hiding itself within seemingly innocuous system files, granting it persistence on the compromised system, highlighting the evolving tactics of Kinsing and emphasizing the need for system administrators to be vigilant against these emerging threats. 

Kinsing exploits vulnerabilities in containers and servers to deploy backdoors and cryptominers, as findings show multiple compromised servers, including an Apache Tomcat with critical flaws. 

- Advertisement - SIEM as a Service

Tomcat, a publicly accessible open-source server for static content, presents a prime target due to its internet exposure, which allows Kinsing to infiltrate the system and establish hidden backdoors for persistence while deploying cryptominers to steal computing resources for cryptocurrency mining. 

Kinsing malware employs a novel persistence strategy, hiding within unsuspecting locations on compromised Linux systems. 

It leverages three separate “man” page directories (/var/cache/man/cs/cat1/, /var/cache/man/cs/cat3/, /var/cache/man/zh_TW/cat8/) typically used for legitimate system documentation, which exploits the assumption that security personnel wouldn’t scrutinize these directories for malware, allowing Kinsing to remain undetected for extended periods. 

The listed directories are suspicious as they cover locations for user-level commands (/var/cache/man/cs/cat1/), library functions (/var/cache/man/cs/cat3/), and system administration tasks (/var/cache/man/zh_TW/cat8/), suggesting potential manipulation. 

Additionally, the presence of a directory associated with Kerberos authentication (/var/lib/gssproxy/rcache/) hints at attempts to bypass authentication or elevate privileges, as this directory structure is uncommon and could be a sign of malware installation.

 version of XMRig

Attackers are hiding malware within legitimate system file directories on compromised Tomcat servers, like /var/cache/man/, commonly store harmless files, making the malware blend in and evade detection. 

According to Tenable, this tactic extends the lifespan of the malware on the system, as the malware itself isn’t recent, having been discovered in China around late 2022, but the Tomcat server attacks using this technique began in mid-2023, as evidenced by the file creation dates.

Malware

A stealthy cryptojacking campaign has been leveraging outdated XMRig miners (v6.12.2) for nearly a year, while XMRig is a legitimate open-source CPU miner for Monero, a privacy-focused cryptocurrency. 

The outdated version on compromised systems suggests a potential lack of maintenance by the attackers, indicating an opportunity for detection and mitigation, as the  Current XMRig version is 6.21.2, available on GitHub.  

Raga Varshini
Raga Varshini
Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Latest articles

Threat Actors Selling Nunu Stealer On Hacker Forums

A new malware variant called Nunu Stealer is making headlines after being advertised on underground hacker...

Siemens UMC Vulnerability Allows Arbitrary Remote Code Execution

A critical vulnerability has been identified in Siemens' User Management Component (UMC), which could...

Foxit PDF Editor Vulnerabilities Allows Remote Code Execution

Foxit Software has issued critical security updates for its widely used PDF solutions, Foxit...

Windows 11 Privilege Escalation Vulnerability Lets Attackers Execute Code to Gain Access

Microsoft has swiftly addressed a critical security vulnerability affecting Windows 11 (version 23H2), which...

API Security Webinar

72 Hours to Audit-Ready API Security

APIs present a unique challenge in this landscape, as risk assessment and mitigation are often hindered by incomplete API inventories and insufficient documentation.

Join Vivek Gopalan, VP of Products at Indusface, in this insightful webinar as he unveils a practical framework for discovering, assessing, and addressing open API vulnerabilities within just 72 hours.

Discussion points

API Discovery: Techniques to identify and map your public APIs comprehensively.
Vulnerability Scanning: Best practices for API vulnerability analysis and penetration testing.
Clean Reporting: Steps to generate a clean, audit-ready vulnerability report within 72 hours.

More like this

Threat Actors Selling Nunu Stealer On Hacker Forums

A new malware variant called Nunu Stealer is making headlines after being advertised on underground hacker...

Siemens UMC Vulnerability Allows Arbitrary Remote Code Execution

A critical vulnerability has been identified in Siemens' User Management Component (UMC), which could...

Foxit PDF Editor Vulnerabilities Allows Remote Code Execution

Foxit Software has issued critical security updates for its widely used PDF solutions, Foxit...