216.73.217.22

Attackers Target Exposed Docker Remote API Servers With perfctl Malware

· Published 21/10/2024 21:25 · Modified 22/10/2024 13:55

Export JSON

Essential information

Published
21/10/2024 21:25
Modified
22/10/2024 13:55
Tags
2024-10-21 container exploitation docker evasion linux malware perfctl persistence privilege-escalation remote api
Related entities
6 observables, 10 techniques (mitre), 1 malware

Description

An unknown threat actor is exploiting exposed servers to deploy the malware. The attack sequence involves probing the server, creating a container with specific settings, and executing a Base64 encoded payload. The payload escapes the container, creates a bash script, sets environment variables, and downloads a malicious binary disguised as a PHP extension. Attackers use techniques like checking for similar processes and creating custom functions to download files. The malware employs strategies using systemd or cron jobs. The attack leverages privileged container modes and shared PID namespaces to gain access to the host system. Recommendations include securing servers, implementing strong access controls, and regularly monitoring for suspicious activities.

External references