Skip to main content
Mallory
Malware1 associated actor7 associated CVEs

Redtail

Tracked since Dec 13, 2025 · Updated 4 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 1 in a dayToday
Vulns7Associated
Actors1Associated
ATT&CK41Techniques
IOCs60Tracked
Type
Cryptominer
Capabilities
Initial accessBrute forceLateral movementPersistenceDefense evasionReconnaissance
Platforms
LinuxNetwork device

RedTail is a multi-architecture Linux cryptocurrency miner that hijacks compromised systems’ computing resources, principally to mine Monero using XMRig-derived functionality. Payloads support x86-64, x86, ARM, ARM64, and RISC-V systems. Its campaigns opportunistically compromise internet-facing servers, cloud hosts, and network appliances through vulnerable services and weak SSH credentials. Exploitation has included PHPUnit CVE-2017-9841, Apache HTTP Server CVE-2021-41773 and CVE-2021-42013, PHP-CGI CVE-2024-4577, and Palo Alto Networks PAN-OS CVE-2024-3400. RedTail also exhibits self-propagating behavior through SSH brute force and exploitation of exposed services.

Deployment scripts identify the host architecture, locate writable and executable storage, select a compatible payload, and remove staging artifacts. RedTail profiles processor, memory, GPU, kernel, and virtualization information. It removes competing miners and existing scheduled tasks, masquerades as legitimate services, and terminates monitoring and analysis processes. Persistence includes reboot-triggered cron entries and systemd services; deployment activity also installs SSH public keys and protects authentication configuration against modification. Observed payloads create TCP listeners and attempt to flush firewall rules or permit inbound connections.

RedTail uses packed, statically linked executables and encrypted command-and-control communications. Analyzed variants use DNS-over-TLS for infrastructure resolution and operator-controlled mining proxies that keep the beneficiary wallet information outside the malware. Its activity is financially motivated and geographically broad, with compromised hosts also serving as launch points for further attacks. No specific named threat actor is conclusively attributed to the family.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

Associated vulnerabilities

7 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2017-9841via vulncheck blogExploited in the wildUnauthenticated PHP Code Execution in PHPUnit“PHPUnit: the body is identical on every hit, an md5 of ‘Hello PHPUnit’.” The requests test numerous installation paths using the libredtail-http user-agent. | The Hong Kong IP, 119.13.79 . 145, is commodity botnet activity. All four of its CVEs used the same user-agent, libredtail-http, a non-browser UA associated with RedTail-family malware.View vulnerability →Source ↗
CVE-2021-42013via vulncheck blogExploited in the wildPath Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50“The Apache payload also includes a second request using double encoding, which targets CVE-2021-42013, a bypass for the incomplete fix to CVE-2021-41773.” | The Hong Kong IP, 119.13.79 . 145, is commodity botnet activity. All four of its CVEs used the same user-agent, libredtail-http, a non-browser UA associated with RedTail-family malware.View vulnerability →Source ↗
CVE-2024-4577via vulncheck blogExploited in the wildPHP-CGI Argument Injection on WindowsThe PHP-CGI exploitation requests base64-wrap the same shell-script downloader used against Apache and execute it with a selfrep argument. | The Hong Kong IP, 119.13.79 . 145, is commodity botnet activity. All four of its CVEs used the same user-agent, libredtail-http, a non-browser UA associated with RedTail-family malware.View vulnerability →Source ↗
CVE-2022-47945via vulncheck blogExploited in the wildThinkPHP Language Parameter Local File Inclusion Leading to RCE“ThinkPHP: it writes an md5 test file via pearcmd.” The checks appear in the same connections as the RedTail-family exploit requests. | The Hong Kong IP, 119.13.79 . 145, is commodity botnet activity. All four of its CVEs used the same user-agent, libredtail-http, a non-browser UA associated with RedTail-family malware.View vulnerability →Source ↗
CVE-2021-41773via vulncheck blogExploited in the wildPath Traversal and Conditional RCE in Apache HTTP Server 2.4.49“The Apache (CVE-2021-41773) and PHP-CGI (CVE-2024-4577) attempts deliver the same second stage” from 121.176.14.102 with a selfrep argument. | The Hong Kong IP, 119.13.79 . 145, is commodity botnet activity. All four of its CVEs used the same user-agent, libredtail-http, a non-browser UA associated with RedTail-family malware.View vulnerability →Source ↗
CVE-2024-3400via handlers diary fullExploited in the wildUnauthenticated Root Command Execution in PAN-OS GlobalProtectAs recently as April 2024, a new variant of redtail was documented, exploiting a critical vulnerability in Palo Alto Networks' PAN-OS (CVE-2024-3400). This vulnerability allows a threat actor to create an arbitrary file that could eventually enable command execution with root privileges on the NGFW, bypassing security measures in place.View vulnerability →Source ↗
CVE-2021-44228via breakglass intelExploited in the wildLog4ShellThose reports described a capable but relatively straightforward cryptominer that exploited Log4j, PAN-OS, and ThinkPHP vulnerabilities to deploy XMRig. | A truncated RedTail cryptominer sample pulled from MalwareBazaar led us to a full 17.6MB Go binary that revealed capabilities well beyond what prior Akamai and SANS reporting documented. This is not just an XMRig dropper. It is a multi-functional botnet framework with dual CPU/GPU mining (XMRig + NBminer), a PAM authentication backdoor that survives password changes, an SSH brute-force worm with an embedded credential dictionary, systemd persistence, and ChaCha20-encrypted C2 communications -- all compiled into a single Go binary targeting four architectures.View vulnerability →Source ↗
Threat actors

Associated threat actors

1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
Lazarus

A truncated RedTail cryptominer sample pulled from MalwareBazaar led us to a full 17.6MB Go binary that revealed capabilities well beyond what prior Akamai and SANS reporting documented. This is not just an XMRig dropper. It is a multi-functional botnet framework with dual CPU/GPU mining (XMRig + NBminer), a PAM authentication backdoor that survives password changes, an SSH brute-force worm with an embedded credential dictionary, systemd persistence, and ChaCha20-encrypted C2 communications -- all compiled into a single Go binary targeting four architectures.

via breakglass intelintel.breakglass.tech
MITRE ATT&CK

Techniques & procedures

41 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

2 techniques
T1078Valid AccountsEvidence3

On October 15, 2024, at 00:47:54 UTC, a threat actor using IP address 5.182.211.148 connected to the honeypot with the credentials "root/nimda."

T1190Exploit Public-Facing ApplicationEvidence3

~40 путей RCE ... /vendor/phpunit/.../eval-stdin.php CVE-2017-9841; /cgi-bin/.%2e/.%2e/…/bin/sh CVE-2021-41773 / CVE-2021-42013; ... CVE-2024-4577.

Execution

3 techniques
T1053Scheduled Task/JobEvidence1

This script appears to remove any attempt a previous threat actor has made to install cryptomining software, specifically disabling c3pool_miner, a Monero cryptomining tool, as well as any malicious cronjobs and scheduled tasks.

T1053.003CronEvidence4

crontab -r; echo "@reboot {}" | crontab -

T1059.004Unix ShellEvidence3

It then becomes trivial to retrieve the address of the first-stage payload, which is a .sh script.

Persistence

6 techniques
T1053Scheduled Task/JobEvidence1

This script appears to remove any attempt a previous threat actor has made to install cryptomining software, specifically disabling c3pool_miner, a Monero cryptomining tool, as well as any malicious cronjobs and scheduled tasks.

T1053.003CronEvidence4

crontab -r; echo "@reboot {}" | crontab -

T1078Valid AccountsEvidence3

On October 15, 2024, at 00:47:54 UTC, a threat actor using IP address 5.182.211.148 connected to the honeypot with the credentials "root/nimda."

T1098.004SSH Authorized KeysEvidence3

The threat actor then adds a SSH public key to the authorized_keys file by using the echo ssh-rsa ... rsa-key-20230629 command. This allowed the threat actor to gain persistent access without needing a password, establishing a backdoor.

T1543.002Systemd ServiceEvidence2

Персистенс — сервис your-redtail.service.

T1556.003Pluggable Authentication ModulesEvidence1

RedTail's binary includes CGo bindings to the complete PAM API ... It is a full PAM module that can intercept and override the authentication process itself. Once installed, the malware can accept a hardcoded password for any user account on the system.

Privilege Escalation

6 techniques
T1053Scheduled Task/JobEvidence1

This script appears to remove any attempt a previous threat actor has made to install cryptomining software, specifically disabling c3pool_miner, a Monero cryptomining tool, as well as any malicious cronjobs and scheduled tasks.

T1053.003CronEvidence4

crontab -r; echo "@reboot {}" | crontab -

T1068Exploitation for Privilege EscalationEvidence1

As recently as April 2024, a new variant of redtail was documented, exploiting a critical vulnerability in Palo Alto Networks' PAN-OS (CVE-2024-3400). This vulnerability allows a threat actor to create an arbitrary file that could eventually enable command execution with root privileges on the NGFW.

T1078Valid AccountsEvidence3

On October 15, 2024, at 00:47:54 UTC, a threat actor using IP address 5.182.211.148 connected to the honeypot with the credentials "root/nimda."

T1098.004SSH Authorized KeysEvidence3

The threat actor then adds a SSH public key to the authorized_keys file by using the echo ssh-rsa ... rsa-key-20230629 command. This allowed the threat actor to gain persistent access without needing a password, establishing a backdoor.

T1543.002Systemd ServiceEvidence2

Персистенс — сервис your-redtail.service.

Stealth

10 techniques
T1027Obfuscated Files or InformationEvidence1

According to static analysis, this binary is packed using UPX.

T1027.002Software PackingEvidence2

and shows UPX packing common in other coin miners

T1036MasqueradingEvidence3

Маскируется под что угодно живое: php-fpm: pool www; nginx: worker process; postgres...; /bin/mariadbd; systemd-worker.

T1036.005Match Legitimate Resource Name or LocationEvidence1

After successful authentication, the binary deploys itself to the new target via SFTP, masquerading as sshd -- the legitimate SSH daemon process name.

T1070Indicator RemovalEvidence1

After the script runs, the threat actor forcefully removes any evidence of the clean.sh script; this is accomplished using the rm -rf command... the threat actor follows the same steps to make setup.sh executable, runs the script, and then forcibly removes any evidence that the script was present on the system.

T1070.004File DeletionEvidence4

Static setup.sh analysis found that it deletes identifiable redtail.* architecture-specific payload files; clean.sh removes temporary-directory contents and filters persistence-related files.

T1078Valid AccountsEvidence3

On October 15, 2024, at 00:47:54 UTC, a threat actor using IP address 5.182.211.148 connected to the honeypot with the credentials "root/nimda."

T1497.001System ChecksEvidence4

The malware queried DMI identifiers and received the hypervisor CPU flag, QEMU vendor strings, SeaBIOS, and a Q35 virtual-machine identifier, but continued execution.

T1564.001Hidden Files and DirectoriesEvidence2

Static examination of setup.sh found that it copies the selected RedTail binary into a randomly generated dot-prefixed filename before execution.

T1622Debugger EvasionEvidence1

Она убивает всё в своём PID-пространстве... и заодно любую отладку, потому что отладчик — это просто ещё один сосед-процесс.

Defense Impairment

5 techniques
T1222File and Directory Permissions ModificationEvidence1

The threat actor then uses the chattr (change attribute) command with -ia to remove the immutable and append only attributes for the authorized_keys file... Then the chattr +ia command is run to reestablish the immutable and append only attributes to the authorized_keys file. This makes the file more difficult to delete, aiding in maintaining persistence.

T1222.002Linux and Mac PermissionsEvidence1

The static setup.sh analysis states that the selected RedTail binary is copied into a randomly generated dot-prefixed filename and marked executable.

T1556.003Pluggable Authentication ModulesEvidence1

RedTail's binary includes CGo bindings to the complete PAM API ... It is a full PAM module that can intercept and override the authentication process itself. Once installed, the malware can accept a hardcoded password for any user account on the system.

T1685Disable or Modify ToolsEvidence3

При старте сносит конкурентов ... и заодно любую отладку.

T1686Disable or Modify System FirewallEvidence4

iptables -F ; iptables -I INPUT -p tcp --dport {} -j ACCEPT

Credential Access

4 techniques
T1110Brute ForceEvidence1

the actor successfully logs in using the [ root/Passw0rd123 ] credentials... The IP tried to login via SSH using brute force

T1110.001Password GuessingEvidence1

Docker Engine API :2375 (без auth) и SSH-брутфорс

T1110.003Password SprayingEvidence1

The SSH worm component ... Brute-force with embedded dictionary ... The embedded credential dictionary is predictable but effective

T1556.003Pluggable Authentication ModulesEvidence1

RedTail's binary includes CGo bindings to the complete PAM API ... It is a full PAM module that can intercept and override the authentication process itself. Once installed, the malware can accept a hardcoded password for any user account on the system.

Discovery

6 techniques
T1057Process DiscoveryEvidence1

RedTail enumerated running processes through /proc, resolved their executable paths, and inspected command-line arguments before selectively issuing SIGKILL.

T1082System Information DiscoveryEvidence4

Телеметрия бэкона: модель CPU, cgroups, ProcessName, LinuxCgroup — оператор собирает «паспорт» хоста.

T1083File and Directory DiscoveryEvidence1

Search for a writable directory that is not mounted with noexec ... Later variants parse /proc/mounts directly to identify candidate directories.

T1497.001System ChecksEvidence4

The malware queried DMI identifiers and received the hypervisor CPU flag, QEMU vendor strings, SeaBIOS, and a Q35 virtual-machine identifier, but continued execution.

T1613Container and Resource DiscoveryEvidence1

Телеметрия бэкона: модель CPU, cgroups, ProcessName, LinuxCgroup.

T1622Debugger EvasionEvidence1

Она убивает всё в своём PID-пространстве... и заодно любую отладку, потому что отладчик — это просто ещё один сосед-процесс.

Lateral Movement

2 techniques
T1021.004SSHEvidence1

The binary embeds a full SSH client library ... and uses it for automated lateral movement.

T1570Lateral Tool TransferEvidence1

After successful authentication, the binary deploys itself to the new target via SFTP, masquerading as sshd

Collection

1 technique
T1005Data from Local SystemEvidence1

Collection Data from Local System T1005 SSH key harvesting ( known_hosts , id_rsa )

Command and Control

7 techniques
T1071Application Layer ProtocolEvidence1

Thanks to dynamic analysis, it is easy to identify the malware’s C2 server. The malware connects to this C2 server on port 43782.

T1071.001Web ProtocolsEvidence1

The C2 channel itself uses HTTP/2 over TLS, making traffic analysis difficult

T1071.004DNSEvidence1

Бот резолвит свои C2 через DNS-over-TLS на порт 853, ротируя публичные резолверы.

T1095Non-Application Layer ProtocolEvidence1

A RedTail-backed process was observed listening on 0.0.0.0 at dynamically selected high-numbered ports 39539, 40219, and 39983.

T1105Ingress Tool TransferEvidence2

This script is used to download, in turn, another script (named clean), which the attacker uses to remove previous malicious activity, as well as a second-stage binary for malicious purposes.

T1571Non-Standard PortEvidence1

130.12.180.51 | 43782 | C2, канал dcb; ... 95.215.19.53 | 853 | C2 под DNS-over-TLS.

T1573Encrypted ChannelEvidence3

X25519 (ECDH) ... ChaCha20-Poly1305 (AEAD) — защита записей.

Impact

2 techniques
T1489Service StopEvidence1

During malware execution, strace recorded: kill(1199, SIGKILL) = 0; after execution, inotifywait was no longer running.

T1496Resource HijackingEvidence4

Linux-майнер RedTail (XMRig внутри, SSH-червь вокруг)

Indicators of compromise

Observables

60 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
handlers diary fullNews · Nov 19, 2026Treat Your Honeypot Analysis Like Code: Git, Pull Requests and a Human Gate for AI [Guest Diary]Mentioned as part of an earlier honeypot investigation involving exploits against PHP. Its functionality is not described; the article focuses on version control and human review of AI-assisted security analysis.Read more ↗vulncheck blogNews · Nov 15, 2026Exploitation Flows Targeting Japan | Blog | VulnCheckA cryptocurrency-mining campaign observed both targeting Japan and operating from compromised Japanese cloud hosts. It uses the libredtail-http user agent and retrieves redtail.sh, setup_moneroocean_miner.sh, and XMRig from a command-and-control block hosted in Germany. Compromised Japanese hosts serve as launch nodes for further attacks.Read more ↗cryptika blogNews · Oct 24, 2026Palo Alto Confirms PHP RCE Vulnerabilities Impact PAN-OS and Multiple Network Products | Cryptika CybersecurityMentioned in background reporting as exploiting Palo Alto firewalls. The content does not connect RedTail to exploitation of the PHP2Shell vulnerabilities.Read more ↗vulncheck blogNews · Oct 13, 2026Expanding Visibility Into Chinese Government-linked Cyber Threat Actors | Blog | VulnCheckRedTail-family activity uses automated exploitation and vulnerability probes against internet-facing applications. Observed Apache HTTP Server and PHP-CGI exploits download and execute the same shell-script dropper from 121.176.14.102 with a selfrep argument indicating self-replication. The scanner also attempts an Apache patch bypass and probes PHPUnit and ThinkPHP. The libredtail-http user-agent appears across roughly 5,200 source IPs; the shared dropper infrastructure appears in payloads from 178 unique IPs, including 177 absent from the advisory. Attribution to Flax Typhoon is unconfirmed, and the article considers compromise or repurposing of historical infrastructure by a commodity botnet more likely.Read more ↗
+11 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching60Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities7CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping41Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.