Rewrite: Linux servers are the target of an ongoing campaign that delivers a stealthy…
- User
Rewrite: Linux servers are the target of an ongoing campaign that delivers a stealthy malware dubbed perfctl with the primary aim of running a cryptocurrency miner and proxyjacking software.
"Perfctl is particularly elusive and persistent, employing several sophisticated techniques," Aqua security researchers Assaf Morag and Idan Revivo said in a report shared with The Hacker News.
"When a new user logs into the server, it immediately stops all 'noisy' activities, lying dormant until the server is idle again. After execution, it deletes its binary and continues to run quietly in the background as a service."
It's worth noting that some aspects of the campaign were disclosed last month by Cado Security, which detailed a campaign that targets internet-exposed Selenium Grid instances with both cryptocurrency mining and proxyjacking software.
Specifically, the perfctl malware has been found to exploit a security flaw in Polkit (CVE-2021-4043, aka PwnKit) to escalate privileges to root and drop a miner called perfcc
- Assistant
Linux servers are currently being targeted by a persistent campaign involving a stealthy malware known as perfctl, designed primarily to deploy cryptocurrency mining and proxyjacking software.
According to a report by Aqua Security researchers Assaf Morag and Idan Revivo, shared with The Hacker News, perfctl employs several sophisticated techniques that make it particularly elusive and long-lasting.
"When a new user logs into the server, perfctl immediately pauses any 'noisy' activities, remaining dormant until the server becomes idle again. Once executed, it deletes its binary, continuing to operate quietly in the background as a service," the researchers noted.
Last month, Cado Security revealed some elements of this campaign, highlighting how it targets internet-exposed Selenium Grid instances with both cryptocurrency mining and proxyjacking software.
Moreover, the perfctl malware has been observed exploiting a security vulnerability in Polkit, identified as CVE-2021-4043 or PwnKit, to escalate its privileges to root and deploy a miner named perfcc.
- User
Rewrite: New Linux malware ‘Perfctl’ is targeting millions worldwide, mimicking system files to evade detection. This sophisticated malware compromises Linux servers, exploiting vulnerabilities for cryptomining and system resource hijacking.
- Assistant
A new Linux malware called 'Perfctl' is targeting millions globally, cleverly imitating system files to avoid detection. This advanced malware compromises Linux servers by exploiting vulnerabilities, facilitating cryptomining and hijacking of system resources.
- User
Rewrite: The reason behind the name "perfctl" appears to be a deliberate effort to evade detection and blend in legitimate system processes, as "perf" refers to a Linux performance monitoring tool and "ctl" signifies control in various command-line tools, such as systemctl, timedatectl, and rabbitmqctl.
- Assistant
The name "perfctl" seems to have been chosen intentionally to evade detection by mimicking legitimate system processes. "Perf" refers to a Linux performance monitoring tool, while "ctl" is a common abbreviation for control in various command-line tools like systemctl, timedatectl, and rabbitmqctl.
- User
Rewrite: The attack chain, involves breaching Linux servers by exploiting a vulnerable Apache RocketMQ instance to deliver a payload named "httpd. Once executed, it copies itself to a new location in the "/tmp" directory, runs the new binary, terminates the original process, and deletes the initial binary in an attempt to cover its tracks.
Besides copying itself to other locations and giving itself seemingly innocuous names, the malware is engineered to drop a rootkit for defense evasion and the miner payload. Some instances also entail the retrieval and execution of proxyjacking software from a remote server.
To mitigate the risk posed by perfctl, it's recommended to keep systems and all software up-to-date, restrict file execution, disable unused services, enforce network segmentation, and implement Role-Based Access Control (RBAC) to limit access to critical files.
- Assistant
The attack chain involves compromising Linux servers by exploiting a vulnerable Apache RocketMQ instance to deploy a payload named "httpd." Once executed, the payload copies itself to a new location in the "/tmp" directory, runs the new binary, terminates the original process, and deletes the initial binary to conceal its presence.
In addition to copying itself to different locations and adopting benign-sounding names, the malware is designed to deploy a rootkit for defense evasion and the miner payload. In some cases, it also retrieves and executes proxyjacking software from a remote server.
To mitigate the risk posed by perfctl, it's recommended to keep systems and all software up-to-date, restrict file execution, disable unused services, enforce network segmentation, and implement Role-Based Access Control (RBAC) to limit access to critical files.
- User
- Assistant
- User
- Assistant
To create a MITRE ATT&CK mapping for the "Perfctl" malware as described in the AquaSec blog, we need to identify tactics, techniques, and procedures (TTPs) outlined in the article. Although I don't have direct access to external content, I can provide a general mapping based on common TTPs associated with similar malware campaigns. Here's a hypothetical MITRE ATT&CK mapping for Perfctl:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.