<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/perfctl-malware-targets-linux-servers-for-cryptocurrency-mining-and-proxyjacking-n5fjl7sm6" -->

---
title: Perfctl Malware Targets Linux Servers for Cryptocurrency...
description: Perfctl is a sophisticated and persistent malware targeting Linux servers since 2021. It exploits over 20,000 misconfigurations and uses advanced stealth...
canonical: https://daily.dev/posts/perfctl-malware-targets-linux-servers-for-cryptocurrency-mining-and-proxyjacking-n5fjl7sm6
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Perfctl Malware Targets Linux Servers for Cryptocurrency Mining and Proxyjacking | daily.dev
og:description: Perfctl is a sophisticated and persistent malware targeting Linux servers since 2021. It exploits over 20,000 misconfigurations and uses advanced stealth...
og:url: https://daily.dev/posts/perfctl-malware-targets-linux-servers-for-cryptocurrency-mining-and-proxyjacking-n5fjl7sm6
og:image: https://api.daily.dev/og/posts/n5fjl7sm6.png
og:image:alt: Perfctl Malware Targets Linux Servers for Cryptocurrency Mining and Proxyjacking
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Perfctl Malware Targets Linux Servers for Cryptocurrency Mining and Proxyjacking

**[Collections](https://daily.dev/sources/collections)** · 3 min read · 1 upvotes · 0 comments

## Summary

Perfctl is a sophisticated and persistent malware targeting Linux servers since 2021. It exploits over 20,000 misconfigurations and uses advanced stealth tactics like rootkits, Unix sockets, TOR network, self-copying, binary deletion, and activity cessation. The malware focuses on cryptomining and proxyjacking, leading to performance degradation. Important indicators include CPU spikes, suspicious binaries, and unexpected TOR traffic. Recommended mitigation includes patch management, restricting file execution, disabling unused services, network segmentation, advanced runtime protection, and strict privilege management.

## Content

# Perfctl Malware Exploiting Linux Servers for Cryptomining and Proxyjacking

Aqua Nautilus researchers have discovered a sophisticated and persistent malware named 'perfctl,' which has been targeting Linux servers globally since 2021. This elusive malware has the potential to impact millions of systems by exploiting over 20,000 misconfigurations and vulnerabilities, including a severe flaw in Apache RocketMQ (CVE-2023-33426) and Polkit for privilege escalation. This article delves into the complex operations and defenses against perfctl.

## Key Characteristics

Perfctl is notable for its advanced stealth tactics, including the use of rootkits and the concealment of processes and file names. The malware shows an exceptional ability to evade detection and persist on compromised systems by deploying various techniques such as:

- **Rootkits**: Keeps its presence hidden by modifying the operating system.
- **Unix Socket and TOR**: Utilizes Unix sockets for internal communication and the TOR network for external communication, further reducing its traceability.
- **Self-Copying**: Replicates itself to different disk locations using inconspicuous names to avoid easy detection.
- **Binary Deletion**: Deletes its binary post-execution, adding another layer of concealment.
- **Activity Cessation**: Stops activities when a new user logs in to avoid detection.

## Main Activities

Perfctl primarily focuses on running cryptomining and proxyjacking software, significantly draining system resources. By utilizing the infected system's computational power, it generates cryptocurrency and redirects proxy traffic, impacting server performance and increasing operational costs.

## Indicators of Compromise

Administrators should monitor the following indicators to detect potential infections:

- **CPU Spikes**: Unusual and consistent spikes in CPU usage.
- **Suspicious Binaries**: Unrecognized or hidden binaries within the system.
- **TOR Traffic**: Unexpected network traffic associated with the TOR network.

## Mitigation Strategies

To secure Linux servers from perfctl and similar threats, the following measures are recommended:

1. **Patch Management**: Regularly update and patch systems to fix known vulnerabilities, including Apache RocketMQ and Polkit vulnerabilities.
2. **Restrict File Execution**: Limit execution permissions to trusted files and directories.
3. **Disable Unused Services**: Turn off services not in use to reduce attack surfaces.
4. **Network Segmentation**: Isolate critical system components to prevent lateral movements of malware.
5. **Advanced Runtime Protection**: Deploy security solutions capable of providing real-time threat detection and response.
6. **Strict Privilege Management**: Enforce the principle of least privilege to limit the potential impact of compromised accounts.

By implementing these defenses, organizations can enhance their security posture against perfctl and other emerging threats. Continuous monitoring and proactive security measures are crucial in maintaining the integrity and performance of Linux servers.

---

Tags: [#cyber](https://daily.dev/tags/cyber), [#linux](https://daily.dev/tags/linux), [#crypto](https://daily.dev/tags/crypto), [#malware](https://daily.dev/tags/malware)

[View this post on daily.dev](https://daily.dev/posts/perfctl-malware-targets-linux-servers-for-cryptocurrency-mining-and-proxyjacking-n5fjl7sm6)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Perfctl Malware Targets Linux Servers for Cryptocurrency Mining and Proxyjacking","url":"https://daily.dev/posts/perfctl-malware-targets-linux-servers-for-cryptocurrency-mining-and-proxyjacking-n5fjl7sm6","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/perfctl-malware-targets-linux-servers-for-cryptocurrency-mining-and-proxyjacking-n5fjl7sm6"},"datePublished":"2024-10-04T00:47:19.188Z","dateModified":"2024-10-04T15:48:01.798Z","description":"Perfctl is a sophisticated and persistent malware targeting Linux servers since 2021. It exploits over 20,000 misconfigurations and uses advanced stealth...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b71232eaa22a9ade151e8654643bf303?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b71232eaa22a9ade151e8654643bf303?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Collections","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Collections","logo":"https://media.daily.dev/image/upload/s--fk_6ycEi--/f_auto,q_auto/v1780996001/logos/collections?_a=BAMAMiWQ0","url":"https://daily.dev/sources/collections"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/perfctl-malware-targets-linux-servers-for-cryptocurrency-mining-and-proxyjacking-n5fjl7sm6","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"cyber,linux,crypto,malware","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Collections","item":"https://daily.dev/sources/collections"},{"@type":"ListItem","position":3,"name":"Perfctl Malware Targets Linux Servers for Cryptocurrency Mining and Proxyjacking"}]}
```

