Skip to main content
Mallory
Malware

GhostPenguin

Tracked since Dec 8, 2025 · Updated 18 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors0Associated
ATT&CK12Techniques
IOCs6Tracked
Type
Backdoor
Capabilities
ReconnaissancePost exploitationDefense evasion
Platforms
Linux

GhostPenguin is a multithreaded Linux backdoor written in C++ and compiled as an x86-64 ELF executable. It provides remote shell access, command execution, and extensive filesystem control, including file creation, deletion, renaming, reading, writing, timestamp modification, extension-based searches, and directory-tree enumeration. It collects host and network information, including operating-system details, hostname, username, architecture, process ID, and gateway information, and transmits these during command-and-control registration.

GhostPenguin communicates over UDP port 53 using a custom session-based protocol. An initial unencrypted handshake obtains a 16-byte server-assigned session identifier, which serves as the RC5 key for subsequent encrypted communications. Separate threads handle receiving, sending, and heartbeat signaling. The protocol validates packet lengths and session identifiers and implements acknowledgments, outbound queuing, and retransmission to provide reliability over UDP. A PID-based check prevents multiple instances from running, and an operator-issued uninstall command supports self-deletion and artifact cleanup.

Trend Micro discovered GhostPenguin through AI-assisted hunting for low-detection Linux malware. The analyzed sample was submitted to VirusTotal in July 2025 and remained undetected there for more than four months. It contains unused persistence-related functions and leftover debugging artifacts; persistence was not active in the analyzed sample.

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
MITRE ATT&CK

Techniques & procedures

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

Stealth

1 technique
T1070.004File DeletionEvidence1

During this teardown, all threads are canceled, resources are uninitialized, and a call to SelfDel() is made to try to delete the malware's executable from the disk. Finally, the PID file is removed before the process terminates.

Defense Impairment

1 technique
T1222File and Directory Permissions ModificationEvidence1

Supported commands allow the malware to provide a remote shell via “/bin/sh”, and perform various file and directory operations including creating, deleting, renaming, reading, and writing files, modifying file timestamps

Discovery

5 techniques
T1016System Network Configuration DiscoveryEvidence1

This information includes: LAN IP address Default gateway (obtained via Netlink sockets)

T1033System Owner/User DiscoveryEvidence1

This information includes: LAN IP address Default gateway ... Host name Current username (via whoami command)

T1057Process DiscoveryEvidence1

After extracting the PID, it invokes kill(pid, 0) to test whether that process is currently active.

T1082System Information DiscoveryEvidence1

The malware collects system information including IP address, gateway, OS version, hostname, and username, and sends it to a C&C server during a registration phase.

T1083File and Directory DiscoveryEvidence1

Supported commands allow the malware to provide a remote shell via “/bin/sh”, and perform various file and directory operations including creating, deleting, renaming, reading, and writing files, modifying file timestamps, and searching for files by extension.

Lateral Movement

1 technique
T1021.004SSHEvidence1

Supported commands allow the malware to provide a remote shell via “/bin/sh”

Collection

1 technique
T1005Data from Local SystemEvidence1

Supported commands allow the malware to provide a remote shell via “/bin/sh”, and perform various file and directory operations including creating, deleting, renaming, reading, and writing files

Command and Control

3 techniques
T1071Application Layer ProtocolEvidence2

All C&C communication occurs over UDP port 53. The malware first requests a 16-byte session ID from the server, which is subsequently used as the key for an RC5 encryption algorithm to encrypt all traffic. The malware sends periodic heartbeats to maintain its connection.

T1095Non-Application Layer ProtocolEvidence2

All C&C communication occurs over UDP port 53.

T1573Encrypted ChannelEvidence2

The malware first requests a 16-byte session ID from the server, which is subsequently used as the key for an RC5 encryption algorithm to encrypt all traffic.

Indicators of compromise

Observables

6 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

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

View more in app →
trendai security blogNews · Aug 14, 2026AI-Automated Threat Hunting Brings GhostPenguin Out of the Shadows | TrendAI (US)A multi-threaded Linux backdoor written in C++ that collects host information, registers with a C2 server, communicates over UDP port 53 using an RC5-encrypted session ID, maintains heartbeats, provides a remote shell via /bin/sh, and supports extensive file and directory operations including create, read, write, delete, rename, timestamp modification, and file searching.Read more ↗trendai security blogNews · May 4, 2026Quasar Linux (QLNX) - A Silent Foothold in the Supply Chain: Inside a Full-Featured Linux RAT With Rootkit, PAM Backdoor, Credential Harvesting Capabilities | TrendAI (US)A backdoor mentioned as an example from earlier research in which AI-driven threat hunting aided discovery. The content provides no additional operational details or connection to QLNX.Read more ↗cyber security newsNews · Dec 14, 2025Cybersecurity News Weekly Newsletter – Windows, Chrome, and Apple 0-days, Kali Linux 2025.4, and MITRE Top 25GhostPenguin is a stealthy Linux backdoor that provides remote shell access and file-system operations over encrypted UDP, evading detection for months. It uses RC5 encryption and supports a wide range of attacker commands.Read more ↗the hacker newsNews · Dec 11, 2025ThreatsDay Bulletin: Spyware Alerts, Mirai Strikes, Docker Leaks, ValleyRAT Rootkit - and 20 More StoriesMulti-threaded Linux backdoor (C++) that collects host/network/system info, registers to C2, executes remote commands (including remote shell via /bin/sh), and performs file/directory operations; communicates with C2 over UDP port 53.Read more ↗
+3 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 matching6Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs 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 mapping12Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.