PUMAKIT is a multi-stage Linux rootkit framework designed to escalate privileges, conceal malicious activity, and maintain covert access. Its architecture combines a dropper, memory-resident executables, the PUMA loadable kernel module, and the Kitsune user-space shared-object rootkit. The dropper uses memfd_create and execveat to execute embedded ELF payloads from anonymous memory-backed files. Its loader masquerades as a legitimate remote-access service and checks Secure Boot status and kernel-symbol availability before deploying the kernel component.
PUMA uses ftrace and direct syscall-table hooking to manipulate system behavior, hide files, directories, processes, and the rootkit itself, and evade debugging. A covert command interface implemented through a hooked directory-removal syscall supports status and configuration queries, process concealment, and elevation of the calling process to root. PUMAKIT also executes user-space commands through kernel threads and communicates with command-and-control infrastructure over TLS. Kitsune complements the kernel component with user-space stealth and persistence through LD_PRELOAD. PUMAKIT has been associated with ExCobalt activity.
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.
PUMAKIT, a kernel rootkit to escalate privileges, hide files and directories, and conceal itself from system tools, along with prior iterations known as Facefish (February 2021), Kitsune (February 2022), and Megatsune (November 2023).
13 distinct techniques documented for this family, organized by ATT&CK tactic.
"...shifting the focus... from the exploitation of 1-day vulnerabilities in corporate services available from the internet (e.g., Microsoft Exchange)..."
PUMAKIT spawns kernel threads to execute userland commands through kthreadd... process.parent.name like ("kworker*", "kthreadd") and process.name in ("bash", "dash", "sh"...) and process.args = "-c".
"The SO is referred to as Kitsune" and "manipulates user-space interactions via LD_PRELOAD"; the configuration includes "LD_PRELOAD=/lib64/libs.so."
"if all conditions are met, it loads the kernel module rootkit."
"Instead of using the kill() syscall to get root privileges... the rootkit leverages the rmdir() syscall" and calls "prepare_creds" and "commit_creds" to set IDs to root.
"if all conditions are met, it loads the kernel module rootkit."
“A rootkit can ask the kernel’s ftrace machinery to do it on its behalf; essentially ‘legitimizing’ the hook.” | “By overwriting a pointer in this table, an attacker can redirect a legitimate syscall, such as getdents64, kill, or read, to a malicious handler.” | “Rootkits are stealthy malware designed to conceal malicious activity, such as files, processes, network connections, kernel modules, or accounts.”
"possibly masquerading as a legitimate process (like cron)"; the rootkit loader "attempts to hide itself by mimicking it as the /usr/sbin/sshd executable."
"After running through all of the items in the script, the /tmp/vmlinux and /tmp/script.sh files are deleted."
"The rootkit loader attempts to hide itself... It checks for particular prerequisites, such as whether secure boot is enabled and the required symbols are available."
This empowers a rootkit to filter the output of the ls command to hide malicious files or prevent a specific process from being terminated.
"The SO is referred to as Kitsune" and "manipulates user-space interactions via LD_PRELOAD"; the configuration includes "LD_PRELOAD=/lib64/libs.so."
"memfd_create allows the binary to exist entirely in memory" and the payloads are executed using "execveat()" rather than being dropped to disk.
"Key functionalities of the kernel module include... anti-debugging measures."
The temporary script "inspects files using the file command" and searches /boot/vmlinuz to locate compressed portions and produce /tmp/vmlinux.
"The rootkit loader attempts to hide itself... It checks for particular prerequisites, such as whether secure boot is enabled and the required symbols are available."
"Key functionalities of the kernel module include... anti-debugging measures."
12 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.