Cyber Security News

New Stealthy Linux Malware PUMAKIT With Unique Privilege Escalation Methods

Security researchers at Elastic Security Labs have uncovered a sophisticated Linux malware dubbed PUMAKIT, which employs advanced stealth techniques and unique privilege escalation methods to maintain persistence on infected systems.

PUMAKIT’s multi-stage architecture consists of a dropper, two memory-resident executables, a loadable kernel module (LKM) rootkit, and a shared object userland rootkit.

This complex structure allows the malware to execute its payload only when specific criteria are met, ensuring stealth and reducing the likelihood of detection.

During routine threat hunting on VirusTotal, researchers from Elastic Security Labs encountered a suspicious binary named cron.

2024 MITRE ATT&CK Evaluation Results for SMEs & MSPs -> Download Free Guide

This binary was first uploaded on September 4, 2024, and notably registered 0 detections across multiple antivirus engines at that time. This lack of detection raised immediate suspicions regarding the binary’s potential stealthiness and malicious intent.

PUMAKIT Infection Chain

Upon further investigation, the team discovered another related artifact, identified as /memfd:wpn (deleted), which was also uploaded on the same day and similarly showed no detections.

The presence of these two binaries, both evading detection, pointed towards a more sophisticated malware operation.

The initial stage involves a dropper named “cron” that creates two memory-resident executables: “/memfd:tgt” and “/memfd:wpn“.

While “/memfd:tgt” serves as a benign Cron binary, “/memfd:wpn” acts as a rootkit loader, evaluating system conditions and ultimately deploying the LKM rootkit.

One of PUMAKIT’s most notable features is its use of the rmdir() syscall for privilege escalation, a departure from the more common kill() syscall method used by most rootkits.

This unconventional approach allows the malware to obtain root privileges within its current process, making it more difficult to detect and mitigate.

PUMAKIT Infection Chain

The LKM rootkit, referred to as “PUMA” by its developers, employs an internal Linux function tracer (ftrace) to hook 18 different syscalls and several kernel functions.

This enables the malware to manipulate core system behaviors, including hiding files and directories, concealing its presence from system tools, and implementing anti-debugging measures.

PUMAKIT also includes a shared object file named “Kitsune,” which is responsible for certain behaviors observed in the rootkit and plays a role in achieving persistence and stealth mechanisms.

The malware’s sophisticated design extends to its command and control (C2) infrastructure, with researchers identifying multiple C2 servers used for communication.

To detect and prevent PUMAKIT infections, Elastic Security Labs has developed several EQL/KQL rules and a YARA signature.

These detection methods focus on various stages of the malware’s execution chain, including unusual file descriptor executions, suspicious command executions through the kthreadd process, and privilege escalation attempts using the rmdir command.

The discovery of PUMAKIT highlights the growing sophistication of malware targeting Linux systems.

Its multi-architectural design, advanced stealth techniques, and unique privilege escalation methods make it a significant threat to organizations using Linux environments.

As PUMAKIT continues to evolve, security professionals are advised to implement the provided detection rules and maintain vigilance against this stealthy and persistent threat.

Elastic Security Labs has committed to ongoing analysis and monitoring of PUMAKIT to keep defenders informed and prepared for potential new variants or updates to this sophisticated malware.

Investigate Real-World Malicious Links, Malware & Phishing Attacks With ANY.RUN – Try for Free

Guru Baran

Gurubaran KS is a cybersecurity analyst, and Journalist with a strong focus on emerging threats and digital defense strategies. He is the Co-Founder and Editor-in-Chief of Cyber Security News, where he leads editorial coverage on global cybersecurity developments.

Recent Posts

Hackers Target AI Infrastructure With RCE, Prompt Injection and API Key Theft

Hackers are actively probing AI systems, turning exposed gateways and agent tools into routes for…

4 hours ago

Hackers Make Phishing Pages Change Their Code Every Time Someone Opens Them

Hackers are making some phishing pages harder to track by changing the code delivered to…

4 hours ago

Iran-Linked Hackers Reportedly Knock UK Power Plant Offline for Four Days

A cyber incident reportedly forced a British power plant to halt operations for about four…

5 hours ago

Russian Hackers Use New HOOKEDGE Malware to Spy on European Defense and Diplomatic Targets

Russian hackers have used a new backdoor called HOOKEDGE to target defense manufacturers, government bodies,…

5 hours ago

Ransomware Gang Claims AI Can Analyze 700GB of Stolen Data Every Hour

TITAN ransomware is pairing file encryption with an ambitious claim: artificial intelligence that can sort…

5 hours ago

Hackers Compromise Hundreds of WordPress Sites to Deploy Amatera Stealer via ClickFix

A fake student resume is being used to place a remote-access tool on researchers’ Windows…

7 hours ago